@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans.ttf") format("truetype");
/*   font-weight: 300;
  font-style: normal; */
}

@font-face {
  font-family: "Nimbus Sans Bold";
  src: url("../fonts/NimbusSansBold.woff") format("woff"), url("../fonts/NimbusSansBold.ttf") format("truetype");
}

@font-face {
  font-family: "Nimbus Sans Light";
  src: url("../fonts/NimbusSansLight.woff") format("woff"), url("../fonts/NimbusSansLight.ttf") format("truetype");
}

:root {
  --blue: rgb(0, 40, 70);
  --orange: rgb(255, 100, 70);
  --gray: rgb(214, 213, 206);
  --black: rgb(0, 0, 0);
  --white: rgb(255, 255, 255);
  --editor-red: rgb(215,5,35);
  --editor-gray: rgb(238,238,238);
  --editor-gray-2: rgb(225,225,225);
  --medium-gray: rgb(135,135,135);
  --dark-gray: rgb(85,85,85);
}

* {
  box-sizing: border-box;
  scrollbar-color: var(--editor-gray-2) var(--editor-gray);
}

*::-webkit-scrollbar {
  width: 5px;
}

*::-webkit-scrollbar-track {
  background: var(--editor-gray);
}

*::-webkit-scrollbar-thumb {
  background: var(--editor-gray-2);
}

body {
  font-family: "Open Sans";
  font-size: 14px;
}

.button {
  text-align: center;
  background-color: var(--blue);
  font-weight: 600;
/*   text-transform: uppercase; */
  font-size: 12px;
/*   line-height: 1; */
/*   letter-spacing: 1px; */
  color: #fff;
  padding: 12px 24px;
  cursor: pointer;
  border: 0;
  border-radius: 5px;
}

#overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
}

#modal {
  min-width: 400px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0px 2px 5px 2px rgb(0 0 0 / 10%);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

#modal-header {
  display: grid;
  grid-template-columns: 1fr auto;
}

#modal-title {
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 18px;
  font-weight: 600;
}

#modal-close {
  width: 50px;
  height: 50px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray);
}

#modal-close:hover {
  color: var(--blue);
}

#modal-close > i {
  pointer-events: none;
}

#modal-content {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

/* Modal Radios */

.modal-radios {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  overflow: hidden;
  gap: 2px;
}

.modal-radio {
  display: none;
}

.modal-radio-label {
  background-color: #eee;
  padding: 20px;
  cursor: pointer;
  
}

.modal-radio:checked + .modal-radio-label {
  background-color: var(--blue);
  color: #fff;
}

/* Modal Number */

#modal-numbers {
/*   display: none; */
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.modal-number-label {
  
}

.modal-number-input {
  background-color: #eee;
  text-align: center;
  padding: 10px;
/*   justify-content: center; */
  border-radius: 5px;
  font-size: 20px;
  border: none;
}

#modal-number-width:disabled {
  color: var(--gray);
}


/* Modal Footer */

#modal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.modal-button {
  font-size: 14px;
}



* {
  box-sizing: border-box;
}

body {
  max-height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: 0 1fr;
  margin: 0;
}

header {
/*   box-shadow: 0px 2px 5px 2px rgb(0 0 0 / 10%); */
  z-index: 2;
}

main {
 height: 100%;
 max-height: 100%;
 overflow: hidden;
 display: grid;
 grid-template-columns: 400px 1fr;

}



#options {
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start; 
  gap: 10px;
  background-color: #fff;
  z-index: 1;
  box-shadow: 0px 2px 5px 2px rgb(0 0 0 / 10%);
/*   box-shadow: 0px 0px 4px 0px rgb(0 0 0 / 50%); */
  scrollbar-width: thin;
}

#options > h1 {
  font-family: "Nimbus Sans Bold";
  color: #555;
  font-size: 23px;
  margin-top: 0;
}

#options > h2 {
  font-family: "Nimbus Sans Bold";
  color: #555;
  font-size: 14px;
}

/* Options */

.arrangement-option-input,
.shape-option-input,
.color-option-input,
.background-option-input,
.style-option-input {
  display: none;
}


.shape-option-input:checked + .shape-option-label:before,
.color-option-input:checked + .color-option-label:before,
.style-option-input:checked + .style-option-label:before {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 25px;
  height: 25px;
  background-color: #fff;
  box-shadow: 0px 2px 5px 2px rgb(0 0 0 / 10%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 900;
  font-size: 13px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f00c";
}



/* Style Options */

#arrangement-options {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 15px;
}

.arrangement-option-label {
  height: 85px;
  display: flex;
  justify-content: center;
  position: relative;
  padding-bottom: 10px;
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
}

.arrangement-option-label::after {
  content: '';
  width: 0;
  height: 3px;
  display: flex;
  position: absolute;
  bottom: 0;
  border-radius: 1px;
  background: var(--blue);
  opacity: .5;
  transition: all .3s ease-out;
}

.arrangement-option-label:hover::after {
  width: 100%;
  transition: all .3s ease-out;
}

.arrangement-option-input:checked + .arrangement-option-label::after {
  width: 100%;
  opacity: 1;
}

.arrangement-option-label > img {
  display: block;
  height: 100%;
  width: auto;
}




/* Shape Options */

#shape-options {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 15px;
}

.shape-option-label {
  width: 60px;
  height: 60px;
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
}

#shape-option-1 + .shape-option-label {
  background-image: url('../images/shapes/shape_1_filled.svg');
}

#shape-option-2 + .shape-option-label {
  background-image: url('../images/shapes/shape_2_filled.svg');
}

#shape-option-3 + .shape-option-label {
  background-image: url('../images/shapes/shape_3_filled.svg');
}

#shape-option-4 + .shape-option-label {
  background-image: url('../images/shapes/shape_4_filled.svg');
}

#shape-option-5 + .shape-option-label {
  background-image: url('../images/shapes/shape_5_filled.svg');
}

#shape-option-6 + .shape-option-label {
  background-image: url('../images/shapes/shape_6_filled.svg');
}



/* Color Options */

#color-options {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 15px;
}

.color-option-label {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0px 2px 5px 2px rgb(0 0 0 / 10%);
  position: relative;
  cursor: pointer;
}

#color-option-1 + .color-option-label {
  background-color: var(--blue); 
}

#color-option-2 + .color-option-label {
  background-color: var(--orange); 
}

#color-option-3 + .color-option-label {
  background-color: var(--gray); 
}

#color-option-4 + .color-option-label {
  background-color: var(--black); 
}

#color-option-5 + .color-option-label {
  background-color: var(--white); 
}



/* Outline Options */

#style-options {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 15px;
}

.style-option-label {
  width: 60px;
  height: 60px;
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
}

#style-option-1 + .style-option-label {
  background-image: url('../images/shapes/shape_1_filled.svg');
}

#style-option-2 + .style-option-label {
  background-image: url('../images/shapes/shape_1_outline.svg');
}



/* Background Options */

#background-options {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 15px;
}

.background-option-label {
  width: 40px;
  height: 50px;
  display: flex;
  justify-content: center;
  position: relative;
  padding-bottom: 10px;
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
}

.background-option-label::after {
  content: '';
  width: 0;
  height: 3px;
  display: flex;
  position: absolute;
  bottom: 0;
  border-radius: 1px;
  background: var(--blue);
  opacity: .5;
  transition: all .3s ease-out;
}

.background-option-label:hover::after {
  width: 100%;
  transition: all .3s ease-out;
}

.background-option-input:checked + .background-option-label::after {
  width: 100%;
  opacity: 1;
}

.background-color {
  width: 40px;
  height: 40px;
  position: relative;
  box-shadow: 0px 2px 5px 2px rgb(0 0 0 / 10%);
}

.background-color.transparent {
  background: #fff;
  background-image: linear-gradient(45deg, var(--editor-gray-2) 24.9%, transparent 24.9%), linear-gradient(-45deg, var(--editor-gray-2) 24.9%, transparent 24.9%), linear-gradient(45deg, transparent 74.9%, var(--editor-gray-2) 74.9%), linear-gradient(-45deg, transparent 74.9%, var(--editor-gray-2) 74.9%);
  background-size: 10px 10px;
  background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
}

.background-color.blue {
  background: var(--blue);
}

.background-color.orange {
  background: var(--orange);
}

.background-color.gray {
  background: var(--gray);
}

.background-color.black {
  background: #000;
}

.background-color.white {
  background: #fff;
}



/* Text */

.text {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 10px 20px;
  background-color: #eee;
  border-radius: 5px;
  font-family: "Nimbus Sans Light";
  font-size: 20px;
}

.no-period-alert {
  width: 100%;
  display: none;
  position: relative;
  padding: .9em;
  border: 2px solid var(--editor-red);
  border-radius: 5px;
  font-size: 12px;
  color: var(--editor-red);
}

.no-period-alert::before {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  top: -10px;
  left: calc(50% - 10px);
  border-style: solid;
  border-width: 0 10px 10px 10px;
  border-color: transparent transparent var(--editor-red) transparent;
}

.no-period-alert::after {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  top: -7px;
  left: calc(50% - 10px);
  border-style: solid;
  border-width: 0 10px 10px 10px;
  border-color: transparent transparent #fff transparent;
}



/* Padding Options */

#padding-options {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 10px;
}

.padding-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.padding-description span,
.padding-input-description {
  font-size: .85em;
}

#padding-options > select,
#padding-options > input {
  width: 100%;
  height: 40px;
  text-align: center;
  border-radius: 5px;
  background-color: #eee;
  border: none;
  font-size: 16px;
}

#padding-options > select {
  grid-column: 2/4;
}

#padding-options > input {
  span: 1;
}

.padding-input-description {
  display: flex;
  justify-content: center;
  margin-top: -5px;
}


/* Package Download Button */

#prepare-package-download {
  width: 100%;
  margin: 30px auto 0px auto;
  font-size: 14px;
}








/* Logos */

section#logos {
  height: 100%;
  max-height: 100%;
  overflow-y: scroll;
  background-color: #efefef;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.logo {
  width: 220px;
  position: relative;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, var(--editor-gray-2) 24.9%, transparent 24.9%),
    linear-gradient(-45deg, var(--editor-gray-2) 24.9%, transparent 24.9%),
    linear-gradient(45deg, transparent 74.9%, var(--editor-gray-2) 74.9%),
    linear-gradient(-45deg, transparent 74.9%, var(--editor-gray-2) 74.9%);
  background-size: 10px 10px;
  background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
  box-shadow: 0px 2px 5px 2px rgb(0 0 0 / 10%);
  
}

.logo > svg {
  width: 100%;
  height: auto;
/*   border: 1px dashed #999; */
}

.logo-buttons {
  width: 35px;
  height: 35px;
  display: none;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 10px;
  left: 10px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0px 2px 5px 2px rgb(0 0 0 / 10%);
}

.logo:hover .logo-buttons {
  display: flex;
  gap: 10px;
}

.logo-button {
  width: 100%;
  height: 100%;
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  padding: 7.5px;
  background: transparent;
  font-size: 20px;
  color: var(--dark-gray);
  transition: all .3s ease-out;
}

.logo-button.fa-check {
  color: #fff;
}

.button-info {
  width: max-content;
  display: none;
  justify-content: center;
  position: absolute;
  top: -20px;
  padding: 5px 10px;
  border-radius: 5px;
  background: var(--dark-gray);
  font-family: 'Open Sans';
  font-weight: normal;
  font-size: 10px;
  color: #fff;
}

.logo-button:hover > .button-info {
  display: flex;
}

.button-info::after {
  content: '';
  width: 0px;
  height: 0px;
  -webkit-transform: rotate(360deg);
  border-style: solid;
  border-width: 5px 5px 0 5px;
  border-color: var(--dark-gray) transparent transparent transparent;
  display: flex;
  position: absolute;
  bottom: -5px;
}

.logo-checkbox-input {
  display: none;
}

.logo-checkbox-label {
  width: 35px;
  height: 35px;
  display: none;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: -10px;
  bottom: -10px;
  z-index: 1;
  background: #fff;
  border-radius: 100%;
  box-shadow: 0px 2px 5px 2px rgb(0 0 0 / 10%);
  cursor: pointer;
}

.logo:hover .logo-checkbox-label,
.logo-checkbox-input:checked + .logo-checkbox-label {
  display: flex;
}

.logo-checkbox-label > .logo-button {
  display: none;
}

.logo-checkbox-input:checked + .logo-checkbox-label > .logo-button {
  color: var(--dark-gray);
}

.logo-checkbox-label:hover > .logo-button {
  display: flex;
}

















