:root {
    --main-bg-color: #121212;
    --panel-bg-color: #1E1E1E;
    --panel-border-color: rgba(255, 255, 255, 0.05);
    --card-bg-color: #252525;
}

body {
    margin: 0;
}

body * {
    margin: 0;
    box-sizing: border-box;
}

.mobileFooter {
    display: none;
}

.mobileHeader {
    display: none;
}

.mainContainer {
    /* height: 100vh; */
    height: calc(var(--vh, 1vh) * 100);
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    position: relative;
}

header {
    display: flex;
    width: 100%;
    background-color: transparent;
    height: 80px;
    justify-content: center;
    align-content: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    background-color: var(--main-bg-color);

}

nav {
    align-content: center;

}

header ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

header ul li {
}

header ul li a{
    color: gray;
    text-decoration: none;
    transition-duration: 0.25s;
    cursor: pointer;
    user-select: none;
    font-size: 1.2em;
    &:hover {
        color: lightgray;
    }
}

.activeHeaderLink {
    color: white;
}

.firstScreen {
    height: 100vh;
    scroll-snap-align: start;
    margin: 0;
    background-color: var(--main-bg-color);
    background-repeat: none;
    background-size: cover;
    background-attachment: fixed;
    background-position: right center;
    position: relative;
}

.firstScreenBackground {
    width: 100%;
    height: 100%;
}

.firstScreenBackground img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;

}

.myCentral {
    position: absolute;
    top: 30%;
    left: 15%;
    color: white;
    font-family: "Playfair Display", serif;
    transition-duration: 0.25s;
    width: 800px;
    display: grid;
    grid-template-areas:
    "myName"
    "myDesc"
    "mySN";

}

.myName {
    font-size: 90px;
    text-shadow: rgb(255, 255, 255) 1px 0 10px;
    transition-duration: 0.25s;
    width: 100%;
    grid-area: myName;
    justify-self: center;
    text-align: center;
    user-select: none;
}

.myDesc {
    font-size: 28px;
    width: 100%;
    transition-duration: 0.25s;
    grid-area: myDesc;
    text-align: center;
    user-select: none;
}

.mySN {
    margin-top: 10px;
    display: flex;
    gap: 30px;
    align-self: center;
    justify-content: center;
    width: 100%;
    grid-area: mySN;
}
.mySN a svg {
    width: 30px;
    height: 30px;
    transition-duration: 0.25s;

}


.sectionPage {
    height: 100vh;
    background-color: #111111;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.panel {
text-align: justify;
padding: 50px;
border-radius: 15px;
}

.panel h1 {
    align-self: center;
    color: white;
    margin-bottom: 20px;
    text-shadow: rgb(255, 255, 255) 1px 0 10px;
    user-select: none;
}

.subPanel {
    max-width: 800px;
    background-color: var(--panel-bg-color);
    border: 1px solid var(--panel-border-color);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.subPanel h2 {
    /* align-self: center; */
    color: white;
    margin-bottom: 20px;
    /* text-shadow: rgb(255, 255, 255) 1px 0 10px; */
    user-select: none;
}

.subPanel h3 {
    /* align-self: center; */
    color: white;
    margin-bottom: 20px;
    user-select: none;
}

.subPanel a {
    text-decoration: none;
}


.subPanel p {
    color: white;
    font-size: 20px;
    /* text-indent: 1.5em; */
    margin: 10px 0px;
    user-select: none;
}






.fullScreenFooter {
    height: 100px;
    position: fixed;
    width: 100%;
    bottom: 0px;
    left: 0px;
    display: flex;
    justify-content: center;
    align-content: center;
    background-color: var(--main-bg-color);
}

.fullScreenFooterAboutmyName {
    color: white;
    font-size: 24px;
    text-shadow: rgb(255, 255, 255) 1px 0 3px;
    transition-duration: 0.25s;
    width: 100%;
    justify-self: center;
    text-align: center;
    letter-spacing: 9px;
}

.fullScreenFooterAboutmyDesc {
    font-size: 16px;
    color: white;
    width: 100%;
    transition-duration: 0.25s;
    text-align: center;
}
.fullScreenFooterAboutmySN {
    margin-top: 10px;
    display: flex;
    gap: 30px;
    align-self: center;
    justify-content: center;
    width: 100%;
}
.fullScreenFooterAboutmySN a svg {
    width: 20px;
    height: 20px;
    transition-duration: 0.25s;

}

#skills li {
    font-size: 20px;
    font-weight: normal;
}

#projects {
    height: auto;
}

#projectsPanel {
    margin-top: 50px;
    margin-bottom: 80px;
}

#projectsPanel li {
    font-size: 20px;
}

#projectsPanel h3 a { 
    text-decoration: underline;
    color: lightgray;
    font-style: ;
}

#projects li {
    color: white;
}


@media screen and (max-width: 1550px) {
    .myCentral {
        position: absolute;
        top: 30%;
        left: 5%;
        transition-duration: 0.25s;
    }
    .firstScreenBackground img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 80% center;
    }
}


@media screen and (max-width: 1380px) {
    .myCentral {
        position: absolute;
        top: 30%;
        left: 0%;
        transition-duration: 0.25s;
        width: 700px;
    }


    .myName {
        font-size: 80px;
    }
    .myDesc {
        font-size: 26px;
    }
    
    .mySN {
        display: flex;
        gap: 15px;
        align-self: center;
        justify-self: right;
    }
    .mySN a svg {
        width: 25px;
        height: 25px;
    
    }
}

@media screen and (max-width: 1050px) {
    .myName {
        font-size: 60px;
    }
    .myDesc {
        font-size: 20px;
    }
    .firstScreenBackground img {
        object-position: 90% center;
    }
    .myCentral {
        position: absolute;
        top: 80%;
        left: 0%;
        transition-duration: 0.25s;
        width: 700px;
    }
}



@media (max-width: 600px) {

.firstScreenBackground img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 90% center;
}

.myCentral {
    position: absolute;
    top: 0;
    left: 0;
    transition-duration: 0.25s;
    width: 100%;
}

header {
    display: none;
}
.fullScreenFooter {
    display: none;
}

.panel {
text-align: left;
padding: 10px;

}

.subPanel {
    padding: 10px 20px;
    margin-bottom: 10px;
}

.mobileFooter {
    display: grid;
    gap:10px;
    grid-template-columns: repeat(5, 1fr);
    height: 80px;
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    padding: 0px 20px;
    background-color: var(--main-bg-color);
}
.mobileFooter a {
    text-decoration: none;
    justify-self: center;
    font-size: 1em;
    text-align: center;
    align-self: center;
    text-decoration: none;
    color: lightgray;
}

.mobileHeader {
    display: block;
    position: absolute;
    width: 100%;
    top:0px;
    left: 0px;
    height: 80px;
    background-color: var(--main-bg-color);
}

.mobileHeaderAboutmyName {
    color: white;
    font-size: 24px;
    text-shadow: rgb(255, 255, 255) 1px 0 3px;
    transition-duration: 0.25s;
    width: 100%;
    justify-self: center;
    text-align: center;
    letter-spacing: 9px;
}

.mobileHeaderAboutmyDesc {
    font-size: 16px;
    color: white;
    width: 100%;
    transition-duration: 0.25s;
    text-align: center;
}
.mobileHeaderAboutmySN {
    margin-top: 10px;
    display: flex;
    gap: 30px;
    align-self: center;
    justify-content: center;
    width: 100%;
}
.mobileHeaderAboutmySN a svg {
    width: 20px;
    height: 20px;
    transition-duration: 0.25s;

}
#skills ul {
    padding-left: 5px;
}
#skills h2 {
    font-size: 22px;
}

#skills li {
    font-size: 16px;
    font-weight: normal;
}
#projectsPanel {
    margin-top: 80px;
    margin-bottom: 80px;
}

#projectsPanel li {
    font-size: 16px;
}


}

@media (max-width: 460px) {
    #about h1 {
        font-size: 22px;
        margin-bottom: 5px;
    }

    #about p {
        font-size: 16px;
        margin-bottom: 5px;
    }

    #education h1 {
        font-size: 22px;
        margin-bottom: 5px;
        
    }
    #education h2 {
        font-size: 20px;
        margin-bottom: 0px;
    }
    #education p {
        font-size: 16px;
        margin-bottom: 5px;
    }

    #workexperience h1 {
        font-size: 22px;
        margin-bottom: 5px;
    }
    #workexperience h2 {
        font-size: 18px;
    }
    #workexperience p {
        font-size: 14px;
        margin-bottom: 5px;
    }
    #skills ul {
        padding-left: 5px;
    }
    #skills h2 {
        font-size: 18px;
    }

    #skills li {
        font-size: 14px;
        font-weight: normal;
    }
    
    #skills .subPanel {
        padding-bottom: 0px;
    }


    #projectsPanel h1 {
        font-size: 22px;
        margin-bottom: 5px;
    }
    #projectsPanel h2 {
        font-size: 18px;
    }
    #projectsPanel p {
        font-size: 14px;
        margin-bottom: 5px;
    }


    .myName {
        font-size: 40px;
    }
    .myDesc {
        font-size: 16px;
    }
   
}



.hidden {
    display: none;
}