:root {
    --primary: #303030;
    --secondary: #FFFFFF;
    --accentLight: #3E49AE;
    --accentDark: #1d2aa3;
}

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: 'Roboto Slab', sans-serif;
}

header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 10dvh;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    box-shadow: 0 4px 8px -2px rgba(16, 24, 40, 0.1);
    font-size: 2rem;
    font-weight: 600;
    color: var(--accentDark);
    background-color: var(--secondary);
    padding-left: 1.5rem;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48
}

#cover {
    width: 100dvw;
    height: 100dvh;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 100%;
}

#cover img {
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#cover div {
    grid-row: 1;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

#cover h1 {
    font-size: 3.5rem;
    margin: 0;
    color: var(--accentDark);
}

#servicios {
    width: 100dvw;
    height: 100dvh;
    background-color: var(--accentLight);
    display: grid;
    grid-template-columns: 30% 40% 30%;
    grid-template-rows: 50% 50%;
    font-size: 1.5rem;
    text-align: center;
    color: var(--secondary);
}

.fotoMosaico1 {
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fotoMosaico2 {
    grid-row: 1;
    grid-column: 3;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fotoMosaico3 {
    grid-row: 2;
    grid-column: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#servicios p {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.textoMosaico1 {
    grid-row: 1;
    grid-column: 2;  
}

.textoMosaico2 {
    grid-row: 2;
    grid-column: 1;
}

.textoMosaico3 {
    grid-row: 2;
    grid-column: 3;
}

#contacto {
    width: 100dvw;
    height: 50dvh;
    background-color: var(--secondary);
    display: grid;
    grid-template-columns: 30% 40% 30%;
    grid-template-rows: 1fr;
}

.infoContacto {
    grid-row: 1;
    grid-column: 2;
    background-color: var(--accentLight);
    color: var(--secondary);
    font-size: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.infoContacto h3 {
    font-size: 2.5rem;
    margin: 1rem;
}

.infoContacto a {
    text-decoration: none;
    color: inherit;
}

.infoContacto a:hover {
    color: var(--primary);
    font-weight: 600;
}

@media only screen and (max-width: 700px) {

    #cover {
        grid-template-columns: 100%;
    }

    #cover div {
        grid-column: 1;
        font-size: 2rem;
        color: var(--secondary);
        background-color: #30303077;
    }

    #cover h1 {
        font-size: 3rem;
    }

    #servicios {
        grid-template-columns: 50% 50%;
        grid-template-rows: 30% 40% 30%;
        font-size: 1.5rem;
    }

    .textoMosaico1 {
        grid-row: 1;
        grid-column: 1;  
    }

    .fotoMosaico1 {
        grid-row: 1;
        grid-column: 2;
    }

    .fotoMosaico2 {
        grid-row: 2;
        grid-column: 1;
    }

    .textoMosaico2 {
        grid-row: 2;
        grid-column: 2;
    }

    .textoMosaico3 {
        grid-row: 3;
        grid-column: 1;
    }

    .fotoMosaico3 {
        grid-row: 3;
        grid-column: 2;
    }

    #contacto {
        grid-template-columns: 25% 50% 25%;
    }

    .infoContacto h3 {
        font-size: 2rem;
        margin: 1rem;
    }
    
}