:root {
    --white-default: #fff;
    --black-default: #000;
    --color-primary: #FF5733;
    --color-secondary: #394045;
    --orange-01: #FF784E;
    --orange-02: #E05733;
    --orange-03: #CC4526;
    --black-01: #171918;
    --black-02: #242625;
    --gray-01: #B1B1B1;
    --gray-02: #B6B6B6;
    --gray-03: #C2C2C2;
    --gray-04: #C7C7C7;
    --gray-05: #CDCDCD;
    --gray-06: #D3D3D3;
    --gray-07: #d9d9d9;
    --gray-08: #dfdfdf;
    --gray-09: #E5E5E5;
    --gray-10: #ebebeb;
    --link: var(--color-primary);
    --link-hover: var(--orange-01);
    --link-visited: var(--orange-02);
    --link-active: var(--orange-03);
    --background-01: var(--black-01);
    --background-02: var(--black-02);
    --primary-text-color: var(--white-default);
    --secondary-text-color: var(--gray-01);
    --primary-black-title: var(--black-02);
    /* ESPACIADOS EN UNIDAD REM */

    --10px: .625rem;
    --11px: .688rem;
    --12px: .75rem;
    --13px: .813rem;
    --14px: .875rem;
    --15px: .938rem;
    --16px: 1rem;
    --17px: 1.063rem;
    --18px: 1.125rem;
    --19px: 1.188rem;
    --20px: 1.25rem;
    --30px: 1.875rem;
    --40px: 2.5rem;
    --50px: 3.125rem;
    --60px: 3.75rem;
    --70px: 4.375rem;
    --80px: 5rem;
    --90px: 5.625rem;
    --100px: 6.25rem;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

ul li {
    list-style: none;
}

h1 {
    margin-bottom: var(--40px);
}

h2 {
    margin-bottom: var(--20px);
}

h3 {
    margin-bottom: var(--10px);
}

a {
    color: var(--link);
}

    a:hover {
        color: var(--link-hover);
    }

    a:active {
        color: var(--link-active);
    }

p {
    line-height: 1.25rem;
}


.container {
    margin: 0 auto;
    width: 100%;
    max-width: 1440px;
    padding: var(--80px) var(--20px);
}

/* ELEMENTOS */

.button {
    background-color: var(--color-primary);
    color: var(--primary-text-color);
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    padding: var(--10px) var(--40px);
    margin: 0 auto;
    display: block;
    outline: none;
    border: none;
    cursor: pointer;
    transition: background .25s ease-out;
}

    .button:hover {
        background-color: var(--link-hover);
    }

.button-secondary {
    background-color: transparent;
    color: var(--primary-black-title);
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    padding: var(--10px) var(--40px);
    margin: 0 auto;
    display: block;
    outline: none;
    border: 1px solid var(--color-primary);
    cursor: pointer;
    transition: color .25s ease-out;
}

    .button-secondary:hover {
        color: var(--secondary-text-color);
    }

.button-tertiary {
    background-color: var(--gray-10);
    border: 1px solid var(--gray-06);
    color: var(--primary-black-title);
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    padding: 5px 10px;
    margin: 0 auto;
    display: block;
    outline: none;
    cursor: pointer;
    transition: color .25s ease-out;
}

    .button-tertiary:hover {
        background-color: var(--gray-04);
    }


/* SECTION 01 - NAV BAR */

.bg_navbar {
    background: var(--background-02);
    position: sticky;
    top: 0;
    z-index: 10000;
    padding: 0;
}

    .bg_navbar .container {
        padding: var(--10px) var(--20px);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo img {
    width: 160px;
    height: auto;
    display: block;
}

.navbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 260px;
    height: 100vh;
    background-color: var(--background-01);
    transition: transform .7s ease;
    transform: translateX(100%);
    z-index: 10;
}

    .navbar.active {
        display: block;
        transform: translateX(0);
        padding: var(--20px);
    }

    .navbar div {
        margin-bottom: var(--40px);
    }

        .navbar div img {
            max-width: 200px;
            height: auto;
            display: block;
        }

    /* Links del menú */

    .navbar ul li:nth-child(3) {
        border-top: 1px solid gray;
        margin: var(--20px) 0 var(--10px) 0;
        padding-top: var(--10px);
    }

    .navbar a {
        display: block;
        padding: 10px;
        color: var(--primary-text-color);
        text-decoration: none;
    }

        .navbar a:hover {
            color: var(--link-hover);
        }

        .navbar a:active {
            color: var(--link-active);
        }

    .navbar .sign-in {
        display: block;
        padding: 10px;
        color: var(--primary-text-color);
        text-decoration: none;
        background: none;
        outline: none;
        border: 0;
        font-size: 1rem;
        font-family: "Montserrat", sans-serif;
        font-style: normal;
        cursor: pointer;
    }

    .navbar .register {
        width: 100%;
        cursor: pointer;
    }

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 5;
}

.menu-icon {
    cursor: pointer;
    font-size: 30px;
    display: block;
    color: var(--white-default);
}

.icon-close {
    position: relative;
    z-index: 10;
}

.menu-icon,
.icon-close {
    transition: color .2s ease-in-out;
}

    .menu-icon:hover,
    .icon-close:hover {
        color: var(--link-hover);
    }

ul#menu .icon-user-circle {
    margin-right: var(--10px);
}





/* MODALES INICIAR SESION - REGISTRO */

.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: var(--white-default);
    margin: 7% auto;
    padding: var(--20px);
    border: 1px solid #888;
    border-radius: var(--12px);
    width: 80%;
    max-width: 500px;
}

    .modal-content .modal-content__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: var(--20px);
        border-bottom: 1px solid var(--gray-01);
    }

    .modal-content h2 {
        font-weight: medium;
        font-size: 1.25rem;
        margin: 0;
        color: var(--color-secondary);
    }

.modal-content__username,
.modal-content__password,
.modal-content__name,
.modal-content__email,
.modal-content__phone {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--20px);
}

#registerModal .modal-content__password input {
    margin-bottom: 0;
}

.modal-content__password a {
    color: var(--link);
    display: block;
    margin-top: var(--20px);
    line-height: 1.5rem;
}

    .modal-content__password a:hover {
        color: var(--link-hover);
    }

.modal-content form div:first-child {
    margin-bottom: var(--20px);
}

.modal-content form div label {
    margin-bottom: .313rem;
    color: var(--secondary-text-color);
}

.modal-content form input {
    padding: var(--10px);
    border-radius: 6px;
    outline: none;
    border: 1px solid grey;
    font-size: 1rem;
}

    .modal-content form input::placeholder {
        color: var(--gray-06);
    }

.modal-content__button .button {
    margin: 0 0 0 auto;
}

.close-button {
    color: #aaa;
    display: block;
    font-size: 2rem;
    transition: background .5s ease-in;
}

    .close-button:hover,
    .close-button:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }


/* Para MENSAJES SweetAlert v1 */
.swal-overlay {
    z-index: 99999 !important;
}



/* hero */

.hero {
    position: relative;
    overflow: hidden;
}

    .hero video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, .75);
        z-index: 10;
    }

.hero-headline {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .hero-headline div {
        width: 100%;
        max-width: 600px;
    }

    .hero-headline h1 {
        font-size: 2.5rem;
        color: var(--white-default);
        margin-bottom: var(--20px);
    }

    .hero-headline .highlight {
        color: var(--color-primary);
    }

    .hero-headline p {
        font-size: 1.125rem;
        color: var(--white-default);
        margin-bottom: var(--40px);
    }

.hero-cta {
    margin-bottom: var(--40px);
}

.hero-form,
.hero-form form,
.hero-form form select {
    width: 100%;
}

.hero-frm,
.hero-frm frm,
.hero-frm frm select {
    width: 100%;
}

.hero-form form select {
    padding: var(--10px);
    border-radius: 6px;
    font-size: 1rem;
}

.hero-frm frm select {
    padding: var(--10px);
    border-radius: 6px;
    font-size: 1rem;
}

.hero-form form input {
    padding: var(--10px);
    border-radius: 6px;
    outline: none;
    border: 0;
    font-size: 1rem;
}

.hero-frm frm input {
    padding: var(--10px);
    border-radius: 6px;
    outline: none;
    border: 0;
    font-size: 1rem;
}

.hero-form form div {
    display: flex;
    flex-direction: column;
}

.hero-frm frm div {
    display: flex;
    flex-direction: column;
}

.hero-form form div label {
    color: var(--primary-text-color);
    margin-bottom: var(--10px);
}

.hero-frm frm div label {
    color: var(--primary-text-color);
    margin-bottom: var(--10px);
}

.hero-form form .button {
    margin: var(--40px) auto 0 auto;
    width: 100%;
}

.hero-frm frm .button {
    margin: var(--40px) auto 0 auto;
    width: 100%;
}


/* VIDEOS HOME */

.videos.container {
    padding-bottom: 0px;
}

/* .videos h2 {
    color: var(--color-secondary);
} */

.videos__grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: var(--20px);
}

.videos__grid-item iframe {
    border-radius: 12px;
}

/* SECTION 02 - FEATURES */
.features__header {
    margin-bottom: var(--40px);
}

    .features__header h2 {
        font-size: 1.5rem;
        line-height: 2rem;
        margin-bottom: var(--20px);
        /*color: var(--primary-text-color);*/
    }

    .features__header p {
        font-size: var(--16px);
        line-height: 1.375rem;
        /*color: var(--secondary-text-color);*/
    }

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: var(--20px);
}

.features__card img {
    width: 100%;
    height: auto;
    margin-bottom: var(--20px);
    border-radius: 12px;
}

.features__card h2 {
    margin-bottom: var(--10px);
}




/* SECTION 03 - COMO FUNCIONA */

.como-funciona {
    background-color: var(--background-01);
}

.como-funciona__header {
    margin-bottom: var(--40px);
}

    .como-funciona__header h2 {
        font-size: 1.5rem;
        line-height: 2rem;
        margin-bottom: var(--20px);
        color: var(--primary-text-color);
    }

    .como-funciona__header p {
        font-size: var(--16px);
        line-height: 1.375rem;
        color: var(--secondary-text-color);
    }

.como-funciona__body {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: var(--20px);
}

    .como-funciona__body h3 {
        color: var(--primary-text-color);
    }

    .como-funciona__body p {
        color: var(--secondary-text-color);
    }

    .como-funciona__body img {
        border-radius: 12px;
        width: 100%;
        height: auto;
    }

.como-funciona__item1,
.como-funciona__item3,
.como-funciona__item5 {
    display: flex;
    flex-direction: column-reverse;
}

    .como-funciona__item1 img,
    .como-funciona__item2 img,
    .como-funciona__item3 img,
    .como-funciona__item4 img,
    .como-funciona__item5 img {
        margin-bottom: var(--20px);
    }


/* SECTION 04 - CTA */

.cta {
    background-color: var(--background-02);
}

    .cta h2 {
        color: var(--primary-text-color);
        font-size: var(--40px);
    }

.cta__header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .cta__header p {
        color: var(--white-default);
        line-height: 1.375rem;
        margin-bottom: var(--40px);
    }

.cta__body {
    display: flex;
    justify-content: center;
}

    .cta__body .button:hover {
        color: var(--white-default);
    }


/* SECTION 05 - FOOTER */

.footer {
    background-color: var(--black-default);
}

    .footer .container {
        padding-top: var(--20px);
        padding-bottom: var(--20px);
    }

    .footer nav ul {
        display: flex;
        flex-direction: column;
    }

        .footer nav ul li {
            margin-bottom: var(--10px);
        }

    .footer nav a {
        text-decoration: none;
        color: var(--gray-01);
        font-size: var(--14px);
        font-weight: 200;
    }

        .footer nav a:hover {
            color: var(--color-primary);
        }


/* DASHBOARD CLIENTE */

/* Estilo de las pestañas */

.dashboard-header.container {
    padding: var(--40px) var(--20px) var(--20px) var(--20px);
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
}

.dashboard.container {
    padding: 0 var(--20px) var(--40px) var(--20px);
}

    .dashboard.container.recinto {
        padding-top: var(--40px);
    }

.dashboard-header h2 {
    font-size: 1.25rem;
    font-weight: normal;
    color: var(--primary-black-title);
    margin-bottom: 0;
}

.dashboard .tabs {
    display: flex;
    border-radius: 8px 8px 0 0;
    background-color: var(--gray-10);
    border: 1px solid var(--gray-06);
}

.dashboard .tabcontent {
    padding: var(--20px);
}

.tabcontent__header {
    margin-bottom: var(--20px);
}

.tabcontent__video {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: var(--20px);
}

    .tabcontent__video h3 {
        grid-column: 1 / 2;
    }

    .tabcontent__video iframe {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        border-radius: 12px;
    }

.tabcontent__options {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}

    .tabcontent__options button {
        margin: 5px;
    }

.tabcontent__match {
    display: grid;
    grid-template-columns: auto 1fr;
    border-bottom: 1px solid var(--gray-06);
}

    .tabcontent__match div {
        padding: var(--10px);
        border: 1px solid var(--gray-06);
        border-bottom: 0;
        font-size: 0.875rem;
        font-weight: 200;
        color: var(--secondary-text-color);
    }

        .tabcontent__match div p {
            color: var(--black-02);
            font-size: 0.875rem;
            font-weight: 200;
        }

        .tabcontent__match div:first-child {
            padding: 0;
            border: 0;
        }

        .tabcontent__match div:first-child,
        .tabcontent__match div:nth-child(2),
        .tabcontent__match div:nth-child(3) {
            font-size: 1rem;
            color: var(--primary-black-title);
            font-weight: normal;
        }

        .tabcontent__match div:nth-child(odd) {
            border-left: 0;
        }

.match-item1 {
    grid-column: 1 / 3;
}

.match-item2,
.match-item3 {
    background-color: var(--gray-10);
    border: 1px solid var(--background-06);
}

.tabs {
    overflow: hidden;
}


    .tabs button:last-child {
        border-right: 1px solid var(--gray-06);
    }

.tablink {
    background-color: inherit;
    float: left;
    border: none;
    border-left: 1px solid var(--gray-06);
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: background-color 0.3s;
    color: var(--primary-black-title);
}


    .tablink:hover {
        background-color: var(--gray-06);
    }

.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid var(--gray-06);
    border-top: none;
}

.tabcontent {
    background-color: #f9f9f9;
}

    /* FORMULARIO */

    .tabcontent form {
        max-width: 500px;
        margin: 0 auto;
    }

    .tabcontent h2 {
        margin: 0 auto var(--20px) 0;
    }

    .tabcontent form label {
        margin-bottom: 5px;
    }

    .tabcontent form input {
        font-size: 1rem;
        padding: 5px;
        border-radius: 4px;
        border: 1px solid var(--gray-06);
    }

        .tabcontent form input::placeholder {
            font-style: italic;
            color: var(--gray-04);
            font-weight: 200;
        }


/* PÁGINA DE PERFIL RECINTO DEPORTIVO */

.profile-header {
    margin: 0;
}

.description-wrapper {
    max-width: 1440px;
    margin: var(--20px) auto 0 auto;
    padding: var(--20px) var(--20px) 0 var(--20px);
}

    .description-wrapper h1,
    .description-wrapper h2,
    .description-wrapper h3,
    .description-wrapper h4 {
        margin: 0;
        font-weight: 300;
    }

.description__header {
    background-color: var(--gray-10);
    border: 1px solid var(--gray-06);
    border-radius: 8px 8px 0 0;
    padding: var(--10px) var(--20px);
}

.description__body {
    background-color: #f9f9f9;
    padding: var(--20px);
    border: 1px solid var(--gray-06);
    border-top: 0;
    border-radius: 0 0 8px 8px;
}

    .description__body p {
        color: var(--black-02);
        font-size: 0.875rem;
    }

.profile-header__cover-photo {
    /* border: 1px solid var(--gray-06); */
    padding: 0;
}

    .profile-header__cover-photo img {
        width: 100%;
        height: auto;
    }

.profile-header__user-info {
    padding: 0 var(--20px);
    display: grid;
    grid-template-columns: 1fr;
    row-gap: var(--20px);
    position: relative;
}

    .profile-header__user-info figure {
        display: flex;
        justify-content: center;
    }

    .profile-header__user-info div:nth-child(2) {
        margin-top: var(--80px);
    }

        .profile-header__user-info div:nth-child(2) span {
            color: var(--secondary-text-color);
        }

    .profile-header__user-info img {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        border: 4px solid var(--gray-06);
        position: absolute;
        z-index: 100;
        top: -25%;
    }

    .profile-header__user-info h1 {
        margin-bottom: var(--10px);
        font-size: 2rem;
    }

.profile-info-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: var(--20px);
    padding: var(--40px) var(--20px);
}

.profile-info h2 {
    color: var(--color-secondary);
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 0;
}

.profile-info span,
.profile-info p {
    color: var(--black-default);
    font-size: 0.875rem;
    font-weight: 300;
}

.profile-info .icon-padel-icon {
    font-size: 1.25rem;
}

.profile-info div {
    background-color: #f9f9f9;
    padding: var(--10px);
}

.profile-info .profile-info__rrss div,
.profile-info .profile-info__canchas div {
    display: flex;
    align-items: center;
}

    .profile-info .profile-info__rrss div span,
    .profile-info .profile-info__canchas div span {
        margin-right: var(--10px);
    }

.profile-info > div:first-child {
    background-color: var(--gray-10);
    border: 1px solid var(--gray-06);
    border-radius: 8px 8px 0 0;
}

.profile-info__canchas {
    display: flex;
    border: 1px solid var(--gray-06);
    border-top: 0;
    border-radius: 0 0 8px 8px;
}

    .profile-info__canchas div {
        width: 50%;
        padding: 0;
    }

.profile-info__rrss {
    border-radius: 0 0 8px 8px;
    border: 1px solid var(--gray-06);
    border-top: 0;
    padding: 0 !important;
}

.profile-map iframe {
    width: 100%;
    border-radius: 8px;
}

.profile-gallery-wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 1440px;
    padding: 0 var(--20px) var(--20px) var(--20px);
}

.profile-gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 200px;
    grid-auto-rows: 200px;
    row-gap: var(--20px);
}

.profile-gallery__photos img {
    width: 100%;
    height: 200px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* FORM VIDEOS EN LA PÁGINA DE PERFIL */

.buscar-video-wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 1440px;
    padding: var(--20px);
    display: grid;
    /*grid-template-columns: 1fr 1fr 1fr;*/
    grid-template-columns: 1fr;
    row-gap: var(--20px);
}

    .buscar-video-wrapper form div {
        display: flex;
        flex-direction: column;
    }

        .buscar-video-wrapper form div label {
            margin-bottom: var(--10px);
        }

    .buscar-video-wrapper form select {
        padding: var(--10px);
        border-radius: 6px;
        font-size: 1rem;
    }

    .buscar-video-wrapper form input {
        padding: var(--10px);
        border-radius: 6px;
        font-size: 1rem;
        outline: 0;
        border: 1px solid;
    }

    .buscar-video-wrapper form div {
        margin-bottom: var(--20px);
    }

    .buscar-video-wrapper iframe {
        border-radius: 12px;
    }





/* ============================

BREAKPOINTS

==============================*/


@media (min-width: 576px) {

    .dashboard-header.container {
        flex-direction: row;
    }

    .footer .container {
        padding-top: var(--10px);
        padding-bottom: var(--10px);
    }

    .footer nav ul {
        flex-direction: row;
        justify-content: center;
    }

        .footer nav ul li {
            margin-right: var(--10px);
        }

    .profile-gallery {
        grid-template-columns: 1fr 1fr;
        gap: var(--20px);
    }
}

@media (min-width: 768px) {

    .hero-form form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
    }

        .hero-form form div:first-child {
            grid-column: 1 / 2;
        }

        .hero-form form div:nth-child(2) {
            grid-column: 2 / 3;
        }

        .hero-form form button:last-child {
            grid-column: 1 / 3;
        }

    .features-grid {
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: var(--20px);
    }

    .como-funciona__item1,
    .como-funciona__item2,
    .como-funciona__item3,
    .como-funciona__item4,
    .como-funciona__item5 {
        display: flex;
        flex-direction: row;
    }

        .como-funciona__item1 div,
        .como-funciona__item3 div,
        .como-funciona__item5 div {
            width: 50%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

            .como-funciona__item1 div:first-child,
            .como-funciona__item3 div:first-child,
            .como-funciona__item5 div:first-child {
                padding-right: var(--20px);
            }

        .como-funciona__item2 div,
        .como-funciona__item4 div {
            width: 50%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

            .como-funciona__item2 div:first-child,
            .como-funciona__item4 div:first-child {
                padding-right: var(--20px);
            }

    .como-funciona__body img {
        width: 100%;
        height: auto;
        margin: 0;
    }

    .profile-header {
        max-width: 1440px;
        margin: 0 auto;
        padding: var(--20px) var(--20px) 0 var(--20px);
    }

    .profile-header__cover-photo img {
        height: 450px;
        border-radius: 12px;
        border: 2px solid var(--gray-06);
        object-fit: cover;
    }

    .profile-header__user-info div:nth-child(2) h1,
    .profile-header__user-info div:nth-child(2) span {
        text-align: center;
        display: block;
        margin-bottom: 0;
    }

    .profile-info-wrapper {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto;
        gap: var(--20px);
    }

        .profile-info-wrapper div:first-child {
            grid-column: 2 / 3;
            grid-row: 1 / 2;
        }

        .profile-info-wrapper div:nth-child(2) {
            grid-column: 2 / 3;
            grid-row: 2 / 3;
        }

        .profile-info-wrapper div:nth-child(3) {
            grid-column: 1 / 2;
            grid-row: 1 / 4;
        }

    .profile-gallery {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .buscar-video__form h2,
    .buscar-video__form form {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (min-width: 992px) {

    .container {
        padding: var(--80px) var(--40px);
    }

    .navbar__menu {
        padding: var(--10px) var(--40px);
    }

    /* VIDEOS HOME */

    .videos__grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: var(--20px);
    }
}

@media (min-width: 1200px) {

    .menu-icon {
        display: none;
    }

    .navbar {
        display: block;
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        transform: none;
        background-color: transparent;
    }

        .navbar ul {
            display: flex;
            justify-content: flex-end;
        }

        .navbar div {
            display: none;
        }

            .navbar div img {
                display: none;
            }

        .navbar ul li:nth-child(3) {
            border: 0;
            margin: 0;
            padding: 0;
        }

        .navbar .sign-in {
            margin-left: var(--10px);
            border-radius: 8px;
            border: 1px solid var(--link);
        }

        .navbar .register {
            margin-left: var(--10px);
        }

            .navbar .register:hover {
                color: var(--primary-text-color);
            }

    .mi-perfil {
        display: none;
    }

    .hero-headline {
        height: 600px;
    }

        .hero-headline h1 {
            font-size: 3rem;
        }

        .hero-headline p {
            font-size: 1.125rem;
            line-height: 1.5rem;
            color: var(--white-default);
            margin: 0 var(--40px) 0 0;
        }

    .hero-form form {
        flex-direction: column;
    }

        .hero-form form div {
            width: 100%;
        }

        .hero-form form button:last-child {
            margin-top: var(--20px);
        }

    .como-funciona__header h2 {
        text-align: center;
    }

    .como-funciona__header p {
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
    }

    .como-funciona__header {
        margin-bottom: var(--80px);
    }

    .cta__header p {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
        margin-bottom: var(--40px);
    }

    .tabcontent__video {
        display: grid;
        grid-template-columns: 3fr 1fr;
        gap: var(--20px);
    }

        .tabcontent__video h3 {
            grid-column: 1 / 3;
        }

        .tabcontent__video iframe {
            grid-column: 1 / 2;
            grid-row: 2 / 3;
            border-radius: 12px;
        }

    .tabcontent__options {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .profile-header__user-info {
        grid-template-columns: 1fr 3fr auto;
        row-gap: 0;
        padding-top: var(--10px);
    }

        .profile-header__user-info img {
            top: -85%;
        }

        .profile-header__user-info div:nth-child(2) {
            margin: 0;
        }

            .profile-header__user-info div:nth-child(2) h1,
            .profile-header__user-info div:nth-child(2) span {
                text-align: left;
            }

        .profile-header__user-info div:nth-child(3) {
            display: flex;
            justify-content: end;
            align-items: center;
        }

    /*.buscar-video-wrapper {
        grid-template-columns: 1fr 3fr 3fr;
        column-gap: var(--20px);
    }*/
    .buscar-video-wrapper {
        /*display: grid;*/ /* 👈 necesario */
        /*grid-template-columns: 1fr 3fr 3fr;
        column-gap: var(--20px, 20px);*/ /* fallback de 20px si la variable no existe */

        margin: 0 auto;
        width: 100%;
        max-width: 1440px;
        padding: var(--20px);
        display: grid;
        grid-template-columns: 1fr 3fr 3fr;
        row-gap: var(--20px);
    }

    .video-full {
        grid-column: span 2; /* Ocupa el lugar de Video1 y Video2 */
    }

    .buscar-video__form .button {
        margin-left: auto;
        margin-right: 0;
    }

    /* Estado normal */
    #startRec {
        background: red;
        color: white;
    }

    #stopRec {
        background: gray;
        color: white;
    }

    #downloadRec {
        background: green;
        color: white;
        display: none;
    }

    /* Estado cuando REC está grabando */
    .recording {
        background: darkred !important;
        opacity: 0.6;
        cursor: not-allowed;
    }

    /* Estado cuando STOP debe resaltarse */
    .highlight {
        background: rgb(255, 69, 69) !important;
        color: white;
        font-weight: bold;
        box-shadow: 0 0 10px red;
    }

    /* === Estilos para controles de grabación de video === */
    .video-controls {
        display: flex;
        gap: 10px;
        margin-top: var(--20px);
        justify-content: center;
    }

        .video-controls button {
            padding: var(--10px) var(--20px);
            font-size: var(--14px);
            border: none;
            cursor: pointer;
            border-radius: 8px;
            min-width: 90px;
            transition: all 0.3s ease;
            font-family: "Montserrat", sans-serif;
        }

        /* Estado normal */
        .video-controls .startRec {
            background: red;
            color: white;
        }

        .video-controls .stopRec {
            background: gray;
            color: white;
        }

        .video-controls .downloadRec {
            background: green;
            color: white;
            display: none;
        }

        /* Estado cuando REC está grabando */
        .video-controls .recording {
            background: darkred !important;
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* Estado cuando STOP debe resaltarse */
        .video-controls .highlight {
            background: rgb(255, 69, 69) !important;
            color: white;
            font-weight: bold;
            box-shadow: 0 0 10px red;
        }

        .video-controls button:active {
            transform: scale(0.95);
        }
}
/*
.video-container {
    position: relative;
    display: inline-block;
}

.video-controls {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

    .video-controls button {
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        border: none;
        padding: 10px;
        border-radius: 5px;
        cursor: pointer;
    }

        .video-controls button:disabled {
            background-color: rgba(128, 128, 128, 0.7);
            cursor: not-allowed;
        }
*/