@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');
@import url("https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
body{
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}
*{
    box-sizing: border-box;
}


.team-section{
  background-image: linear-gradient(to bottom, rgba(109, 121, 190, 0.226) , rgba(23, 51, 212, 0.226));

 
    height: 100%;
    position: relative;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;    
    
}
.container{
    max-width: 1170px;
    margin:auto;
}
.row
{
    display: inline-block;
    flex-wrap: wrap;
    padding: 50px;
}
.sub-header{
    height: 15vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,.7),rgba(4,9,30,0.7)),url(./images/background.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
    
}
nav {
    display: flex;
    padding: 0.5% 4%;
    justify-content: space-between;
    align-items: center;
  }
  nav img {
    width: 95px;
  }
  .nav-links {
    flex: 1;
    text-align: right;
  }
  .nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
  }
  .nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
  }
  .nav-links ul li::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #fff;
    display: block;
    margin: auto;
    transition: 0.5s;
  }
  .nav-links ul li:hover::after {
    content: "";
    width: 100%;
    height: 2px;
    background: #01937c;
    display: block;
    margin: auto;
  }
  nav .fa {
    display: none;
  }
  
.Word{

  color: #000000;
  font-size: larger;
  font-weight: 800;
}
.team-section .section-title
{
    flex-basis: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    text-align: center;
    font-size: 30px;
    padding-top: 30px;
}

.team-section .section-title .event-title{
    
    text-align: center;
    margin: 0;
    padding-top: 10px; ;
    font-weight: 600;
}
.team-section .section-title p{
    text-align: center;
    font-size: 16px;
    margin: 15px 0 0;
}
.team-section .team-items .info .item{
    flex-basis: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.team-section .team-items .info .item {
    flex-basis: calc(25% - 30px);
    max-width: calc(25% - 30px);
    transition: all .5s ease;
    margin-top: 10px;
}
.team-section .team-items .item img{    
    display: block;
    width: 100%;
    border-radius: 8px;
} 
.team-section .team-items .item .inner {    
    position: relative;
    min-width: 250px;
    padding: 0 15px;

}
.team-section .team-items .item .inner .info{    
  background-image: linear-gradient(to right, rgb(243, 230, 243) , rgb(186, 193, 235));
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    transition: all .5s ease;
    margin-top: -40px;
}
.team-section .team-items .item:hover {    
    transform: translateY(-10px);
}
.team-section .team-items .item:hover {    
    transform: translateY(-10px);
}
.team-section .team-items .item .inner .info h5{    
    margin: 0;
    font-size: 18px;
    font-weight: 600;  
}
.team-section .team-items .item .inner .info p{    
    margin: 10px 0 0;
    font-size: 16px;
    font-weight: 400;
    color: #691a1a;
}
.team-section .team-items .item .inner .info .social-links{    
    padding-top: 15px;

}
.team-section .team-items .item .inner .info .social-links a{
	display: inline-block;
	height: 32px;
	width: 32px;
	background-color: #dfedf8;
	color:#281f7a;
	border-radius: 50%;
	margin:0 2px;
	text-align: center;
	line-height: 32px;
	font-size:16px;

}
.team-section .team-items .item .inner .info .social-links a:hover {
    box-shadow: 0 0 10px #000;
}

.cr {
    
  bottom:0;
  padding-top: 30px;
  background: #dfedf8;
  text-align: center; 
  width: 100%;
  position: absolute;
}

@media(max-width: 991px){
	.team-section .team-items .item {
      flex-basis: calc(50% - 30px);
       max-width: calc(50% - 30px);
       margin-left: 10px;
       margin-right: 10px;

   }  

}

@media(max-width: 767px){
	.team-section .team-items .item {
      flex-basis: calc(100%);
       max-width: calc(100%);
       margin-left: 10px;
       margin-right: 10px;

   }   
}
@media (max-width: 700px) {

  .team-section .container .row .section-title .event-title{
    font-size: 20px;
  }
    .text-box h1 {
      font-size: 30px;
    }
    .text-box p {
      margin: 10px 0px 40px;
      font-size: 20px;
    }
    .nav-links ul li {
      display: block;
      padding-bottom: 15px;
    }
    .nav-links {
      position: absolute;
      background: #7b0193ab;
      height: 100vh;
      width: 200px;
      top: 0;
      right: -200px;
      text-align: left;
      z-index: 2;
      transition: 1s;
    }
    .nav-links ul {
      padding: 30px;
    }
    nav .fa {
      display: block;
      color: #dfedf8;
      margin: 10px;
      font-size: 25px;
      cursor: pointer;
    }
    .cr {
    
      bottom:0;
      padding-top: 30px;
      background: #dfedf8;
      text-align: center; 
      width: 100%;
      position: relative;
    }
    html,
    body {
      overflow-x: hidden;
    }


}

  .social-links a {
    display: inline-block;
    height: 32px;
    width: 32px;
    background-color: #ffffff;
    color: #281f7a;
    border-radius: 50%;
    margin: 0 2px;
    text-align: center;
    line-height: 32px;
    font-size: 16px;
    transition: all 0.5s ease;
  }
  .social-links a:hover {
    box-shadow: 0 0 10px #000;
  }

  
.copyright{
  padding-bottom: 20px;
}
.cr p{
  margin-bottom: 5px;
}
