@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
}
main{
    min-height: 100vh;
    background: linear-gradient(to right top, #6bcfa9, #4cacb3);
    display: flex;
    align-items: center;
    justify-content: center;
}
body{
    width: auto;
    padding: 0;
    margin: 0;
}
.container{
    background-color: white;
    display: flex;
    height: 90vh;
    width: 80%;
    max-width: 1920px;
    background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
    border-radius: 3%;
    z-index: 1;
    backdrop-filter: blur(5px);
    flex-wrap: wrap;
    position: relative;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.6);
    /* border: 2px whitesmoke solid ; */
}

.object1, .object2{
    background-color: white;
    background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
    height: 40vh;
    width: 40vh;
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.object1{
    bottom: 5%;
    left: 20%;
    max-width: 80%;
}
.object2{
    top: 5%;
    right: 10%;
    max-width: 80%;
}
.dashboardContainer{
    overflow:hidden;
    overflow-y: scroll;
    min-height: 100%;
    max-height: 100%;
    /* max-width: 400px; */
    border-radius: 2rem;
}
.menu-lines{
    width: 3rem;
    height: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    cursor: pointer;
    margin-right: 2rem;
}
.line{
    width: 100%;
    height: .2rem;
    background: #426696;
    transition: transform .3s;
}
.active .line-1{
    transform: translate(10px, 12px) rotate(45deg);
    animation: animateLogoChange 2s forwards;
}
.active .line-2{
    opacity: 0;
}
.active .line-3{
    transform: translate(10px, -20px) rotate(-45deg);
    animation: animateLogoChange 2s forwards;
}
.active .menu-title{
    opacity: 0;
}
.navbar.active .line{
    background: #FFFFFF;
}
.dashboard{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
    border-radius: 2rem;
    flex:1;
    text-align: center;
    min-height: 100%;
}
.link{
    display: flex;
    padding: 1rem 5rem;
    /* margin: 2rem 0rem; */
    align-items: center;
}

.link h2{
    padding: 0rem 2rem;
}
.user h3{
    font-size: 2rem;
}
.projectsContainer{
    flex: 2;
    overflow:hidden;
    overflow-y: scroll;
    max-height: 100%;
    /* min-height: 80% */
}
.dashboardFooter{
    background: linear-gradient(to right top, #6bcfa9, #4cacb3);
    border-radius: 2rem;
    color: white;
    padding: 1rem;
}
/* .dashboard h2{
    width: 50%;
} */

.status input{
    width: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 2rem;
    padding: 0.5rem;
}

.projects{
    margin-left: 3rem;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

h1{
    color: #426696;
    font-weight: 600;
    font-size: 3rem;
    opacity: 0.8;
}

h2, p{
    color: #426696;
    font-weight: 500;
    opacity: 0.8;
}

h3{
    color: #426696;
    font-weight: 600;
    opacity: 0.8;
}

.status{
    margin-bottom: 3rem;
}

/* .cards{
    display: flex;
    justify-content: top;
    align-items: center;
    background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.8));
    border-radius: 1rem;
    margin: 2rem 0rem;
    padding: 2rem;
    box-shadow: 6px 6px 20px rgba(122, 122, 122, 0.5);
} */


.projectElements{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.cards{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    flex: 0 0 45%;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}
.user img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 3px 3px 5px rgb(0, 0, 0);
    object-fit: cover;
    margin-top: 1rem;
    transition: all 0.1s;
}
.user img:hover{
    transform: rotateY(180deg) scale(1.2);
    cursor: pointer;
}
.imageBox{
    width: 100%;
    height: 200px;
    outline: 2px rgba(110, 110, 110, 0.4) solid;
    object-fit: cover;
    /* max-width: 600px; */
    box-shadow: 5px 10px 30px rgba(0, 0, 0, 0.5);
    border: 10px rgba(110, 110, 110, 0.4) solid;
}
.cards img{
    width: 100%;
    height: 100%;
    /* max-height: 400px;
    max-width: 600px; */
    overflow: hidden;
    object-fit: cover;
    transition: transform 0.3s;
    outline: 2px rgba(110, 110, 110, 0.4) solid;
}
.cards img:hover{
    transform: scale(1.1); 
    box-shadow: 3px 3px 5px rgb(36, 36, 36);
    border: 2px darkolivegreen solid;
    border-radius: 2%;
    outline: 0;
}
button.projectButton{
    background: transparent;
    border-color: 0.1em solid #FFFFFF;
    font-size: 1rem;
    text-transform: capitalize;
    margin: 0.8rem;
    letter-spacing: 1px;
    border-radius: 5px;
    padding: 0.375rem 0.75rem;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 3px 3px 20px rgba(77, 76, 76, 0.7);
}
a{
    text-decoration: none;
    color: #426696;
    cursor: pointer;
}
button.projectButton:hover{
    color:#426696;
    background: linear-gradient(to right top, #6bcfa9, #4cacb3);
}
.links img{
    width: 50px;
    height: 50px;
}

.toggleBtn{
    display: none;
    position: absolute;
    top: -2px;
    right: 20px;
}

.insertLinks{
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    left: 0px;
    background: linear-gradient(to right top, #72dab2, #2cd1dd);
    animation: animateNavbar 1s forwards;
}
.link a{
    transition: 0.4s ease-in;
}
.link a:hover{
    color: rgb(130, 99, 143);
}

@media (max-width: 1000px){
    .dashboard{
        display: none;
    }
    .toggleBtn{
        display: block;
    }
    .imageBox{
        width: 100%;
        height: 200px;
    }
    .container{
        width: 100%;
        height: 100%;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }
    .cards, .imageBox{
        max-width: 95%;
    }
    .insertLinks.active{
        display: flex;
        height: 400px;
    }
    .user{
        position:absolute;
    }
    @keyframes animateNavbar{
        0%{
            top: -30rem;
        }
        100%{
            top: 0;
        }
    }
}
@media (max-width: 1414px){
    .cards{
        flex-grow: 1;
    }
}
@media(max-width: 1200px) and (min-width: 1000px){
    .cards{
        flex: 1 100%;
    }
}
@media (max-width: 1000px) and (min-width: 600px) {
    .cards{
        flex: 1 1 45%;
    }
}
@media (max-width: 600px){
    .cards{
        flex: 1 100%;
    }
}
@media (min-width: 1920px){
    .object1, .object2{
        opacity: 0.2;
        width: 80vh;
        height: 80vh;
    }
    .cards{
        flex: 1 1 30%;
    }
}