@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  font-size: 62.50%;
}

nav{
    display: flex;
    height: 80px;
    width: 100%;
    background: crimson;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px 0 100px;
    flex-wrap: wrap;
}
nav .logo{
    color: #fff;
    font-size: 35px;
    font-weight: 600;
}
nav ul{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}
nav ul li{
    margin: 0 5px;
}
nav ul li a{
    color: #f2f2f2;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
nav ul li a.active,
nav ul li a:hover{
    color: #111;
    background: #fff;
}
nav .menu-btn i{
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: none;
}
input[type="checkbox"]{
    display: none;
}
@media (max-width: 1000px){
nav{
      padding: 0 40px 0 50px;
}
}
@media (max-width: 920px) {
    nav .menu-btn i{
      display: block;
    }
    #click:checked ~ .menu-btn i:before{
      content: "\f00d";
    }
    nav ul{
      position: fixed;
      top: 80px;
      left: -100%;
      background: #111;
      height: 100vh;
      width: 100%;
      text-align: center;
      display: block;
      transition: all 0.3s ease;
    }
    #click:checked ~ ul{
      left: 0;
    }
    nav ul li{
      width: 100%;
      margin: 40px 0;
    }
    nav ul li a{
      width: 100%;
      margin-left: -100%;
      display: block;
      font-size: 20px;
      transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }
    #click:checked ~ ul li a{
      margin-left: 0px;
    }
    nav ul li a.active,
    nav ul li a:hover{
      background: none;
      color: cyan;
    }
}

.hed{
  
  text-align: center;
  font-size: 48px;
}
.hed-1{
  display: inline-block;
  border-bottom:2px solid rgb(0, 174, 255) ;
}
/* ----------------------------------------------------------------- */
.main{
    display: grid;
    align-content: stretch;
    grid-template-columns: repeat(3,0.5fr);
    
    column-gap: 20px;

}

.main .layout{
    width: 250px;
    height: 250px;
    background: rgb(0, 255, 85);
    text-align: center;
    font-size: 28px;
    /* border: 2px solid red; */
    margin: 50px auto;
    box-shadow: 2px 3px 8px #000; 
    transition: .5s; 
}

.layout .pool{
    width: 100%;
    height: 90%;
    
    
}
.layout .pool img{
    width: 100%;
    height: 100%;
    
}
.layout .pol-c{
    width: 100%;
    height: 10%;
    background: red;
    color: white;
    text-align: center;
    
}
.layout .pol-c{
    font-size: 25px;
}
.main .layout:hover{
  transform: scale(1.2);
}

@media screen and (max-width:900px){
    .main{
      grid-template-columns: repeat(2, 0.5fr);
      column-gap: 0px;
  
    }
    .main .layout{
      margin: 50px auto;
    }
  
}

  @media screen and (max-width:540px){
    .main{
      grid-template-columns: repeat(1, 1fr);
      column-gap: 0px;
  
    }
    .main .layout{
      margin:80px auto ;
    }
  
}