:root {
    --primary: #303030;
    --secondary: #FFFFFF;
    --accentLight: #299961;
    --accentDark: #1e6e32;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--secondary);
    width: 100dvw;
    height: 100dvh;
    font-size: 10px;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

header {
    position: fixed;
    z-index: 100;
    top: 1rem;
    left: 1rem;
    width: 97dvw;
    height: 12dvh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: 'Jersey 15', sans-serif;
    font-size: 3.5rem;
    letter-spacing: 0.3rem;
    background-color: rgba(0, 0, 0, 0.171);
    color: var(--secondary);
    backdrop-filter: blur(0.2rem);
}

#cover {
    position: relative;
    width: 100dvw;
    height: 100dvh;
}

#cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#coverText {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--accentLight);
    font-size: 3rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-style: italic;
    text-shadow: 3px 3px 5px var(--primary);
}

.section-divider {
    color: var(--accentLight);
    width: 100%;
    height: 2rem;
    overflow: hidden;
}

.top {
    transform: rotate(180deg);
}

#servicios {
    margin-top: 6rem;
    width: 100dvw;
    height: 90dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.serviciosContenido {
    background-color: var(--accentLight);
    color: var(--secondary);
    width: 90%;
    height: 75dvh;
    padding: 2rem 6rem 2rem 6rem;
}

.serviciosContenido h3 {
    font-size: 4rem;
    margin: 2rem 0;
}

.cardContainer {
    height: 70%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.serviceCard {
    border-radius: 1rem;
    border: var(--accentDark) 0.3rem solid;
    padding: 0.5rem;
    width: 25dvw;
    height: 30dvh;
    color: var(--accentDark);
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.serviceCard:hover {
    border: var(--secondary) 0.3rem solid;
    color: var(--secondary);
}

#contacto {
    margin-top: 6rem;
    width: 100dvw;
    height: 100dvh;
    background-color: var(--secondary);
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 50% 50%;
}

#recomendacion {
    grid-row: 1;
    grid-column: 1;
    background-color: var(--accentDark);
    color: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2rem;
    padding: 1.5rem;
}

.imgContacto1 {
    grid-row: 1;
    grid-column: 2;
    width: 100%;
    height: 50dvh;
    object-fit: cover;
}

.imgContacto2 {
    grid-row: 2;
    grid-column: 1;
    width: 100%;
    height: 50dvh;
    object-fit: cover;
}

#infoContacto {
    grid-row: 2;
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#infoContacto a {
    text-decoration: none;
    color: inherit;
}

#infoContacto a:hover {
    text-decoration: none;
    color: var(--accentDark);
    font-weight: 600;
}

@media only screen and (max-width: 700px) {

    #coverText {
        font-size: 2.5rem;
        display: flex;
        text-align: center;
        text-shadow: 3px 3px 5px var(--primary);
        color: var(--accentDark);
    }

    .section-divider {
        height: 0.5rem;
    }

    #servicios {
        height: 100dvh;
    }

    .cardContainer {
        height: 50%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        gap: 1rem;
    }

    .serviciosContenido h3 {
        font-size: 3rem;
        margin: 1.5rem 0;
    }

    .serviceCard {
        width: 75dvw;
        height: 20dvh;
        font-size: 1.5;
    }

    #recomendacion {
        font-size: 1.5rem;
    }

    #infoContacto {
        font-size: 1.5rem;
    }
}