@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap');

html {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: black;
    height: 100%;
    width: 100%;
}
body {
    width: max-content;
    overflow: hidden;
    height: 100%;
    width: inherit;
    margin: 0;
    padding: 0;
}

a {
    text-shadow: 0 0 10px lightblue;
    color: lightblue;
}

.wrappermain {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bgblur {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: backgroundEnter .5s ease-in;
    z-index: 0;
    background-color: rgba(0, 0, 0, 0.4);
    transition-duration: .5s;
}

.mainpanel {
    height: 300px;
    width: 600px;
    background-color: rgba(255, 255, 255, 0.2); 
    position: relative;
    z-index: 1;    
    border-radius: 10px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    display: inline-flex;
    flex-direction: column;
    animation: fadeElementIn 1s ease-in, elementEnter 1s ease-in-out;
    overflow: hidden;
    transition-duration: 1s;
}

.titles {
    color: rgba(255, 255, 255, 0.7);
    font-family: "Silkscreen", sans-serif;
    font-weight: 400;
    text-shadow: 0 0 10px white;
    display: block;
}

.bigtitle {
    font-size: 50px;
}

.panelwrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enterbutton {
    width: 350px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    font-family: "Silkscreen", sans-serif;
    color: white;
    font-size: 20px;
    transition-duration: 0.3s;
    animation: fadeElementIn 2s ease-in, elementEnter 2s ease-in-out;
}

.enterbutton:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

.enterbutton:active {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

.topnav {
    display: inline-flex;
    width: 45%;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    border-bottom-right-radius: 20px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
    border-right: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: navOpen 1s ease-out;
    margin: 0;
    padding: 10px;
    overflow: hidden;
    transition-duration: 1s;
}

.navtitle {
    margin: auto;
    font-size: 50px;
    padding: 10px;
    transition-duration: 0.5s;
}

.sidediv {
    height: 100%;
    display: inline-flex;
    align-items: center;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
}

.sidebuttoncontainer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
    width: 30px;
    height: 50px;
    cursor: pointer;
    transition-duration: .5s;
    border-radius: 5px;
    border: none 2px rgba(255, 255, 255, 0.1);
    animation: fadeElementIn 1s ease-in-out;
}

.sidebuttoncontainer:hover {
    border: solid 2px rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.sidebuttoncontainer:active {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, .5);
    transition: .1s;
}

.sidemenu {
    height: 100%;
    width: 0px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    float: left;
    top: 0;
    left: 0;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    overflow: hidden;
    transition-duration: 0.5s;
    animation: fadeElementIn 1s ease-in-out;
}

.sideblur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    opacity: 0;
    transition-duration: 0.5s;
}

.sidebutton {
    width: 250px;
    height: 50px;
    border-radius: 10px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Silkscreen", sans-serif;
    font-weight: 400;
    text-shadow: 0 0 10px white;
    background-color: rgba(255, 255, 255, 0.2);
    border: solid 2px rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    font-size: 20px;
    transition-duration: .4s;
    cursor: pointer;
}

.sidebutton:hover {
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

.sidebutton:active {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

.openside {
    transition-duration: 0.5s;
}

.maincontainer {
    width: 100%;
    z-index: 1;
    position: fixed;
    height: 80%;
    bottom: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    animation: fadeElementIn 1s ease-in-out, elementEnter 1s ease-in-out;
    transition-duration: 0.5s;
    overflow-y: scroll;
}

.mainarea {
    width: 95%;
    height: 90%;
    background-color: rgba(255, 255, 255, 0.2);
    border: solid 3px rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transition-duration: 0.5s;
    display: inline-flex;
    flex-direction: column;
}

.card {
    height: 80%;
    width: 100%;
    margin: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border: solid 3px rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    display: inline-flex;
    flex-direction: column;
    transition-duration: .5s;
}

.card:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.4);
    border: solid 3px rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.cardarea {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    font-family: "Silkscreen", sans-serif;
    font-weight: 400;
    text-shadow: 0 0 10px white;
    color: white;
}

.cardtext {
    overflow: scroll;
    border-top: solid 3px rgba(255, 255, 255, 0.1);
    text-align: center;
}

.tabselect {
    width: 100%;
    height: 50px;
    display: inline-flex;
    flex-direction: row;
    border-bottom: solid 3px rgba(255, 255, 255, 0.1);
}

.tabbutton {
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    transition-duration: 0.2s;
    border-right: solid 3px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-style: italic;
}

.tabright {
    border-top-left-radius: 8px;
}

.tabbutton:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.contentarea {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.selectionarea {
    height: 100%;
    width: 100%;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    transition-duration: 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: scroll;  
}

.contentpill {
    width: 95%;
    background-color: rgba(255, 255, 255, 0.2);
    border: solid 3px rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    margin: 20px;
    height: auto;
    display: flex;
    flex-direction: row;
    transition-duration: 0.5s;
}

.roundimage {
    border-radius: 100px;
    border: solid 3px rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.imgcontainer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

.textcontainer {
    font-size: 20px;
    margin: 10px;
    text-overflow: clip;
    display: flex;
    flex-direction: column;
}

.textleft {
    text-align: right;
    display: flex;
    align-items: center;
    padding-right: 10px;
}

.textright {
    text-align: left;
    display: flex;
    align-items: center;
    padding-left: 10px;
    margin-right: auto;
}

.pillright {
    display: flex;
    flex-direction: row-reverse;
}

.pillleft {
    display: flex;
    flex-direction: row;
}

#projects, #aboutme {
    width: 100%;   
}

#aboutmeButton, #projectButton {
    border-bottom: solid 3px white;
}

#goals, #skills, #achievements {
    width: 0px;
}

@media only screen and (max-width: 1215px) {
    .mainpanel {
        height: 400px;
        width: 90%;
    }

    .bigtitle {
        font-size: 30px;
    }

    .enterbutton {
        width: 90%;
    }

    .topnav {
        width: 100%;
        height: 80px;
        border-radius: 0px;
        border-right: none;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

    .navtitle {
        font-size: 30px;
    }

    .mainarea {
        width: 100%;
        height: 100%;
        border-radius: 0px;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

    .maincontainer {
        flex-direction: column;
        justify-content:start;
    }

    .card {
        width: 80%;
    }

    .contentpill {
        flex-direction: column;
    }

    .textleft {
        text-align: center;
    }
    
    .textright {
        text-align: center;
    }
}

@media only screen and (max-height: 450px) {
    .maincontainer {
        height: 250px;
    }
    
    .mainarea {
        height: 100%;
        width: 100%;
        border-radius: 0px;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
}

@keyframes backgroundEnter {
    0% {
        background-color: black;
    }
    100% {
        background-color: rgba(0, 0, 0, 0.4);
    }
}

@keyframes backgroundExit {
    0% {
        background-color: rgba(0, 0, 0, 0.4);
    }
    100% {
        background-color: black;
    }
}

@keyframes fadeElementIn {
    0% {
        opacity: 0;
    }
    25%{
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100%  {
        opacity: 1;
    }
}

@keyframes fadeElementOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes elementEnter {
    0% {
        transform: translateY(100px);
    }

    100% {

    }
}

@keyframes navOpen {
    0% {
        opacity: 0;
        height: 0;
    }

    50% {
        opacity: 0;
        height: 0;
    }

    100% {

    }
}

@keyframes navClose {
    
}
