*{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
}
nav{
  background: #072640;
  height: 100px;
  width: 100%;
  position: fixed;
  z-index: 500;
  box-shadow: 0 0 30px 2px rgba(0,0,0,0.50);
  overflow: hidden;
}

nav ul{
  float: left;

  margin-left: 20px;
}
nav ul li{
  display: inline-block;
  line-height: 100px;
  margin: 0 30px;
}
nav ul li a{
  color: white;
  font-size: 20px;
  padding: 10px 35px;
  border-radius: 3px;
  text-decoration: none;
}
nav a.active, nav a:hover{
  background: #06365e;
  transition: .5s;
}
.checkbtn{
  font-size: 40px;
  color: white;
  float: right;
  line-height: 100px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
  margin-top: 25px;
}
#check{
  display: none;
}
.teenused{
    font-size: 3em;
    text-align: center;
    color: #000000;
    padding-top: 13%;
    font-weight: lighter;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.teenused:after{
    content:"";
    display:block;
    width: 6em;
    max-width:70%;
    border-bottom: 2px solid #023e8a;
    margin: 1em auto 0;
}
.info {
    padding-top: 40px;
    font-size: 1.2em;
    text-align: center;
    padding-bottom: 50px;
}
.services {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 2%;
  }
  
  .service {
    flex-basis: calc(40% - 20px);
    margin-top: 10px;
    margin-bottom: 50px;
    transition: 0.5s;
    overflow: hidden;
  }
  
  .service img {
    display: block;
    margin: 0 auto;
    max-width: 60%;
    box-shadow: 0 0 30px 2px rgba(0,0,0,0.35);
    cursor: pointer;
  }
  .service:hover{
    transform: scale(1.1);
    z-index:2
    
  }
  .service h3 {
    margin: 10px 0;
  }
  
  .service p {
    line-height: 1.5;
  }
  .footer {
    padding-top: 100px;
    padding-bottom: 80px;
    padding-left: 5%;
    padding-right: 5%;
    background: #00374d;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    box-sizing: border-box;
  }
  
  .footer div {
    text-align: center;
    flex-basis: 50%;
  }
  
  .contact {
    flex-basis: 100%;
    margin-top: 20px;
  }
  
  .footer div h3 {
    font-weight: 300; 
    margin-bottom: 30px;
    letter-spacing: 1px;
  }
  
  .links a {
    display: block;
    text-decoration: none;
    color: white;
    margin-bottom: 20px;
  }
  
  .contact p {
    margin-bottom: 20px;
  }
  @media only screen and (max-width: 980px){
    .info{
      padding: 40px 50px;
      padding-bottom: 100px;
    }
    .checkbtn{
      display: block;
      margin-right: 40px;
    }
    .checkbtn i{
      font-size: 40px;
      margin-right: 20px;
    }
    nav{
      height: 90px;
    }
    nav ul{
      position: fixed;
      width: 100%;
      height: 100vh;
      background: #00374d;
      top: 90px;
      left: -100%;
      text-align: center;
      transition: all .5s;
      z-index:2;
      margin-right: 20px;
      margin-left: 0px;
    }
    nav ul li{
      display: block;
      margin: 100px 0;
      line-height: 30px;
    }
    nav ul li a{
      font-size: 25px;
    }
    nav a:hover, nav a.active{
      background: none;
      color: white;
    }
    #check:checked ~ ul{
      left: 0;
    }
      .teenused{
        font-size: 40px;
        padding-top: 20%;
      }
      .service img {
        max-width: 60%;
      }
    .services{
        margin: 0px 0;
        display: block;
    }
    }
    @media only screen and (max-width: 800px){
      .teenused{
        font-size: 30px;
        padding-top: 30%;
      }
    }
    @media screen and (max-width: 490px){
      .footer{
        font-size: 12px;
      }
      .checkbtn{
        margin-right: 10px;
      }
      .teenused{
        font-size: 25px;
        padding-top: 40%;
      }
      .info{
        font-size: 20px;
        padding: 40px 50px;
        padding-bottom: 100px;
      }
      }
  
      @media screen and (max-width: 350px){
      .footer {
        display: block;
      }
      .links{
        margin-bottom: 60px;
      }
      .checkbtn i{
        font-size: 30px;
      }
      nav{
        height: 80px;
      }
      nav ul{
        top: 80px;
      }
    }