* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wow {
    animation-duration: 1s !important;
    /* animation-timing-function: linear; */
}

.delay1 {
    animation-delay: 1s !important;
}

.delay2 {
    animation-delay: 1.5s !important;
}

.delay3 {
    animation-delay: 2s !important;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

@font-face {
    font-family: 'Migra';
    src: url('../fonts/Migra-Extrabold.ttf');
}

section {
    max-width: 100vw;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
}

h1, h2, h3, h4 {
    font-family: 'Migra';
}

p, a, li, span {
    font-family: Poppins, sans-serif;
}

:root {
    --width: calc(100% - 16rem);
    --padding: 0rem 8rem;
    --center: 0 auto;
    --main: #D29579;
    --black: rgb(33, 34, 34);
}



.button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: transparent;
    width: fit-content;
    color: white;
    font-size: 1.8rem;
    min-width: 15rem;
    position: relative;
    z-index: 1;
    /* height: 8rem; */
}




.button.black {
    color: var(--black) !important;
}

.button:hover {
    color: white !important;
}

.button.navbar::after {
    border: 2px solid transparent;
}

.button.navbar:hover::after {
    border: 2px solid var(--main);
    background-color: transparent;
}

.button::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: 2px solid var(--main);
    border-radius: 100%;
    transition: all 0.2s linear;
    background-color: transparent;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    transform: rotate(-11.06deg);
}

.button:hover::after {
    background-color: var(--main);
    cursor: pointer;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header {
    height: 15vh;
    width: 100%;
    margin: var(--center);
    position: fixed;
    z-index: 1000;
    padding: 1rem 0rem;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

nav {
    width: var(--width);
    margin: var(--center);
    height: 100%;
    padding: 0rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    position: relative;
    /* column-gap: 10rem; */
    padding: var(--padding);
}

header nav .menu__button {
    display: none;
}

header figure, header picture {
    display: block;
    width: 15rem;
}

header .menu {
    display: flex;
    align-items: center;
    column-gap: 5rem;
}

.menu li a {
    font-size: 1.6rem;
    color: white;
    font-weight: 500;
    transition: all 0.3s linear;
    position: relative;
}

.menu li a:hover {
    color: var(--yellow);
}

.menu li a::after {
    content: "";
    width: 0;
    height: 2px;
    background-color: var(--yellow);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all 0.3s linear;
}

.menu li a:hover::after {
    width: 100%;
}

.menu li:last-child a::after {
    display: none;
    width: 0;
    height: 0;
}

.menu li:last-child a:hover {
    color: white;
}

p {
    font-size: 2rem;
    font-weight: 400;
}

h1 {
    font-size: 5rem;
    font-weight: 700;
    width: 75rem;
    max-width: 100%;
}

h2 {
    font-size: 3.5rem;
    font-weight: 700;
}

/* HERO  */

#hero {
    padding-top: 15vh;
    /* min-height: 100vh; */
    background: rgba(33, 34, 34, 0.9);
    position: relative;
}

#hero p {
    line-height: 4rem;
}

#hero .container {
    display: flex;
    /* flex-wrap: wrap; */
    color: white;
    border-top: 1px solid var(--main);
    padding: var(--padding);
    position: relative;
    height: 95vh;
    justify-content: space-between;
    z-index: 1;
}

#hero .left {
    flex-basis: 40rem;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

#hero .socials a {
    color: white;
    font-size: 3rem;
    display: block;
}

#hero .right figure {
    height: 100%;
    /* width: 60rem; */
}

#hero .right figure img {
    object-fit: contain;
}

.v1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 20rem;
    /* z-index: -1; */
    filter: blur(8rem);
    opacity: 0.7;
}

.v2 {
    position: absolute;
    right: 0;
    bottom: 0;
    transform: rotate(180deg);
    width: 20rem;
    /* z-index: -1; */
    filter: blur(8rem);
    opacity: 0.7;
}

.linea {
    width: 100%;
    height: 2px;
    background-color: var(--main);
    position: absolute;
    bottom: 17.7vh;
}

/* HERO  */


/* ABOUT  */

#about {
    margin-top: 10rem;
}

#about .container {
    margin-left: 8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 8rem;
}

#about .psic figure {
    overflow: hidden;
    width: 30rem;
    max-width: 60vw;
    height: 50rem;
    border-radius: 100rem;
}

#about .psic {
    border-radius: 100rem;
    border: 2px solid;
    width: fit-content;
    padding: 4rem;
    position: relative;
}

#about .psic>img {
    width: 4rem;
    height: 4rem;
    position: absolute;
}

.star1 {
    top: 0;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.star2 {
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateX(-50%);
}

.star3 {
    bottom: 0;
    left: 50%;
    transform: translateY(50%) translateX(-50%);
}

.star4 {
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(50%);
}

#about h2 {
    font-size: 6.5rem;
}

#about .right {
    flex-basis: 60rem;
    flex-grow: 1;
    max-width: 100%;
}

#about .right .bottom {
    display: flex;
    flex-wrap: wrap;
    column-gap: 4rem;
    row-gap: 2rem;
}

#about .right .bottom p {
    flex-basis: 50rem;
    flex-grow: 1;
    text-align: justify;
    max-width: var(--width);
    /* margin: var(--center); */
}

#about .right figure {
    margin-left: auto;
}

#about .right img {
    object-fit: contain;
    object-position: right;
}

#about .button {
    color: var(--black);
    margin-top: 2rem;
}

/* ABOUT  */


/* SERVICES  */

#services {
    padding-top: 15vh;
    padding-bottom: 20rem;
    /* min-height: 100vh; */
    background: rgba(33, 34, 34, 0.9);
    position: relative;
    color: white;
}

#services .star {
    width: 4rem;
    height: 4rem;
}

#services .container .top {
    padding: var(--padding);
    padding-top: 10rem;
    border-top: 2px solid var(--main);
    display: flex;
    flex-wrap: wrap;
    column-gap: 10rem;
    align-items: flex-end;
}

#services .container .top .right {
    position: relative;
    flex-basis: 55rem;
    flex-grow: 2;
}

#services .container .top .left {
    flex-basis: 40rem;
    flex-grow: 1;
}


#services .container .top .right h3 {
    position: absolute;
    top: 17vh;
    left: -12vw;
}


#services .container .right figure {
    position: relative;
}

#services .container .right figure::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

#services .top .star {
    position: absolute;
    top: 9rem;
    left: 40%;
    z-index: 1;
}

#services .top .line1 {
    height: 20vh;
    width: 2px;
    background-color: var(--main);
    position: absolute;
    top: 12rem;
    left: calc(40% + 2rem);
}

#services .top .line2 {
    height: 35rem;
    width: 2px;
    background-color: var(--main);
    position: absolute;
    top: 47rem;
    left: calc(40% + 2rem);
}


#services .container .bottom {
    padding: var(--padding);
    padding-top: 10rem;
    display: flex;
    flex-wrap: wrap;
    column-gap: 10rem;
    row-gap: 5rem;
    align-items: flex-end;
    position: relative;
}


#services .container .bottom .left {
    flex-basis: 55rem;
    flex-grow: 2;
    position: relative;
    z-index: 1;
}

#services .container .bottom .left h3 {
    position: absolute;
    top: 15vh;
    right: -15vw;
}

#services .container .bottom .right {
    flex-basis: 40rem;
    flex-grow: 1;
}

#services .container .bottom p {
    margin-bottom: 5rem;
    margin-right: 5rem;
}

#services .container .top p {
    margin-bottom: 5rem;
}

#services .frame {
    width: 50%;
    height: calc(100% + 20rem);
    position: absolute;
    bottom: -20rem;
    right: 5rem;
}

#services .frame .window {
    border: 2px solid var(--main);
    border-bottom: none;
    height: 100%;
    width: 100%;
    border-top-left-radius: 100rem;
    border-top-right-radius: 100rem;
    position: relative;
}

#services .frame .window .star {
    position: absolute;
    right: -2rem;
    top: 35rem;
}

/* SERVICES  */


/* COURSES  */

#courses {
    margin-top: 25rem;
    padding: var(--padding);
    padding-bottom: 15rem;
}

#courses .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    width: var(--width);
    margin: var(--center);
    gap: 10rem;
}

#courses .container .left {
    flex-basis: 50rem;
}

#courses .video {
    width: 80%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#courses .video::after {
    content: "";
    width: 120%;
    height: 120%;
    border: 2px solid black;
    position: absolute;
    top: -10%;
    left: -10%;
    z-index: -1;
}

#courses .video::before {
    content: "";
    width: 120%;
    height: 120%;
    border: 2px solid black;
    position: absolute;
    top: -10%;
    left: -10%;
    transform: rotate(-5deg);
    z-index: -1;
}

#courses .video img {
    position: absolute;
    width: 4rem;
    height: 4rem;
}

#courses .video img:first-of-type {
    top: -22%;
    left: -22%;
}

#courses .video img:nth-of-type(2) {
    bottom: -30%;
    left: 15%;
}

#courses .video img:nth-of-type(3) {
    right: -25%;
    top: 40%;
}

#courses .video img:nth-of-type(4) {
    width: 2.5rem;
    height: 2.5rem;
    right: -30%;
    top: 50%;
}

#courses .video iframe {
    width: 100%;
    height: 100%;
}


#courses .right {
    flex-basis: 50rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    row-gap: 5rem;
}

#courses .right figure {
    width: 25rem;
    margin: 0 auto;
}

h3 {
    font-size: 3.5rem;
}

.bottom-mobile, .top-mobile {
    display: none;
    column-gap: 2rem;
    align-items: center;
    justify-content: space-evenly;
    border-top: 2px solid var(--main);
    border-bottom: 2px solid var(--main);
    padding: 2rem 0rem;
}

#about .bottom-mobile h2, #contact .bottom-mobile h2 {
    font-size: 5rem;
}

.bottom-desktop, .top-desktop {
    display: flex;
    column-gap: 2rem;
    align-items: center;
    justify-content: space-evenly;
    border-top: 2px solid var(--main);
    border-bottom: 2px solid var(--main);
    padding: 2rem 0;
}

.bottom-desktop .star, .bottom-mobile .star, .top-desktop .star, .top-mobile .star {
    width: 4rem;
    height: 4rem;
}

/* COURSES  */


/* CONTACT  */

#contact {
    background-color: rgba(33, 34, 34, 0.9);
    position: relative;
    color: white;
}

#contact .container {
    display: flex;
    flex-wrap: wrap;
    width: var(--width);
    margin-left: 0;
    margin-top: 10rem;
    gap: 4rem;
    justify-content: space-between;
}

#contact .container .right {
    flex-basis: 60rem;
    max-width: 100%;
    padding-bottom: 5rem;
}

form {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}


#contact input {
    height: 6rem;
    border-radius: 1rem;
    text-indent: 2rem;
    outline: none;
}

#contact textarea {
    height: 20rem;
    border-radius: 1rem;
    outline: none;
    padding: 2rem;
    resize: none;
}

::placeholder {
    font-size: 2rem;
    color: var(--black);
}

#contact button {
    border: none;
    outline: none;
}


input {
    flex-basis: 25rem;
    flex-grow: 1;
    font-size: 1.8rem;
    color: var(--black);
}

input[type="text"], textarea {
    flex-basis: 100%;
    font-size: 1.8rem;
    color: var(--black);
}

#contact .left .links {
    margin-left: 8rem;
}

#contact .left a {
    font-size: 2.4rem;
    color: white;
    display: flex;
    align-items: center;
}

#contact .left .links .socials {
    display: flex;
    column-gap: 1rem;
    margin: 1rem 0;
}

#contact .left .links .socials a {
    display: flex;
    width: 4rem;
    height: 4rem;
    border: 2px solid white;
    border-radius: 10rem;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

#contact .left .links .socials a:first-child figure {
    height: 80%;
    width: 80%;
}

#contact .left .links .socials a figure {
    height: 70%;
    width: 70%;
}

#contact .left .links .socials a figure img{
    object-fit: contain;
}

#contact .left a i {
    color: var(--main);
    margin-right: 2rem;
}

#contact .left figure {
    width: 100%;
}

#contact .left {
    flex-basis: 30rem;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: space-between;
}

/* CONTACT  */


/* FOOTER  */

footer {
    padding-top: 5rem;
    padding-bottom: 3rem;
}

footer .top {
    padding: var(--padding);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 2rem;
    row-gap: 2rem;
}

footer h4 {
    font-size: 2.5rem;
    color: black;
}

footer a {
    font-size: 1.8rem;
    color: var(--black);
}

footer li {
    margin: 1rem 0;
}

footer .top figure {
    width: 25rem;
}

footer .top figure img {
    object-fit: contain;
}

.submenu {
    flex-basis: 20rem;
}

.submenu:last-child li:last-child {
    display: flex;
    justify-content: space-between;
}

.submenu:last-child li:last-child a {
    font-size: 2.2rem;
}

footer .bottom {
    padding: var(--padding);
    padding-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

footer .bottom a, footer .bottom p {
    font-size: 1.6rem;
}

/* FOOTER  */

@media screen and (max-width: 1360px) and (min-width: 1150px) {
    #about .right figure {
        max-height: 20rem;
    }

    #about .right .button {
        margin-top: 2rem;
    }
}

@media screen and (max-height: 900px) {
    #services .container .top .right h3, #services .container .bottom .left h3 {
        top: 13vh;
    }
}

@media screen and (max-width: 1040px) {
    #about .right figure {
        max-height: 20rem;
    }

    #about .right .button {
        margin-top: 2rem;
    }
}

@media screen and (max-width: 769px) {

    :root {
        --width: calc(100% - 4rem);
        --padding: 0rem 2rem;
    }

    header .menu {
        position: absolute;
        top: 100%;
        background-color: var(--black);
        width: 100vw;
        left: -2rem;
        display: flex;
        flex-direction: column;
        padding: 1rem;
        display: none;
    }

    header .menu li {
        text-align: center;
        margin: 2rem 0;
    }

    header .menu li a {
        color: white;
    }

    header nav>a {
        display: block;
    }

    header nav .menu__button {
        display: block;
        font-size: 3rem;
        color: var(--main);
        transition: all 0.5s ease-in-out;
        margin-right: 2rem;
    }

    header figure, header picture {
        width: 10rem;
    }

    #hero.partners h2 {
        margin-left: 2rem;
    }

    #us .container {
        display: flex;
        flex-direction: column;
    }

    #hero .container {
        height: 70vh;
    }

    .linea {
        display: none;
    }

    #hero .left {
        gap: 5rem;
    }

}

@media screen and (max-width: 550px) {
    #hero h1 {
        font-size: 3.5rem;
    }

    #hero p {
        font-size: 1.8rem;
        text-align: justify;
    }

    #hero .container {
        height: 85vh;
    }

    h2 {
        font-size: 2.5rem;
    }

    #about .container {
        margin-left: 0;
    }

    #about .left {
        width: calc(100% - 6rem);
        margin: var(--center);
    }

    #about .right h2 {
        width: var(--width);
        margin: var(--center);
        font-size: 5rem;
    }

    #about .right figure {
        height: 25rem;
    }

    #about .button {
        margin: var(--center);
        margin-top: 10rem;
    }

    #about .right .bottom p {
        margin: var(--center);
    }

    .bottom-desktop, .top-desktop {
        display: none;
    }

    .bottom-mobile, .top-mobile {
        display: flex;
    }

    #courses .container {
        row-gap: 15rem;
    }

    #courses .video {
        width: 75%;
        margin: var(--center);
    }

    #courses .right figure {
        order: 2;
    }

    #courses .right p {
        order: 3;
    }

    #courses .right .button {
        order: 4;
    }

    #contact .container {
        flex-direction: column-reverse;
        width: 100%;
    }

    #contact .container .right {
        width: var(--width);
        margin: var(--center);
    }

    #contact .left {
        justify-content: flex-end;
        row-gap: 5rem;
    }

    #contact .left .links {
        width: var(--width);
        margin: var(--center);
    }

    #services {
        padding-top: 10vh;
        padding-bottom: 10vh;
    }

    #services .star {
        height: 3rem;
        width: 3rem;
    }

    #services .top .star {
        top: 7rem;
        left: 50%;
        transform: translateX(-50%);
    }

    #services .top .line1 {
        height: 9rem;
        top: 9rem;
        left: 50%;
        transform: translateX(-50%);
    }

    #services .top .line2 {
        display: none;
    }

    #services .container .top .right h3, #services .container .bottom .left h3 {
        width: 80%;
        top: 50%;
        left: 50%;
        font-size: 2.5rem;
        text-align: center;
        transform: translateX(-50%) translateY(-50%);
    }

    #services .frame {
        display: none;
    }

    #services .container .bottom p {
        margin: 0;
    }

    #contact .left a {
        font-size: 2rem;
    }

}



@keyframes showMenu {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes hideMenu {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}