/* blue color #89c1e7 */
/* green color #dfedd2 */
/* purple color #b0a4c3 */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:focus{
    outline: none; /* to get rid of the blue border when you click on the box */
}

html, body{
    font-family: Open Sans;
    font-weight: 300;
    color: #333;
}

/* ------- Reusable Components ------- */

.font__main{font-size: 90%;}

.font__sec{
    font-size: 220%;
    font-weight: 600;
}

/* ------- Main Naviagtion ------- */

.sticky {
	background-color: #ffffff;
	position: -webkit-sticky;
	position: sticky;
	top: 0;
}

.main__nav{
    max-width: 1140px;
    background-color: rgb(255, 255, 255);
    transition: background-color 0.5s;
    margin: 0 auto;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    height: 55px;
    z-index: 9999;
}

.main__nav.scrolled {
    max-width: 1500px;
    background-color: rgba(255, 255, 255, 0.94);
    border-bottom: 1px;
    border-bottom-style: solid;
    border-color: rgba(232, 232, 232, 0.97);
    transition: background-color 0.5s;
    height: 55px;
    position: fixed;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 50px;
  
}

.nav__logo{
    margin-right: auto;
}

.nav__img{width: 50px;}

.nav__img.scrolled{width: 50px;}

.nav__list{
    display: flex;
    margin-top: 15px;
    align-items: flex-end;
    margin-left: auto;
    width: 50%;
}

.nav__list.scrolled{
    display: flex;
    margin-top: 0px;
    align-items: flex-end;
    margin-left: auto;
}

.nav__btn:link,
.nav__btn:visited{
    font-size: 80%;
    margin-left: auto;
    text-decoration: none;
    color: #333;
}

.nav__btn:hover,
.nav__btn:active{
    border-bottom: 3px;
    border-bottom-style: solid;
    border-color: #6db2e2;
    transition: color, 0.2s;
}

.nav__btn:last-child:link,
.nav__btn:last-child:visited{
    background-color: #89c1e7;
    border-radius: 7px;
    padding: 0 7px;
    font-weight: 700;
    margin-left: auto;

}

.nav__btn:last-child:hover,
.nav__btn:last-child:active{
    background-color: #dfedd2;
    border-bottom: none;
    margin-left: auto;
}

/* MOBILE 

.btn-mobile-nav{
    border: none;
    background: none;
    cursor: pointer;
    display: none;
}

.icon-mobile-nav{
    height: 2rem;
    width: 2rem;
    color: #333; 
}

.icon-mobile-nav[name="close-outline"]{
    display: none;
}
*/

/* ------- Sticky Naviagtion ------- 

.sticky{
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 2px #efefef; xaxis, yaxis, blur, color 
    height: 7%;
    z-index: 9999;
    top 0;
    left 0;
    margin: 0;
    width: 100%;
    position: fixed;
}

.sticky .nav__img{
    width: 50px;
}

.sticky .nav__list{
    margin: auto;
} */

/* ------- Main Header ------- */

.header__main{
    display: flex;
    overflow: hidden;
    max-width: 1140px;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3%;
}

.header__image{flex: 0 0 65%;}

.main__img{
    width: 100%;
    height: 100%;
}

.header__add{
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.header__addons:link,
.header__addons:visited{
    display: flex;
    flex: 0 0 50%;
    text-decoration: none;
    color: #333;
    transition: color, 0.2s;
}

.header__addons__1:link,
.header__addons__1:visited{background-color: #89c1e7;}

.header__addons__1:hover,
.header__addons__1:active{background-color: #6db2e2;}

.header__addons__2:link,
.header__addons__2:visited{background-color: #dfedd2;}

.header__addons__2:hover,
.header__addons__2:active{background-color: #bcdaa1;}

.header__title{
    margin: auto;
    width: 50%;
}

.header__icon{
    font-size: 60px;
    margin: auto;
}

/* ------- Statistics Header ------- */

.header__stats{
    display: flex;
    justify-content: center;
}

.section__statistics{
    margin-right: auto;
    margin-top: 3%;
    margin-bottom: 7%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section__statistics:first-child{margin-left: 15%;}

.section__statistics:last-child{margin-right: 15%;}

.section__statistics h1{
    font-size: 80px;
    width: 100%;
}

.section__statistics p{
    font-size: 20px;
    width: 100%;
}

/* ------- About Us Section ------- */

.aboutus{
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    background-color: #b0a4c3;
    align-items: center;
    margin-bottom: 5%;
    height: 500px;
    align-items: center;
    justify-content: center;
    
}

.aboutus__image{
    flex: 0 0 40%;
    height: 90%;
    margin: auto;
}

.aboutus__image img{
    height: 100%;
    width: 100%; 
}

.aboutus__description{
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    height: 80%;
    align-items: center;
    justify-content: center;
    height: 90%;
    margin-right: auto;
    
}

.aboutus__maindescription{
    overflow: hidden;
    overflow-y:scroll;
}

/* ------- Gallery Section ------- */

.gallery{
    max-width: 1140px;
    margin: 0 auto;
    margin-bottom: 5%;
    height: 700px;
}

.gallery__image{
    display: flex;
    flex-direction: column;
    margin: 0;
    height: 100%;
}

.gallery__image-section{
    display: flex;
    height: 50%;
    overflow: hidden; 
}

.image__figure{
    width: 34%;
    overflow: hidden;
    background-color: #000;
}

.image__figure img{
    opacity: 0.7;
    transform: scale(1.15);
    width: 100%;
    height: 100%;
}

.image__figure img:last-child{margin-right: 0;}

.image__figure img:hover{
    opacity: 1;
    transform: scale(1.03);
    transition: transform 0.5s, opacity 0.5s;
}

/* ------- Contact Us Form ------- */

.form{
    max-width: 1140px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    background-color: #dfedd2;
    margin-bottom: 5%;
    justify-content: center;
}

.form__title{
    width: 23%;
    margin: 2% auto;
}

.form__section{
    display: flex;
    align-items: center;
    width: 70%;
    margin: 2% auto;
}

label{flex:0 0 50%;}

input[type=text],
input[type=email],
select{
    flex:0 0 50%;
    border-radius: 5px;
    height: 30px;
    font-family: Open Sans;
    padding-left: 7px;
}

textarea{
    height: 100px;
    flex:0 0 50%;
    border-radius: 5px;
    font-family: Open Sans;
    padding: 7px;
}

input[type=submit]{
    border-bottom-style: solid;
    border-color: #6db2e2;
    background-color: #89c1e7;
    color: #333; 
    transition: color, 0.2s;
    width: 20%;
    border-radius: 10px;
    font-family: Open Sans;
    font-weight: 700;
}

input[type=submit]:hover,
input[type=submit]:active,{
    border-bottom: 3px;
    border-bottom-style: solid;
    border-color: #6db2e2;
    transition: color, 0.2s;
    width: 10px;
}

/* ------- Footer ------- */

footer{
    background-color: #333;
    height: 150px;
    display: flex;
    flex-direction: column;
}

.footer__description {
    margin-top: auto;
    display: flex;
}

.footer__description a:first-child{
    margin-left: auto;
}

.footer__description a{
    text-decoration: none;
    margin-right: auto;
    color: #fff;
}

.footer__copyright {
    color: #fff;
    margin: auto;
}