@keyframes pulsate {
    0% {
        border-color: #5fa910;
        background: #629c314d;
    }
    50% {
        border-color: #5fa910;
        background: #75dc1d4d;
    }
    100% {
        border-color: #5fa910;
        background: #629c314d;
    }
}

.card {
    background: #7777773d;
    border-radius: 10px;
}

.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 0rem !important;
}

.bottom-part {
    width: 80%;
}

.action {
    border: 2px solid #aade3270;
    box-shadow: 0px 0px 10px inset #aade3282;
}

.card-body {
    border: 2px solid #aade3270;
    box-shadow: 0px 0px 10px inset #aade3282;
    border-radius: 10px;
    color: #fefefe;
}

.opt-badge {
    left: 20px !important;
    padding: 5px 10px;
    border-radius: 5px !important;
    background: #aade32;
    color: #272e27;
}

.pulsate {
    display: block;
    margin: 20px auto;
    border: 2px solid #2a4d04;
    animation: pulsate 2s infinite;
    animation: glowing 3s ease-in-out infinite;
}

#framePreviewPopupContainer a:hover,
#framePreviewPopupContainer a:focus,
#framePreviewPopupContainer a:active,
.frame-select {
    background: #2a4d04;
    margin: 10px;
    border-radius: 5px;
    border: 2px solid #4c8d05;
    transition: 0.6s;
    cursor: pointer;
    animation: pulsate 2s infinite!important;
    #animation: glowing 3s ease-in-out infinite!important;
}

#framePreviewPopupContainer img {
  width: 100%;
  padding: 10px;
  margin: auto;
  text-align: center;
}

#FrameSelectionModal .modal-dialog {
    max-width: 800px;
}

.cropper-line,
.cropper-point,
.cropper-point.point-se::before {
  background-color: #6b8a21 !important;
}

#framePreviewPopupContainer a {
  background: #385a1b4d;
  margin: 10px;
  border-radius: 5px;
  border: 2px solid #2a4d04;
}

.dis-btn input[type="file"] {
  display: none;
  /* Hide the file input */
}

.dis-btn {
  cursor: not-allowed;
  /* Set cursor style to not-allowed */
  opacity: 0.5;
  /* Reduce opacity to visually indicate disabled state */
}

.cropper-line,
.cropper-point,
.cropper-point.point-se::before {
  background-color: #6b8a21 !important;
}

.cropper-view-box {
  outline: 1px solid #6b8a21 !important;
  outline-color: rgba(57, 255, 51, 0.75) !important;
}

.cropper-face {
  background-color: #6b8a21 !important;
}


/* Custom checkbox styles */
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.custom-checkbox {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 5px;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input~.custom-checkbox {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked~.custom-checkbox {
  background-color: #6B8A21;
}

/* Create the checkmark */
.checkmark {
  position: absolute;
  display: none;
}

/* Show the checkmark when the checkbox is checked */
.checkbox-container input:checked~.custom-checkbox .checkmark {
  display: block;
}

/* Style the checkmark */
.checkbox-container .custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 7px;
  height: 13px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.main-settings {
  position: relative;
}

.checkbox-padding {
  padding-right: 0px;
  padding-left: 0px;
}

.background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background: #0f180e63;
  backdrop-filter: blur(2px);
  /* Adjust the blur amount as needed */
  z-index: -1;
  /* Ensure it stays behind content */
}

.pre-div {
  margin: 40px;
  border: 1px solid #7ca523;
}

.overlay-content p {
  font-family: Inter, Arial;
  font-size: 25px;
  text-shadow: 1px 1px 10px #000;
  font-weight: 500;
}

.overlay-content i {
  font-size: 25px;
  text-shadow: 1px 1px 10px #000;
  font-weight: 500;
}

.overlay-block {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  z-index: 5;
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-family: 'Inter', sans-serif;
}

.lock-icon {
  width: 50px;
  /* Adjust icon size as needed */
  height: 50px;
  /* Adjust icon size as needed */
}

.content-block {
  position: relative;
  z-index: 1;
}

/* Style for the overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent black */
  backdrop-filter: blur(5px);
  /* Apply blur effect */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* Ensure the overlay appears above other content */
}

/* Style for the loading gif */
.loading {
  width: 100px;
  /* Adjust size as needed */
  height: 100px;
  /* Adjust size as needed */
}

/*BACKGROUND IMG*/
.masthead {
  width: 100%;
  background-image: url('https://design-gecko.com/wp-content/uploads/2024/01/bg-img.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-variant: all-petite-caps;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

/* Checkbox styling */

.checkbox-container {
  display: block;
  width: fit-content;
  margin: 1% auto;
}

/* PREVIEW MODAL */

.preview-settings #materials {
  text-align: center;
  margin: auto;
  display: block;
}

select {
  /* for Firefox */
  -moz-appearance: none;
  /* for Chrome */
  -webkit-appearance: none;
}

/* For IE10 */
select::-ms-expand {
  display: none;
}

#materials {
  text-align: center;
}

#materials option {
  background-repeat: no-repeat;
  padding-left: 20px;
}

#materials {
  cursor: pointer;
  background: #222;
  border: 2px solid #444;
  border-radius: 5px;
  font-weight: 500;
  font-variant: small-caps;
  padding: 10px 20px 13px 20px;
  color: #aade32;
}

/*	CROP MODAL	*/

.modal {
  background: rgba(0, 0, 0, 0.5);
  /* Add a dark overlay */
  backdrop-filter: blur(10px);
  /* Add a blur effect */
}

.depth-btn,
.stl-btn {
  width: fit-content;
  padding: 10px 20px;
  margin: 4px auto;
}

.feather-edges {
  margin: auto;
  text-align: center;
  display: grid;
  background: #222;
  padding: 10px 0px 20px 0px;
  border-radius: 5px;
  width: 50%;
  margin: 0px auto 12px auto;
  color: #fff;
  border: 1px solid #777;
  text-align: center;
  font-variant: all-petite-caps;
  font-weight: 600;
}

.feather-input {
  margin: 10px auto;
  width: 30%;
  background: #bdbdbd;
  border: 1px solid #777;
  color: #222;
  text-align: center;
  border-radius: 5px;
  margin: 10px auto;
  height: 40px;
}

.roundedges {
  background: #222;
  padding: 10px 0px 20px 0px;
  border-radius: 5px;
  width: 50%;
  margin: 0px auto 12px auto;
  color: #fff;
  border: 1px solid #777;
  text-align: center;
  font-variant: all-petite-caps;
  font-weight: 600;
}

.cropper-view-box {
  outline-color: #273d0c;
  outline: 1px solid #273d0c;
}

.cropper-point.point-se {
  height: 10px;
  opacity: 1;
  width: 10px;
}

.cropper-point {
  background-color: #273d0c;
  height: 10px;
  opacity: 1;
  width: 10px;
}

#CropModal.show, #FrameModal.show {
  display: flex !important;
}

.roundedges .slidecontainer {
  width: 70%;
  margin: auto;
}

.squarecrop {
  text-align: center;
  display: grid;
  margin: 15px;
}

.fixedcropsize {
  justify-content: center;
  justify-items: center;
  font-variant: all-petite-caps;
  font-weight: 600;
  margin: 0px auto 0px auto;
  display: grid;
  color: white;
  text-align: center;
}

.crop_format_input {
  width: 50%;
  margin: 10px auto 10px;
}

.crop_input {
  background: #222;
  border: 1px solid #777;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  width: 89%;
  margin: 10px auto;
  height: 40px;
}

.crop_width_input::-webkit-outer-spin-button,
.crop_width_input::-webkit-inner-spin-button,
.crop_height_input::-webkit-outer-spin-button,
.crop_height_input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.crop_width_input[type=number],
.crop_height_input[type=number] {
  -moz-appearance: textfield;
}

/* CROP TOGGLE */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin: 10px auto 0px auto;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switchslider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #393939;
  -webkit-transition: .4s;
  transition: .4s;
  height: 34px;
}

.switchslider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.switchslider {
  background-color: #81a62d;
}

input:focus+.switchslider {
  box-shadow: 0 0 1px #2196F3;
}

.modal-footer button,
.stl-btn,
.depth-btn {
  background: #385a1b;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px !important;
  text-align: center;
  border: 2px solid #385a1b !important;
}

.action:hover, .modal-footer button:hover,
.stl-btn:hover,
.depth-btn:hover {
  transition: 0.6s;
  opacity: 1.5;
  border: 2px solid #aade32 !important;
  color: #aade32;
}

input:checked+.switchslider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.modal-footer,
.modal-header {
  background: #222;
  border-color: #444 !important;
}

.modal-content {
  border-color: #444 !important;
  max-width: 800px;
}

/* Rounded sliders */
.switchslider.round {
  border-radius: 34px;
}

.switchslider.round:before {
  border-radius: 50%;
}

.modal-content {
  background-color: #112001;
  border: 2px solid #335a08;
}

.slider-container {
  margin: 20px;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #000000bf;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

input[type="range"]:hover {
  opacity: 1;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4caf50;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgb(45, 69, 13);
  background: linear-gradient(45deg, rgba(45, 69, 13, 1) 2%, rgba(66, 115, 25, 1) 50%, rgba(70, 125, 24, 1) 89%);
  cursor: pointer;
  transition: 0.6s;
  border: 2px solid #aade32;
  opacity: 1.5;
  box-shadow: 0px 0px 10px #aade32;
  color: #aade32;
}

.masthead h1,
.overlay-content {
  text-shadow: 0px 0px 10px #000;
  background: #0000009e;
  width: fit-content;
  margin: 0px auto 15px;
  font-weight: 500;
  padding: 4px 20px 9px 20px;
  border-radius: 5px;
}

.overlay-content i {
  margin-top: 15px;
}

.main-logo {
  border: 5px solid #0a1202;
  border-bottom: 0px;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  margin: 30px auto 0px auto;
  box-shadow: 0px 0px 30px black;
  padding: 0px !important;
}

.canvas img {
  margin: auto;
  text-align: center;
  display: block;
}

.main-buttons {
  border-radius: 10px;
  background: #273d0c;
  border: 5px solid #0a1202;
  box-shadow: 0px 0px 30px black;
}

.mobile-menu {
  display: none !important;
  /* Hide the menu by default */
}

.canvas {
  border-radius: 20px;
  border: 0px;
  background: #0a1202;
  padding: 20px;
  margin: auto;
}

.canvas img {
  max-width: 800px;
  margin: auto;
}

.main-menu i {
  display: block;
}

.menu-button {
  width: 100%;
  margin: auto;
  border: 2px solid #0a1202;
  color: #fff;
  border-radius: 5px;
  padding: 15px 25px;
  background: #0a1202;
  cursor: pointer;
  text-align: center;
  border: 2px solid #aade3270;
  box-shadow: 0px 0px 10px inset #aade3282;
  height: 80px;
  width: 150px;
}

.main-buttons .funct-btn, .det-btn  {
  margin: 9px;
  width: fit-content;
  padding: 10px 20px !important;
}

.main-buttons.mb-3.row.gx-5.container.px-4.mx-auto {
  text-align: center;
  display: block;
  padding: 22px 0px 0px 0px;
  border: 5px solid #0a1202;
  border-top: 0px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0px 0px 30px black;
}

.main-buttons .funct-btn, .det-btn {
  background: rgb(45, 69, 13);
  background: linear-gradient(45deg, rgba(45, 69, 13, 1) 2%, rgba(66, 115, 25, 1) 50%, rgba(70, 125, 24, 1) 89%);
  border: 2px solid #8cb62a;
  border-radius: 100px;
  box-shadow: 0px 0px 10px inset;
  color: #fff;
  opacity: 0.65;
  font-variant: small-caps;
}

.top {
  margin-bottom: 0px !important;
}

.top-part {
justify-content: center; 
}

.hiw h1 {
  border-top: 2px solid #ffffff2b;
  padding-top: 25px;
  width: 80;
  margin: auto;
}

.hiw {
  background: #0b1501;
  border-radius: 10px;
  padding: 20px;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.expl {
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

h3 {
  text-shadow: 0px 0px 10px #aade32;
}

h3,
h1,
p {
  font-weight: lighter;
}

.expl p,
.hiw p {
  font-size: 18px;
  font-weight: lighter;
}

.expl {
  background: #0a1202c2;
  border-radius: 10px;
}

.bot {
  margin-top: 0px !important;
}

.expl {
  justify-content: center;
}

.hiw p {
  width: 80% !important;
  margin: auto;
}

.update-btn {
  background: transparent;
  padding: 6px 20px 8px 20px;
  border-radius: 5px;
  font-weight: 600;
}

.update-btn:hover {
  background: #aade32;
  padding: 6px 20px 10px 20px;
  border-radius: 5px;
  color: #fff;
  transition: 0.5s;
}

.main-buttons .funct-btn:hover,
.funct-btn.active,
.update-btn, .det-btn.selected {
  transition: 0.6s;
  border: 2px solid #aade32;
  opacity: 1.5;
  box-shadow: 0px 0px 10px #aade32;
  color: #aade32;
}

.expl a:hover {
  text-shadow: 0px 0px 10px #b0f906;
  color: #b0f906;
  transition: 0.6s;
}

.generate-btn,
.btn-info, .btn-info:active {
  text-align: center;
  margin: auto;
  display: block;
  background: #0a1202;
  color: #fff;
  border-radius: 5px;
  padding: 10px 20px;
  outline: 0!important;
}


.expl a,
.expl h1 {
  text-shadow: 0px 0px 10px #aade32;
  color: #aade32;
}

.hiw h1 {
  text-shadow: 0px 0px 10px #aade32;
}

.hiw i {
  text-shadow: 0px 0px 10px #aade32;
  font-size: 35px;
}

.funct-btn2:hover {
  transition: 0.6s;
  border: 2px solid #aade32;
  opacity: 1.5;
  box-shadow: 0px 0px 10px #aade32;
  color: #aade32;
}

.main-buttons2 {
  justify-content: center;
  justify-items: center;
  display: grid !important;
}

.menu-button:hover,
.generate-btn:hover,
.btn-info:hover {
  transition: 0.6s;
  border: 2px solid #aade32;
  opacity: 1.5;
  box-shadow: 0px 0px 10px #aade32;
  color: #aade32;
  box-shadow: 0px 0px 10px inset;
  background: #0a1202;
}

.generate-btn:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.main-buttons {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Media query for screens with a maximum width of 1000px */
@media screen and (max-width: 1200px) {
  .logo-img {
    display: none;
    /* Hide the element when the screen width is 1000px or less */
  }
}

@media screen and (min-width: 1200px) and (max-width: 1200px) {
  .main-settings {
    width: 50% !important;
  }
}

@media screen and (min-width: 1200px) {
  .expl img {
    width: 70% !important;
  }
}

@media screen and (max-width: 1000px) {
    #CropModal.show, #FrameModal.show {
        display: block!important;
    }
}

@media (max-width: 767px) {
  .main-app .top-part {
    flex-direction: column;
  }

  .opt-badge {
      left: 31px !important;
      top: 7px !important;
  }

  .container.py-5 {
      padding-top: 3rem!important;
      padding-bottom: 10px!important;
  }

  .container.py-5 .col-6 {
      padding: 5px !important;
      margin-top: 0px!important;
  }

  .bottom-part {
      width: 100%;
      padding: 0px;
  }
  

  .canvas img {
    width: 100%;
  }

  .main-app .canvas-maps {
    order: 1;
  }

  .main-app .main-menu {
    order: 2;
  }

  .mobile-menu {
    display: flex !important;
  }

  .normal-menu {
    display: none !important;
  }
}