body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
}
.hero {
    height: 600px;
    margin: 0;
    background-image: linear-gradient(to bottom right, #a05e1f, #cf7f1a);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
}
.hero img {
    grid-area: 1 / 2 / 4 / 6;
    justify-self: center;
}
.hero h1 {
    font-size: 4em;
    animation: fade-in 4s;
    line-height: 1.5em;
    color: white;
    justify-self: center;
    margin: 0;
    grid-area: 5 / 2 / 5 / 6;
}
@keyframes fade-in {
    0% {opacity: 0; transform: scale(.7,.7)}
    25% {opacity: 0.25;}
    50% {opacity: 0.50;}
    75% {opacity: 0.75;}
    100% {opacity: 1;}
}
h2 {
    font-size: 3em;
    line-height: 1.5em;
    text-align: center;
    color: #cf7f1a;
    align-self: flex-end;
    justify-self: center;
    margin: 0;
}
h4 {
    font-size: 1.5em;
    line-height: 1em;
    text-align: center;
    color: #cf7f1a;
    align-self: flex-start;
    justify-self: center;
    margin: 0;
}
.gypsum {
    height: 300px;
    margin: 0;
    background-color: white;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: repeat(2,1fr);
}
.gypsum-title {
    grid-area: 1/1/1/1;
}
.gypsum-subtitle {
    grid-area: 2 / 1 / 2 / 1;
}
.gypsum-image {
    grid-area: 1 / 2 / 3 / 3;
}
.piedraYeso {
    height: 300px;
    margin: 0;
    background-color: white;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.piedraYeso-title {
    grid-area: 1 / 2 / 1 / 2;
    align-self: center;
}
.piedraYeso-image {
    grid-area: 1 / 1 / 1 / 1;
}
.yesoAgricola {
    height: 300px;
    margin: 0;
    background-color: white;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}
.yesoAgricola-title {
    grid-area: 1 / 1 / 1 / 1;
}
.yesoAgricola-subtitle {
    grid-area: 2 / 1 / 2 /1;
}
.yesoAgricola-image {
    grid-area: 1 / 2 / 3  / 3;
}
.yesoEspecial {
    height: 300px;
    margin: 0;
    background-color: white;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}
.yesoEspecial-title {
    grid-area: 1 / 2 / 1 / 2;
}
.yesoEspecial-subtitle {
    grid-area: 2 / 2 / 2 / 2;
}
.yesoEspecial-image {
    grid-area: 1 / 1 / 3 / 1;
    background-size: 100%;
    justify-self: center;
    align-self: center;
}
.contacto {
    background-image: linear-gradient(to bottom right, #a05e1f, #cf7f1a);
    color: white;
    height: 330px;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "social social";
}
.contacto h3 {
    font-size: 2em;
}
.social {
    grid-area: social;
    background-size: 100%;
    padding: 2em;
    justify-self: center;
    align-self: center;
    text-align: center;
}
.social-link {
    display: inline-block;
    width: 100px;
    height: 100px;
    margin: 0 10px;
    background-size: 100px 100px;
}
.social-link.facebook {
    background-image: url('../img/facebook.svg');
}
.social-link.whatsapp {
    background-image: url('../img/whatsapp.svg');
}
@media screen and (max-width: 768px) {
    body {
        max-width: 100vw;
    }
    .hero {
        height: 400px;
    }
    .hero img {
        grid-area: 2 / 2 / 5 / 6;
    }
    .hero h1 {
        font-size: 2em;
        text-align: center;
    }
    .gypsum {
        height: 400px;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
    .gypsum-title {
        grid-area: 1 / 1 / 2 / 2;
    }
    .gypsum-subtitle {
        grid-area: 2 / 1 / 3 / 2;
    }
    .gypsum-image {
        grid-area: 3 / 1 / 5 / 2;
        max-width: 100vw;
    }
    .piedraYeso {
        height: 400px;
        grid-template-rows: 1fr;
        grid-template-rows: repeat(2, 1fr);
    }
    .piedraYeso-title {
        grid-area: 1 / 1 / 2 / 2;
    }
    .piedraYeso-image {
        grid-area: 2 / 1 / 3 / 2;
        max-width: 100vw;
    }
    .yesoAgricola {
        height: 400px;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
    .yesoAgricola-title {
        grid-area: 1 / 1 / 2 / 2;
    }
    .yesoAgricola-subtitle {
        grid-area: 2 / 1 / 3 / 2;
    }
    .yesoAgricola-image {
        grid-area: 3 / 1 / 5 / 2;
        max-width: 100vw;
    }
    .yesoEspecial {
        height: 400px;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
    .yesoEspecial-title {
        grid-area: 1 / 1 / 2 / 2;
    }
    .yesoEspecial-subtitle {
        grid-area: 2 / 1 / 3 / 2;
    }
    .yesoEspecial-image {
        grid-area: 3 / 1 / 5 / 2;
        max-width: 100vw;
    }
    .social-link {
        display: inline-block;
        width: 60px;
        height: 60px;
        margin: 0 10px;
        background-size: 60px 60px;
    }
    .contacto {
        height: 400px;
        grid-template-columns: 1fr;
    }
}