* {
    margin: 0;
    box-sizing: border-box;
}

:root {
    scroll-behavior: smooth;
    --blued: #1984ef;
    --blue: #0e5297;
}

body {
    font-family: 'Archivo', sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 40px 0;
}

.container--hero {
    padding: 0;
}

/* Menú */

.nav {
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__menu {
    background-color: var(--blued);
    width: 35px;
    cursor: pointer;
    z-index: 100;
    border-radius: 5px;
}

.nav__logo {
    width:30%;
}

.nav__menuu {
    background-color: transparent;
    width: 32px;
    cursor: pointer;
    border-radius: 5px;
}

.nav__list {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: var(--blue);
    padding: 80px 0;

    display: grid;
    place-content: center;
    text-align: center;
    gap: 2.5rem;

    list-style: none;

    transform: translate(-100%);
    transition: transform .3s;
}

.nav__list--show {
    transform: translate(0);
}

.nav__link {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
}

/* hero-main */

.hero__main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.video {
    width: auto;
    height: 230px;
    border-radius: 12px;
    background-color: gray;
    font-size: 15px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* about */

.about__container {
    display: flex;
    flex-direction: column;
    gap: .5em;
}

.about__img {
    display: block;
    margin: 0 auto;
    width: 90%;
    aspect-ratio: 1/1;
    max-width: 280px;
    object-fit: cover;
    object-position: top;

    border-radius: 50%;
}

.about__texts {
    display: flex;
    justify-content: space-between;
}

.subtitle {
    text-align: center;
    font-size: 1.5rem;
}

.horizontal-scroll-wrapper {
    width: 100%;
    height: 100%;
    overflow-x: scroll;
    white-space: nowrap;
  }
  .horizontal-scroll-wrapper div {
    display: inline-block;
    width: 200px;
    height: 250px;
    margin: 10px;
    background-color: #0794f8;
  }
  .horizontal-scroll-wrapper div:hover {
    background-color: #ccc;
  }


  .horizontal2-scroll-wrapper {
    width: 100%;
    height: 100%;
    overflow-x: scroll;
    white-space: nowrap;
  }
  .horizontal2-scroll-wrapper div {
    display: inline-block;
    width: 200px;
    height: 250px;
    margin: 10px;
    background-color: #ffc800;
  }
  .horizontal2-scroll-wrapper div:hover {
    background-color: #ccc;
  }


@media (min-width:768px) {

    .nav__menu {
        display: none;
    }

    .nav__menuu {
        background-color: transparent;
        width: 37px;
        cursor: pointer;
        border-radius: 5px;
    }
    
    .nav__logo {
        width:15%;
    }

    
    .nav__list {
        position: static;
        background-color: transparent;
        padding: 0;
        display: flex;
        gap: 2rem;
        list-style: none;
        transform: unset;
        transition: none;
    }

    .nav__list--show {
        transform: unset;
    }

    .nav__link {
        color: var(--blued);
    }

    /* hero-main */

    .hero__main {
        flex-direction: row;
        gap: 40px;
        min-height: 300px;
        justify-content: center;
        align-items: center;
    }

    .hero__texts {
        width: 54%;
        text-align: start;
        gap: 2rem;
        padding-bottom: 0;
    }

    .video {
        width: 630px;
        height: 270px;
        border-radius: 12px;
        background-color: gray;
        font-size: 20px;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* about */

    .about__container {
        flex-direction: column;
        width: 70%;
    }

    .about__texts {
        width: 97%;
        justify-content:space-between ;
    }

    .subtitle {
        text-align: inherit;
        padding-left: 10px;
        font-size: 2.5rem;
    }
}