header {
    width: 100%;
    height: auto;
}

.logo {
    margin-left: 12.5rem;
}

.top {
    top: 0;
    margin-bottom: 1.25rem;
    display: flex;
    width: 100%;
    height: auto;
    background: white;
    position: fixed;
    z-index: 1;

    border-radius: 0 0 0.625rem 0.625rem;
}

nav {
    display: flex;
}

.top ul {
    margin: 4.25rem 3.125rem 0;
    /* padding: 0.625rem; */
    width: 80%;
    height: auto;
    display: flex;
    justify-content: space-evenly; 
}

.menu li {
    list-style: none;
    height: auto;
    width: 100%;
    margin: auto;
}

.menu {
    width: 80%; 
    margin-top: 1.25rem;   
}

.menu a:hover{
    color: #FF914D;
}

.menu a{
    text-decoration: none;
    color: #0097B2;
    margin: auto;
    font-size: 1.25rem;
    font-family: 'Inter', sans-serif;
    font-weight: bolder;
    width: 100%;  
    display: flex;
    justify-content: center;
}

.top1 {
    margin: 3.125rem 0;
    padding-top: 8.125rem;

    object-fit: contain;
}

header .banner1 {
    width: 75%;
    height: 43.75rem;
    margin: auto;
    object-fit: fill;
    border-radius: 0.625rem;
    border: 1px solid white;
}

@media (min-width: 1169px) and (max-width: 1390px){
    .menu {
        margin-top: 55px;
        height: 6.5rem;
        width: 100%;
    }

    .menu ul {
        display: flex;
        width: 100%;
        height: 20%;
        margin: 60px auto;
        justify-content: space-evenly;
    }

    .top ul {
        margin: 4.25rem auto 0;
        padding: 0;
        width: 100%;
        height: auto;
        display: flex;
    }
    
    li {
        list-style: none;
        height: auto;
        width: 100%;
        margin: auto;
        display: flex;
        font-size: 10px;
    }

    .menu a{
        display: flex;
        justify-content: center;
        text-decoration: none;
        color: #0097B2;
        margin: auto;
        font-size: 1.25rem;
        font-family: 'Inter', sans-serif;
        font-weight: bolder;
        width: 100%; 
    }

    .logo {
        margin: 2rem;
    }

    .logo img {
        height: 8rem;
        margin-left: 2rem;
    }

    .menu li a {
        font-size: 1.25rem;
    }

    header .banner1 {
        width: 50%;
        height: 35rem;
        margin: 30px auto;
        object-fit: fill;
        border-radius: 0.625rem;
        border: 1px solid white;
    }
}

@media (min-width: 810px) and (max-width: 1168px) {
    .top {
        width: 100%;
        height: auto;
        display: flexbox;
    }

    .menu {
        margin: 50px 5px 5px;
        height: 6.25rem;
        width: 100%;
    }

    .menu ul {
        display: flex;
        width: 100%;
        height: 20%;
        margin: 60px auto;
        justify-content: space-evenly;
    }

    .top ul {
        margin: 4.25rem auto 0;
        padding: 0;
        width: 100%;
        height: auto;
        display: flex;
    }
    
    li {
        list-style: none;
        height: auto;
        width: 100%;
        margin: auto;
        display: flex;
        font-size: 10px;
    }

    .menu a{
        display: flex;
        justify-content: center;
        text-decoration: none;
        color: #0097B2;
        margin: auto;
        font-size: 1.25rem;
        font-family: 'Inter', sans-serif;
        font-weight: bolder;
        width: 100%; 
    }

    .logo {
        margin: 1.8rem;
    }

    .logo img {
        height: 7.5rem;
        margin-left: 1.2rem;
    }

    .menu li a {
        font-size: 1rem;
    }

    .top1 {
        width: 99.8%;
    }

    header .banner1 {
        width: 70%;
        height: 35rem;
        margin: 10px auto 80px;
        object-fit: fill;
        border-radius: 0.625rem;
        border: 1px solid white;
    }

    .menu1 {
        width: 100%;
    }

    .menu1 .btn {
        width: 90%;
        margin: auto;
    }

    .menu1 .btn2 {
        width: 90%;
        margin: auto;
    }

    .menu1 .service1 {
        height: auto;
        font-size: 18px;
        margin: 5px auto;
        padding: 20px;
    }

    .menu1 .service2 {
        height: auto;
        font-size: 18px;
        margin: 5px auto;
        padding: 20px;
    }

    #menu-prime1 {
        width: 99%;
        margin: auto;
    }
  
  .overlay #service-title {
        font-size: 1.4rem;
        color: #0097B2;
      }
      
    .overlay #service-description {
        text-align: justify;
        font-size: 1rem;
        color: #000924;
        margin-top: 20px;
      }
 
    .window {
        height: 60%;
      }

    .close-btn {
        position: absolute;
        top: 3rem;
        right: 0.625rem;
        background-color: #FF914D;
        height: 22px;
        color: white;
        padding: 0.313rem 0.625rem;
        border: none;
        border-radius: 0.25rem;
        cursor: pointer;
        font-size: 0.75rem;
        font-family: 'Inter', sans-serif;
      }
}

@media (min-width: 491px) and (max-width: 809px) {
    .top {
        width: 100%;
        margin: auto;
        display: flex;
    }

    .logo {
        width: 3.5rem;
        margin: 4px auto;
    }

    .logo img {
        width: 3.5rem;
        height: 3.5rem;
        margin: 12px 5px;
    }

    .top1 {
        width: 90%;
        margin: auto;
        display: flex;
        flex-direction: column;
    }

    .top1 .banner1 {
        width: 70%;
        height: 300px;
        margin: -30px auto 10px;
    }

    .menu ul {
        display: flex;
        width: 100%;
        height: 20%;
        margin: 38px 2px 0;
        justify-content: space-evenly;
    }
    
    .menu a {
        justify-content: center;
        list-style: none;
        height: auto;
        width: 100%;
        margin: auto;
        display: flex;
        font-size: 0.7rem;
    }

    .menu1 {
        width: 100%;
    }

    .menu1 .btn {
        width: 90%;
        margin: auto;
    }

    .menu1 .btn2 {
        width: 90%;
        margin: auto;
    }

    .menu1 .service1 {
        height: auto;
        font-size: 15px;
        margin: 10px;
        padding: 10px;
    }

    .menu1 .service2 {
        height: auto;
        font-size: 15px;
        margin: 10px;
        padding: 10px;
    }

    #menu-prime1 {
        width: 100%;
        margin: auto;
    }

    .overlay #service-title {
        font-size: 1.4rem;
        color: #0097B2;
      }
      
    .overlay #service-description {
        text-align: justify;
        font-size: 1rem;
        color: #000924;
        margin-top: 20px;
      }
 
    .window {
        height: 60%;
      }

    .close-btn {
        position: absolute;
        top: 3rem;
        right: 0.625rem;
        background-color: #FF914D;
        height: 22px;
        color: white;
        padding: 0.313rem 0.625rem;
        border: none;
        border-radius: 0.25rem;
        cursor: pointer;
        font-size: 0.75rem;
        font-family: 'Inter', sans-serif;
      }
}

@media (min-width: 300px) and (max-width: 490px) {

    .top {
        width: 100%;
        margin: auto;
        display: flex;
        flex-direction: column;
    }

    .logo {
        width: 4rem;
        margin: 2px auto;
    }

    .logo img {
        width: 4rem;
        height: 4rem;
        margin: 2px auto;
    }

    .top1 {
        width: 90%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
    }

    .banner .banner1 {
        width: 90%;
        height: 250px;
        margin: -25px auto 0;
    }

    .menu {
        width: 100%;
        margin: 2px auto;
    }

    .menu ul {
        display: flex;
        width: 100%;
        height: 20%;
        margin: 2px auto 10px;
        justify-content: space-around;
    }
    
    .menu a {
        justify-content: center;
        list-style: none;
        height: auto;
        width: 110%;
        margin: auto;
        display: flex;
        font-size: 0.655rem;
    }

    .menu1 {
        width: 99.5%;
        display: flex;
        flex-direction: column;
    }

    .menu1 .btn {
        width: 100%;
        margin: auto;
    }

    .menu1 .btn2 {
        width: 100%;
        margin: auto;
    }

    .menu1 .service1 {
        font-size: 15px;
        font-weight: 700;
    }

    .menu1 .service2 {
        font-size: 15px;
        font-weight: 700;
    }

    #menu-prime1 {
        width: 99.2%;
        margin: auto;
    }

    .overlay #service-title {
        font-size: 1.2rem;
        color: #0097B2;
      }
      
    .overlay #service-description {
        text-align: justify;
        font-size: .8rem;
        color: #000924;
        margin-top: 20px;
      }
 
    .window {
        height: 60%;
      }

    .close-btn {
        position: absolute;
        top: 3rem;
        right: 0.625rem;
        background-color: #FF914D;
        height: 22px;
        color: white;
        padding: 0.313rem 0.625rem;
        border: none;
        border-radius: 0.25rem;
        cursor: pointer;
        font-size: 0.75rem;
        font-family: 'Inter', sans-serif;
      }

}
