
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
}
@font-face {
  font-family: 'american captain';
  src: url('../fonts/american_captain_0-webfont.woff2') format('woff2'),
       url('../fonts/american_captain_0-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
body {
  width: 100%;
  overflow-x: hidden;
}



/* Basic css */


h2 {
  font-size: calc(1.8rem + 0.5vw);
  letter-spacing: 0.08rem;
  color: #fff;
  text-align: center;
  font-family: 'american captain';
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
p{
  color: #393939;
}

a {
  color: #fff;
  transition: all 0.3s ease-in-out;
}

a:hover {
  text-decoration: none;
  color: var(--primary);
}
a:active {
  background-color: var(--primary);
}
header{
  padding: 30px 40px;
}
header .logo-bx{
  width: 32%;
}
.cont-bx{
  width: 100%;
  height: 95vh;
  background-image: url('../img/Al-Hadhoudh-Building.jpg');
  background-position: bottom;
  background-size: cover;
}
.nav-wr-bx{
  width: 100%;
  height: auto;
  padding: 80px 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-red-bx{
  width: 45%;
  min-height: 170px;
  padding: 1rem;
  background-color: #BB2030;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.nav-blue-bx{
  width: 45%;
  min-height: 170px;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 1rem;
  padding-top: 3.5rem;
  background-color: #2E3A8C;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.learn-btn{
  padding: 0.5rem 1.5rem;
  text-transform: uppercase;
  color: #393939;
  background-color: #fff;
  font-family: 'american captain';
  display: inline-block;
  position: relative;
  transition: 0.3s all ease-in-out;
}
.learn-btn:hover{
  transform: translateY(-3px);
}
footer{
  width: 100%;
  height: auto;
  padding: 20px 40px;
  background-color: #fff;
  border-top: 2px solid #58595B;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sm-tit{
  text-transform: uppercase;
  color: #393939;
  font-weight: 700;
  font-size: 1.2rem;
}
.foot-left p{
  text-align: left;
  margin-bottom: 0px;
}
.cont-wr-bx{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-right: 3%;
}
.cont-wr-bx img{
  margin-right: 2%;
}
.cont-wr-bx p{
  margin-bottom: 0px;
}
.ft-cont-wr{
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.social-med-wr{
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.social-med-wr img{
  margin: 0px 8px;
}
.footer-right p{
  margin-top: 10px;
}
@media only screen and (max-width: 767px){

  header{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  header .logo-bx{
    width: 88%;
  }
  .cont-bx{
    height: auto;
  }
  .nav-wr-bx{
    padding: 30px;
    flex-direction: column;
  }
  .nav-red-bx{
    width: 100%;
    margin-bottom: 20px;
  }
  .nav-blue-bx{
    width: 100%;
    margin-bottom: 20px;
  }
  footer{
    flex-direction: column;
  }
  .foot-left{
    margin-bottom: 40px;
  }
  .footer-right{
    text-align: left;
  }
  .social-med-wr{
    justify-content: flex-start;
  }
  .sm-tit{
    font-weight: 600;
    font-size: 1rem;
  }
}
@media only screen and (min-width: 1523px){
  .nav-red-bx{
    width: 45%;
    min-height: 230px;
    padding: 1rem;
   
  }
  
  .nav-blue-bx{
    width: 45%;
    min-height: 230px;
   
  }
}