/* Google Font Monserrat*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
    font-family: 'Montserrat', sans-serif;
}

a{
    text-decoration: none;
}

.container {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.section-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .2rem;
    text-align: center;
}

.section-title span {
    color: red;
}

.brand h1{
    font-size: 3rem;
    text-transform: uppercase;
    color: white;
}

.brand h1 span{
    color: red;
}

/* Navbar*/
#header {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: auto;
}

#header .header {
    min-height:  8vh;
    background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
}

#header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    max-width: 1300px;
    padding: 0 10px;
}

#header .navlist ul {
    list-style: none;
    position: absolute;
    background-color: rgb(50, 20, 30);
    width: 100vw;
    height: 100vh;
    left: 100%;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    overflow-x: hidden;
    transition: .3s ease left;
}

#header .navlist ul.active {
    left: 0;
}

#header .navlist ul a{
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: .1rem;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    padding: 15px;
    display: block;
}

#header .navlist ul a::after {
    content: attr(data-after);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: rgba(240, 248, 255,0.02);
    font-size: 12rem;
    letter-spacing: 50px;
    z-index: -1;
    transition: .3s ease letter-spacing;
}

#header .navlist ul li:hover a::after {
    transform: translate(-50%, -50%) scale(1);
    letter-spacing: initial;
}

#header .navlist ul li:hover a {
    color:red;
}

#header .hamburger {
    height: 60px;
    width: 60px;
    display: inline-block;
    border: 3px solid white;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    cursor: pointer;
    transform: scale(.8);
    margin-right: 20px;
}

#header .hamburger:after {
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    border-radius: 50%;
    border: 3px solid white;
    animation: hamburger_puls 3s ease infinite;
}

#header .hamburger .bar {
    height: 2px;
    width: 30px;
    position: relative;
    background-color: white;
    z-index: -1;
}

#header .hamburger .bar::after,
#header .hamburger .bar::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    background-color: white;
    transition: .3s ease;
    transition-property: top, bottom;
}

#header .hamburger .bar::after {
    top: 8px;
}

#header .hamburger .bar::before {
    bottom: 8px;
}

#header .hamburger.active .bar::after {
    top: 0;
}

#header .hamburger.active .bar::before {
    bottom: 0;
}

@keyframes hamburger_puls {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}


/* Principal */
#principal {
    background-image: url(../img/london-3794348_1920.jpg);
    background-size: cover;
    background-position: top center;
    position: relative;
    z-index: 1;
}

#principal::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: .5;
    z-index: -1;
}

#principal .principal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    justify-content: flex-start;
}

#principal h1 {
    display: block;
    width: fit-content;
    font-size: 4rem;
    position: relative;
    color: transparent;
    animation: text_reveal .5s ease forwards;
    animation-delay: 1.5s;
}

#principal h1:nth-child(1) {
    animation-delay: 1.5s;
}

#principal h1:nth-child(2) {
    animation-delay: 2.5s;
}

#principal h1:nth-child(3) {
    animation-delay: 3.5s;
}

#principal h1 span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: red;
    animation: text_reveal_box 1s ease;
    animation-delay: 1s;
}

#principal h1:nth-child(1) span {
    animation-delay: 1s;
}

#principal h1:nth-child(2) span {
    animation-delay: 2s;
}

#principal h1:nth-child(3) span {
    animation-delay: 3s;
}

#principal .btn {
    display: inline-block;
    padding: 10px 30px;
    color: white;
    background-color: transparent;
    border: 2px solid red;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: .1rem;
    margin-top: 30px;
    transition: .3s ease;
    transition-property: background-color, color;
}

#principal .btn:hover {
    color: white;
    background-color: red;
}

/* Animación Principal Keyframe*/
 @keyframes text_reveal_box {
     50% {
         width: 100%;
         left: 0;
     }
     100% {
         width: 0;
         left: 100%;
     }
 }

 @keyframes text_reveal {
    100% {
        color: white;
    }
 }

/* Fin Principal*/

/* Propiedades */

#productos .productos {
    flex-direction: column;
    text-align: center;
    max-width: 1500px;
    margin: 0 auto;
    padding: 100px 0;
}

#productos .prod-top p {
    font-size: 1.4rem;
    margin-top: 5px;
    line-height: 2.5rem;
    font-weight: 300px;
    letter-spacing: .05rem;
}

#productos .prod-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

#productos .prod-item {
    flex-basis: 80%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    border-radius: 10px;
    background-size: cover;
    margin: 10px 5%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}


#productos .prod-item:nth-child(1) {
    background-image: url(../img/colaboracion-empresas-caos.png);
}

#productos .prod-item:nth-child(2) {
    background-image: url(../img/audio_bg.jpg);
}

#productos .prod-item:nth-child(3) {
    background-image: url(../img/vw.jpg);
}

#productos .prod-item:nth-child(4) {
    background-image: url(../img/vv.jpg);
}

#productos .prod-item:nth-child(5) {
    background-image: url(../img/el.jpg);
}

#productos .prod-item:nth-child(6) {
    background-image: url(../img/senalav.jpg);
}

#productos .prod-item:nth-child(7) {
    background-image: url(../img/cubby.jpg);
}

#productos .prod-item:nth-child(8) {
    background-image: url(../img/agendamiento.jpg);
}


#productos .prod-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
    opacity: .6;
    z-index: -1;
}

.productos .prod-bottom .icon {
    height: 96px;
    width: 96px;
    margin-bottom: 20px;
}

#productos .prod-item h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
    text-transform: uppercase;
}

#productos .prod-item p {
    font-size: 1.4rem;
    color: white;
    text-align: left;
    line-height: 1.9rem;
}

/* Ubicacion */
#ubicacion .ubicacion {
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}

#ubicacion .ubic-header h1 {
    margin-bottom: 50px;

}

#ubicacion .ubicaciones {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#ubicacion .ubic-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 80%;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
}

#ubicacion .ubic-info {
    padding: 30px;
    flex-basis: 50%;
    background-color: white;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
    color: white;
}

#ubicacion .ubic-info h1 {
    font-size: 4rem;
    font-weight: 500;
}

#ubicacion .ubic-info h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-top: 10px;
}

#ubicacion .ubic-img {
    flex-basis: 50%;
    height: 300px;
    overflow: hidden;
}

#ubicacion .ubic-img:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
    opacity: .7;
}

#ubicacion .ubic-img img {
    transition: .3s ease transform;
}

#ubicacion .ubic-item:hover .ubic-img img {
    transform: scale(1.1);
}

/* Variedades*/
#variedades .variedades {
    flex-direction: column-reverse;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

#variedades .col-left{
    width: 250px;
    height: 360px;
}

#variedades .col-left .var-img {
    border-radius: 10px;
    background-size: cover;
    margin: 10px 5%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#variedades .col-right {
    width: 100%;
}

#variedades .col-right h2 {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: .2rem;
    margin-bottom: 10px;
}

#variedades .col-right p {
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: balck;
    line-height: 1.9rem;
}

#variedades .btn {
    display: inline-block;
    padding: 10px 30px;
    color: black;
    background-color: transparent;
    border: 2px solid red;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: .1rem;
    margin-top: 30px;
    transition: .3s ease;
    transition-property: background-color, color;
    margin-bottom: 50px;
}

#variedades .btn:hover {
    color: white;
    background-color: red;
}

/* Noticias*/
#noticias {
    background-color: #d4eba6;
}

#noticias .noticias {
    flex-direction: column-reverse;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

#noticias .var-img {
    border-radius: 10px;
    background-size: cover;
    margin: 10px 5%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

@media only screen and (max-width: 1920px) {
    video {
        width: 40%;
        justify-content: space-between;
        padding: 1%;
    }
}

@media only screen and (max-width: 1080px) {
    video {
        width: 90%;
    }
}

#noticias .col-right h2 {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: .2rem;
    margin-bottom: 10px;
}

#noticias .col-right p {
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: balck;
    line-height: 1.9rem;
}

#noticias .btn {
    display: inline-block;
    padding: 10px 30px;
    color: black;
    background-color: transparent;
    border: 2px solid red;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: .1rem;
    margin-top: 30px;
    transition: .3s ease;
    transition-property: background-color, color;
    margin-bottom: 50px;
}

#noticias .btn:hover {
    color: white;
    background-color: red;
}

/*Contacto*/

#contacto {
    background-color: #d4eba6;
}

#contacto .contacto {
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

.container .form .form-header .form-title {
    font-size: 2rem;
    color: white;
    padding: 20px 0px;
}

.container .form {
    background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 5px 35px;
    border-radius: 10px;
}

.container .form .form-label {
    font-size: 1.5rem;
    padding: 0px;
    flex-basis: 50%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    color: white;
}

.container .form .form-input, .form-textarea {
    width: 90%;
    border: none;
    border-bottom: 2px solid red;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 3px;
    font-family: Roboto;
}

.container .form .form-textarea {
    resize: vertical;
    max-height: 200px;
    min-height: 50px;
}

.container .form .btn-submit {
    display: inline-block;
    padding: 10px 30px;
    color: white;
    background-color: transparent;
    border: 2px solid red;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: .1rem;
    margin-top: 30px;
    transition: .3s ease;
    transition-property: background-color, color;
    margin-bottom: 20px;
}

.container .form .btn-submit:hover {
    color: white;
    background-color: red;
}

/*Contacto*/
#imc .imc {
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer */
#footer {
    background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
}

#footer .footer{
    min-height: 200px;
    flex-direction: column;
    padding-top: 50px;
    padding-bottom: 10px;
}

#footer h2 {
    color: white;
    font-weight: 500;
    font-size: 1.8rem;
    letter-spacing: .1rem;
    margin-top: 10px;
    margin-bottom: 10px;
}

#footer p {
    color: white;
    font-size: 1.3rem;
}

/* Media Query para Tablet*/
@media only screen and (min-width:768px){
    #principal .btn {
        font-size: 2.5rem;
        padding: 20px 60px;
    }

    #variedades .btn {
        font-size: 2.5rem;
        padding: 20px 60px;
    }

    #contacto .form .btn-submit {
        font-size: 2.5rem;
        padding: 20px 60px;
    }

    h1.section-title {
        font-size: 6rem;
    }

    #principal h1 {
        font-size: 7rem;
    }

    #propiedades .prop-bottom .prop-item {
        flex-basis: 45%;
        margin: 2%; /*los encuadro */

    }

    #ubicacion .ubic-item {
        flex-direction: row;
    }

    #ubicacion .ubic-item:nth-child(even) {
        flex-direction: row-reverse;
    }

    #ubicacion .ubic-item {
        height: 400px;
        margin: 0;
        width: 100%;
        border-radius: 10px;
    }

    #ubicacion .ubicaciones .ubic-info {
        height: 100%;
    }

    #ubicacion .ubicaciones .ubic-img {
        height: 100%;
    }

    #variedades .variedades {
        flex-direction: row;
    }

    #variedades .col-left {
        width: 600px;
        height: 400px;
        padding-left: 60px;
    }

    #variedades ,.col-right {
        text-align: left;
        padding: 30px;
    }

    #variedades .col-right h1 {
        text-align: left;
    }
}

/* Media Query para Desktop*/
@media only screen and (min-width:1200px) {

    #header .hamburger {
        display: none;
    }

    #header .navlist ul {
        position: initial;
        display: block;
        height: auto;
        width: fit-content;
        background-color: transparent;
    }

    #header .navlist ul li {
        display: inline-block;
    }

    #header .navlist ul li a {
        font-size: 1.8rem;
    }

    #header .navlist ul a:after {
        display: none;

    }

    #productos .prod-bottom .prod-item {
        flex-basis: 22%;
        margin: 1.5%;
    }
}
