@font-face {
    font-family: 'Arciform';
    src: url('../fonts/Arciform.eot');
    src: url('../fonts/Arciform.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Arciform.woff2') format('woff2'),
        url('../fonts/Arciform.woff') format('woff'),
        url('../fonts/Arciform.ttf') format('truetype'),
        url('../fonts/Arciform.svg#Arciform') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Unica77LL';
    src: url('../fonts/Unica77.eot');
    src: url('../fonts/Unica77.eot#iefix') format('embedded-opentype'),
        url('../fonts/Unica77.woff2') format('woff2'),
        url('../fonts/Unica77.woff') format('woff'),
        url('../fonts/Unica77.ttf') format('truetype'),
        url('../fonts/Unica77.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi-Bold';
    src: url('../fonts/Satoshi-Bold.woff2') format('woff2'),
         url('../fonts/Satoshi-Bold.woff') format('woff'),
         url('../fonts/Satoshi-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi-Medium';
    src: url('../fonts/Satoshi-Medium.woff2') format('woff2'), 
         url('../fonts/Satoshi-Medium.woff') format('woff'),
         url('../fonts/Satoshi-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'GENTLEMONSTER';
    src: url('../fonts/gentlemonster.woff2') format('woff2'),
        url('../fonts/gentlemonster.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppins';
    src: url('../fonts/poppins-medium.woff2') format('woff2'),
        url('../fonts/poppins-medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&display=swap');

html{
    font-size: 15px;
    font-style: normal;
    font-weight: 100;
    line-height: normal;
    color:rgba(34, 34, 34, 1);
    /* background-color:rgba(248, 246, 240, 1); */
    /* background-color:#fff; */
    background: rgb(244,240,231);
    background: linear-gradient(290deg, rgba(244,240,231,1) 0%, rgba(255,255,255,1) 100%);
    font-family: 'Arciform', sans-serif;
    scroll-behavior: smooth;

    /* min-width: 900px; */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Index */

body {
    margin: 0;
    opacity: 0;
    animation: fadeIn .75s ease-out forwards;
}

header{
    position: relative;
    top: 0;
    margin: 0;
    z-index: 999;
}

.colon{
    /* color: #FF1654; */
    color: #ED6A5A;
}

nav{
    padding: 50px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background-image: linear-gradient(180deg, #FFF -50%, rgba(255, 255, 255, 0.00) 90%);

    /* outline: 2px solid red; */
}

#menu_left{
    display: flex;
}

#menu_left a{
    padding: 0px 0px;

    font-size: 25px;
    color:rgba(34, 34, 34, 1);
    text-decoration: none;

    /* outline: 2px solid red; */
}

#menu_right{
    display:flex
}

#menu_right a{
    padding: 0px 25px;

    font-size: 25px;
    color:rgba(34, 34, 34, 1);
    text-decoration: none;

    /* outline: 2px solid red; */
}

#menu_right a:hover{
    color: #888 !important;
}


#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(244,240,231,1);
    /* display: flex;
    justify-content: center; */
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#overlay-text {
    font-family: 'Arciform', sans-serif;
    font-size: 5vw;
    color: #222;
    text-align: center;
}

#overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

#close-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.3s ease;
}

#close-button:hover {
    transform: translateX(-50%) scale(1.1);
}

.carousel {
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100%;
    min-width: 100%;
    height: 75vh;
    top: -200px;
    margin-bottom: -200px;
    z-index: 1;
}

.carousel-inner {
    position: relative;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center; 
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75vh;

    display: flex;
    justify-content: center;
    align-items: center; 

    opacity: 0;
    transition: opacity 500ms ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}


.carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.carousel-item img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-text {
    position: absolute;
    bottom: 70px;
    /* left: 50%;
    transform: translateX(-50%); */
    width: 100%;
    max-width: 80vw;
    padding: 0 72px;
    box-sizing: border-box;
}

.carousel-text-inner {
    position: relative;
    left: 0;
}

.bruno{
    display: block;
    margin: 0;
    padding: 0;

    font-family: "Bruno Ace";
    font-size: 50px;
    font-weight: 400;
    font-style: normal;
    color: #f8f6f0;
}

.unica{
    display: block;
    margin: 0;
    padding: 0;

    font-family: "Unica77LL";
    font-size: 50px;
    font-weight: 400;
    font-style: normal;
    color: #f8f6f0;
}

.satoshi{
    display: block;
    margin: 0;
    padding: 0;

    font-family: "Satoshi-Medium";
    font-size: 50px;
    font-weight: 400;
    font-style: normal;
    color: #f8f6f0;
}

.gentlemonster{
    display: block;
    margin: 0;
    padding: 0;

    font-family: "GENTLEMONSTER";
    font-size: 50px;
    font-weight: 400;
    font-style: normal;
    color: #f8f6f0;
}

.lexend{
    display: block;
    margin: 0;
    padding: 0;

    font-size: 50px;
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #f8f6f0;
}

.poppins{
    display: block;
    margin: 0;
    padding: 0;

    font-size: 50px;
    font-family: "poppins", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #f8f6f0;
}


.carousel-text p {
    display: block;
    margin: 0;
    padding: 0 2px;

    font-family: 'Satoshi-Medium';
    font-weight: 400;
    font-size: 15px;
    color: #f8f6f0;
}

#content {
    max-width: 80vw;
    margin: 0 auto;
    padding: 0 72px;
    width: 100%;
    box-sizing: border-box;
}

#bar{
    display: flex;
    margin: 75px auto 25px auto;
    padding: 0;
}

#bar a {
    position: relative;
    padding-right: 25px;
}

.active a, .inactive a{
    font-family: 'Arciform';
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #222;
    text-decoration: none;

    padding: 0 50px 0 5px;
    position: relative;
}

.active a{
    color: #222;
}

.inactive a{
    color: #888;
}

.inactive a:hover{
    color: #222;
}

#bar .colon {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#bar .active .colon {
    opacity: 1;
}


@keyframes fadeIn {
    from {opacity: 0; transform: translateY(20px); }
    to {opacity: 1; transform: translateY(0); }
}

.card {
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    will-change: opacity, transform;
}

.card.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.card_container {
    max-width: 2000px;
    margin: 0 auto 10vw auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    grid-gap: 35px 25px;
    width: 100%;
}

.card a{
    text-decoration: none;
}

.card h1{
    font-family: 'Satoshi-Medium';
    font-size: 25px;
    font-weight: 400;
    
    color: #222;

    display: block;
    margin: 10px 0 0 0;
    padding: 0;
}

.card p{
    font-family: 'Satoshi-Medium';
    font-weight: 400;
    font-size: 15px;
    color: #222;

    display: block;
    margin: -1px 0 0 0;
    padding: 0;
}

.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    border-radius: 7px;
    transition: 500ms ease-in-out;

    filter: blur(5px);
    transition: all 0.25s ease-out;
}

.card.fade-in img {
    filter: blur(0);
}

.card img:hover{
    scale: 1.01;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.05), 0px 4px 4px 0px rgba(0, 0, 0, 0.05), 0px 4px 4px 0px rgba(0, 0, 0, 0.05), 0px 0px 0px 1px rgba(0, 0, 0, 0.05), 0px 1px 1px -0.5px rgba(0, 0, 0, 0.05), 0px 24px 24px -12px rgba(0, 0, 0, 0.05);
}

footer{
    display: flex;
    width: 100%;

    align-items: center;
    justify-content: space-between;
}

#footer_left, #footer_right{
    display: flex;
    margin: -75px 0 0 0;
    padding: 50px;
}

#footer_left a, #footer_right a{
    text-decoration: none;
    font-size: 15px;
    color: #222;
}

#return{
    display: block;
    margin: -65px 0 0 0;

    transition: transform 250ms ease-out;
}

#return:hover{
    transform: translateY(-5px);
}

/* Sketchbook */
.sketchbook-carousel {
    position: relative;
    overflow: hidden;
    width: 1200px;
    max-width: 1200px;
    min-width: 150px;
    aspect-ratio: 3/2;
    height: auto;
    margin: 0 auto 150px auto;
    padding: 0;
    z-index: 1;

    border-radius: 10px;
    /* box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.05), 0px 4px 4px 0px rgba(0, 0, 0, 0.05), 0px 4px 4px 0px rgba(0, 0, 0, 0.05), 0px 0px 0px 1px rgba(0, 0, 0, 0.05), 0px 1px 1px -0.5px rgba(0, 0, 0, 0.05), 0px 24px 24px -12px rgba(0, 0, 0, 0.05); */
  }
  
  .sketchbook-carousel-inner {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    display: flex;
    justify-content: center;
    align-items: center; 
  }
  
  .sketchbook-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center; 
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }

  .sketchbook-carousel-item-next {
    opacity: 0;
  }
  
  .sketchbook-carousel-item.sketchbook-active {
    opacity: 1;
  }
  
  .sketchbook-carousel-item img {
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .sketchbook-carousel-text {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 72px;
    box-sizing: border-box;
  }
  
  .sketchbook-carousel-text-inner {
    position: relative;
    left: 0;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .sketchbook-carousel-text {
      bottom: 50px;
    }
  }
  
  @media (max-width: 480px) {
    .sketchbook-carousel-text {
      bottom: 30px;
    }
  }

  
/* About */


/* responsive */
@media (max-width: 1240px) {
    #content,
    .carousel-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .carousel-text {
        bottom: 50px;
    }

    .carousel-text-inner {
        left: 0;
    }

    .card_container {
        grid-template-columns: 1fr;
        grid-gap: 40px 0;
    }

    .card h1 {
        font-size: 22px;
        margin: 15px 0 0;
    }

    .card p {
        font-size: 14px;
        margin: -1px 0 0 0;
    }
}

@media (max-width: 480px) {
    .carousel-text {
        bottom: 30px;
    }

    .card_container {
        grid-template-columns: 1fr;
        max-width: 200px;
        width: 50%;
        margin-left: auto;
        margin-right: auto;
        grid-gap: 40px 0;
    }

    .card h1 {
        font-size: 22px;
        margin: 15px 0 0;
    }

    .card p {
        font-size: 14px;
        margin: -1px 0 0 0;
    }
}
