*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
    outline: none; border: none;
    text-decoration: none;
    transition: all 0.2s linear;
}


html{
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 62.5%;
}

section{
  padding: 3rem 9%;
}

/*--------Header Section Starts-------*/

.header{
    position: absolute;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.7rem 5%;
}

.header .navbar a{
    font-size: 2.1rem;
    color: #e7e7e7;
    display: inline-block;
    margin: 0 1.4rem;
    font-weight: bolder;
}

/*-----Header Animation----*/

.header .navbar a span{
    position: relative;
    padding-bottom: 0.5rem;
}

.header .navbar a span::after{
    content: '';
    width: 0%;
    height: 4px;
    background: #e7e7e7;
    position: absolute;
    left: 0;
    bottom: -1px;
    transition: 0.5s;
}

.header .navbar a span:hover:after{
    width: 100%;
}

.logo {
    width: 15rem;
    height: 15rem;
}

.mobile-nav{
    display: none;
}

.mobile-nav a:hover{
    background-color: #e7e7e7;
    color: #000;
    transition: ease 0.2s;
}

/*---Menu Icon----*/

.btn {
    display: none;
    width: 48px;
    cursor: pointer;
    right: 0;
    z-index: 100;
  }
  
  .menubtn {
    display: block;
    width: 100%;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,0.4);
    border-radius: 3px;
    height: 0.5rem;
    background: #fff;
    transition: all .3s;
    position: relative;
  }

  .not-active .menubtn + .menubtn{
    margin-top: 1rem;
  }
  
  .active .menubtn + .menubtn {
    margin-top: 17px;
  }
  
  .active .menubtn:nth-child(1) {
    animation: ease .7s top forwards;
  }
  
  .not-active .menubtn:nth-child(1) {
    animation: ease .7s top-2 forwards;
  }
  
  .active .menubtn:nth-child(2) {
    animation: ease .7s scaled forwards;
  }
  
  .not-active .menubtn:nth-child(2) {
    animation: ease .7s scaled-2 forwards;
  }
  
  .active .menubtn:nth-child(3) {
    animation: ease .7s bottom forwards;
  }
  
  .not-active .menubtn:nth-child(3) {
    animation: ease .7s bottom-2 forwards;
  }
  
  @keyframes top {
    0% {
      top: 0;
      transform: rotate(0);
    }
    50% {
      top: 22px;
      transform: rotate(0);
    }
    100% {
      top: 22px;
      transform: rotate(45deg);
    }
  }
  
  @keyframes top-2 {
    0% {
      top: 22px;
      transform: rotate(45deg);
    }
    50% {
      top: 22px;
      transform: rotate(0deg);
    }
    100% {
      top: 0;
      transform: rotate(0deg);
    }
  }
  
  @keyframes bottom {
    0% {
      bottom: 0;
      transform: rotate(0);
    }
    50% {
      bottom: 22px;
      transform: rotate(0);
    }
    100% {
      bottom: 22px;
      transform: rotate(135deg);
    }
  }
  
  @keyframes bottom-2 {
    0% {
      bottom: 22px;
      transform: rotate(135deg);
    }
    50% {
      bottom: 22px;
      transform: rotate(0);
    }
    100% {
      bottom: 0;
      transform: rotate(0);
    }
  }
  
  @keyframes scaled {
    50% {
      transform: scale(0);
    }
    100% {
      transform: scale(0);
    }
  }
  
  @keyframes scaled-2 {
    0% {
      transform: scale(0);
    }
    50% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }

/*-------Menu Icon ends ----*/

.home{
    width: 100%;
    height: 30vh;
    background-image: linear-gradient(rgba(8,106,181,1), rgba(8,106,181,0));
}

.main-container{
    padding: 10px 15px;
}

.logo {
    max-width: 10rem;
    max-height: 10rem;
}


/*MAIN CONTENT---*/

.gallery{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.maincontent{
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
/*----ABOUT NAV SECTION----*/

.aboutnav{
  display: flex;
  margin-top: 10%;
}

.aboutnav ul li{
    display: block;
    list-style: none;
    padding: 0.5rem 0;
}

.navtitle{
    font-size: 1.8rem;
    font-weight: 500;
    color: #1a1a1a;
}

.navtitle:hover{
    color: red;
    color: #3893CC;
}

.navtitle-active{
  color: #000;
  font-weight: 600;
  font-size: 2rem;
}

.navtitle-active:hover{
  color: #3893CC;
}

.aboutnav a span{
    font-weight: 500;
    font-size: 3.5rem;
    color: #3893CC;
}

/*-----Main Section-----*/

.heading{
  text-align: center;
  padding: 3rem;
  font-size: 3rem;
}

.team-container{
  display: grid;
  grid-template-columns: repeat(3, 18.5rem);
  grid-auto-rows: 1fr;
  grid-column-gap: 5rem;
  grid-row-gap: 5rem;
  margin-top: 2.2rem;
  justify-content: center;
}

.teamgrid{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.teamgrid img{
  height: 23.6rem;
  width: 18.8rem;
  object-fit: cover;
  border-radius: 1rem;
}

.teamgrid h2{
  margin: 1rem 0 0.5rem;
  text-align: center;
  color: #3893CC;
  font-weight: 600;
  font-size: 2rem;
}

.teamgrid p{
  margin: 0.5rem 0;
}

.teamgrid a{
  margin-top: 2rem;
}


.roles{
  font-size: 1.8rem;
  color: #3893CC;
  font-weight: 400;
  letter-spacing: 1px;
  text-align: center;
}

.GIbtn{
  font-size: 2rem;
  padding: 2rem 3rem;
  color: #fff;
  background: #086ab5;
  border-radius: 0.5rem;
}

/*--------Layering------*/

.overlay img {
  width: 18.8rem;
  border-radius: 10px;
  display: block;
  transition: transform 0.5s;
}

.overlay:hover img{
  transform: scale(1.1);
}

.overlay{
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.overlay:hover .layer{
  height: 100%;
}


.layer {
  background: linear-gradient(rgba(0, 0, 0, 0.6), #3893CC);    
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0;
  width: 100%;
  transition: 0.5s ease;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
}

.layer h2 {
  font-weight: 500;
  margin-bottom: 20px;
  color: #e7e7e7;
}

.layer a {
  color: #3893CC;
  text-decoration: none;
  font-size: 18px;
  line-height: 60px;
  background: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
}

.layer:hover {
  height: 100%;
}

/*-------Copyright--------*/

.copyright {
  width: 100%;
  text-align: center;
  padding-top: 25px;
  background: #262626;
  font-weight: 300;
  margin-top: 30px;
  z-index: 100;
}

.copyright a{
  margin: 5px;
  text-decoration: none;
  font-size: 30px;
  font-weight: 400;
  font-family: 'proxima-nova';
  color: rgba(255,255,255,.8);
  letter-spacing: 2px;
  display: inline-block;
}

.copyright p{
  font-family: 'proxima-nova';
  color: rgba(255,255,255,.8);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 2px;
  margin: 5px 0;
}

.copyright-misc {
  padding-bottom: 10px;

}

.copyright-misc a {
  text-decoration: none;
  font-size: 14px;
  font-family: 'proxima-nova';
  margin-right: 10px;
  color: rgba(255,255,255,.8);
  display: inline-block;
  transition: transform 0.5s;
}


.copyright .avishlinkedin{
  color: #ababab;
  transition: 0.5s;
}

.copyright .avishlinkedin:hover{
  color: #1a3144;
}

.copyright .social-icons{
  margin: 10px auto;
}

@media(max-width:1400px){
  html{
      font-size: 60%;
  }

  .logo{
      width: 12rem;
      height: 12rem;
  }

  .header .navbar a{
      font-size: 2rem;
      margin: 0 1.2rem;
  }


}

@media(max-width:1200px) {
  html{
      font-size: 57.5%;
  }

  .header .navbar a{
      font-size: 2rem;
      margin: 0 0.8rem;
  }

  .header{
      padding: 1.7rem 3.5%;
  }


}


@media (max-width:991px) {

  section{
    padding: 3rem 5%;
}

  html{
      font-size: 55%
  }

  .header .navbar a{
      font-size: 1.7rem;
      margin: 0 0.5rem;
  }

  .logo{
      width: 9.5rem;
      height: 9.5rem;
  }

  .aboutnav a{
      font-size: 1.5rem;
  }

  .aboutnav a span{
      font-size: 3rem;
  }

  .heading{
    font-size: 2.4rem;
  }

}

@media (max-width:768px) {

  .header .navbar{
      display: none;
  }

  .header .mobile-nav{
      position: fixed;
      top: 0; right: -100%;
      min-height: 100vh;
      display: block;
      z-index: 98;
      background-color: #086ab5;
      padding: 5rem;
      padding-top: 15rem;
      transition: linear 0.4s;
  }

  .mobile-nav.active{
      right: 0;
  }

  .mobile-nav nav{
      display: block;
  }

  .mobile-nav a{
      font-size: 2rem;
      display: block;
      margin: 0 auto 2.5rem;
      text-align: center;
      padding: 1rem 1.5rem;
      background-color: #1a3144;
      color: #e7e7e7;
  }

  .logo{
      margin-top: 1rem;
      margin-left: 1rem;
      width: 10.5rem;
      height: 10.5rem;
  }

  .btn{
      display: inline-block;
  }

  .aboutnav{
      display: none;
  }

  .team-container{
    grid-template-columns: repeat(2, 18.6rem);
  }
}

@media(max-width:450px){
  .logo{
      margin-top: 1rem;
      margin-left: 1rem;
      width: 9rem;
      height: 9rem;
  }

  .aboutnav{
      display: none;
  }

  .team-container{
    grid-template-columns: repeat(1, 18.5rem);
  }

  .heading{
    font-size: 2rem;
  }
}