body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.hero {
    position: relative;
}

.background-video {
    width: 100%;
    height: 100dvh;
    position: absolute;
}

.background-video::after {
    content: '';
    inset: 0;
    background: var(--clr-hero-layer);
    position: fixed;
}

.background-video video {
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    position: fixed;
    object-fit: cover;
    overflow: hidden;
}

.content {
    width: 100%;
    height: 100%;
    height: 100dvh;
    display: grid;
}

header {
    height: fit-content;
    z-index: 3;
}

nav {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin-left: -100%;
    position: absolute;
    background-color: rgba(254, 249, 239, 0.9);
    backdrop-filter: blur(10px);
    transition: transform 200ms ease-out;
    display: flex;
}

nav ul {
    margin: auto 0 auto 10px;
}

nav ul li {
    margin-right: 11px;
    display: inline-block;
    transition: ease-in-out 100ms;
    border-bottom: 2px solid transparent;

    &:hover {
        border-bottom: 2px solid var(--clr-gold);
    }
}

nav ul a {
    font-size: 0.8rem;
    color: var(--clr-gray);
    text-transform: uppercase;
}

.active {
    transform: translateX(100%);
}

/* button */

#ham-button {
    width: 40px;
    height: 40px;
    top: 13px;
    right: 10px;
    cursor: pointer;
    z-index: 2;
    position: absolute;
    /* border: 1px solid blueviolet; */
}

.line1,
.line2,
.line3,
.line1-active,
.line2-active,
.line3-active {
    width: 33px;
    height: 3px;
    margin: auto;
    border-radius: 15px;
    background: var(--clr-gold);
    outline: none;
    transform-origin: 0;
    position: relative;
}

.line1 {
    margin-top: 10px;
    transform: rotate(0deg);
    transition: 0.2s;
}

.line2 {
    margin-top: 5px;
    transform: rotate(0deg);
}

.line3 {
    margin-top: 5px;
    transform: rotate(0deg);
    transition: 0.2s;
}

.line1-active,
.line2-active,
.line3-active {
    left: 3px;
}

.line1-active {
    top: -1px;
    transform: rotate3d(0, 0, 1, 45deg) translate(0, -2.5px);
}

.line2-active {
    opacity: 0;
    position: absolute;
}

.line3-active {
    top: 10px;
    transform: rotate3d(0, 0, 1, -45deg) translate(0, 2.5px);
}

/* section */

section {
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
}

.logo {
    width: clamp(14rem, 23vw, 35rem);
    /*Está bien, pero como que algo no cuadra...*/
    margin: 15px auto;
}

.insc-button {
    width: fit-content;
    margin: 10px auto 0 auto;
    border: 2px solid var(--clr-accent);
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    transition: ease-in-out 100ms;
    z-index: 10;
}

.insc-button:hover,
.insc-button:focus {
    background-color: var(--clr-accent);
}

.insc-button:hover>p,
.insc-button:focus>p {
    color: white;
}

.insc-button p {
    margin: auto;
    padding: 6px 6px 5px;
    font-size: clamp(0.5rem, 1vw + 1px, 1.6rem);
    text-transform: uppercase;
    color: var(--clr-accent);
}

footer {
    width: 100%;
    height: fit-content;
    margin-top: auto;
    bottom: 0;
    position: relative;
}

#main-footer {
    padding-bottom: 0.8rem;
    display: flex;
    flex-direction: column;
}

#main-footer>* {
    flex: 1
}

.social,
.copyright {
    display: flex;
    place-content: center;
}

.social a,
.copyright p {
    color: var(--clr-gray);
    display: inline-block;
}

.copyright p {
    margin: 0 15px 0;
    font-family: 'Futura';
    font-size: 0.8rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
}

/* Social Links */

.social {
    margin-bottom: 7px;
}

.social a {
    width: 25px;
    height: 25px;
    margin-inline: 5px;
    transition: ease-in-out 100ms;
}


.social a:nth-child(1) {
    background: url(../img/social/youtube_logo_icon_gray.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 5px;

    &:hover {
        background: url(../img/social/youtube_logo_icon_gold.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}


.social a:nth-child(2) {
    background: url(../img/social/instagram_logo_icon_gray.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 5px;

    &:hover {
        background: url(../img/social/instagram_logo_icon_gold.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

.social a:nth-child(3) {
    background: url(../img/social/facebook_logo_icon_gray.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 5px;

    &:hover {
        background: url(../img/social/facebook_logo_icon_gold.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

.social a:nth-child(4) {
    background: url(../img/social/whatsapp_logo_gray_icon.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    &:hover {
        background: url(../img/social/whatsapp_logo_icon_gold.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

@media (min-width: 504px) {

    #main-footer {
        align-items: center;
        flex-direction: row;
    }

    .social,
    .copyright {
        place-content: revert;
    }

    .social {
        margin-bottom: revert;
        margin-left: 5px;
    }

    .copyright {
        margin-right: 5px;
        justify-content: right;
    }
}

@media (min-width: 875px) {
    nav {
        width: revert;
        height: revert;
        left: revert;
        right: 0;
        background-color: revert;
    }

    nav ul {
        margin: 18px 10px;
    }

    #ham-button {
        display: none;
    }
}

@media (max-height: 440px) {
    .logo {
        width: 205px;
        transition: ease-in-out 100ms;
    }
}