:root {
    --primary: #303030;
    --secondary: #FFFFFF;
    --accentLight: #e47812;
    --accentDark: #c76000;
}

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: 'Raleway', sans-serif;
}

header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 10dvh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px -2px rgba(16, 24, 40, 0.1);
    font-family: 'Merriweather', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
}

.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%;
    gap: 1.5rem;
}

#cover .imageShadow {
    grid-row: 1;
    grid-column: 1;
    border-radius: 1rem;
    background-color: var(--accentDark);
    width: 85%;
    height: 85%;
    margin: 7rem;
    position: relative;
}

#cover .imageShadow img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 1rem;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}

#cover .coverTxt {
    grid-row: 1;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: left;
    margin-left: 1rem;
    margin-bottom: 4rem;
}

#cover .coverTxt h1 {
    font-family: 'Merriweather', sans-serif;
    font-size: 4rem;
    font-weight: 600;
    color: var(--accentLight);
    margin: 1rem 1rem;
}

#cover .coverTxt h3 {
    font-size: 2rem;
    margin: 1rem 1rem;
}

#servicios {
    margin-top: 6rem;
    width: 100dvw;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.serviceRow {
    width: 70dvw;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
}

.iconcontainer {
    width: 6rem;
    height: 6rem;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--accentDark);
    color: var(--secondary);
}

.iconcontainer span {
    font-size: 4.5rem;
}

.serviceRow h3 {
    font-size: 1.5rem;
    margin-left: 1rem;
}

#footer {
    width: 100dvw;
    height: 100dvh;
    display: grid;
    grid-template-columns: 15% 70% 15%;
    grid-row: 60dvh 40dvh;
}

.recomendacion {
    grid-column: 2;
    grid-row: 1;
    position: relative;
}

.recomendacion img {
    width: 100%;
    height: 60dvh;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 1rem;
}

.recomendacion p {
    position: absolute;
    top: 0.5rem;
    left: 0;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--secondary);
    padding: 1rem;
    text-align: center;
    background-color: #30303065;
}

#contacto {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

#contacto h3 {
    font-size: 2.5rem;
    font-family: 'Merriweather', sans-serif;
    color: var(--accentDark);
}

#contacto p {
    font-size: 1.5rem;
    color: var(--primary);
}

#contacto a {
    text-decoration: none;
    color: inherit;
}

#contacto a:hover {
    color: var(--accentDark);
    font-weight: 600;
}

@media only screen and (max-width: 700px) {

    #cover {
        grid-template-columns: 1fr;
        grid-template-rows: 50% 50%;
        gap: 1rem;
    }

    #cover .imageShadow {
        width: 90%;
        height: 90%;
        margin: 1.5rem;
    }

    #cover .coverTxt {
        grid-row: 2;
        grid-column: 1;
        margin-left: 1rem;
        margin-bottom: 4rem;
    }

    #servicios {
        margin-top: 4rem;
    }

    .serviceRow {
        width: 85dvw;
    }

    #footer {
        display: grid;
        grid-template-columns: 1fr;
        grid-row: 60dvh 40dvh;
    }

    .recomendacion {
        grid-column: 1;
    }

    .recomendacion img {
        width: 100%;
    }

    .recomendacion p {
        font-size: 1.5rem;
    }

    #contacto {
        grid-column: 1;
        margin-left: 1rem;
    }

    #contacto h3 {
        font-size: 2rem;
    }
    
    #contacto p {
        font-size: 1rem;
    }

}