:root {
    --primary: #303030;
    --secondary: #FFFFFF;
    --accentLight: #239223;
    --accentDark: #006305;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary);
    width: 100dvw;
    height: 100dvh;
    font-size: 10px;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    font-family: 'Questrial', sans-serif;
}

header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 12dvh;
    padding-left: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: left;
    gap: 2rem;
    align-items: center;
    font-family: 'Lora', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.3rem;
    color: var(--secondary);
}

header img {
    width: 3rem;
    height: 3rem;
}

header a {
    text-decoration: none;
    color: inherit;
}

header a:hover {
    text-decoration: none;
    color: var(--accentLight);
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48
}

#cover {
    width: 100dvw;
    height: 100dvh;
    background-color: var(--primary);
    color: var(--secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#cover h1 {
    font-size: 4rem;
}

#cover h3 {
    font-size: 2rem;
}

#servicios {
    width: 100dvw;
    height: 90dvh;
    display: grid;
    grid-template-rows: 100%;
    grid-template-columns: 30% 20% 20% 30%;
}

.servfoto1 {
    grid-column: 1/3;
    grid-row: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.servfoto2 {
    grid-column: 3/5;
    grid-row: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#serviciosCard {
    grid-row: 1;
    grid-column: 2/4;
    width: 100%;
    height: 100%;
    padding: 1rem;
    background-color: #00630588;
    color: var(--secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    font-size: 2rem;
}

#serviciosCard h2 {
    font-size: 4rem;
    margin: 1rem;
}

#serviciosCard li {
    margin: 1rem;
}

#contacto {
    width: 100dvw;
    height: 60dvh;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
    background-color: var(--accentDark);
}

#recomendacion {
    font-size: 3.5rem;
    margin: 2rem 8rem;
    color: var(--secondary);
}

#telefonos {
    font-size: 2rem;
    margin: 3rem 10rem;
    color: var(--secondary);
}

#telefonos a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
}

#telefonos a:hover {
    font-weight: 600;
}

#telefonos p {
    margin: 0 0.5rem;
}

@media only screen and (max-width: 700px) {

    #cover h1 {
        font-size: 3rem;
    }
    
    #cover h3 {
        font-size: 1.5rem;
        margin: 1rem 1.5rem;
        text-align: center;
    }

    #servicios {
        width: 100dvw;
        height: 100dvh;
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 30% 20% 20% 30%;
    }

    .servfoto1 {
        grid-column: 1;
        grid-row: 1/3;
    }

    .servfoto2 {
        grid-column: 1;
        grid-row: 3/5;
    }

    #serviciosCard {
        grid-row: 2/4;
        grid-column: 1;
        padding: 0.5rem;
        font-size: 1.5rem;
    }

    #serviciosCard h2 {
        font-size: 3rem;
        margin: 0.5rem;
    }

    #serviciosCard li {
        margin: 0.5rem;
    }

    #contacto {
        height: 50dvh;
    }

    #recomendacion {
        font-size: 2.5rem;
        margin: 1rem 1rem;
    }

    #telefonos {
        font-size: 1.5rem;
        margin: 1rem;
    }

}