@import url('https://fonts.googleapis.com/css2?family=Fontdiner+Swanky&family=Jua&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
    font-family: "montserrat";
}

html {
    font-size: 20px;
}

body {
    background-color: #F4FBF9;
}

nav {
    background-color: #0E1900;
    padding: 10px;
    color: white;
    font-size: 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#socials {
    display: flex;
    gap: 10px;
}

#instagram_img, #whatsapp_img {
    width: 20px;
}

#hero {
    background-image: url('images/hero-img.jpg');
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: white;
    min-height: 300px;
}


#hero__header {
    font-size: 1.1rem;
    max-width: 40%;
}

#hero__text {
    font-size: 0.6rem;
    max-width: 40%;
}

#book-button {
    border: 1px solid white;
    text-decoration: none;
    padding: 5px;
    margin-top: 10px;
    font-size: 0.6rem;
    color: white;
    border-radius: 2px;
}

#book-button:hover {
    background-color: white;
    color: #0E1900;
}

#services {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    color: #0E1900;
}

#services__header {
    text-align: center;
    padding: 20px;
}

.service {
    color: #0E1900;
    font-size: 0.7rem;
    padding: 20px;
    border: 1px solid black;
    border-right: none;
}

.service__title {
    text-decoration: underline;
    padding: 0px;
}

.service__description {
    padding-left: 20px;
}

#about {
    padding: 20px;
    background-color: #0E1900;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

#about > img {
    width: 40%;
    border-radius: 10px;
}

.about__text {
    width: 40%;
}

.about__p {
    font-size: 0.6rem;
}

.service {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media screen and (max-width: 700px) {
    #about > img {
        width: 50%;
    }
}

@media screen and (max-width: 550px) {
    #hero {
        min-height: 400px;
    }

    #hero__header, #hero__text {
        max-width: 70%;
    }

    #services {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }
    
    #about {
        flex-direction: column-reverse;
        gap: 20px;
    }

    #about > img {
        width: 80%;
    }
    
    .about__text {
        width: 80%;
    }
}