@import url('fonts.css');

html {
    scroll-behavior: smooth;
}

hr {
    min-width: 300px;
    max-width: 470px;
    border: none;
    outline: 1px solid black;
    margin-bottom: 15%; 
}

body {
    position: relative;
}

.whatsapp-fixed {
    position: fixed;
    z-index: 5;
    bottom: 10px;
    right: 5px;
}

.whatsapp-fixed img {
    width: 100px;
    height: 100px;
}

/*****************/
/**Sección baner**/
/*****************/

.banner {
    background: url('../img/IMG_9949.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.banner__fondo {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: black;
    opacity: 0.3;
}

.banner__img {
    width: 230px;
    z-index: 2;
}

.banner__titulo {
    font-family: Gilroy;
    font-size: 2.6rem;
    color: rgb(243, 243, 244);
    text-align: center;
    margin: 30px;
    z-index: 2;
}

.banner__button {
    font-family: Gilroy;
    font-weight: 400;
    color: rgb(243, 243, 244);;
    border-radius: 0px;
    border: 1px solid rgb(243, 243, 244);;
    background-color: black;
    padding: 10px 60px;
    cursor: pointer;
    z-index: 2;
    text-decoration: none;
}

.banner__buttonDown {
    position: absolute;
    bottom: 35px;
    z-index: 2;
}

.banner__buttonDown img {
    width: 50px;
    filter: invert(100%);
}

/**************************/
/**Sección Sobre Nosotros**/
/**************************/

main {
    padding: 20px;
}

.sobreNosotros {
    display: flex;
    flex-wrap: wrap;
    padding: 0 5%;
}

.sobreNosotros__descripcion {
    flex-grow: 2;
    width: 320px;
    padding: 10% 10% 10% 3%;
}

.descripcion__titulo {
    font-family: Gilroy;
    font-size: 2rem;
    font-weight: bold;
    color: black;
}

.descripcion__parrafo {
    font-family: Gilroy;
    font-size: 1rem;
    color: black;
}

.sobreNosotros__img {
    width: 320px;
    flex-grow: 1;
    padding: 10% 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sobreNosotros__img img {
    width: 80%;
    height: auto;
    box-shadow: 0px 0px 30px 0px gray;
}

/********************/
/**Sección Slider**/
/********************/

.slider {
    padding: 0 4%;
}

.slider__item {
    width: 250px;
    height: auto;
    margin: auto;
}

.slick-next {
    right: 40px !important;
    z-index: 3;
}

.slick-prev {
    left: 30px !important;
    z-index: 3;
}

.slick-prev::before {
    font-size: 40px !important;
    background: url('../img/chevron-left.svg') center / cover no-repeat;
    color: transparent !important;
}

.slick-next::before {
    font-size: 40px !important;
    background: url('../img/chevron-right.svg') center / cover no-repeat;    
    color: transparent !important;
}

.slick-dots {
    bottom: -70px !important;
    right: 8px !important;
}

.slick-dots li button {
    border: 1px solid black !important;
}

.slick-dots li.slick-active button::before {
    background-color: black !important;
}

/********************/
/**Sección Contacto**/
/********************/

.contacto {
    display: flex;
    flex-wrap: wrap;
    padding: 10% 0px;
}

.contacto__item {
    flex-grow: 1;
    width: 320px;
    margin: 30px 0;
    text-align: center;
    display: block;
    font-family: Gilroy;
    font-size: 1rem;
}

.contacto__item img {
    width: 60px;
    margin: 10px 0px;
}

.contacto__item a {
    display: block;
    text-decoration: none;
    color: black;
}

.contacto__item p {
    margin: 0;
    color: black;
}

/**************/
/**Formulario**/
/**************/

form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 100px;
    grid-column-gap: 6%;
    grid-row-gap: 20px;    
    background-color: black;
    font-family: Gilroy;
    color: rgb(243, 243, 244);
    padding: 7% 10%;
}

.formulario__titulo {
    grid-column: 1/3;
    grid-row: 1;
    text-align: center;
}

.formulario__columns {
    /* margin: 0 auto; */
    display: flex;
    flex-direction: column;
}

.columns__item label {
    /* display: block; */
    font-size: 1.3rem;
}

.columns__item {
    display: flex;
    flex-direction: column;
}

.columns__item input {
    background-color: transparent;
    color: rgb(243, 243, 244);
    font-size: 1.3rem;
    border-top: none;
    border-right: none;
    border-left: none;
    padding: 20px;
    margin-bottom: 10px;
}

.formulario__textarea {
    grid-column: 1/3;
    grid-row: 3;
    display: flex;
    flex-direction: column;
}

.formulario__textarea label {
    /* display: block; */
    font-size: 1.3rem;
}

.formulario__textarea textarea {
    height: 80%;
    background-color: transparent;
    border-top: none;
    border-right: none;
    border-left: none;
    color: rgb(243, 243, 244);
    font-size: 1.3rem;
    resize: none;
}

.formulario__button {
    grid-column: 1/3;
    grid-row: 4;
    text-align: right;
}

.formulario__button button {
    color: rgb(243, 243, 244);
    background-color: transparent;
    padding: 5px 35px 5px 150px;
    cursor: pointer;
    font-weight: 400;
    border-radius: 0px;
    border: 1px solid rgb(243, 243, 244);;
    background-color: black;
}

/**********/
/**Footer**/
/**********/

footer {
    display: flex;
    flex-wrap: wrap;
    font-family: Gilroy;
}

.footer__parrafo--left {
    flex-grow: 5;
    width: 320px;
    padding-left: 5%;
    color: black;
}

.footer__parrafo--right {
    flex-grow: 1;
    background-color: black;
    color: rgb(243, 243, 244);
    width: 320px;
    text-align: center;
}

.footer__parrafo--right a {
    color: rgb(243, 243, 244);
    text-decoration: none;
}

@media screen and (max-width: 673px) {
    .footer__parrafo--right {
        text-align: left;
        padding-left: 5%
    } 

    .formulario__columns {
        grid-column: 1/3;
    } 
    
    .formulario__button {
        grid-row: 5;
    }
    
    .formulario__textarea {
        grid-row: 4;
    }

    .sobreNosotros {
        padding: 0px;
    }

    .sobreNosotros__descripcion {
        padding: 0px;
    }

    .slick-next {
        right: 20px !important;
    }

    .slick-prev {
        left: 8px !important;
    }
};