@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;300;400;600&display=swap');
body{
    background: #f9f9fb;
    padding: 0;
    margin: 0;
    position: absolute;
    left:0%;
    top:0%;
    transition: ease-in-out 1s;
    font-family: 'Raleway', sans-serif;
    overflow:hidden;
}

body.active{
    filter: blur(10px);
}

.row{
    width: 92vw;
    padding: 0 4vw;
    border-bottom: 1px solid #c6c8cc;
    opacity: 0;
}

.irow{
    width: 100%;
    height: 100%;
    padding: 0;
    border-left:1px solid #c6c8cc;
    display: grid;
    grid-template-columns: repeat(12,minmax(0,1fr));
}

.th{
    height: 5vh;
}

.tcr{
    height: 10vh;
}

.tc{
    height: 20vh;
}
.tc1{
    height: 50vh;
}

.irow div{
    border-right:1px solid #c6c8cc;
}

.polka{
    background-image: radial-gradient(#d0d3d8 1px, transparent 1px);
    background-size: 20px 20px;
}

.s4{
    grid-column: span 4/span 4;
}

.s3{
    grid-column: span 3/span 3;
}
.s1{
    grid-column: span 1/span 1;
}
.s7{
    grid-column: span 7/span 7;
}
.s5{
    grid-column: span 5/span 5;
}
.s12{
    grid-column: span 12/span 12;
}






.header{
    color:#050608;
    font-size: 15vh;
    line-height: 15vh;
    padding: 2.5vh 3vw;
    border: none;
    position: relative;
    font-weight: 600;
}

.header div{
    border: none;
    width: fit-content;
    position: absolute;
    display: block;
}





.comment{
    font-size: 2vh;
    line-height: 2.5vh;
    background: #4472c4;
    border-radius: 999px;
    padding: 7px 20px;
    position: absolute;
    color: white;
    top:0;
    right:0;
    transform:translate(10vw,-50%);
    display: inline-block;
}

.comment span{
    line-height: 1.5vh;
    display: inline-block;
}

.comment svg{
    width:15px;
    position: absolute;
    left:10px;
    bottom: -7px;
}






.listen{
    padding: 4vh 5vw;
}

#bgColor{
    height: 100%;
    border-radius: 20px;
    background: #313641;
    position: relative;
    overflow: hidden;
    font-weight: 400;

}

#albumCover{
    width: 50%;
    height:100%;
    object-fit: cover;
    position: absolute;
    top:50%;
    left:0;
    transform: translateY(-50%);
    border-right: 2px solid #0000002f;
}

#title{
    position: absolute;
    top:20%;
    right:25%;
    transform: translateX(50%);
    color: #ffffffd1;
    font-size: 1.3vh;
}
#artist{
    position: absolute;
    top:35%;
    right:25%;
    transform: translateX(50%);
    color: #ffffff87;
    font-size: 1.1vh;
}

#pause{
    width: 30px;
    position: absolute;
    top:63%;
    right:25%;
    transform: translateX(50%) translateY(-5px);
}

#next{
    width: 20px;
    position: absolute;
    top:63%;
    right:0;
    transform: translateX(-100%);
    transition: .3s ease-in-out;
    border-radius: 5px;
}

#prev{
    width: 20px;
    position: absolute;
    top:63%;
    right:50%;
    transform: translateX(200%) rotate(180deg);
    transition: .3s ease-in-out;
    border-radius: 5px;
}

#music{
    width: 35px;
    position: absolute;
    top:5px;
    right:5px;
}

#next:hover{
    background: #ffffff60;
}

#prev:hover{
    background: #ffffff60;
}




#signature{
    margin-top: 2vh;
    height: 4vh;
}

#about{
    border: none;
    padding: 3vw;
    font-family: 'Raleway', sans-serif;
    color: #898f97;
    font-weight: 400;
    height: calc( 50vh - 6vw);
}

#about h2{
    color: #050608;
    font-size: 3vw;
    margin: 0;
    padding: 0 0 1vw 0;
}

#about p{
    font-size: 1.1em;
    padding-top: 0;
    margin-top: 0;
}

a{
    color: black;
    text-decoration-color: #4a7ed7;
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
}

#socials{
    border: none;
    position: absolute;
    right:3vw;
    bottom: 3vw;
    display: flex;
}

.graphic{
    text-decoration: none;
    justify-content: center;
    align-items: center;
    width: 2.3rem;
    height: 2.3rem;
    display: flex;
    position: relative;
    border: 1px solid #898f97;
    border-radius: 999px;
    margin-left:.5vw;
    transition: .2s ease-in-out;
}

.graphic svg{
    width: 1.5rem;
    flex-shrink: 0;
    transition: .2s ease-in-out;

}

.graphic:hover svg{
    color:#050608;
}

.graphic:hover{
    border-color: #4472c4;
}






.p2{
    padding: 2vw;
}

#profilePic{
    background-image: url(./imgs/DSC02601.jpg);
    background-size: cover;
    background-position-x: 55%;
    background-position-y:50%;
    border-radius: 1.5rem;
    padding: 1vw;
    height: calc(100% - 2vw);
    border: none;
    cursor: pointer;
}

#profilePic .container{
    width: calc(100% - 4px - 1.5rem);
    height: calc(100% - 4px - 1.5rem);
    border: 2px solid #ffffff33;
    border-radius: 1rem;
    display: flex;
    align-items: flex-end;
    padding: 0.75rem;
}

#profilePic .container div{
    align-items: center;
    display: flex;
    font-weight: 600;
    color: #ffffffcb;
    border: none;
}

#profilePic .container div svg{
    height: 1rem;
    vertical-align: middle;
}

#profilePic .container div p{
    padding-left:0.5rem;
    margin: 0;
}



.footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer p{
    color: #898f97;
    margin: .5em 0 .5em 0;
}

.copy{
    color: #c6c8cc !important;
}



.projects{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.project{
    display: flex;
    border: 3px solid #d0d3d8;
    margin: 0;
    text-decoration: none;
    height:37%;
    background: #f9f9fb;
    border-radius: 1rem;
    overflow: hidden;
    transition: .5s ease-in-out;
    background-size: cover;
}

.description{
    display: flex;
    align-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    height: 100%;
    width: 100%;
    padding-left:1rem;
    padding-right:1rem;
    backdrop-filter: blur(4px);
    background-color: #0000007d;
    transition: .5s ease-in-out;

}

.description p, .description h2{
    margin: 0;
    padding: 0;
    color: #e7e7e7;
    transition: .5s ease-in-out;
}

.description p{
    margin-top: .5rem;
    font-weight: 300;
}


.project:hover .description p, .project:hover .description h2{
    color: #ffffff;
    transform: scale(1.01,1.01);
}

.project:hover{
    border-color: #ffffff;
}

.project:hover .description{
    background-color: #0000008e;
}





#load{
    position: absolute;
    top:0;
    left:0;
    z-index: 10;
}



::selection {
    background: #4a7ed7;
    color: white;
}


#cContainer{
    display: none !important;
}




@media (max-width: 1225px) {
    .comment{
        transform:translate(0vw,-50%);
    }
    #title{
        font-size: 1.1vh;
    }
    #about p{
        font-size: 0.94em;
    }
    #signature{
        margin-top: 1vh;
        height: 4vh;
    }
}


@media (max-width: 1050px) {
    .header{
        font-size: 12vh;
    }
    .listen{
        padding: 4vh 2.5vw;
    }
    #signature{
        margin-top: 1vh;
        height: 4vh;
    }
    #about p{
        font-size: 0.9em;
    }
}

@media (max-width: 900px) {
    #bgColor{
        display: none;
    }
    .comment{
        transform:translate(15vw,-25%);
    }
    .projects{
        display: none;
    }
    #about h2{
        font-size: 5vw;
        padding: 0 0 2vw 0;
    }
    #cContainer{
        display: block !important;
    }
    .tc1{
        height: 40vh;
    }

    .pContainer{
        padding:1.5vh 2.5vw;
    }
    .project{
        position: absolute;
        border: 1px solid #d0d3d8;
        margin: 0;
        text-decoration: none;
        width:40vw;
        height:17vh;
        background: #f9f9fb;
        border-radius: 1rem;
        overflow: hidden;
        transition: .5s ease-in-out;
        background-size: contain;
    }

    #portfolio{
        left: 6.5vw;
    }

    #resume{
        left:53vw;
    }

    #about{
        height: calc( 40vh - 6vw);
    }
    #about p{
        font-size: 1em;
    }

    .description{
        padding-top:0 !important;
    }
}

@media (max-width: 660px) {
    .header{
        font-size: 9vh;
    }
    .comment{
        transform:translate(0vw,-25%);
    }
    .previewIcon{
        display: none;
    }
    .description{
        width:auto;
    }
    #about h2{
        font-size: 7vw;
        padding: 0 0 2vw 0;
    }
    #about p{
        font-size: 0.8em;
    }
    #pContainer{
        display: none !important;
    }
    .tcr{
        height:15vh;
    }
    .footer p{
        padding: 0 2vw;
        font-size: 0.8em;
        text-align: center;
    }
    .project{
        height: 28vw;
    }
    .pContainer{
        display: flex;
        align-items: center;
    }
    .description{
        display: block;
        padding: 0.5rem 1rem 0 1rem;
    }
    .description p{
        font-size: 0.8em;
    }
    .description h2{
        font-size: 1em;
        width: 100%;
        text-align: center;
    }
    .tc:first-of-type{
        height:15vh;
    }
}


@media (max-height: 900px){
    #signature{
        margin-top: 1vh;
        height: 4vh;
    }
    #about p{
        font-size: 0.9em;
    }
}

@media (max-height: 750px){
    #signature{
        margin-top: 0.5vh;
        height: 3.5vh;
    }
    #about p{
        font-size: 0.8em;
    }
    .description h2{
        font-size: 1em;
    }
    .description p{
        font-size: 0.8em;
    }
}