@font-face {
    font-family: 'Arimo';
    /* The name you will use in your CSS */
    src: url('../../fonts/Arimo-VariableFont_wght.ttf') format('truetype-variations');
    /* The path to your variable font file */
    font-weight: 400 700;
    /* Define the range of weights available in the variable font file */
    font-style: normal;
    font-display: swap;
    /* Prevents text from being invisible while loading */
}

html {
    box-sizing: border-box;
    /* height: 1500px;   */
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

html,
body {
    margin: 0;
    min-height: 100%;
    /* background-color: #2b1a12; */
    background:
        url('../../images/bg4.jpg') top left repeat,
        /* url('../../images/bg2.jpg') bottom right repeat, */
        /* url('../../images/bg3.jpg')  bottom right repeat-x, */
        /* url('../../images/bg4.jpg') bottom right repeat-x, */
        #2b1a12;
    /* background-repeat: repeat; */
    min-height: 100vh;
    font-family: "Arimo", sans-serif;
}

#external {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#internal {
    position: relative;
    width: 722px;
    height: 567px;
    background-image: url('../../images/index.jpg');
}

#internal.nosotros {
    background-image: url('../../images/nosotros.jpg');
}

#internal a {
    color: #600000;
    font-weight: 700;
    font-size: 12px;
}

#menu {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 12px;
    padding-right: 20px;
}

#menu>a>img {
    display: block;
    width: 91px;
    height: 111px;
}

#menu>a>img:hover,
#menu>a>img.active {
    filter: brightness(1.3);
}

#welcome {
    position: absolute;
    top: 150px;
    left: 260px;
    width: 280px;
    font-size: 12px;
}

#welcome p.bold {
    font-family: "Arimo", sans-serif;
    font-weight: 700;
    color: #800000;
    font-size: 18px;
    margin: 0 0 10px 0;
}

#welcome p {
    line-height: 1;
    margin: 0 0 10px 0;
    color: #000000;
    text-align: justify;
}

#right-image {
    position: absolute;
    top: 164px;
    right: 58px;
    transform: rotate(1deg);
}

#andejo {
    position: absolute;
    bottom: 50px;
    left: 46px;
    width: 180px;
    font-size: 11px;
    transform: rotate(1deg);
}

#andejo img {
    display: block;
    /* margin-left: 6px; */
}

#andejo p {
    margin: 0 0 6px 0;
    color: #000000;
}

#andejo p.bold {
    font-family: "Arimo", sans-serif;
    font-weight: 700;
    color: #600000;
    font-size: 12px;
}

#resena {
    position: absolute;
    bottom: 40px;
    right: 60px;
    width: 140px;
    font-size: 11px;
    transform: rotate(1deg);
}


/* nosotros */
#nos-leftimg {
    position: absolute;
    top: 150px;
    left: 30px;
    width: 120px;
    height: 360px;
}

#nos-resena {
    position: absolute;
    top: 150px;
    left: 160px;
    width: 530px;
    font-size: 11px;
    overflow: auto;
    max-height: 360px;
    scrollbar-color: #600000 #D2B566;
    padding-right: 10px;
}

#nos-resena p {
    margin: 0 0 12px 0;
    color: #000000;
    font-size: 14px;
    text-align: justify;
}

#nos-resena p.bold {
    font-family: "Arimo", sans-serif;
    font-weight: 700;
    color: #600000;
    font-size: 16px;
    text-align: center;
}


/* end nosotros */

/* fotos */

#fotos {
    position: absolute;
    top: 150px;
    left: 160px;
    width: 530px;
    font-size: 11px;
    max-height: 360px;
    padding-right: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    align-items: center;
    justify-items: center;
}

#fotos p {
    margin: 0 0 12px 0;
    color: #663300;
    font-size: 16px;
    text-align: center;
    max-width: 225px;
}

#fotos p.bold {
    /* font-weight: 700; */
    color: #663300;
    font-size: 30px;
    text-align: center;
}

/* end fotos */

/* contacto */
#contacto-leftimg {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ------------------------------------------------------- */

.contacto_cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;

    /* grid-template-columns: 2fr 1fr 1fr 1fr; */
    /* flex-direction: row; */

    #form-container {
        flex-grow: 3;
    }

    #form-container.hide {
        display: none;
    }

    .contacto_text {
        width: 30%;
        display: flex;
        flex-direction: column;

        img {
            width: 80%;
            height: auto;
        }
    }

    #response_format {
        display: none;
    }

    #response_format.show {
        display: block;
        flex-basis: 1px;
        flex-grow: 3;
        margin: 0 10px;
    }

    #retry {
        border: 0;
        border-radius: 4px;
        width: 100px;
        height: 30px;
        color: white;
        background-color: #666;
        font-family: 'Roboto', sans-serif;
        font-weight: 700;
    }

    hr {
        max-width: 1px;
        margin: 0 10px;
    }

    #captcha {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    #captcha>input {
        height: 30px;
        border-radius: 4px;
        border: 1px solid #666;
        width: 100%;
        height: 50px;
    }

    /* form_contact */

    .contacto {
        gap: 30px;
    }

    .contacto p {
        /* font-size:0.9em; */
        margin-bottom: 5px;
    }

    /* #mail_result {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#mail_result>div {
    text-align: center;
} */

    .contacto_text {
        display: flex;
        gap: 20px;
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    #response {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: var(--color-triad);
        font-weight: 700;
    }

    form {
        display: grid;
        grid-template-columns: 10em 1fr;
        gap: 10px;
        align-items: center;
        justify-items: end;

        >label {
            grid-column: 1/2;
        }

        >input,
        >button,
        >div {
            grid-column: 2/3;
            font-family: 'Roboto', sans-serif;
            width: 100%;
        }

        >img {
            border: 1px solid black;
        }

        input#code {
            text-transform: uppercase;
            background-color: #D2B566;
            border: 1px solid #663300;
            color: #663300;
            font-size: 22px;
            font-weight: 700;
            padding: 2px;

        }

        img#refresh {
            cursor: pointer;
        }

        >textarea {
            height: 155px;
            resize: vertical;
            border-radius: 4px;
            width: 100%;
            background-color: #D2B566;
            border: 1px solid #663300;
            color: #663300;
            font-size: 14px;
            padding: 2px;

        }

        >input[type="text"] {
            height: 30px;
            border-radius: 4px;
            background-color: #D2B566;
            border: 1px solid #663300;
            color: #663300;
            font-size: 14px;
            padding: 2px;
        }

        >div>input[type="button"],
        >div>input[type="reset"] {
            border: 0;
            border-radius: 4px;
            width: 100px;
            height: 30px;
            color: #D2B566;
            background-color: #403939;
            font-family: 'Roboto', sans-serif;
            font-weight: 700;
        }

        >div>input[type="button"]:hover,
        >div>input[type="reset"]:hover {
            background-color: #663300;
        }

    }
}

/* End form_contact */

/* ------------------------------------------------------- */
/*end contacto */

#footer {
    width: 100%;
    height: 40px;
    justify-content: center;
    align-items: center;
}

#footer p {
    color: #D2B566;
    font-size: 10px;
    text-align: center;
    margin: 10px 0 0 0;
}

#footer a {
    color: #D2B566;
}