@font-face {
    font-family: "PBB";
    src: url("./src/Poppins-Black.ttf");
    font-display: swap;
}

@font-face {
    font-family: "PB";
    src: url("./src/Poppins-Bold.ttf");
    font-display: swap;
}

@font-face {
    font-family: "PL";
    src: url("./src/Poppins-Light.ttf");
    font-display: swap;
}

@font-face {
    font-family: "PR";
    src: url("./src/Poppins-Regular.ttf");
    font-display: swap;
}

@font-face {
    font-family: "PM";
    src: url("./src/Poppins-Medium.ttf");
    font-display: swap;
}

@font-face {
    font-family: "PT";
    src: url("./src/Poppins-Thin.ttf");
    font-display: swap;
}

@font-face {
    font-family: 'BA';
    src: url("./src/SuperBrigadeSemiCondensed-6Razo.otf");
    font-display: swap;
}

:root{
    --gray: #546a7b25;
    --background: #101010;
    --text: #eef1ef;
    --shadow: rgba(0, 0, 0, 0.534);
    --border: rgba(242, 242, 242, .1);
    --navbag: rgba(242, 242, 242, .05);
    --lightbg: #eef1efe2;
    --blue:#4285F4;
    --red:#DB4437;
    --yellow:#F4B400;
    --green:#0F9D58;
}
html, body {
    margin: auto; 
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    height: fit-content;
    background-color: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-user-select: none;
    user-select: none;
}
@media (max-width: 1024px){
    #custom-cursor {
        display: none;
    }
}
::-webkit-scrollbar{
    display: none;
}

#custom-cursor{
    width: 20px; /* Adjust size as needed */
    height: 20px; /* Adjust size as needed */
    position: fixed;
    background-color: var(--text);
    border-radius: 50%;
    background-size: contain;
    pointer-events: none;
    z-index: 100000; /* Ensure it appears above other elements */
    transform: translate(-50%, -50%);
    transition: width 0.2s ease-out, height 0.2s ease-out, background 0.2s ease-out, border 0.2s ease-out, transform 0.1s ease-out;
    mix-blend-mode: difference;
}
#custom-cursor.shover {
    width: 30px; /* Adjust size as needed */
    height: 30px; /* Adjust size as needed */
    mix-blend-mode: difference;
}
#custom-cursor.bhover {
    width: 45px; /* Adjust size as needed */
    height: 45px; /* Adjust size as needed */
    mix-blend-mode: difference;
}

#wrapper{
    width: 80%;
    height: fit-content;
    background-color: transparent;
    top: 0;
}
#page1, #page2, #page3, #page4{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}
#page2{
    height: 80vh;
}
#page3{
    height: 50vh;
}
#page4{
    margin-top: 20vh;
    height: 30vh;
}

#header{
    position: fixed;
    top: 2vh;
    width: 100%;
    height: 5%;
    z-index: 1;
    background-color: transparent;
}
#time{
    width: 12vmax;
    height: 100%;
    left: 10%;
    text-align: center;
    place-content: center ;
    position: relative;
    color: var(--text);
    font-family: 'PL', sans-serif;
    border-radius: 50px;
    font-size: 1em;
    border: 1px solid var(--border);
    box-shadow: 10px 10px 25px var(--shadow);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    transition: all .2s ease;
    background-color: var(--navbag);
}

#container, #work, #current{
    width: 100%;
    height: 100%;
    display: inline-flex;
    justify-content: first baseline;
    align-items: first baseline;
    flex-direction: column;
    background-color: var(--background);
}

#container>div{
    background-color: var(--background);
    width: 100%;
    position: relative;
}
#container>div:first-child{
    width: 200px;
    height: 200px;
    align-self: center;
    top: 15%;
    border-radius: 50%;
    background-image: url("./images/me.webp");
    background-size: cover;
    box-shadow: 10px 10px 25px var(--shadow);
}
#container>div:nth-child(2),
#container>div:nth-child(3),
#container>div:last-child {
    text-align: center;
    font-family: 'PL', sans-serif;
    color: var(--text);
    position: relative;
}
#container>div:nth-child(2) {
    top: 20%;
    font-size: 2.5vmax;
    span {
        font-size: 3vmax;
        color: var(--blue);
        font-family: 'PM', sans-serif;
    }
}
#container>div:nth-child(3) {
    font-family: 'PT', sans-serif;
    font-size: 3vmax;
    top: 25%;
    .ts {
        color: var(--blue);
        font-family: 'PM', sans-serif;
    }
}
#container>div:last-child {
    font-family: 'PT', sans-serif;
    font-size: 2.2vmax;
    top: 35%;
    .ds, .ai, .wd {
        color: var(--blue);
        font-family: 'PM', sans-serif;
    }
}

#work>div{
    position: relative;
    width: 100%;
    height: fit-content;
}
#work>div:first-child{
    top: 0;
    font-family: 'PT', sans-serif;
    font-size: 3vmax;
    color: var(--text);
    margin-top: 2vh;

    .at{
        font-size: 2.2vmax;
        font-style: italic;
    }
}
#work>div:nth-child(2){
    font-family: 'PB', sans-serif;
    font-size: 4vmax;
    text-align: left;
    color: var(--blue);
    font-style: italic;
    a{
        text-decoration: none;
    }
    .msit{
        font-family: 'PR', sans-serif;
        color: var(--text);
        font-style: normal;
        font-size: 4.2vmax;
    }
    .tech{
        color: var(--blue);
        text-decoration: underline;
        text-decoration-style: dotted;
        text-decoration-thickness: 0.5vmax;
    }
}
#work>div:nth-child(3){
    font-size: 3vmax;
    font-family: 'PT', sans-serif;
    margin-top: 6vh;
    color: var(--text);
    .in{
        font-size: 2.2vmax;
        font-style: italic;

    }
    .dl{
        font-size: 5vmax;
        color: var(--blue);
        font-family: 'PM', sans-serif;
    }
}
#work>div:nth-child(4){
    margin-top: 3%;
    color: var(--text);
    font-family: 'PT', sans-serif;
    font-size: 3vmax;
    margin-top: 6vh;
    a{
        text-decoration: none;
    }
    .f{
        font-size: 2.2vmax;
        font-style: italic;
    }
    .msc, .bdc{
        font-family: 'PM', sans-serif;
        font-size: 4vmax ;
        text-decoration: underline;
        text-decoration-style: dotted;
        text-decoration-thickness: 0.5vmax;
    }
    .msc{
        color: var(--blue);
    }
    .bdc{
        color: var(--red);
        .open{
            color: var(--red);      
        }
    }
    .tenure{
        font-size: 3vmax;
        color: var(--text);
        opacity: 0.7;
        font-family: 'Pl', sans-serif;
    }
}
#current{
    margin-top: 50dvh;
}

#current>div{
    position: relative;
    width: 100%;
    height: fit-content;
    display: block;
    align-items: flex-start;
    justify-content: flex-start;
}

#current>div:first-child{
    top: 0;
    font-family: 'PT', sans-serif;
    font-size: 3vmax;
    color: var(--text);
    .boltz{
        font-family: 'BA', sans-serif;
        font-size: 3.8vmax;
    }
    span, a{
        font-style: italic;
        text-decoration: none;
        color: inherit;
    }
    .at{
        font-size: 2.2vmax;
        font-style: italic;
    }
}

#current>div:nth-child(2){
    font-family: 'PT', sans-serif;
    font-size: 3vmax;
    text-align: left;
    color: var(--text);
    margin-top: 6vh;
    span, a{
        font-size: 4vmax;
        font-family: 'PM', sans-serif;
        color: var(--text);
        text-decoration: none;
    }
    .in{
        font-family: 'PT', sans-serif;
        font-size: 2.2vmax;
        font-style: italic;
    }
}

#current>div:nth-child(3){
    font-family: 'PL', sans-serif;
    font-size: 3vmax;
    color: var(--text);
    margin-top: 6vh;
    text-align: center;
    font-style: italic;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 6vh;
    a{
        text-decoration: none;
        color: var(--text);
    }
    .resume{
        width: 18vmax;
        display: inherit;
        justify-content: inherit;
        align-items: inherit;
        font-size: 2.5vmax;
        height: 100%;
        border: 2px solid var(--border);
        border-radius: 70px;
        box-shadow: 10px 10px 25px var(--shadow);
    }
}

#filler{
    background-color: transparent;
    width: 100%;
    height: 100%;
    display: inline-flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}
#contact, #social, .insta, .link {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

#contact {
    height: 25%;
    top: 10%;
}

#contact{   
    width: 100%;
    height: 25%;
    position: relative;
    justify-content: center;
    align-items: center;
    display: flex;
    top: 10%;
    background-color: transparent;
}
h1{
    min-width: 25vmax;
    height: 100%;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2vmax;
    font-family: 'PT', sans-serif;
    border: 2px solid var(--border);
    border-radius: 50px;
    box-shadow: 10px 10px 25px var(--shadow);
}

#social {
    height: fit-content;
    flex-direction: column;
    align-items: flex-start;
    top: 20%;
    gap: 10px;
}

.insta, .link {
    width: fit-content;
    font-family: 'PL', sans-serif;
    font-size: 2.5vmax;
    margin-left: 15%;
    text-decoration: none;
    .open{
        display: none;
    }
}

.insta{
    background: linear-gradient(to right, #833ab4,#fd1d1d,#fcb045);
    background-clip: text;
    color: transparent;
}
.insta::after{
    background: linear-gradient(to right, #833ab400 , #fd1d1d, #fcb04500);
    background-clip: text;
    color: transparent;
    transition: all .5s ease;
}
a:nth-child(2){
    color: #0a66c2;
    .open{
        color: var(--blue);
    }
}

@media only screen and (min-width:1024px) {

    #page4{
        margin-top: 40vh;
    }

    #contact{
        top: 0;
        height: 30%;
    }
    #social{
        top: 0;
        margin-top: 2%;
    }
    #page2, #page1{
        height: 100vh;
    }
    #time{
        width: 8vmax;
    }
    .insta, .link{
        .open{
            display: contents;
        }
    }
    .insta{
        .open{
            background: linear-gradient(to right, #833ab400 , #fd1d1d, #fcb04500);
            background-clip: text;
            color: transparent;        
        }
    }
    #current>div:nth-child(3){
        height: 14vh;
    }

}
