.product {
    width: 100%;
    text-align: center;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}

.gallery {
    width: 100%;
    height: 400px;
}

.galleryContainer {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#productImage1 {
    width: 45%;
    height: 100%;

    background-image: url(../images/logococinarte.jpg);
    /* IMAGEN 1 */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#container1 {
    width: 53.3%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#productImage2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;

    background-image: url(../images/logoadd.jpg);
    /* IMAGEN 2 */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#container2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 35%;
    flex: 0 0 35%;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

#productImage3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 31%;
    flex: 0 0 31%;

    background-image: url(../images/logocima.jpg);
    /* IMAGEN 3 */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#productImage4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 31%;
    flex: 0 0 31%;

    background-image: url(../images/download.png);
    /* IMAGEN 4 */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#productImage5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 31%;
    flex: 0 0 31%;

    background-image: url(../images/download.png);
    /* IMAGEN 5 */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.gallery .productVideo .inage {
    cursor: pointer;
}

.productVideo .video .inage {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 300;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-transition: 0.6s;
    transition: 0.6s;
}

.productVideo.fullscreen .video .inage {
    visibility: visible;
    opacity: 1;
    background-color: black;
}

.video video .inage {
    display: none;
}

.productVideo.fullscreen .video video .inage {
    display: block;
    width: 100%;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    max-height: 100%;
    max-height: 100vh;
    max-height: calc(var(--vh, 1vh) * 100);
}

.productVideo .video img .inage {
    width: 30px;
    position: absolute;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 4vh;
    right: 4vh;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    -webkit-filter: invert();
    filter: invert();
    cursor: pointer;
}

.productVideo .video img:hover .inage {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.productDescription {
    width: 100%;
    padding-top: 40px;
    font-family: 'kanit_r', sans-serif;
    font-weight: bold;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.textContainer1 {
    width: 100%;
    text-align: center;
}

.textContainer2 {
    width: 24.5%;
    text-align: end;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.productName {
    font-size: 2.8rem;
    margin-bottom: 50px;
}

.description {
    font-size: 1.4rem;
    line-height: 2.2rem;
}

.price {
    font-size: 1.7rem;
    margin-bottom: 50px;
    margin-top: 12px;
    line-height: 2.2rem;
}

.specs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.arrow {
    width: 120px;
    -webkit-filter: invert();
    filter: invert();
    cursor: pointer;
}

.videoContainer  {
    width: 100%;
    height: 700px;
    margin: 50px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
}

.videoContainer .subtitle {
    width: 100%;
    max-width: 1200px;
    margin-top: 10px;
    text-align: start;
    font-family: 'kanit_li', sans-serif;
    position: absolute;
    bottom: -5%;
}

.videoContainer img {
    cursor: pointer;
    width: 100%;
    max-width: 1200px;
}

.videoTextContainer {
    position: absolute;
    width: 25%;
    height: 25%;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    padding: 0;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    border: 2px solid transparent;
}

.videoTextContainer::before,
.videoTextContainer::after,
.videoText::before,
.videoText::after {
    display: block;
    content: "";
    width: 3vw;
    height: 3vw;
    position: absolute;
}

.videoTextContainer::before {
    top: -1px;
    left: -1px;
    border-top: 1px solid white;
    border-left: 1px solid white;
    -webkit-transition: 0.5s all;
    transition: 0.5s all;
}

.videoTextContainer::after {
    top: -1px;
    right: -1px;
    border-top: 1px solid white;
    border-right: 1px solid white;
    -webkit-transition: 0.5s all;
    transition: 0.5s all;
}

.videoText::before {
    bottom: -1px;
    left: -1px;
    border-bottom: 1px solid white;
    border-left: 1px solid white;
    -webkit-transition: 0.5s all;
    transition: 0.5s all;
}

.videoText::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 1px solid white;
    border-right: 1px solid white;
    -webkit-transition: 0.5s all;
    transition: 0.5s all;
}

.videoTextContainer:hover::before,
.videoTextContainer:hover::after {
    width: 70%;
    height: 70%;
}

.videoTextContainer:hover .videoText::before,
.videoTextContainer:hover .videoText::after {
    width: 70%;
    height: 70%;
}

.videoText {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.videoTitle {
    margin-bottom: 5px;
    font-family: 'kanit_r', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
}

.videoSubtitle {
    font-family: 'kanit_li', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
}

.productText {
    width: 100%;
    padding-top: 50px;
    font-family: 'kanit_r', sans-serif;
    font-weight: bold;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.longDescription {
    font-size: 1.2rem;
    line-height: 2rem;
}

.rental h2 {
    font-size: 1.7rem;
    margin-bottom: 50px;
}

.back {
    font-family: 'kanit_m', sans-serif;
    font-size: 1.3rem;
    color: black;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    margin-top: 120px;
}

.dark .back {
    color: white;
}

.back:hover {
    color: var(--rojo);
}

.endText {
    font-family: 'kanit_r', sans-serif;
    font-weight: bold;
    margin: 130px 0;
}

.endText h2 {
    font-size: 1.7rem;
}

.endText p {
    font-size: 1.3rem;
}

.specsMobile,
.rentalMobile {
    display: none;
}

iframe {
    width: 100% !important;
    height: 100% !important;
}



@media (max-width: 1024px) {

    .gallery {
        height: 460px;
        overflow-x: scroll;
        position: relative;
    }

    .galleryContainer {
        width: 190%;
    }

    #productImage1 {
        height: 100%;
    }

    .productDescription {
        padding-top: 50px;
    }

    .productName {
        font-size: 3.3rem;
        line-height: 4.2rem;
        margin-bottom: 60px;
    }

    .description {
        font-size: 1.5rem;
    }

    .price {
        font-size: 2rem;
        margin-top: 18px;
        line-height: 2.5rem;
        margin-bottom: 60px;
    }

    .specs {
        font-size: 1.3rem;
    }

    .arrow {
        width: 150px;
    }

    .longDescription {
        font-size: 1.3rem;
        line-height: 2.2rem;
    }

    .rental h2 {
        font-size: 1.8rem;
        margin-bottom: 2.5vh;
    }

    .rentalIncludes {
        font-size: 1.2rem;
    }

    .endText h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .endText p {
        font-size: 1.5rem;
    }

    .textContainer1 {
        width: 58%;
    }

    .textContainer2 {
        width: 30%;
    }

    .back {
        font-size: 1.7rem;
    }

    .videoContainer {
        height: 50vw;
    }

    .videoTextContainer {
        width: 50%;
        height: 25%;
    }

    .videoTitle {
        font-size: 1.8rem;
    }

    .videoSubtitle {
        font-size: 1.3rem;
    }

    .videoTextContainer:hover::before,
    .videoTextContainer:hover::after {
        width: 3vw;
        height: 3vw;
    }

    .videoTextContainer:hover .videoText::before,
    .videoTextContainer:hover .videoText::after {
        width: 3vw;
        height: 3vw;
    }

    .content .video img {
        visibility: visible !important;
        display: block !important;
        pointer-events: none;
    }

    .fullscreen .video img {
        pointer-events: all;
    }

    .videoContainer .subtitle {
        margin-top: 15px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {

    .gallery {
        height: 350px;
    }

    .productDescription {
        padding-top: 40px;
    }

    .productName {
        font-size: 2.5rem;
        line-height: 3.2rem;
        margin-bottom: 50px;
    }

    .description {
        font-size: 1.2rem;
        line-height: 2rem;
    }

    .price {
        font-size: 1.7rem;
        margin-top: 5px;
        line-height: 2.2rem;
        margin-bottom: 50px;
    }

    .specs {
        font-size: 1.2rem;
    }

    .arrow {
        width: 120px;
    }

    .longDescription {
        font-size: 1.1rem;
        line-height: 1.8rem;
    }

    .rental h2 {
        font-size: 1.4rem;
    }

    .rentalIncludes {
        font-size: 1rem;
    }

    .endText h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .endText p {
        font-size: 1.2rem;
    }

    .back {
        font-size: 1.4rem;
    }

    .videoContainer {
        height: 53vw;
    }

    .videoTextContainer {
        width: 35%;
        height: 25%;
    }

    .videoTitle {
        font-size: 1.5rem;
    }

    .videoSubtitle {
        font-size: 1.1rem;
    }

    .videoContainer .subtitle {
        margin-top: 10px;
        font-size: 1rem;
    }
}

@media (max-width: 650px) {

    .content {
        height: 78%;
        height: 78vh;
        height: calc(var(--vh, 1vh) * 78);
        width: 100%;
        margin-top: 2vh;
    }

    .product {
        width: 100%;
    }

    .gallery {
        height: 280px;
    }

    .productName {
        margin-bottom: 20px;
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .productDescription {
        width: 90%;
        margin: auto;
        padding-top: 25px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .price {
        text-align: center;
        font-size: 1.4rem;
        line-height: 1.9rem;
        margin-top: 50px;
        color: var(--rojo);
    }

    .videoContainer {
        height: 80vw;
    }

    .videoContainer .subtitle {
        padding: 0 5%;
        width: 90%;
    }

    .productText {
        width: 90%;
        margin: auto;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .textContainer1,
    .textContainer2 {
        width: 100%;
    }

    .rental,
    .rentalIncludes,
    .specs {
        display: none;
    }

    .rentalMobile,
    .rentalMobile .rentalIncludes,
    .rentalMobile .specs {
        display: block;
    }

    .specsMobile {
        display: block;
        font-family: 'kanit_li', sans-serif;
        font-size: 1rem;
        margin-bottom: 40px;
        width: 90%;
    }

    .rentalMobile,
    .rentalIncludes {
        margin-top: 20px;
    }

    .rentalMobile {
        margin-bottom: 50px;
    }

    .arrow {
        pointer-events: none;
    }

    .back {
        margin-top: 80px;
        text-align: center;
    }

    .videoTextContainer {
        width: 65%;
        height: 45%;
    }

    .videoTitle {
        font-size: 1.3rem;
        text-align: center;
    }

    .videoSubtitle {
        font-size: 1rem;
    }

}

@media (max-width: 400px) {

    .productDescription {
        padding-top: 20px;
    }

    .productName {
        font-size: 1.8rem;
        line-height: 2.3rem;
    }

    .description {
        font-size: 1rem;
        line-height: 1.8rem;
    }

    .price {
        font-size: 1.2rem;
        line-height: 1.6rem;
    }

    .rentalMobile h2 {
        font-size: 1.3rem;
    }

    .videoContainer .subtitle {
        font-size: 0.8rem;
    }

    .longDescription {
        font-size: 1rem;
    }

    .endText h2 {
        font-size: 1.3rem;
    }

    .endText p {
        font-size: 1rem;
    }
}
