* {
    margin: 0;
    padding: 0;
    font-family: 'Kanit', sans-serif;;
}

#banner {
    background-image: linear-gradient(rgba(0,0,0,0.5), #66a3ff),
    url(./banner\ img.jpg);
    background-size: cover;
    background-position:center;
    height: 100vh;
}

.logo {
    width: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 30%;
    border-radius: 5px;
    box-shadow: 2px 10px 10px black;
}

.banner-text {
    text-align: center;
    color: white;
    padding-top: 180px;
}

.banner-text h1 {
    font-size: 130px;
}

.banner-text p {
    font-size: 30px;
}

 .banner-btn {
     margin: 70px auto 0;
     font-size: 40px
 }

 .banner-btn a {
    width: 230px;
    height: 80px;
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
    padding: 12px 0;
    color: white;
    border: .5px white solid;
    position: relative;
    z-index: 1;
    transition: color 0.5s;
 }

 .banner-btn a span {
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: white;
    z-index: -1;
    transition: 0.5s;
 }

 .banner-btn a:hover span {
    width: 100%;
 }

 .banner-btn a:hover {
    color:black;
 }

#sidenav {
    width: 250px;
    height: 100vh;
    position: fixed;
    right: -250px;
    top: 0;
    background-color: #66a3ff;
    z-index: 2;
    transition: 0.5s;
}

nav ul li {
    list-style: none;
    margin: 50px 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
}

#manubtn {
    width: 50px;
    height: 50px;
    background-color: #66a3ff;
    text-align: center;
    position: fixed;
    right: 30px;
    top: 20px;
    border-radius: 3px;
    z-index: 3;
    cursor: pointer;
}

#manubtn img {
    width: 20px;
    margin-top: 15px;
}

@media screen and (max-width: 770px){
    .banner-text h1 {
        font-size: 44px;
    }
    .banner-text p {
        font-size: 20px;
    }
    .banner-btn {
        display: block;
    }

    .banner-btn a {
        width: 150px;
    }

    #banner {
        height: 15vh;
    }
}

@media screen and (max-width: 1024px){
    #banner {
        height: 120vh;
    }
}

@media(max-height: 700px){
    #banner {
        height: 150vh;

     
    }

    .logo {
        width: 40px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: -120px;
        width: 30%;
        border-radius: 5px;
        box-shadow: 2px 10px 10px black;
    }

    .banner-btn a {
        height: 50px;
        margin: 10px 10px;
        padding: 13px 0;
}


    .banner-text {
       text-align: center;
       color: white;
       padding-top: 130px;
}

 }



@media screen and (max-width: 500px){
    .logo {
        width: 80px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    border-radius: 5px;
    box-shadow: 2px 10px 10px black;
    }

    #banner {
        background-image: linear-gradient(rgba(0,0,0,0.5), #66a3ff),
        url(./banner\ img.jpg);
        background-size: cover;
        background-position:center;
        height: 80vh;
    }
}

/*--about us--*/

#About {
    width: 100%;
    min-height: 100vh;
    display: grid;
    place-items: center;

}

#about-title {
    text-align: center;
    padding-bottom: 10px;

}

#about-title p {
    margin: auto;
    font-size: 60px;
    color: #66a3ff;
    font-weight: bold;
    position: relative;
    z-index: 1;
    display: inline-block;
}

#about-title p::after {
    content: '';
    width: 80px;
    height: 55px;
    background: linear-gradient(#66a3ff, #fff);
    position: absolute;
    top: -20px;
    left: 0;
    z-index: -1;
    transform: rotate(10deg);
    border-top-left-radius: 35px;
    border-bottom-right-radius: 35px;
}


.about-box {
    width: 100%;
    min-height: 60vh;
    display: grid;
    place-items: center;
    margin-top: 0;
}

.row{
    width: 80%;
    max-width: 1170px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 50px 30px;
}

.row .about-img {
    overflow: hidden;
}

.row .about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.row .about-desc {
    display: flex;
    align-items: center;
}

.row .about-desc .about-text {
    padding-left: 20px;
}

.row .about-desc .about-text p {
    font-size: 16px;
    line-height: 26px;
    padding-bottom: 15px;
}

@media (max-width: 991px) {
    .row .about-desc .about-text{
        padding-left: 0px;
    }
}

@media (max-width: 768px) {
    .row {
    width: 90%;
    grid-template-columns: 1fr;
    
    }
}









/*services section*/

#service {
    width: 100%;
    padding: 70px 0;
    background: #efefef;

}

#service-title {
    text-align: center;
    padding-bottom: 70px;

}

#service-title p {
    margin: auto;
    font-size: 60px;
    color: #66a3ff;
    font-weight: bold;
    position: relative;
    z-index: 1;
    display: inline-block;
}

#service-title p::after {
    content: '';
    width: 80px;
    height: 55px;
    background: linear-gradient(#66a3ff, #fff);
    position: absolute;
    top: -20px;
    left: 0;
    z-index: -1;
    transform: rotate(10deg);
    border-top-left-radius: 35px;
    border-bottom-right-radius: 35px;
}

.sheet {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    flex-basis: 100%;
}

.price {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 100%;
    flex-basis: 100%;
}


/*contact page*/

#contact {
    width: 100%;
    padding: 70px 0;
    background: #fff;

}

#contact-title {
    text-align: center;
    padding-bottom: 70px;

}

#contact-title h3 {
    color: #66a3ff;
}

#contact-title p {
    margin: auto;
    font-size: 60px;
    color: #66a3ff;
    font-weight: bold;
    position: relative;
    z-index: 1;
    display: inline-block;
}

#contact-title p::after {
    content: '';
    width: 80px;
    height: 55px;
    background: linear-gradient(#66a3ff, #fff);
    position: absolute;
    top: -20px;
    left: 0;
    z-index: -1;
    transform: rotate(10deg);
    border-top-left-radius: 35px;
    border-bottom-right-radius: 35px;
}

.contact-form {
    display: flex;
    align-items: center;
    justify-content: center;
}

form{
    width: 90%;
    max-width: 600px;
}

.form-group{
    margin-bottom: 30px;
    position: relative;
}

input, textarea{
    width: 100%;
    padding: 10px;
    outline: 0;
    border: 1px solid #66a3ff;
    color: black;
    background: #efefef;
    font-size: 15px;
}


form .submit{
    padding: 10px 50px;
    color: #66a3ff;
    outline: none;
    background: #efefef;
    border: 1px solid #66a3ff;
    border-radius: 8px;
    width: 104%;
    cursor: pointer;
}

form .submit:active {
    background-color: #66a3ff;
    color: black;
}



/*--footer--*/

#footer {
    padding: 70px 0 20px;
    background: #efefef;
    color: #66a3ff;
    font-size: 20px;
    display: grid;
}

.footer-row{
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-left, .footer-right {
    flex-basis: 45%;
    padding: 10px;
    margin-bottom: 20px;
}

.footer-right{
    text-align: right;
}


@media (max-width: 570px) {
    #footer {
        margin-bottom: 0;
        background: #efefef;
        color: #66a3ff;
        font-size: 15px;
        display: grid;
    }

    .footer-row {
        width: 80%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        place-content: center;
    }

    .footer-left {
        place-items: center;
    }

    .footer-right {
        place-items: center;
        text-align: center;
    }
}
