:root {
    --primary-color:#7fffd4;
    --secondary-color: #062419;
    --dark-color:#002240;
    --light-color:#f4f4f4;
}
*{
    margin: 0; padding: 0;
    box-sizing: border-box;
}
body{
    margin: 1%;
}
h1{
    font-size: 2.5rem;
    text-transform: uppercase;
}
h4{
    padding: 5px 4px;
}
h3{
    padding: 0.5rem 1rem;
    margin-top: 0.8rem;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
}
img {
    border-radius: 8px;
}
figcaption{
    padding-left: 1rem;
    font-style: italic;
}
p {
    font-size: 1.2em;
    padding: 0.5rem 0.8rem;
    text-align: justify;
}
.navbar{
    display: flex;
    flex-direction: column;
}
.name{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #7fffd4;
    color: #062419;
    border-bottom: 0.1rem solid #fff;
}
.name img{
    width: 70px;
    height: auto;
    padding-top: 5px;
}
.menu ul{
    background-color: #7fffd4;
    display: flex;
    justify-content: center;
}
.menu ul li{
    display: block;
    margin: 0.2rem 2rem;
    padding: 0.1rem 1rem;
    text-transform: uppercase;
    font-weight: 800;
    border-left: 0.1rem solid oldlace;
    transition: 0.3s ease;
}
.menu ul li .active{
    background-color: #062419;
    border-radius: 5px;
    color: #fff;
}
.menu ul li a{
    color: #062419;
}
.nav-links ul li::after{
    content: "";
    width: 0%;
    height: 2px;
    background: #7fffd4;
    display: block;
    margin: auto;
    transition: 0.4s;
}
.menu ul li:hover, .menu ul li a:hover{
    background-color: #062419;
    border-radius: 5px;
    color: #fff;
}
.container{
    width: 100%;
    background-color: #ecfcf6;
}
/* header */
.header{
    position: relative;
    display: flex;
    width: 100%;
    height: 36vh;
}
.header h1{
    position: absolute;
    top: 20%;
    left: 45%;
    color: #fff;
    z-index: 1;
}
.header img{
    width: 100%;
    object-fit: cover;
    border-radius: 0;
}
.main{
    width: 100%;
}
.main .cards{
    width: 74%;
    display: flex;
    justify-content: space-between;
    margin: 1rem 1.5rem;
    padding: 1rem 1.5rem;
}
.cards .card{
    background-color: var(--light-color);
    border: 2px solid var(--dark-color);
    border-radius: 5px;
    height: 40px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
}
hr{
    width: 74%;
    height: 5px;
}
.side {
    position: absolute;
    top: 50%;
    left: 75%;
    width: 25%;
    height: auto;
}
.side h3{
    margin-top: 20px;
}
.social-media {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5em;
}
.social-media a {
    font-size: 1.2em;
    font-weight: 700;
}
.social-media a img {
    width: 32px;
    margin: 15px 5px 0;
    padding-top: 10px;
}
.s-card{
    width: 98%;
    background-color: #c5f8e7;
}
.s-card li{
    font-size: 1.2em;
    padding: 0.5rem 0.8rem;
    text-align: justify;
}
.s-card a:hover{
    letter-spacing: 0.2em;
    font-weight: bolder;
}
.main-b{
    width: 74%;
    display: flex;
    margin-top: 2rem;
}

.main-l{
    width: 50%;
}

.main-l img {
    width: 100%;
    height: 15em;
    margin: 0.5em auto;
    padding: 0.2rem 0.5rem;
    justify-content: center;
    border-radius: 8px;
}
.main-r {
    width: 48%;
}
.main-r img{
    width: 100%;
    height: 15em;
    margin: 0.5em auto;
    justify-content: center;
    border-radius: 8px;
}
.main-r video{
    width: 100%;
    height: 15em;
    margin: 0.5em auto;
    justify-content: center;
    border-radius: 5px;
}
.main-all{
    width: 90%;
    justify-content: center;
}
.main-all img{
    width: 70%;
    margin: 25px;
    margin-bottom: 5px;
    height: 15em;
    padding: 0.2rem 0.5rem;
    justify-content: center;
    border-radius: 8px;
}
.main-all figcaption{
    padding-left: 2rem;
}
.main-all video{
    width: 70%;
    height: 15em;
    margin: 0 0.5rem;
    justify-content: center;
}
.footer{
    display: flex;
    flex-direction: column;
    background-color: var(--secondary-color);
}
.footer .menu ul {
    border-bottom: 0.1rem solid #fff;
}
.navbar .menu-close{
    display: none;
    width: 50px;
}
.navbar .menu-img {
    display: none;
    width: 40px;
}


@media(max-width: 950px){
    .menu ul li{
        margin: 0.1rem 0.2rem;
        padding: 0.1rem 0.2rem;
    }
}

@media(max-width: 650px){
    h4 {
        font-size: 1rem;
    }
    .g-header h1{
        left: 30%;
        font-size: 2rem;
    }
    .navbar .menu{
        position: absolute;
        background: #7fffd4;
        height: 100vh;
        width: 250px;
        top: 0;
        right: -250px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    .navbar .menu ul{
        display: flex;
        flex-direction: column;
    }
    .navbar .menu ul li{
        display: block;
        flex-direction: column;
        margin: 1rem 1.2rem;
        padding: 0 0.5rem;
        font-size: 1rem;
        font-weight: 600;
    }
    .container{
        width: 100%;
    }
    .main {
        max-width: 100%;
    }
    .main .cards{
        width: 100%;
        justify-content: center;
    }
    .cards .card{
        height: 50px;
        padding-right: 10px;
        margin-right: 25px;
    }
    hr{
        width: 98%;
        height: 5px;
    }
    .side {
        position: relative;
        top: 355%;
        left: 2%;
        width: 100%;
    }
    .main-b{
        width: 100%;
    }
    .main-l{
        width: 50%;
    }
    .main-r{
        width: 48%;
    }
    .navbar .menu-img{
        display: block;
        margin: 10px;
        cursor: pointer;
    }
    .navbar .menu-close {
        display: block;
        margin: 10px;
        cursor: pointer;
    }
   
    .footer{
        display: none;
    }
}
@media(max-width: 450px){
    .menu ul li{
        margin: 0;
        padding: 0 0.1rem;
        font-size: 0.5rem;
        font-weight: 400;
    }
    .main-b{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .main-l{ 
        width: 100%;
    }
    .main-r{
        width: 100%;
    }
    .cards .card{
        height: 70px;
    }
    
}














