@font-face {
    font-family: "Wagner";
    src: url("../fonts/NTWagner.otf") format("opentype"),
        url("../fonts/NTWagner.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}
h1,
h2,
#nosotros h4,
header p:first-of-type,
#productos span:first-of-type,
#populares h3 {
    font-family: "Wagner" !important;
}

.section-contact header p {
    font-family: "Poppins" !important;
    color: white;
}

.category-1 .gallery__item__inner {
    background-color: #aedee0;
}

.category-1 .gallery__item__title,
.category-1 .gallery__item__subtitle {
    color: #fab216;
}

.category-2 .gallery__item__inner {
    background-color: #faf5d7;
}

.category-2 .gallery__item__title,
.category-2 .gallery__item__subtitle {
    color: #f13802;
}

.category-3 .gallery__item__inner {
    background-color: #fab216;
}

/* .category-3 .gallery__item__title,
.category-3 .gallery__item__subtitle {
    color: #8dc540;
} */

.category-4 .gallery__item__inner {
    background-color: #fff393;
}

.category-4 .gallery__item__title,
.category-4 .gallery__item__subtitle {
    color: #c48fbf;
}

.gallery--style-1 .gallery__item figure .gallery__item__description {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    text-align: left;
    opacity: 1;
}
.gallery--style-1 .gallery__item img {
    opacity: 0.8;
}
.gallery--style-1 .gallery__item:hover figure .gallery__item__description {
    opacity: 0;
}
.gallery--style-1 .gallery__item:hover img {
    opacity: 1;
}

#call-to-action .section-banner__title,
#call-to-action h4 {
    color: white !important;
}

#call-to-action .custom-btn {
    background-color: #ed1c24;
    color: white;
}

iframe {
    width: 100%;
    height: 641px;
    max-width: 1140px;
}

.video-2 iframe,
.video-3 iframe,
.video-4 iframe {
    height: 312px;
}

#lista-recetas {
    overflow-x: hidden;
    white-space: nowrap;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    /* max-width: 1140px; */
    width: 100%;
    position: relative;
    scroll-snap-type: y proximity;
    white-space: nowrap;
    scroll-behavior: smooth;
}

.receta {
    scroll-snap-align: start;
}

.btn-recetas {
    position: absolute;
    z-index: 1000;
    top: 204px;
    max-width: 1140px;
    width: 100%;
}

.btn-recetas-prev {
    background-image: url(../images/arrow-left.png);
    background-repeat: no-repeat;
    width: 56px;
    height: 56px;
    background-size: cover;
    font-size: 0px;
    opacity: 0.5;
    cursor: pointer;
}

.btn-recetas-next {
    background-image: url(../images/arrow-right.png);
    background-repeat: no-repeat;
    width: 56px;
    height: 56px;
    background-size: cover;
    font-size: 0px;
    opacity: 0.5;
    cursor: pointer;
}

.btn-recetas-prev:hover,
.btn-recetas-next:hover {
    opacity: 1;
}

.subtitle-2 {
    letter-spacing: 2px !important;
}

.li-language {
    margin-top: -12px !important;
    border: 0px solid transparent;
}

@media screen and (max-width: 1200px) {
    iframe {
        height: 523px;
    }

    .video-2 iframe,
    .video-3 iframe,
    .video-4 iframe {
        height: 253px;
    }

    .btn-recetas {
        top: 171.5px;
        max-width: 930px;
    }

    .nosotros-img {
        margin: auto 0;
    }
}

@media screen and (max-width: 992px) {
    iframe,
    .video-4 iframe {
        height: 388px;
    }

    .video-4 {
        margin-top: 0px !important;
    }

    .video-2 iframe,
    .video-3 iframe {
        height: 186px;
    }

    .btn-recetas {
        top: 190px;
        max-width: 690px;
    }

    /* Navbar */

    .top-bar-recipe li:not(.li-language) {
        margin-top: -16px !important;
    }

    .top-bar-recipe li a {
        font-size: 1.2rem !important;
    }

    .top-bar-recipe li.li-btn {
        float: none !important;
    }

    .li-language {
        margin-top: -1px !important;
    }
}

@media screen and (max-width: 767px) {
    iframe,
    .video-2 iframe,
    .video-3 iframe,
    .video-4 iframe {
        height: 287px;
    }

    .video-2 {
        padding-bottom: 0px !important;
    }

    .video-4 {
        margin-top: 3rem !important;
    }

    .btn-recetas {
        top: 242px;
        max-width: 510px;
    }

    .top-bar-recipe li a {
        font-size: 1.3rem !important;
    }

    .top-bar-recipe li:not(.li-language) {
        margin-top: 15px !important;
    }

    .li-language .flag {
        margin-left: auto;
        margin-right: auto;
    }

    .rsSlide:before {
        content: "";
        background: #333;
        width: 100%;
        height: 100%;
        z-index: 99;
        position: absolute;
        display: block;
        opacity: 0.5;
    }
}

@media screen and (max-width: 575px) {
    .btn-recetas {
        margin-top: -28px;
        max-width: calc(100% - 30px);
    }
}

.section-contact [class*=" col-"]:first-child .item, .section-contact [class^="col-"]:first-child .item {
    margin-left: auto;
    margin-right: auto;
}

.flag {
    width: 30px;
}

audio {
    display: none;
}

#playPauseBtn {
    position: fixed;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    bottom: 3%;
    right: 1%;
    display: block;
    background-color: rgb(231, 231, 231);
}

.section-contact form.f1 .textfield, .section-contact form.f1 .textfield::placeholder{
    color: white;
}

.start-screen__content.active {
    background: rgb(15 15 15 / 22%);
}

#boxer .boxer-control.next {
    right: 3px;
}

#boxer .boxer-control.next:before {
    margin-right: 10px;
}

#boxer .boxer-control.previous {
    left: 3px;
}

#boxer .boxer-control.previous:before {
    margin-left: 10px;
}

#boxer .boxer-control {
    width: 35px;
    height: 35px;
}

#boxer.mobile {
   z-index: 1001;
}

@media screen and (max-width: 768px)  {
    #top-bar__navigation ul {
        text-align: left !important;
    }
    
    #top-bar__navigation:before {
        height: 50vh !important;
    }
    
    #top-bar__navigation {
        left: 5% !important;
        text-align: left !important;
    }

    #vegas-slider .vegas-control__btn {
        display: none;
    }

    .start-screen__content .title {
        line-height: 1;
    }
}

@media screen and (max-width: 400px){
    .gallery__item figure .gallery__item__title {
        font-size: 1.5rem;
    }

    .gallery__item figure .gallery__item__description {
        padding: 1rem;
    }
}
#btn-to-top{
    display: none;
}

.start-screen__content .title {
    line-height: 1 !important;
}
