@font-face {
    font-family: 'SourGummy';
    src: url('fonts/SourGummy-Thin.ttf')  format('truetype'), /* Safari, Android, iOS */
}

@font-face {
    font-family: 'SourGummyRegular';
    src: url('fonts/SourGummy-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
}

@font-face {
    font-family: 'SourGummyBold';
    src: url('fonts/SourGummy-Bold.ttf')  format('truetype'), /* Safari, Android, iOS */
}

body {
    font-size: 22px;
    font-family: "SourGummy", sans-serif;
    background-color: #F0DAF5;
    color: #3D3B3A;
}

header {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    max-width: 500px;
}

.logo img {
    width: 100px;
    height: 100px;
}

.social {
    height: 24px;
    width: 24px;
    background-size: 24px 24px;
    display: block;
}

.instagram {
    background-image: url('images/instagram.svg');
}

.tiktok {
    background-image: url('images/tiktok.svg');
}

.youtube {
    background-image: url('images/youtube.svg');
}

.linktr {
    background-image: url('images/linktr.png');
}

.main_nav {
    max-width: 680px;
    margin: 20px auto;
    list-style-type: none;
    padding: 0;
}
  
.main_nav ul {
    list-style: none;
 }
  
.main_nav li {
    display: inline-block;
    font-family: "SourGummyRegular", sans-serif;
}
  
.main_nav a {
    display: block;
    font-weight: 500;
    text-decoration: none;
    color: #3D3B3A;
    font-size: 22px;
    padding: 5px 20px;
    position: relative;
    border-bottom: 2px solid #e0115f;
}

.main_nav a:hover {
    font-weight: 700;
    color: #222120;
}

.main_nav a.active {
    border-color: #ab1f57;
    pointer-events: none;
}

.nav_simple {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown {
    display: inline-block;
}
  
.dropdown_content {
    line-height: 1;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 135px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    transform-origin:0 0;
    transform: scaleY(0);
    transition:0.3s;
    z-index: 1;
}
  
.dropdown_content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #3D3B3A;
}

.dropdown_content a:hover {
    font-weight: bold;
    color: #ab1f57;
}
  
.dropdown:hover .dropdown_content {
    transform: scaleY(1);
}

.dropdown svg {
    width: 15px;
    margin-left: 10px;
}

.dropdown:hover svg {
    rotate: 180deg;
}

.slider-content {
  position: relative;
  overflow: hidden;
  border-radius: 5rem;
  margin: 0 10%;
}

.grid-content {
    max-width: 1800px;
    margin: 30px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.grid-content div {
    margin: 30px 60px;
}

.grid-content div:hover img {
    transform: scale(1.05);
}

.grid-content div img {
    border-radius: 10px;
    transition: all .5s;
    box-shadow: 10px 10px 13px #bbb2b5;
    width: 500px;
    height: 500px;
}

.container {
    max-width: 1800px;
    margin: 30px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.letest {
    max-width: 1200px;
    margin: 30px auto;
}

.letest h2 {
    text-align: center;
    font-family: "SourGummyRegular", sans-serif;
    font-size: 56px;
    color: #e1276f;
}

.books-grid {
    display: flex;
    flex-wrap: wrap;
}

.books-grid .book {
    width: 30%;
}


.book {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin-bottom: 40px;
    width: 22%;
    flex-wrap: wrap;
}

.book img {
    width: 370px;
    height: 370px;
}

.cover {
    cursor: pointer;
}

.cover:hover .overlay {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 20px;
    bottom: 0;
    left: auto;
    right: auto;
    height: 370px;
    width: 370px;
    opacity: 0;
    transition: .5s ease;
}

.primary {
    background-color: #e1276f;
    color: #fff;
    font-size: 22px;
    line-height: 26px;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 0;
}

.primary:hover {
    background-color: #ab1f57;
}

.primary.disabled {
    background-color: #979799;
    pointer-events: none;
}

.call-to-action {
    font-weight: bold;
    text-align: center;
    margin-left: 20px;
    font-size: 22px;
}

.call-to-action span {
    font-size: 26px;
}

.small {
	margin-top: 22px;
	font-size: 14px;
	cursor: pointer;
}

.about {
    display: flex;
    margin: 0 auto;
    max-width: 900px;
    line-height: 24px;
}

.about img {
    height: 250px;
    margin-right: 20px;
    margin-top: 18px;
}

.gallery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery img {
    width: 30%;
    height: 300px;
    object-fit: cover;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #e1276f;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.menu-mobile {
    font-size: 30px;
    cursor: pointer;
    display: none;
    color: #e1276f;
}

footer {
    border-top: 1px solid #e1276f;
    color: #e1276f;
    padding: 10px 0 0;
}

.follow p {
    font-size: 16px;
    margin-top: 0;
    text-align: center;
    font-family: 'SourGummyBold';
}

.footer-social {
    display: flex;
    justify-content: space-between;
    width: 160px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal.show {
	display: block;
}

.hide {
	display: none;
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 850px;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

@media screen and (max-width: 1560px) {
    .book {
        width: 22%;
    }

    .book img {
        width: 300px;
        height: 300px;
    }
}

@media screen and (max-width: 1260px) {
    .books-grid .book {
        width: 28%;
    }

    .books-grid .book img {
        width: 280px;
        height: 280px;
    }

    .overlay {
        width: 280px;
        height: 280px;
    }

}

@media screen and (max-width: 1060px) {
    .book {
        width: 410px;
    }

    .books-grid .book {
        width: 100%;
    }
}

@media screen and (max-width: 890px) {
    .book {
        width: 400px;
    }

    .call-to-action {
        margin-left: 25px;
    }

    .container {
        flex-direction: column;
        align-content: center;
    }

    .about img {
        height: 200px;
    }
	.small {
		display: none;
	}
}

@media screen and (max-width: 690px) {
    .content {
        display: none;
    }
    .container {
        margin-top: 0;
    }

    .book {
        width: 300px;
        margin-bottom: 20px;
    }

    .primary {
        padding: 10px;
        font-weight: normal;
    }

    .call-to-action {
        margin-left: 10px;
    }

    header .social {
        display: none;
    }

    header {
        justify-content: center;
    }

    .main_nav {
        display: none;
    }

    .menu-mobile {
        display: block;
        position: absolute;
        top: 45px;
        left: 20px;
    }

    #mySidenav .active span {
        color: #4b4346;
        border-bottom: 1px solid #4b4346;
    }

    #mySidenav svg {
        display: none;
    }

    #mySidenav .submenu {
        display: block;
        position: relative;
        background: transparent;
        text-align: left;
        margin-left: 20px;
        top: 0;
    }

    .footer-social {
        width: 150px;
    }

    .footer-social .social {
        height: 30px;
        width: 30px;
        background-size: 30px 30px;
    }

    .slider-content {
        display: none;
    }

    .grid-content div {
        margin: 10px;
    }

    .grid-content div img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 520px) {
    .about img {
        display: none;
    }

    .gallery img {
        width: 45%;
        height: 250px;
    }
}




.grid-container {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
  }
  
  .column {
    flex: 20%;
    max-width: 25%;
    padding: 5px 8px;
    overflow: hidden;
  }

  .hover-zoom {
    overflow: hidden;
  }
  
  .column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    transition: transform .5s ease;
  }

  .column img:hover {
    transform: scale(1.5);
  }
  
  @media (max-width: 1200px) {
    .column {
      flex: 40%;
      flex-wrap: wrap;
      max-width: 50%;
    }
  }
  
  @media (max-width: 600px) {
    .column {
      flex: 50%;
      max-width: 100%;
    }
  }




.slider {
    display: flex;
    width: 500%;
    height: 650px;
    transition: all 0.25s ease-in;
    transform: translateX(0);
  }
  @media only screen and (max-width: 1000px) {
    .slider {
      height: 65vh;
    }
  }
  .slider .box {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    overflow: hidden;
    position: relative;
    background-image: url('images/bg03.jpg');
    background-size: cover;
    background-repeat: no-repeat;
  }
  @media only screen and (max-width: 850px) {
    .slider .box {
      grid-template-columns: 1fr;
      grid-template-rows: repeat(1, 1fr);
    }
  }
  .slider .box .bg {
    padding: 2rem;
    width: 55%;
    transform: skewX(7deg);
    background-color: rgba(252, 179, 179, 0.308);
    position: absolute;
    height: 100%;
    left: -10%;
    padding-left: 20rem;
    transform-origin: 0 100%;
  }
  @media only screen and (max-width: 1200px) {
    .slider .box .bg {
      display: none;
    }
  }
  .slider .box .details {
    padding: 5rem;
    padding-left: 10rem;
    z-index: 100;
    grid-column: 1/span 1;
    grid-row: 1/-1;
  }
  .slider .box .details h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #e1276f;
  }
  .slider .box .details p {
    display: inline-block;
    font-size: 22px;
    color: #fff;
    margin-bottom: 4rem;
    margin-right: 5rem;
  }
  @media only screen and (max-width: 800px) {
    .slider .box .details p {
      margin-right: 0;
    }
  }
  .slider .box .details button {
    padding: 1rem 3rem;
    background-color: #e1276f;
    color: #fff;
    border-radius: 2rem;
    outline: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .slider .box .details button a {
    color: #fff;
    text-decoration: none;
    font-family: "SourGummy", sans-serif;
    font-size: 20px;
  }
  .slider .box .details button:hover {
    opacity: 0.8;
  }
  .slider .box .details button:focus {
    outline: none;
    border: none;
  }
  .slider .illustration {
    grid-column: 2/-1;
    grid-row: 1/-1;
    justify-self: center;
  }
  @media only screen and (max-width: 1200px) {
    .slider .illustration .inner img {
        width: 250px;
        height: 250px;
    }
    .slider .box .details h1 {
        font-size: 1.5rem;
    }
    .slider .box .details p {
        margin-right: 0;
        width: 100%;
    }
    .slider .box .details {
        padding-left: 5rem;
        padding-right: 0;
    }
  }
  @media only screen and (max-width: 850px) {
    .slider .illustration {
        grid-row: 1/span 1;
        grid-column: 1/-1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .slider .box .details {
        grid-row: 2/span 1;
        grid-column: 1/-1;
        text-align: center;
        padding: 0;
        transform: translateY(-3rem);
    }
    .slider .box .details button {
        margin-top: 40px;
    }
    .slider .box .details p {
        display: none;
    }
  }
  
  .prev,
  .next,
  .trail {
    z-index: 10000;
    position: absolute;
  }
  
  .prev,
  .next {
    width: 4rem;
    cursor: pointer;
    opacity: 0.2;
    transition: all 0.3s ease;
  }
  @media only screen and (max-width: 850px) {
    .prev,
  .next {
      display: none;
    }
  }
  .prev:hover,
  .next:hover {
    opacity: 1;
  }
  
  .prev {
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
  }
  
  .next {
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
  }
  
  .trail {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    text-align: center;
    font-size: 1.5rem;
  }
  @media only screen and (max-width: 850px) {
    .trail {
      width: 90%;
    }
  }
  .trail div {
    padding: 10px 2rem;
    border-top: 3px solid #e1276f;
    cursor: pointer;
    opacity: 0.3;
    transition: all 0.3s ease;
    color: #e1276f;
  }
  .trail div:hover {
    opacity: 0.6;
  }
  @media only screen and (max-width: 850px) {
    .trail div {
      padding: 1rem;
    }
  }
  .show {
    opacity: 1 !important;
  }

/*---------------------------------------*/
.ohuhu-generator {
    font-family: Arial;
    text-align: center;
    margin-bottom: 20px;
}
.palette-Display {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}
.color-block {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.color-block div {
    text-align: center;
}
.color-block div.color-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 14px;
    line-height: 1.2;
}
.color-block div.color-info .number {
    font-size: 15px;
    font-weight: bold;
}
.color-block div.color-info .name {
    font-size: 10px;
}
.color-block div.label {
    font-size: 12px;
    text-align: center;
}

.color-block div.hex-code {
    font-family: monospace;
    font-size: 13px;
    margin-top: auto;
    text-align: center;
    word-break: break-word;
} 

.info-paragraph {
    margin-top: 30px;
    font-size: 14px;
}

.info-paragraph a {
    color: #6a5acd;
    text-decoration: none;
}
.info-paragraph a:hover {
    text-decoration: underline;
}
.MarkerLine-buttons button {
    --clr-font-main: hsla(0 0% 20% / 100);
    --btn-bg-1: hsla(194 100% 69% / 1);
    --btn-bg-2: hsla(217 100% 56% / 1);
    --btn-bg-color: hsla(360 100% 100% / 1);
    --radii: 0.5em;
    cursor: pointer;
    padding: 0.9em 1.4em;
    min-width: 120px;
    min-height: 44px;
    font-size: var(--size, 1rem);
    font-weight: 500;
    transition: 0.8s;
    background-size: 280% auto;
    background-image: linear-gradient(
        325deg,
        var(--btn-bg-2) 0%,
        var(--btn-bg-1) 55%,
        var(--btn-bg-2) 90%
    );
    border: none;
    border-radius: var(--radii);
    color: var(--btn-bg-color);
    box-shadow:
        0px 0px 20px rgba(71, 184, 255, 0.5),
        0px 5px 5px -1px rgba(58, 125, 233, 0.25),
        inset 4px 4px 8px rgba(175, 230, 255, 0.5),
        inset -4px -4px 8px rgba(19, 95, 216, 0.35);
}
.MarkerLine-buttons button:hover {
    background-position: right top;
}

.MarkerLine-buttons button:is(:focus, :focus-visible, :active) {
    outline: none;
    box-shadow: 0 0 0 3px var(--btn-bg-color), 0 0 0 6px var(--btn-bg-2);
}
@media only screen and (max-width: 1060px) {
  .MarkerLine-buttons button,
  .name-toggle-btn {
      margin: 5px 0;
  }
}
.selected {
    border: 2px solid #6a5acd;
    background-color: #f0f0f0;
}

.name-toggle-btn {
    color: #090909;
    padding: 0.7em 1.7em;
    font-size: 14px;
    border-radius: 0.5em;
    background: #e8e8e8;
    cursor: pointer;
    border: 1px solid #e8e8e8;
    transition: all 0.3s;
    box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
}

.name-toggle-btn:active {
    color: #666;
    box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}

.name-toggle-btn.selected {
    background-color: #6a5acd;
    color: white;
}

.generate-another-btn {
    --width: 350px;
    --timing: 7s;
    border: 0;
    width: var(--width);
    padding-block: 1em;
    color: #fff;
    font-weight: bold;
    font-size: 1em;
    background: rgb(64, 192, 87);
    transition: all 0.2s;
    border-radius: 8px;
    cursor: pointer;
}
.generate-another-btn.disabled {
    pointer-events: none;
    background-color: #797979;
}
.generate-another-btn:hover {
    background-image: linear-gradient(
        to right,
        rgb(250, 82, 82),
        rgb(250, 82, 82) 16.65%,
        rgb(190, 75, 219) 16.65%,
        rgb(190, 75, 219) 33.3%,
        rgb(76, 110, 245) 33.3%,
        rgb(76, 110, 245) 49.95%,
        rgb(64, 192, 87) 49.95%,
        rgb(64, 192, 87) 66.6%,
        rgb(250, 176, 5) 66.6%,
        rgb(250, 176, 5) 83.25%,
        rgb(253, 126, 20) 83.25%,
        rgb(253, 126, 20) 100%,
        rgb(250, 82, 82) 100%
    );
    animation: var(--timing) linear dance6123 infinite;
    transform: scale(1.1) translateY(-1px);
}

@keyframes dance6123 {
  to {
    background-position: var(--width);
  }
}

.title-wrapper {
  position: relative;
  display: inline-block;
  margin-top: 15px;
}

#site-title {
  position: relative;
  display: inline-block;
}

.original-tag {
  position: absolute;
  left: -1.7em;   
  top: -1.2em;   
  padding: 0.2em 0.5em;
  background: #a4f6c5;
  border-radius: 0.6em;
  font-size: 1.1em;
  font-weight: bold;
  transform: rotate(-5deg);
  box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
        
.info-paragraph {
    max-width: 22%;
    margin: 20px auto;
    word-wrap: break-word;
    display: block;
}

@media only screen and (max-width: 1500px) {
.info-paragraph {
    max-width: 100%;
}
.generate-another-btn {
--timing: 0s;
}
}

.filter-container {
    margin-top: 20px;
}

.filter-dropdown {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
    background-color: white;
}

.filter-dropdown:focus {
    outline: none;
    border-color: #6a5acd;
}