* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
nav {
    position: relative;
    z-index: 10;
    left: 0;
    right: 0;
    top: 0;
    font-family: ARIAL;
    padding: 0 5%;
    height: 100px;
    background-color: #2d4f79;
}

nav .logo {
    float: left;
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
    text-transform: uppercase;
}

nav .list {
    float: right;
    padding: 0;
    margin: 0;
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .list li {
    list-style: none;
}

@font-face {
    font-family: Corbel;
    src: url(CorbelItalic.ttf);
}

nav .list a {
    font-family: Corbel;
    display: block;
    text-transform: uppercase;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #ffff;
    text-decoration: none;
}

nav .list a:hover {
    border-bottom: 4px solid #62bb51;
}

#toggle {
    position: absolute;
    top: -100px;
}

nav .icon-bars {
    display: none;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

nav .icon-bars .line {
    width: 30px;
    height: 5px;
    background-color: #ffff;
    margin: 5px;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 1250px) {
    nav .logo {
        float: none;
        width: auto;
        justify-content: center;
    }

    nav .list {
        float: none;
        position: fixed;
        z-index: 9;
        left: 0;
        right: 0;
        top: 100px;
        bottom: 100%;
        width: auto;
        height: auto;
        flex-direction: column;
        justify-content: space-evenly;
        background-color: #2d4f79;
        overflow: hidden;
        transition: all 0.5s ease-in-out;
    }

    nav .list a {
        font-size: 20px;
    }

    nav :checked ~ .list {
        bottom: 0;
    }
    nav .icon-bars {
        display: block;
    }
}

.container {
    padding: 60px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    align-content: center;
    overflow: hidden;
}

.item-0 {
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
    height: 40%;
    width: 30%;
}

.item-1 {
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
    height: 40%;
    width: 30%;
}

@media (max-width: 1250px) {
    .container {
        display: block;
    }
    .item-0,
    .item-1 {
        width: 100%;
    }
}

.send-btn {
    background: #62bb51;
    color: #fff;
    font-family: 'Noto Sans Georgian', sans-serif;
    font-size: 20px;
    width: 250px;
    height: 50px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.send-btn:hover {
    font-family: 'Alexandria', sans-serif;
}
.text {
    margin-right: 320px;
    margin-left: 320px;
}
.pi {
    font-family: 'Noto Sans Georgian', sans-serif;
    color: black;
    font-size: 16px;
    letter-spacing: 15%;
    position: relative;
    display: flex;
    text-align: justify;
}
@media (max-width: 1250px) {
    .text {
        margin-left: 50px;
        margin-right: 50px;
    }
    #visor_imagenes {
        margin-left: 5px;
        margin-right: 5px;
    }
    .neb {
        margin-left: 5px;
        width: 90%;
    }
}

.contenedor {
    position: relative;
    display: inline-block;
    text-align: justify;
}

#img {
    opacity: 0.4;
}

#visor_imagenes {
    position: absolute;
    top: 70%;
    left: 50%;
    font-size: 15px;
    transform: translate(-50%, -50%);
    width: 800px;
    height: auto;

    background-color: #ffff;
    opacity: 0.7;
}
.net {
    margin-left: 25px;
}
.neb {
    margin-left: 25px;
    margin-right: 25px;
}

.padre {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap-reverse;
    justify-content: space-around;
    align-items: center;
    align-content: flex-end;
    margin-right: 225px;
    margin-left: 260px;
}

.hijo1 {
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
    height: auto;
    width: 60%;
    text-align: justify;
}

.hijo2 {
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
    height: auto;
    width: 40%;
}

@media (max-width: 1250px) {
    .padre {
        display: block;
        margin-left: 50px;
        margin-right: 50px;
    }
    .hijo1,
    .hijo2 {
        width: 100%;
    }
}

.cla {
    font-family: 'Alexandria', sans-serif;
    color: #1c70b7;
    font-size: 19px;
    text-align: justify;
}
.clam {
    font-size: 16px;
    text-align: justify;
}
.puntos {
    margin-right: 200px;
    margin-left: 200px;
}
@media (max-width: 1250px) {
    .puntos {
        margin-left: 50px;
        margin-right: 50px;
    }
}
#empaque {
    margin-right: 100px;
    width: 450px;
    float: right;
}

@media (max-width: 1250px) {
    #empaque {
        width: 80%;
        margin-right: 50px;
    }
}
footer {
    background-color: #62bb51;
    height: auto;
}

.mayor {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap-reverse;
    justify-content: space-around;
    align-items: center;
    align-content: space-between;
}

.menor1 {
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
    height: auto;
    width: 20%;
}

.menor2 {
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
    height: auto;
    width: 20%;
    color: #ffff;
    text-align: justify;
}

.menor3 {
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
    height: auto;
    width: 20%;
    color: #ffff;
    text-align: justify;
}

.menor4 {
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
    height: auto;
    width: 20%;
    color: #ffff;
    text-align: justify;
}
.icon {
    padding: 10px;
    height: 50px;
    width: 50px;
}
@media (max-width: 1250px) {
    .mayor {
        display: block;
        margin-left: 50px;
        margin-right: 50px;
    }
    .menor1,
    .menor2,
    .menor3,
    .menor4 {
        width: 100%;
    }
}
.hr {
    background: #62bb51;
    border: none;
    height: 12px;
    width: 100%;
    position: fixed;
    bottom: 0;
    overflow: hidden;
}

h2 {
    font-family: 'Alexandria', sans-serif;
}
p {
    font-family: 'Noto Sans Georgian', sans-serif;
}

.wa {
    position: fixed;
    bottom: 50px;
    right: 50px;
}

.videos {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.video-wrapper {
    position: relative;
    width: 720px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: black;
}

video {
    width: 100%;
    display: block;
    border-radius: 16px;
}

/* Overlay central */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.icon-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.icon-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent white;
    margin-left: 5px;
}

.pause-icon {
    width: 18px;
    height: 24px;
    display: flex;
    justify-content: space-between;
}

.pause-icon div {
    width: 6px;
    height: 100%;
    background: white;
}

/* Ocultar overlay mientras reproduce */
.video-wrapper.playing .overlay {
    opacity: 0;
}

.video-wrapper.playing:hover .overlay {
    opacity: 1;
}

/* Barra de progreso */
.progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 50; /* asegurarse que está arriba */
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: #ff3f3f;
    transition: width 0.1s linear;
}
