/*=============================================
BOLETÍN PROMOCIONAL
=============================================*/

.newsletter {
    background-image: url("../img/plantilla/img-boletin.jpg");
    background-size: cover;
    background-position: center;
    height: 500px;
    position: relative;
}

.container-promotional {   
    background: rgba(36, 34, 34, 0.5);
    color: #fff;
    height: 100%;    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.subscribe #send-email:hover,
.subscribe #send-email:focus {
    box-shadow: inset 0 3.25em 0 0 var(--hover);
}

.subscribe #send-email {
    --color: rgb(255, 255, 255);
    --hover: #be4d02;
}

.subscribe #send-email {
    color: var(--color);
    -webkit-transition: 0.25s;
    transition: 0.25s;
    background: #fa6200;
    border: none;
    font: inherit;
    margin-top: 10px;
}

.subscribe #send-email:hover,
.subscribe #send-email:focus {
    border-color: var(--hover);
    color: #fff;
}

.newsletter:hover #image-newsletter-background img {
    animation: scalesImg 5s ease-in-out alternate infinite;
    -webkit-animation: scalesImg 5s ease-in-out alternate infinite;
}

@keyframes scalesImg {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
    100% {
        transform: scale(1.2);
        -webkit-transform: scale(1.2);
    }
}

@keyframes scales {
    0% {
        transform: scale(1.2);
        -webkit-transform: scale(1.2);
    }
    100% {
        transform: scale(1.1);
        -webkit-transform: scale(1.1);
    }
}

.newsletter h4,
.newsletter p {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.email {
    padding: 0;
}

.email input {
    border: none;
    border-radius: 4px;
    padding: 10px;
}

.subscribe button {
    padding: 10px;
}

#promotional-text {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

/*=============================================
MEDIA QUERIES
=============================================*/

@media (min-width: 576px) { 
    .email input { width: 280px;}
    .subscribe #send-email{margin-top: 0;}
    .newsletter {
        height: 350px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
    .newsletter {
        height: 400px;
    }
    
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
   
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) { 
   
}
