* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
}

h2{
    font-size: 1.2rem;
}
a{
    text-decoration: none;
}

#top_bar{
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
    font-size: 1.4rem;
    background-color:#16275e;
    padding: 15px 20px
}

#top_bar .location_bar::before{
    content: ' \27A2';
    margin-right: 5px;
}

#top_bar .email_bar::before{
    content: ' \2706';
    margin-right: 5px;

}

/* ****************************  Start Header  */

header {
    position: sticky;
    left: 0;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:#f8f9fa;
    width: 100%;
    box-shadow: 0px 2px 4px grey;
    z-index: 100;
    

}


header .logo{
    cursor: pointer;
    margin-left: 30px;


}

.menu_icon{
    display: none;
}

.nav_links{
    display: flex;
    margin-right: 50px;
    list-style: none;
    font-weight: 600;
    color:black;
    flex-wrap: wrap;
    
}

.nav_links li{
    margin: 0 20px;
}


.nav_links li a{
    font-weight: 600;
    font-size: 1rem;
    color: #000;
    padding: 7px 10px;
    /* border-bottom: #4189c0 1px solid; */

}

.nav_links li a:hover{
    /* border-bottom: #4189c0 solid 3px; */
    /* background-color: #97999b8c; */
    border-radius: 3px;
    border: 1.8px solid #16275e;
    /* background-color: #16275e; */
    padding: 5px 8px;


}

.nav_btn{
    display: none;
    border: none;
    padding: 8px 16px;
    color: #eee;
    background-color: #16275e;
    margin: 10px auto;
    cursor: pointer;

}

/* #############################  START  SECTION   ################################ */

/* #container{
    width: 100%;
    height: 100vh;
    background-image: url(../img/3.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: table;
    z-index: 1;
    position: relative;

}*/




#container{
    position: relative;
    min-height: 100vh;
    padding: 50px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url(../img/3.jpg);
    background-size: cover;
    background-position: center;
    z-index: 1;

}

#container::after{
    content: "";
    background-color: #16275e;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0.5;
    z-index: -1;
} 


#container .content{
    max-width: 800px;
    text-align: center;
}

#container .content h2{
    width: 100%;
    border-bottom: #fff 1px solid;
    font-size: 36px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 20px;
}

#container .content p{
    font-weight: 400;
    font-size: 20px;
    color: #fff;
}

.elements{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    flex-direction: row;

}

.elements .contact_info{
    width: 50%;
    display: flex;
    flex-direction: column;
}

.elements .contact_info .box{
    position: relative;
    padding: 20px 0;
    display: flex;


}

.elements .contact_info .box .icon{
    min-width: 60px;
    height: 60px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.elements .contact_info .box .text{
    display: flex;
    margin-left: 20px;
    font-size: 16px;
    color: #fff;
    flex-direction: column;
    font-weight: 300;
}

.box .text h3{
    font-weight: 500;
    color: rgb(177, 216, 255);

}

.contact_form{
    width: 40%;
    padding: 20px;
    background: #fff;
}

.contact_form h2{
    font-size: 30px;
    color: #333;
    font-weight: 500;
}

.contact_form .input_box{
    position: relative;
    width: 100%;
    margin-top: 10px;

}

.contact_form .input_box input, .contact_form .input_box textarea{
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
}

.contact_form .input_box span{
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    pointer-events: none;
    transition: 0.5s ;
    color: #666;
}

.contact_form .input_box input:focus ~ span,
.contact_form .input_box input:valid ~ span,
.contact_form .input_box textarea:focus ~ span,
.contact_form .input_box textarea:valid ~ span{
    color: red;
    font-size: 12px;
    transform: translateY(-20px);
}

.contact_form .input_box input[type="submit"]{
    width: 100px;
    background-color: #39f;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px;
}
























footer{
    display: grid;
    justify-items: center;
    align-items: center;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    height: 60vh;
    width: 100%;
    background-color: #3c90f7;
    margin-top: 20px;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    
}

.footer_col a{
color: #f8f9fa;
opacity: 0.8;
}

footer .footer_col a:hover{
opacity: 1;
}

footer img{
    width: 10%;
    height: auto;
}










/* ##########################    Responsive   Media Querires ############################## */

@media screen and (max-width: 900px){
    
    header{
        display: flex;
        justify-content: center;
        flex-direction:column ;  
        align-items: center;
        position: relative;


}
    .logo{
        margin-top: 10px;
}


    .nav_links{
    display:none;
    margin: 20px auto;
    padding: 20px;
    list-style: none;
    color:black;
    text-align: center;
    transition: .51s display ease-in-out;

    
    }
    .nav_father.show_links .nav_links{
        display: flex;
    }
 


    .nav_links{
        background-color: #fff;
    }


    .nav_links li {
        display: flex;
        width: 100%;
        margin: 5px;
    }

    .nav_links li a{
        width: 100%;
        background-color: rgb(218, 218, 218);
        color: black;
        border-radius: 2px;

    }
    .nav_links li a:hover{
        background-color: #eef;
        color: #000;
    }


    .nav_btn{
        display: block;
        border: none;
        padding: 8px 16px;
        color: #eee;
        background-color: #16275e;
        margin: 10px auto;
    
    }

    #top_bar{
        display: flex;
        justify-content: space-around;
        align-items: center;
        color: white;
        font-size: 1.1em;
        background-color:#16275e;
        /* background-color: #39f; */
        padding: 15px 20px
    }
    footer img{
        width: 30%;
        height: auto;
    }

    

    #container{
        padding: 50px;
    }

    .elements{
        flex-direction: column;
        padding: 50px 0;
    }

    .elements .contact_info{
        margin-bottom: 50px;
    }

    .elements .contact_form, .elements .contact_info{
        width: 100%;
    }













}