:root{
    --black: #252422;
    --white: #FFFCF2;
    --orange: #EB5E28;
}

p{
    margin-bottom: 0;
}

a, a:active, a:focus, a:visited{
    color: var(--white);
}

a:focus{
    color: var(--white) !important;
}

.fs-16 { font-size: clamp(0.8rem, 1vw, 1rem); }
.fs-27 { font-size: clamp(1.2rem, 2vw, 1.688rem); }
.fs-36 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.fs-61 { font-size: clamp(2.4rem, 4vw, 3.813rem); }
.fs-80 { font-size: clamp(3rem, 6vw, 5rem); }
.fs-124 { font-size: clamp(4.5rem, 10vw, 7.75rem); }

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 500,
  'GRAD' 0,
  'opsz' 24
}

*{
    padding: 0;
    margin: 0;
    cursor: none;
}

html, body{
    background-color: var(--black);
    color: var(--white);
    font-family: "Oswald", sans-serif;
    font-weight: 100;
}

body{
    padding: 16px 32px;
}

.montserrat{
    font-family: 'Montserrat';
}

.oswald{
    font-family: 'Oswald';
}

.divider{
    flex-grow: 1; 
    height: 2px; 
    background-color: var(--white);
    opacity: 0.2;
    margin: 64px 0px;
}

.custom-cursor {
    position: fixed;
    width: 28px;
    aspect-ratio: 1;
    background-color: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    box-shadow: 0 0 30px #ffffff;
}

.custom-cursor.arrow {
    width: 28px;
    height: 28px;
    border-radius: 0;
    box-shadow: 0 0 30px #ffffff !important;
    clip-path: polygon(
        0% 45%, 60% 45%, 60% 25%, 100% 50%, 60% 75%, 60% 55%, 0% 55%
    );
    transform: rotate(235deg);
    transition:
        border-radius 0.3s ease-in-out,
        clip-path 0.3s ease-in-out,
        width 0.3s ease-in-out,
        height 0.3s ease-in-out;
}

::-webkit-scrollbar{
    display: none;
}

.hoverable-text, .hoverable-text-nopic{
    text-decoration: underline;
    text-decoration-color: var(--orange);
    text-decoration-thickness: -3px;
    text-underline-offset: 16px;
    transition: all 0.3s ease-in-out;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.hoverable-text::before, .hoverable-text-nopic::before{
    content: "";
    position: absolute;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--orange);
    z-index: -1;
    transition: all 0.3s ease-in-out;
}

.hoverable-text:hover::before, .hoverable-text-nopic:hover::before{
    width: 100%;
    transition: all 0.3s ease-in-out;
}

#cursorFollower {
    opacity: 0;
    width: 480px;
    aspect-ratio: 16/9;
    background: var(--black);
    border: 1px solid var(--white);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    transform: translate(-5%, -100%);
    transition: all 0.3s ease-out;
    z-index: 9999;
    background-position: center;
    background-size: cover;
}

.navbar{
    display: none;
    background-color: #25242211;
    backdrop-filter: blur(10px);
    padding: 16px 32px;
    margin: -16px -32px;
    opacity: 0;
    transition: all 0.8s ease-in-out;
}

.nav-hidden{
    top: -100px;
    transition: all 0.8s ease-in-out;
}

.nav-link{
    color: var(--white);
    font-size: 2.25rem;
    font-weight: bold;
    text-wrap: none;
}

.nav-link.active{
    color: var(--orange) !important;
}

.nav-link:hover{
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: var(--orange);
    text-decoration-thickness: 4px;
    text-underline-offset: 8px;
}

#header{
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 36px;
}

#design-philosophy{
    padding: 64px 256px;

    .fs-124{
        font-weight: bold;
    }

    .fs-27{
        text-align: justify;
        padding-left: 50%;
        margin-top: -15%;
    }

    .fs-27.more{
        padding-left: 0;
        margin-top: 256px;
        width: 60%;
    }
}

#hobbies{
    padding: 64px;
    padding-left: 128px;
    padding-right: 128px;
}

#hobby-inner-container{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.hobby-container{
    border: 1px solid var(--white);
    padding: 8px;
    border-radius: 99px;
    width: 248px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.hobby-container:hover{
    background-color: var(--white);
    color: var(--black);
    transition: all 0.3s ease-in-out;
    font-weight: normal;
}

.content-container-2{
    padding-top: 36px;
    padding-bottom: 36px;
    display: flex;
    overflow-x: scroll;
    gap: 32px;
    
    padding-left: 32px;
    margin: -16px -32px;
    padding-right: 32px;
}

.content-card-2{
    flex-direction: column;
    justify-content: space-between;
    display: flex;
    text-decoration: none;
    overflow: hidden;
    color: var(--white);
    border: 1px solid var(--white);
    border-radius: 8px;
    padding: 32px;
    height: 728px;
    min-width: 384px;
    transition: all 0.3s ease-in-out;

    img{
        width: 100%;
        object-fit: scale-down;
        position: relative;
    }

    .content-card-body{
        display: flex;
        margin-top: 48px;
        gap: 32px;
    }
}

.content-card-2.laptop{
    min-width: 768px;

    img{
        width: 148%;
        left: -12%;
        z-index: 1;
    }

    .badge-container-2{
        z-index: 2;
        
    }
}

.content-card-2:hover{
    border-color: var(--orange);
    scale: 101%;
    transition: all 0.3s ease-in-out;
}

.badge-container-2{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: fit-content;
    height: fit-content;
    gap: 16px;
    padding-top: 32px;
    padding-left: 16px;

    .description{
        font-size: 1.87rem;
        color: var(--orange);
    }
}

#currently{
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    height: 60vh;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .montserrat{
        font-family: 'Montserrat';
        line-height: 1;
    }
    
    .custom-cursor{
        display: none;
    }

    #design-philosophy{
        padding: 32px 0px;

        .fs-124{
            font-weight: bold;
        }

        .fs-27{
            padding-left: 0;
            margin-top: 16px;
        }
    }
        
    #hobbies{
        padding: 0px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .content-container-2{
        gap: 16px;
    }
    
    .content-card-2{
        text-decoration: none;
        overflow: hidden;
        color: var(--white);
        border: 1px solid var(--white);;
        border-radius: 8px;
        height: 546px;
        min-width: 256px;
        transition: all 0.3s ease-in-out;

        img{
            width: 100%;
            object-fit: scale-down;
            position: relative;
        }

        .content-card-body{
            display: flex;
            margin-top: 48px;
            gap: 16px;
        }
    }

    .content-card-2.laptop{
        min-width: 256px;

        img{
            width: 400%;
            left: -40%;
            z-index: 1;
        }

        .badge-container-2{
            z-index: 2;
            padding: 0;
            padding-top: 16px;
            padding-right: 16px;
        }
    }

    .content-card-2:hover{
        border-color: var(--orange);
        scale: 101%;
        transition: all 0.3s ease-in-out;
    }

    .badge-container-2{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: fit-content;
        height: fit-content;
        gap: 8px;

        .description{
            font-size: 1.234rem;
            color: var(--orange);
        }
    }

    .cursorFollower{
        display: none !important;
    }
}
