/* Animations */
@keyframes show {
    0% {
      filter: blur(5px);
      transform: translateY(calc(-50% + 75px));
    }
    100% {
      opacity: 1;
      filter: blur(0);
    }
}
@keyframes titleAni {
    100%{
        opacity: 1;
    }
    
}
/* Styles */
#homeContainer{
    background-color: white;
    width: 100vw;
    height: 100vh;    
}
#homeContainer ul{
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 5px;
    overflow-y: scroll;
    overflow-x: hidden;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
#projectsButtonContainer > div > div{
    overflow-y: scroll;
}
#homeContainer ul li{
    background-color: #00000000;
    text-align: center;
    height: 100%;
    position: relative;
    z-index: 2;
}
#homePageSlider{
    height: 80%;
}
.buttonContainer{
    width: 30%;
    height: 35%;
    position: absolute;
    z-index: 2;
    background-position: center;
    background-size: cover;
    border-radius: 20px;
    box-shadow: 0 20px 30px rgba(255,255,255,0.3) inset;
    transition: left 2.5s, top 2.5s, width 2.5s, height 2.5s;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    top: 1%;
}
#aboutButtonContainer{
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    z-index: 1;
}
#aboutButtonContainer p{
    overflow-y: scroll;
}
#resumeButtonContainer{
    left: 2.5%;
    cursor: pointer;
}
#skillsButtonContainer{
    left: 35%; 
    cursor: pointer;
}
#projectsButtonContainer{ 
    left: 67.5%;
    cursor: pointer; 
}
#projectsButtonContainer > div > div > a{
    text-align: center;
    color: black;
}
.container{
    width: 40%;
    position: absolute;
    bottom: 0;
    left: 3rem;
    opacity: 0;
    display: none;
    background-color: rgba(255,255,255,0.4);
    border-radius: 20px;
    padding: 20px;
    flex-direction: column;
    text-align: center;
    animation: show 2s ease-in-out 0.75s forwards;
    height: 55%;
    justify-content: space-between;
}
#projectsButtonContainer p:nth-child(2){
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}
#projectsButtonContainer p:nth-child(7){
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.container p{
    background-color: rgba(255, 255, 255, 0.6);
    padding: 5px 0;
    font-size: 1.05rem;
}
.container ul{
    background-color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    list-style: none;
}
.showMore{
    width: fit-content;
    background-color: rgba(0,0,0,0.1);
    color: white;
    border: 2px solid white;
    border-radius: 0.25rem;
    padding: 0.75rem;
    cursor: pointer;
    margin: 10px auto 0;
}
#aboutButtonContainer .container{
    display: flex;
}
nav{
    flex-direction: row;
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    user-select: none;
}
.arrow{
    background-color: rgba(255,255,255,0.5);
    color: rgba(0,0,0,0.7);
    border: 2px solid rgba(0,0,0,0.6);
    margin: 0 0.25rem;
    padding: 30%;
    border-radius: 50%;
    cursor: pointer;
}
.arrow:hover{
    background-color: rgba(255,255,255,0.3);
}
#aboutButtonContainer{
    background-image:url("../Images/IMG_3406.JPG");
}
#resumeButtonContainer{
    background-image: url("../Images/IMG_1939.JPG");
}
#skillsButtonContainer{
    background-image: url("../Images/IMG_7480.JPG");
}
#projectsButtonContainer{
    background-image: url("../Images/IMG_4450.JPG");
}
.title{
    display: none;
    height: fit-content;
    width: fit-content;
    max-width: 90%;
    background-color: #94949498;
    justify-self: center;
    margin-top: 5px;
    padding: 2px;
    border-radius: 5px;
    opacity: 0;
    animation: titleAni 2s ease-in-out 0.75s forwards;
    text-align: center;
}
#projectLink{
    color: black;
}
/* Media Queries */
@media only screen and (min-width: 650px) and (max-width: 900px){
    .container h2{
        font-size: 1rem;
    }
    .container p{
        font-size: 0.7rem;
    }
    #showMore{
        font-size: 0.7rem;
    }    
    .buttonContainer{
        width: 160px;
        height: 180px;
    }
}
