@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
:root {
    --header-height: 3rem;
    --font-semi: 600;
}


/*===== Colores =====*/

:root {
    --first-color: #4070F4;
    --second-color: #0E2431;
}


/*===== Fuente y tipografia =====*/

:root {
    --body-font: 'Poppins', sans-serif;
    --big-font-size: 2rem;
    --h2-font-size: 1.25rem;
    --normal-font-size: 0.938rem;
}

@media screen and (min-width: 768px) {
     :root {
        --big-font-size: 3.5rem;
        --h2-font-size: 2rem;
        --normal-font-size: 1rem;
    }
}


/*===== Margenes =====*/

:root {
    --mb-1: 0.5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
    --mb-5: 2.5rem;
    --mb-6: 3rem;
}


/*===== z index =====*/

:root {
    --z-back: -10;
    --z-normal: 1;
    --z-tooltip: 10;
    --z-fixed: 95;
}


/*===== BASE =====*/

*,
::before,
::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    color: var(--second-color);
}

::-webkit-scrollbar {
    width: 0;
}

#progress-cont {
    position: fixed;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.05);
}

#progress-bar {
    position: fixed;
    top: 0;
    right: 0;
    width: 6px;
    z-index: 100;
    background: linear-gradient(to top, #008aff, #00ffe7);
}

/*::-webkit-scrollbar {*/
/*    width: 0;*/
/*}*/

/*#scrollpath {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    right: 0;*/
/*    width: 6px;*/
/*    height: 100%;*/
/*    z-index: 100;*/
/*    background: rgba(255, 255, 255, 0.05);*/
/*}*/

/*#progressbar {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    right: 0;*/
/*    width: 6px;*/
/*    z-index: 100;*/
/*    background: linear-gradient(to top, #008aff, #00ffe7);*/
/*    animation: animate 5s linear infinite;*/
/*}*/

/*@keyframes animate {*/
/*    0%,*/
/*    100% {*/
/*        filter: hue-rotate(0deg);*/
/*    }*/
/*    50% {*/
/*        filter: hue-rotate(360deg);*/
/*    }*/
/*}*/

/*#progressbar::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    z-index: 100;*/
/*    background: linear-gradient(to top, #008aff, #00ffe7);*/
/*    filter: blur(10px);*/
/*}*/

/*#progressbar::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    z-index: 100;*/
/*    background: linear-gradient(to top, #008aff, #00ffe7);*/
/*    filter: blur(20px);*/
/*}*/

h1,
h2,
p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-title {
    position: relative;
    font-size: var(--h2-font-size);
    color: var(--first-color);
    margin-top: var(--mb-2);
    margin-bottom: var(--mb-4);
    text-align: center;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 64px;
    height: 0.18rem;
    left: 0;
    right: 0;
    margin: auto;
    top: 2rem;
    background-color: var(--first-color);
}

.section {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.bd-grid {
    max-width: 1024px;
    display: grid;
    grid-template-columns: 100%;
    grid-column-gap: 2rem;
    width: calc(100% - 2rem);
    margin-left: var(--mb-2);
    margin-right: var(--mb-2);
}

.l-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(146, 161, 176, .15);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: var(--font-semi);
}

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 80%;
        height: 100%;
        padding: 2rem;
        background-color: #fff;
        transition: .5s;
    }
    .event-dicription {
        display: none;
    }
}

.nav__item {
    margin-bottom: var(--mb-4);
}

.nav__link {
    position: relative;
    color: var(--second-color);
}

.nav__link:hover {
    position: relative;
}

.nav__link:hover::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0.18rem;
    right: 0;
    top: 2rem;
    background-color: var(--first-color);
}

.nav__logo {
    color: var(--second-color);
}

.nav__toggle {
    color: var(--second-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.active::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0.18rem;
    right: 0;
    top: 2rem;
    background-color: var(--first-color);
}

.show {
    left: 0;
}

.home__container {
    height: calc(100vh - var(--header-height));
    align-content: center;
}

.home__title {
    font-size: var(--big-font-size);
    margin-bottom: var(--mb-5);
    color: var(--second-color);
}

.home__image {
    margin-top: 55px;
    width: 280px;
    justify-self: center;
}

.button {
    display: inline-block;
    background-color: var(--first-color);
    color: #fff;
    padding: .75rem 2.5rem;
    font-weight: var(--font-semi);
    border-radius: .5rem;
}

.button:hover {
    box-shadow: 0 10px 36px rgba(0, 0, 0, .15);
}

.about__container {
    row-gap: 1rem;
    text-align: center;
}

.about__subtitle {
    margin-bottom: var(--mb-2);
}

.about__img {
    justify-self: center;
}

.about__img img {
    width: 200px;
    border-radius: .5rem;
}

.carousel_events {
    background-color: #fff;
    margin-left: 40px;
    margin-right: 40px;
}

.event_carousel-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px -5px #00000070;
    margin: 20px 30px 50px;
    border-radius: 10px;
    width: 260px;
    height: 350px;
    background-color: #fff;
    counter-increment: carousel-cell;
}


/* cell number */

.event_carousel-cell:hover {
    transform: translateY(-0.5%);
    cursor: pointer;
}

.event-img {
    width: 100%;
    padding: 10px 10px 0px 10px;
}

.event-img img {
    border-radius: 7px;
    width: auto;
}

.event-txt {
    width: auto;
    font-weight: var(--font-semi);
    padding: 20px 20px 20px 20px;
}

.event_carousel-cell a {
    color: var(--second-color);
    text-decoration: none;
}

.carousel {
    background-color: #fff;
    margin-left: 40px;
    margin-right: 40px;
}

.carousel-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px -5px #00000070;
    margin: 20px 30px 50px;
    border-radius: 10px;
    width: 220px;
    background-color: #fff;
    counter-increment: carousel-cell;
}

.carousel-cell:hover {
    transform: translateY(-0.5%);
    cursor: pointer;
}

.cusimgent {
    height: 258.75px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media screen and (max-width: 768px) {
    .cusimgent {
        height: 138px !important;
    }
}

.mem-img {
    width: 100%;
    height: 13rem;
}

.mem-img img {
    padding: 25px 25px 25px 25px;
}

.mem-txt {
    text-align: center;
    font-weight: var(--font-semi);
    color: var(--second-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.mem-name {
    margin-bottom: 20px;
}

.contact__container {
    row-gap: 1rem;
    text-align: center;
}

.contact__img {
    justify-self: center;
}

.contact__img img {
    width: 300px;
    border-radius: .5rem;
}

.contact__text {
    margin-bottom: 30px;
    font-weight: 600;
}

.footer {
    background-color: var(--second-color);
    color: #fff;
    text-align: center;
    font-weight: var(--font-semi);
    padding: 2rem 0;
}

.footer__title {
    font-size: 2rem;
    margin-bottom: var(--mb-4);
}

.contact__social {
    padding-top: 0;
    padding-bottom: 2.5rem;
    flex-direction: row;
    align-self: flex-end;
    text-align: center;
}

.contact__social-icon {
    display: inline-block;
    width: 38px;
    height: 38px;
    background: #f1f1f1;
    margin: 5px;
    border-radius: 30%;
    box-shadow: 0 5px 15px -5px #00000070;
    color: var(--first-color);
    overflow: hidden;
    position: relative;
}

.contact__social-icon i {
    line-height: 38px;
    font-size: 15px;
    transition: 0.2s linear;
}

.contact__social-icon:hover i {
    transform: scale(1.3);
    color: #f1f1f1;
}

.contact__social-icon::before {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    background: var(--first-color);
    transform: rotate(45deg);
    left: -110%;
    top: 90%;
}

.contact__social-icon:hover::before {
    animation: anim 0.7s 1;
    top: -10%;
    left: -10%;
}

@keyframes anim {
    0% {
        left: -110%;
        top: 90%;
    }
    50% {
        left: 10%;
        top: -30%;
    }
    100% {
        top: -10%;
        left: -10%;
    }
}

.team_section {
    margin-top: 50px;
}

@media screen and (min-width: 768px) {
    body {
        margin: 0;
    }
    .section {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }
    .section-title {
        margin-bottom: var(--mb-6);
    }
    .section-title::after {
        width: 80px;
        top: 3rem;
    }
    .nav {
        height: calc(var(--header-height) + 1rem);
    }
    .nav__list {
        display: flex;
        padding-top: 0;
    }
    .nav__item {
        margin-left: var(--mb-6);
        margin-bottom: 0;
    }
    .nav__toggle {
        display: none;
    }
    .nav__link {
        color: var(--second-color);
    }
    .home__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        text-align: initial;
    }
    .home__title {
        font-size: var(--big-font-size);
        margin-bottom: var(--mb-5);
    }
    .home__image {
        margin-top: 55px;
        width: 500px;
        justify-self: center;
    }
    .about__container,
    .skills__container,
    .contact__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        text-align: initial;
    }
    .about__img img {
        width: 300px;
    }
    .contact__text {
        margin-left: 1%;
        margin-bottom: 40px;
        font-weight: 600;
    }
    .contact__img img {
        width: 500px;
    }
    .carousel_events {
        background-color: #fff;
        margin-left: 40px;
        margin-right: 40px;
    }
    .event-img {
        width: 100%;
        padding: 20px 20px 0px 20px;
    }
    .event-img img {
        border-radius: 7px;
        width: auto;
    }
    .event-txt {
        width: auto;
        font-weight: var(--font-semi);
        padding: 20px 20px 20px 20px;
    }
    .event_carousel-cell a {
        color: var(--second-color);
        text-decoration: none;
    }
    .event_carousel-cell {
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 5px 15px -5px #00000070;
        margin: 20px 30px 50px;
        border-radius: 10px;
        width: 500px;
        height: 480px;
        background-color: #fff;
        counter-increment: carousel-cell;
    }
    /* cell number */
    .event_carousel-cell:hover {
        transform: translateY(-0.5%);
        cursor: pointer;
    }
    .carousel-cell {
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 5px 15px -5px #00000070;
        margin: 20px 20px 50px;
        border-radius: 10px;
        width: 220px;
        background-color: #fff;
        counter-increment: carousel-cell;
    }
    .carousel-cell:hover {
        transform: translateY(-0.5%);
        cursor: pointer;
    }
}

@media screen and (min-width: 1024px) {
    .bd-grid {
        margin-left: auto;
        margin-right: auto;
    }
    .home__img {
        right: 10%;
    }
}