@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Source+Sans+Pro&&Oxanium&display=swap');
:root{
    --PADDING_WORD:0.1em;
    --PADDING:0.3em;
    --MARGIN_WORD:0.1em;
    --MARGIN:0.3em;
    --BOX_SHADOW:3px 3px 2px 1px rgba(0, 0, 0, 0.2);
    --COLOR1:#022B3A;
    --COLOR2:#1F7A8C;
    --COLOR3:#BFDBF7;
    --COLOR4:#E1E5F2;
    --COLOR5: #FFFFFF;
    --HOVER_COLOR:hsl(210, 78%, 86%,0.5);
    --HEADING_FONT:'Montserrat', sans-serif;
    --BODY_FONT:'Source Sans Pro', sans-serif;
    

}
*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
}
h1, h2, h3, h4, h5, h6{
    font-family: var(--HEADING_FONT);
}

body{
    background: #fefefe;
    font-family: var(--BODY_FONT);

}
header{
    width: 100%;
    height: 80px;
    background-color:#fff;
    display: flex;
    /* display: grid;
    grid-template-columns: repeat(9,1fr);
    grid-template-areas: 
        "lg lg lk lk lk lk lk bt bt"; */
    align-items: center;
    justify-content: space-between;
    padding:0 100px;
    box-shadow: var(--BOX_SHADOW);
    letter-spacing: 3px;
   
}
header img{
    /* grid-area: hd;  New */
    width: 10%;
    cursor: pointer;
}
 
.hamburger{
    display: none;
}
.nav-bar ul{
    display: flex; 
    list-style: none;

}
.nav-bar ul li a{
    display: block;
    color:var(--COLOR1);
    font-size: 15px;
    padding: 10px 25px;
    border-radius: 50px;
    transition: 0.2s;
    margin:0 5px;
}
.nav-bar ul li a:hover{
    color: var(--COLOR5);
    background-color: var(--COLOR1);
}
.nav-bar ul li a.active{
    color: var(--COLOR5);
    background-color: var(--COLOR1);
}

header button{
    grid-area: bt;
    padding: 0.3em 3em;
    border-color: var(--COLOR2);
    border-radius: 5px;
    background-color: #FFFFFF;
    letter-spacing: 3px;
    
}
.contactButton{
    background-color: var(--COLOR1);
    color:#fff;
}

/* Hover effects on button */
.contributeButton:hover{
    background-color: var(--COLOR1);
    color:#fff;
    transition:0.2s ease-in;
}
.contactButton:hover{
    background-color: #fff;
    color: black;
    transition:0.2s ease-in;
}



/* CSs for the footer  */

footer{
    background-color: hsl(196, 93%, 12%, 0.9);
    color:var(--COLOR5);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    padding: 2em;
    clear: both;

}
footer h4{
    padding:0.2em 0;
}
/* The image on fotter */
.logoFooterLeft img{
    width: 50%;
}


/* Links on the footer */
footer a{
    color: white;
    text-decoration: none;
    
}
footer a:hover{
    color: #BFDBF7;
    text-decoration: underline;
}
footer p{
    padding: 0.2em 0;
    margin:0.1em 0;
}
svg{
    fill: white;
    margin-top:0.2em;
    margin-right: 0.5em;
}
svg:hover{
    fill:#BFDBF7;
    transition:0.2s ease-in;
}
.followUS{
    margin:1em 0;
}

/* The copyrigt section */
.copyright{
    text-align: center;
    color: white;
    background-color: #022B3A;
    padding:1em;
    margin-bottom: 0px;
}


@media screen and (max-width:1320px){
    header{
        padding: 0 50px;
        width: 100%;
    }
    .sideButton{
        display: none;
    }
}
@media screen and (max-width:1100px){
    header{
        padding: 0 30px;
        width: 100%;
    }
    .sideButton{
        display: none;
    }

}
@media screen and (max-width:900px){
    header{
        width: 100%;
    }
    header img{
        /* grid-area: hd;  New */
        width: 40%;
    }
    footer img{
        width: 40%;
    }
    .sideButton{
        display: none;
    }
    .hamburger{
        display: block;
        cursor: pointer;
    }
    .hamburger .line{
        width: 30px;
        height: 3px;
        background-color: var(--COLOR1);
        margin:6px 0;

    }
    
    .nav-bar{
        height: 0;
        position:absolute;
        top:80px;
        left:0;
        right:0;
        width: 100%;
        background-color: var(--COLOR1);
        box-shadow: var(--BOX_SHADOW);
        transition: 0.4s;
        overflow: hidden;
        
        
    }
    .nav-bar ul li a{
        color: var(--COLOR5);
    }
    .nav-bar ul li a:hover{
        color: var(--COLOR1);
        background-color: var(--COLOR5);
    }
    .nav-bar ul li a.active{
        color: var(--COLOR1);
        background-color: var(--COLOR5);
    }
    .nav-bar.active{
        height: fit-content;
    }
    .nav-bar.active ul{
        opacity: 1;
        padding:1em;
    }
    .nav-bar ul{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.6s;
        opacity: 0;
    }
    .nav-bar ul li a{
        margin-bottom: 0.8em;
    }


    footer{
        grid-template-columns: repeat(2, 1fr);
        gap:2em;
    }
    .logoFooterLeft{
        width: 100%;
    }

    
    
}

