:root {
    --primary: #242424;
    --secondary: #FFFFFF;
    --accentLight: #c72174;
    --accentDark: #720039;
}

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: 'Rubik', sans-serif;
}

header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 12dvh;
    padding-left: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    font-family: 'Lora', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.3rem;
    background-color: var(--accentLight);
    color: var(--secondary);
}

#cover {
    width: 80dvw;
    height: 80dvh;
    background-color: var(--accentLight);
    color: var(--secondary);
    padding: 6rem 10rem;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 1fr;
}

.coverText {
    grid-row: 1;
    grid-column: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.coverText h2 {
    font-size: 3.5rem;
    font-family: 'Lora', sans-serif;
    margin: 0;
}

.coverText h3 {
    font-size: 2.5rem;
    font-family: 'Lora', sans-serif;
    margin: 0.5rem;
}

.coverText p {
    font-size: 1.5rem;
    margin: 1rem;
    font-weight: 600;
    font-style: italic;
}

.coverImg {
    grid-row: 1;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.coverImg img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    object-position: center right;
    border-radius: 1rem;
}

#servicios {
    width: 80dvw;
    height: 70dvh;
    background-color: var(--secondary);
    color: var(--accentDark);
    padding: 6rem 10rem;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48
}

.servCard {
    border-radius: 1rem;
    width: 20dvw;
    height: 50dvh;
    background-color: var(--accentDark);
    color: var(--secondary);
    padding: 1.5rem;
    font-family: 'Lora', sans-serif;
    font-size: 1.8rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: left;
}

.servCard span {
    font-size: 4rem;
}

#contacto {
    width: 80dvw;
    height: 70dvh;
    background-color: var(--secondary);
    color: var(--accentLight);
    padding: 6rem 10rem;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 1fr;
}

.contactoImg {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contactoImg img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    object-position: center right;
    border-radius: 1rem;
}

.contactoTxt {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contactoTxt h3 {
    font-size: 2.5rem;
    font-family: 'Lora', sans-serif;
    margin: 1.5rem;
}

.contactoTxt p {
    font-size: 2rem;
    margin: 0.5rem;
}

.contactoTxt a {
    color: inherit;
    text-decoration: none;
}

.contactoTxt a:hover {
    font-weight: 600;
    color: var(--accentLight);
}

@media only screen and (max-width: 700px) {

    #cover {
        width: 100dvw;
        height: 100dvh;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 50% 50%;
    }

    .coverText h2 {
        font-size: 2.5rem;
    }
    
    .coverText h3 {
        font-size: 1.5rem;
    }
    
    .coverText p {
        font-size: 1rem;
    }

    .coverImg {
        grid-row: 2;
        grid-column: 1;
    }

    #servicios {
        width: 100dvw;
        height: 100dvh;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }

    .servCard {
        width: 85dvw;
        height: 26dvh;
        padding: 0.5rem;
        font-size: 2rem;
    }

    #contacto {
        width: 100dvw;
        height: 100dvh;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 40% 60%;
    }

    .contactoTxt {
        grid-column: 1;
        grid-row: 2;
    }

    .contactoTxt h3 {
        font-size: 2rem;
        margin: 1rem;
    }
    
    .contactoTxt p {
        font-size: 1.5rem;
        margin: 0.5rem;
    }
}