/*

Theme Name: Image Generator
Theme URI: https://adriangeorgel/
Author: Adrian Georgel
Author URI: https://adriangeorgel/
Description: Image Generator Theme
Version: 0.1.00
Text Domain: image_generator

-----------------
Breakpoints Used
- 360px
- 600px
- 800px
- 960px
- 1140px
- 1300px
- 1600px
-----------------

*/

:root {
  --accent-dark: #304b65;
  --accent-dark: #1c2f42;
  --accent-light: #566f87;
  --accent-dark-text: #fff;
  --header-height: 90px;
  --heading-font-weight: 700;
  --body-font-weight: 400;
  --heading-font-family: "Roboto Slab", sans-serif;
  --body-font-family: "Roboto Slab", sans-serif;
  --body-text-color: #555;
  --heading-text-color: #000;
  --heading-light: #FFF;
  --text-light: #FFF;
  --content-light: #FFF;
  --bright-accent: #17aaaa;
  --icon-s: '\\';
  --icon-fa: "f043";
}

/*
---------------------
## FONT FACE CSS
---------------------
*/

@font-face {font-family: 'Roboto Slab';src: url('../fonts/Roboto_Slab/RobotoSlab-VariableFont_wght.ttf') format("truetype-variations");font-weight: 1 999;font-display: swap;}

html, body  {
  font-size: 1rem;
}

* {box-sizing: border-box;}

p {
  font-size: 1.1rem;
  line-height: 1.3;
}
p:last-of-type {
  margin-bottom: 0;
}

a { font-size: 1.1rem; }
nav li a { font-size: 1.1rem; }
h1 { font-size: 3.5rem; }
h2, .large-heading { font-size: 2rem; }
h3, .cards-heading h2 { font-size: 1.5rem; }
.tagline { font-size: 1.75rem; }
.section-intro { font-size: 1.75rem; }

@media(min-width: 1140px) {
  h1 { font-size: 4.5rem; }
  h2, .large-heading { font-size: 3rem; }
  h3, .cards-heading h2 { font-size: 1.75rem; }
}

h1,h2,h3,h4,h5,h6 {
  font-weight: var(--heading-font-weight);
  color: var(--heading-text-color);
}


.heading-light {
  color: var(--heading-light);
}

.text-light {
  color: var(--text-light);
}

.content-light h1,
.content-light h2,
.content-light h3,
.content-light h4,
.content-light h5,
.content-light h6,
.content-light p,
.content-light span {
  color: var(--content-light);
}

body {
  font-family: var(--body-font-family);
  font-weight: var(--body-font-weight);
  color: var(--body-text-color);
  margin: 0;
}
@media (min-width: 960px) {
  body {
    /*margin-top: var(--header-height);*/
  }
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  padding: 0;
  margin-bottom: 1.1rem;
}

/* ---------------------
## FOOTER
--------------------- */



/* ---------------------
## ACF FORM
--------------------- */

body {
  margin-left: 400px;
  background: #eee;
  /*padding: 80px;*/
}
#formEditor {
  position: fixed;
  top: 0;
  left: 0;
  padding: 40px;
  background: var(--accent-dark) !important;
  width: 400px;
  overflow: auto scroll;
  max-height: 100vh;
  bottom: 58px;
  color: #fff;
}

#message p {
  padding: 10px;
  background: #17aaaa;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.5);
  margin: 10px 0;
}
#capturedImage, #capturedFavicon {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e1e1e1;
}

.wg-field {
  margin-bottom: 15px;
}
.wg-field label + span a,
.wg-field label + span {
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 10px;
  display: inline-block;
  font-weight: 300;
  color: #f9f9f9c4;
}
.wg-field label + span a {
  text-decoration: none;
  color: var(--bright-accent);
}
.wg-field input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 3px;
  border: none;
  font-size: 15px;
}
.wg-field label {
  display: block;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
#formEditor {

}
#formEditor .heading {
  color: #a6eaea;
  font-size: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}
/* ---------------------
## LOGO CANVAS
--------------------- */
canvas {
  background: transparent;
}
#captured-image {
  /*background: #e1e1e1;*/
  display: inline-block;
}
.image-message {
  display: block;
  overflow: hidden;
  margin-bottom: 40px;
}
.image-message span {
  padding: 20px 0;
  display: inline-block;
  /*margin-bottom: 20px;*/
  border-bottom: 1px solid #e1e1e1e1;
}
.logo-wrapper {
  display: inline-block;
}
.show-guides {
  outline: 3px solid #9700ff;
}
.title {
  display: inline-block;
  padding: 0 0 3%;
  /* text-align: center; */
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 0.7;
  margin-top: 0px;
}
.title-first-value {
  font-weight: 900;
}
.tagline {
  display: block;
  background: transparent;
  padding: 10px;
  text-align: center;
  text-transform: uppercase;
  font-size: 18px;
  border-radius: 2px;
}
.content-inner {
  opacity: 0;
  transition: ease-in-out 2s;
  padding: 80px;
  min-height: 100vh;
}

#downloadFavicon,
#download {
  opacity: 0;
  transition: ease-in-out 2s;
  display: none;
}

#downloadFavicon button, #download button {
  border: 1px solid var(--accent-dark);
  color: #fff;
  padding: 10px 25px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-top: 20px;
  background: var(--accent-dark);
  font-family: inherit;
}


.logo-inner {
  display: flex;
  overflow: hidden;
}

.logo-icon {
  margin-right: 15px;
  display: none;
  align-items: center;
  line-height: 0;
  margin-bottom: 0;
  font-size: 59px;
  border-radius: 3px;
}
.logo-icon.toggled-on {
  display: flex;
}
.wg-icon-field {
  opacity: 1;
  visibility: visible;
  height: inherit;
  margin-bottom: 15px;
  transition: ease-in 1s;
}
/*.wg-icon-field {*/
/*  display: block;*/
/*  opacity: 0;*/
/*  transition: none;*/
/*  visibility: hidden;*/
/*  height: 0;*/
/*  margin: 0;*/
/*}*/
/*.wg-icon-field.toggled-on {*/
/*  opacity: 1;*/
/*  visibility: visible;*/
/*  height: inherit;*/
/*  margin-bottom: 15px;*/
/*  transition: ease-in 1s;*/
/*}*/
.logo-icon span::before {
  font-family: fontawesome;
  content: var(--icon-s)var(--icon-fa);
  display: block;
  /*font-size: 83px;*/
}
#logoIcon.boxed-on {
  /*background: var(--accent-dark);*/
  /*padding: 10px;*/
  border-radius: 3px;
}
#logoIcon .fa {
  margin-left: auto;
  margin-right: auto;
}
#submit {
  /* background: #ff0060; */
  background: var(--bright-accent);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 400px;
  border: none;
  padding: 20px;
  font-family: "Roboto Slab", sans-serif;
  text-transform: uppercase;
  color: #fff;
  border-radius: 0;
}
/*.toggle-buttons {*/
/*  display: grid;*/
/*  grid-template-columns: 1fr;*/
/*  grid-gap: 0;*/
/*  position: fixed;*/
/*  bottom: 0;*/
/*  left: 0;*/
/*  width: 100px;*/
/*  background: #243d55;*/
/*  height: 58px;*/
/*}*/
#showGuides, #showIcon {
  border: none;
  color: #fff;
  padding: 10px 25px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0;
  background: transparent;
  cursor: pointer;
  width: 100%;
  font-family: var(--body-font-family);

}
#showGuides, #showIcon{
  display: inline-block !important;
  width: 100%;
  background: var(--accent-dark);
  margin-top: 20px;
}

#showGuides.toggled-on,
#boxedIcon.toggled-on,
#showIcon.toggled-on {
  background: #365673;
  color: #fff;
  border-color: #ffffff42;
}
.icon-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  max-width: 320px;
}
#showIcon, #boxedIcon {
  border: 1px solid rgba(255,255,255,0.7);
}
/* COLOR PICKER
 */

.cp-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cp-buttons .btn {
  background: var(--bright-accent);
  padding: 10px;
  color: #fff;
  cursor: pointer;
}

ol li {
  padding: 3px 0;
}
