@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato';
}
:root{
    --color_1: #121212;
    --text_color: #db8e50;
    --accent_color: #2e4e9b;
}
body{
    background: url('knowledge.jpg') no-repeat;
    backdrop-filter: blur(15px);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
nav
{
    height: 60px;
    background-color: transparent;
    display:flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0px;
}
.links_container{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.e2e_logo{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 90%;
    width: 6%;
    size-adjust:inherit;
}
nav a{
    height: 100%;
    padding: 0 20px;
    display:flex;
    align-items: center;
    text-decoration: none;
    color: rgb(255, 255, 255);    
    font-weight: 700;
    font-size: 18px;
}
nav a:hover{
    transition: 0.3s ease-out;
}
nav svg{
    fill: var(--text_color);
}
#sidebar-active{
    display: none;
}
.open_sidebar_button, .close_sidebar_button{
    display: none;

}
.contact_us_logo{
    margin-right: auto;
}
.contact_us_logo img{
    width: 100%;
    height: 100%;
}
.contact_us_logo:hover{
    background-color: transparent;
    transition: 0.3s ease-out;
}

@media(max-width: 750px) {
    .links_container{
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 200px;
        background-color: var(--color_1);
        box-shadow: -5px 0 5px rgba(0,0,0,0.3);

        transition: .7s ease-out;
    }
    .contact_us_logo{
        display: none;
    }
    nav a{
        box-sizing: border-box;
        height: auto;
        width: 100%;
        color: #fff;
        padding: 30px 30px;
        justify-content: flex-start;

    }
    .open_sidebar_button, .close_sidebar_button{
        display: block;
        padding: 20px;
        cursor:grab;
    }
    #sidebar-active:checked ~ .links_container{
        right: 0;
    }
    #sidebar-active:checked ~ #overlay
    {
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
    }
}
.container{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 200px 20px;
    transform-style: preserve-3d;
}
.container .card{
    width: 400px;
    height: 150px;
    margin: 50px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: height 0.5s ease-in-out;
}
.container .card:hover{
    height: 550px;
}
.title h1{
    font-size: 60px;
    color: white;
    text-align: center;
    margin-bottom: 0px;
}
.container .card .imgBx{
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    min-width: initial;
    width: 400px;
    height: 150px;
    border-radius: 4px;
    z-index: 1;
    transform-style: preserve-3d;
    transition: 0.5s;
}
.container .card:hover .imgBx{
    top: -60px;
    left: 20px;
    right: 20px;
    width: 300px;
    transform: translate3d(0,0,75px);
}
.container .card .imgBx img{
    max-width: 100%;
    border-radius: 4px;
}
.container .card .content{
    position: relative;
    font-size: 20px;
    padding: 10px 25px;
    text-align:justify;
    color: #fff;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
    transform: translateY(-40px) scale(1);
}
.container .card:hover .content{
    visibility: visible;
    opacity: 1;
    transform: translateY(-40px) scale(1);
}
@media (max-width: 590px){
    .container .card{
        width: 300px;
        height: 150px;
        margin: 50px 20px;
        background: rgba(255,255,255,0.1);
        border-radius: 4px;
        display: flex;
        flex-direction: column;
        transform-style: preserve-3d;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        transition: height 0.5s ease-in-out;
    }
    .container .card:hover{
        height: 700px;
    }
    .title h1{
        font-size: 60px;
        color: white;
        text-align: center;
        margin-bottom: 0px;
    }
    .container .card .imgBx{
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        min-width: initial;
        width: 300px;
        height: 150px;
        border-radius: 4px;
        z-index: 1;
        transform-style: preserve-3d;
        transition: 0.5s;
    }
    .container .card:hover .imgBx{
        top: -60px;
        left: 20px;
        right: 20px;
        width: 200px;
        transform: translate3d(0,0,75px);
    }
}