@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* Estilos Especiales y Variables */
:root {
    --color01: #ffffff; /* 255, 255, 255, */
    --color02: #ffe000; /* 255, 224, 0 */
    --color03: #87c300; /* 135, 195, 0 */
    --color04: #00abe3; /* 0, 171, 227 */
    --color05: #005f7f; /* 0, 95, 127 */
    --color06: #000000; /* 0, 0, 0 */
    --color07: #f8f9f9; /* 248, 249, 249 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    font-family: "Roboto", sans-serif;
}

/* Titulo - Correcto */
.title {
    grid-area: 2 / 1 / span 1 /span 1;
    background: var(--color05);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    border-bottom-right-radius: 20px;
}

.title h1 {
    color: var(--color01);
}

.title span {
    color: transparent;
    -webkit-text-stroke-width: 1.2px; -moz-text-stroke-width: 1.2px; -ms-text-stroke-width: 1.2px; -o-text-stroke-width: 1.2px;
    -webkit-text-stroke-color: var(--color01); -moz-text-stroke-color: var(--color01); -ms-text-stroke-color: var(--color01); -o-text-stroke-color: var(--color01);
}




/* Main - Correcto */
.main {
    grid-area: 2 / 1 / span 4 /span 1;
    background-color: var(--color04);
    display: grid;
    place-content: center;
    width: 100%;
    height: 700px;
}

.contact__form {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.contact__form label {
    width: 100%;
    color: var(--color01);
    padding-top: 40px;
}

.form__control {
    width: 100%;
    padding: 4px;
    font-size: 1.4rem;
    margin-top: 6px;
    color: var(--color05);
}

.contact__form input {
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px inset var(--color01);
}

.contact__form #boton:hover {
    padding: 4px 10px;
    color: var(--color01);
    background-color: var(--color05);
    border-radius: 4px;
    border: 1px inset var(--color01); 
}

.contact__form #boton {
    width: 100%;
    padding: 4px 10px;
    color: var(--color04);
    background-color: var(--color01);
    border-radius: 4px;
    border: 1px inset var(--color01);
}

.gracias {
    width: 100%;
    color: var(--color01);
    text-align: center;
    margin-bottom: 10px;
}

.gracias_btn {
    width: 100%;
    padding: 4px 80px;
    color: var(--color04);
    background-color: var(--color01);
    border-radius: 4px;
    border: 1px inset var(--color01);
    text-align: center;
}


/* Content1 - Correcto */
.content1 {
    grid-area: 2 / 2 / span 4 /span 4;
}

.content2 {
    grid-area: 4 / 2 / span 1 /span 4;
    display: grid;
    place-content: center;
    height: auto;

}

.content2__info {
    width: 300px;
    height: 110px;
    background: var(--color01);
    display: grid;
    place-content: center;
    border-radius: 10px;
    box-shadow: 0 0 0 4px var(--color05);
}

.contact__box {
    width: 100%;
    height: 500px;
    padding: 20px;
    background: var(--color03);
    font-weight: 400;
    font-size: .8em;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    color: var(--color01);
    box-shadow: 0 0 10px 0 var(--color01);
}


/* Media Queries */
@media screen and (max-width: 900px) {
    .form__control {
        font-size: 1rem;
    }
}


@media screen and (max-width: 600px) {
    .container {
        display: grid;
        grid-template-columns: 12fr;
        grid-template-rows: 80px 50px 60px 500px auto 280px 60px;
        grid-template-areas:
            "header"
            "redes"
            "title"
            "main"
            "content1"
            "content2"
            "footer";
    }
    
    .redes {
        grid-area: "redes";
        width: 100%;
        grid-column: 1 / 2; 
        grid-row: 2 / 3;
    }

    .title {
        grid-area: "title";
        width: 100%;
        grid-column: 1 / 2; 
        grid-row: 3 / 4;
    }

    .main {
        grid-area: "main";
        width: 100%;
        grid-column: 1 / 2; 
        grid-row: 3 / 5;
        padding-top: 60px;
        padding-bottom: 20px;
    }

    .content1 {
        grid-area: "content1";
        width: 100%;
        grid-column: 1 / 2; 
        grid-row: 6 / 7;
    }

    .content2 {
        grid-area: "content2";
        width: 100%;
        grid-column: 1 / 2; 
        grid-row: 6 / 7;
    }
}

@media screen and (max-width: 480px) {
    .container {
        display: grid;
        grid-template-columns: 12fr;
        grid-template-rows: 80px 50px 60px 500px auto 280px 60px;
        grid-template-areas:
            "header"
            "redes"
            "title"
            "main"
            "content1"
            "content2"
            "footer";
    }
    
    .redes {
        grid-area: "redes";
        width: 100%;
        grid-column: 1 / 2; 
        grid-row: 2 / 3;
    }

    .title {
        grid-area: "title";
        width: 100%;
        grid-column: 1 / 2; 
        grid-row: 3 / 4;
    }

    .main {
        grid-area: "main";
        width: 100%;
        grid-column: 1 / 2; 
        grid-row: 2 / 4;
        padding-top: 60px;
        padding-bottom: 20px;
    }

    .content1 {
        grid-area: "content1";
        width: 100%;
        grid-column: 1 / 2; 
        grid-row: 6 / 7;
    }

    .content2 {
        grid-area: "content2";
        width: 100%;
        grid-column: 1 / 2; 
        grid-row: 6 / 7;
    }
}