@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');


/* =========================================
   MILA COLORS
========================================= */

:root {

    --navy: #082f52;

    --green: #007a53;

    --whatsapp: #25D366;

    --red: #d80d24;

    --gold: #c88b18;

    --cream: #f8f5ec;

    --gray: #687986;

    --white: #ffffff;

}


/* =========================================
   RESET
========================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    min-height: 100vh;

    overflow-x: hidden;

    font-family:
        "DM Sans",
        sans-serif;

    color:
        var(--navy);

    background:

        radial-gradient(
            circle at 10% 15%,
            rgba(0,122,83,.12),
            transparent 30%
        ),

        radial-gradient(
            circle at 90% 45%,
            rgba(216,13,36,.10),
            transparent 27%
        ),

        radial-gradient(
            circle at 45% 85%,
            rgba(200,139,24,.09),
            transparent 30%
        ),

        var(--cream);

}


a {

    text-decoration: none;

    color: inherit;

}


img {

    display: block;

    max-width: 100%;

}


/* =========================================
   FLOATING MENU
========================================= */

.menu-wrapper {

    position: fixed;

    top: 25px;

    right: 30px;

    z-index: 9999;

}


.menu-toggle {

    width: 58px;

    height: 58px;

    border: none;

    border-radius: 50%;

    background:
        rgba(255,255,255,.92);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    cursor: pointer;

    border:
        1px solid
        rgba(8,47,82,.08);

    box-shadow:
        0 12px 35px
        rgba(8,47,82,.14);

    transition:
        transform .25s ease,
        background .25s ease;

}


.menu-toggle:hover {

    transform:
        scale(1.07);

    background:
        white;

}


.menu-toggle span {

    width: 22px;

    height: 2px;

    border-radius: 10px;

    background:
        var(--navy);

    transition:
        transform .3s ease,
        opacity .3s ease;

}


.menu-toggle.open span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);

}


.menu-toggle.open span:nth-child(2) {

    opacity: 0;

}


.menu-toggle.open span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);

}


/* =========================================
   DROPDOWN MENU
========================================= */

.floating-menu {

    position: absolute;

    top: 72px;

    right: 0;

    width: 320px;

    padding: 15px;

    border-radius: 28px;

    background:
        rgba(255,255,255,.96);

    backdrop-filter:
        blur(22px);

    -webkit-backdrop-filter:
        blur(22px);

    border:
        1px solid
        rgba(8,47,82,.08);

    box-shadow:
        0 25px 70px
        rgba(8,47,82,.18);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(-12px)
        scale(.96);

    transform-origin:
        top right;

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s;

}


.floating-menu.open {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0)
        scale(1);

}


.menu-header {

    padding:
        12px
        12px
        18px;

    display: flex;

    justify-content:
        space-between;

    align-items:
        center;

}


.menu-header strong {

    font-family:
        "Playfair Display",
        serif;

    font-size: 26px;

}


.menu-header span {

    color:
        var(--green);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

}


.floating-menu > a {

    min-height: 70px;

    padding:
        13px
        16px;

    margin-bottom: 7px;

    border-radius: 18px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;

}


.floating-menu > a div {

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.floating-menu > a small {

    color:
        var(--green);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 2px;

}


.floating-menu > a strong {

    font-size: 15px;

}


.floating-menu > a:hover {

    background:
        var(--cream);

    transform:
        translateX(-4px);

}


.floating-menu > a:nth-of-type(2):hover {

    color: white;

    background:
        var(--navy);

}


.floating-menu > a:nth-of-type(2):hover small {

    color:
        #e7c87d;

}


.floating-menu > a:nth-of-type(3):hover {

    color: white;

    background:
        var(--green);

}


.floating-menu > a:nth-of-type(3):hover small {

    color: white;

}


.floating-menu > a:nth-of-type(4):hover {

    color: white;

    background:
        var(--gold);

}


.floating-menu > a:nth-of-type(4):hover small {

    color: white;

}


.menu-footer {

    margin-top: 8px;

    padding:
        15px
        12px
        8px;

    border-top:
        1px solid
        rgba(8,47,82,.08);

    color:
        #7a858e;

    font-size: 9px;

    line-height: 1.5;

}


/* =========================================
   HOME
========================================= */

.home {

    position: relative;

    width:
        min(
            760px,
            calc(100% - 30px)
        );

    min-height: 100vh;

    margin: auto;

    padding:
        75px
        0
        70px;

    text-align: center;

}


/* =========================================
   LOGO
========================================= */

.logo-circle {

    width: 175px;

    height: 175px;

    padding: 9px;

    margin:
        0
        auto
        27px;

    border-radius: 50%;

    background: white;

    box-shadow:
        0 18px 50px
        rgba(8,47,82,.13);

}


.logo-circle img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    border-radius: 50%;

}


/* =========================================
   FIU
========================================= */

.university {

    margin-top: 18px;

    color:
        var(--green);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 5px;

}


/* =========================================
   MILA TITLE
========================================= */

.home h1 {

    margin-top: 24px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            85px,
            11vw,
            130px
        );

    line-height: .82;

}


.home h2 {

    margin-top: 25px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            35px,
            5vw,
            53px
        );

    line-height: 1.05;

}


.tagline {

    margin-top: 27px;

    color:
        var(--gray);

    font-size: 20px;

}


/* =========================================
   TAGS
========================================= */

.tags {

    margin:
        22px
        0
        28px;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

}


.tags span {

    padding:
        8px
        13px;

    border-radius:
        999px;

    background:
        white;

    border:
        1px solid
        rgba(8,47,82,.10);

    font-size: 12px;

    font-weight: 700;

}


/* =========================================
   SOCIAL BUTTONS
========================================= */

.social-links {

    display: flex;

    justify-content: center;

    gap: 18px;

    margin-bottom: 40px;

}


.social {

    width: 74px;

    height: 74px;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    box-shadow:
        0 12px 30px
        rgba(8,47,82,.13);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.social:hover {

    transform:
        translateY(-7px)
        scale(1.07);

    box-shadow:
        0 18px 38px
        rgba(8,47,82,.18);

}


.social svg {

    width: 31px;

    height: 31px;

    fill: white;

}


/* INSTAGRAM */

.instagram {

    background:

        radial-gradient(
            circle at 30% 107%,
            #fdf497 0%,
            #fdf497 5%,
            #fd5949 45%,
            #d6249f 60%,
            #285AEB 90%
        );

}


/* LINKEDIN */

.linkedin {

    background:
        #0A66C2;

}


/* WHATSAPP */

.whatsapp {

    background:
        var(--whatsapp);

}


/* =========================================
   HOME BOXES
========================================= */

.home-button {

    width: 100%;

    min-height: 95px;

    padding:
        14px
        20px;

    margin-bottom: 13px;

    border-radius: 25px;

    display: flex;

    align-items: center;

    gap: 17px;

    text-align: left;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease,
        color .25s ease;

}


.home-button:hover {

    transform:
        translateY(-5px);

    box-shadow:
        0 18px 40px
        rgba(8,47,82,.15);

}


/* FUTURE EVENTS */

.future-button {

    color: white;

    background:
        var(--navy);

}


/* MEMBER */

.member-button {

    background: white;

    border:
        1px solid
        rgba(8,47,82,.10);

}


.member-button:hover {

    color: white;

    background:
        var(--green);

}


/* CONTACT */

.contact-button {

    background: white;

    border:
        1px solid
        rgba(8,47,82,.10);

}


.contact-button:hover {

    color: white;

    background:
        var(--gold);

}


/* =========================================
   BOX ICONS
========================================= */

.button-icon {

    width: 55px;

    height: 55px;

    flex-shrink: 0;

    border-radius: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 23px;

    background:
        rgba(255,255,255,.12);

}


.member-button .button-icon {

    background:
        rgba(0,122,83,.09);

}


.contact-button .button-icon {

    background:
        rgba(200,139,24,.12);

}


.member-button:hover .button-icon,
.contact-button:hover .button-icon {

    background:
        rgba(255,255,255,.15);

}


/* =========================================
   BOX TEXT
========================================= */

.button-text {

    display: flex;

    flex-direction: column;

    flex: 1;

}


.button-text small {

    margin-bottom: 3px;

    font-size: 9px;

    letter-spacing: 2px;

    font-weight: 800;

}


.button-text strong {

    font-size: 17px;

}


.button-text span {

    margin-top: 3px;

    font-size: 12px;

    opacity: .68;

}


.button-arrow {

    font-size: 25px;

}


/* =========================================
   HOME MILO
========================================= */

.home-milo {

    position: absolute;

    width: 145px;

    right: -170px;

    top: 240px;

    z-index: 20;

    pointer-events: none;

    filter:
        drop-shadow(
            0 15px 18px
            rgba(8,47,82,.15)
        );

    animation:
        floatMilo
        4s
        ease-in-out
        infinite;

}


@keyframes floatMilo {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(-3deg);

    }

    50% {

        transform:
            translateY(-13px)
            rotate(3deg);

    }

}


/* =========================================
   EVENTS PAGE
========================================= */

.events-page {

    position: relative;

    width:
        min(
            1100px,
            calc(100% - 30px)
        );

    margin: auto;

    padding:
        100px
        0
        80px;

}


.events-header {

    text-align: center;

    margin-bottom: 55px;

}


.events-header p {

    color:
        var(--green);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 4px;

}


.events-header h1 {

    margin:
        12px
        0;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            58px,
            9vw,
            100px
        );

    line-height: .95;

}


.events-header span {

    color:
        var(--gray);

}


/* =========================================
   EVENT CARD
========================================= */

.event-card {

    position: relative;

    z-index: 5;

    padding: 24px;

    border-radius: 40px;

    background: white;

    display: grid;

    grid-template-columns:
        1.05fr
        .95fr;

    gap: 50px;

    align-items: center;

    border:
        1px solid
        rgba(8,47,82,.10);

    box-shadow:
        0 25px 70px
        rgba(8,47,82,.12);

}


.event-image {

    overflow: hidden;

    border-radius: 29px;

}


.event-image img {

    width: 100%;

}


.event-content {

    padding:
        25px
        30px
        25px
        0;

}


.event-date {

    display: inline-block;

    padding:
        10px
        17px;

    margin-bottom: 25px;

    border-radius: 999px;

    color:
        #8d5c08;

    background:
        #f3e6c6;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;

}


.event-content h2 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            48px,
            6vw,
            75px
        );

    line-height: .93;

}


.event-description {

    margin:
        25px
        0;

    color:
        var(--gray);

    line-height: 1.7;

}


/* =========================================
   SPEAKERS
========================================= */

.speakers {

    padding:
        20px
        0;

    border-top:
        1px solid
        rgba(8,47,82,.09);

    border-bottom:
        1px solid
        rgba(8,47,82,.09);

    display: flex;

    flex-wrap: wrap;

    gap:
        8px
        15px;

}


.speakers p {

    width: 100%;

    color:
        var(--green);

    font-size: 9px;

    letter-spacing: 2px;

    font-weight: 800;

}


/* =========================================
   EVENT DETAILS
========================================= */

.event-details {

    display: grid;

    gap: 14px;

    margin:
        25px
        0;

}


.event-details > div {

    display: flex;

    align-items: center;

    gap: 12px;

}


.event-details > div > span {

    font-size: 22px;

}


.event-details small {

    display: block;

    color:
        var(--gray);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.event-details strong {

    font-size: 13px;

}


/* =========================================
   RSVP
========================================= */

.rsvp {

    width: 100%;

    min-height: 62px;

    padding:
        0
        22px;

    border-radius: 18px;

    background:
        var(--red);

    color: white;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;

    transition:
        transform .25s ease,
        background .25s ease;

}


.rsvp:hover {

    transform:
        translateY(-4px);

    background:
        #b8091c;

}


/* =========================================
   EVENTS MILO
========================================= */

.events-milo {

    position: absolute;

    width: 175px;

    right: -80px;

    top: 230px;

    z-index: 30;

    pointer-events: none;

    filter:
        drop-shadow(
            0 15px 20px
            rgba(8,47,82,.17)
        );

    animation:
        floatMilo
        4s
        ease-in-out
        infinite;

}


/* =========================================
   BACK HOME
========================================= */

.back-home {

    display: block;

    width: fit-content;

    margin:
        35px
        auto
        0;

    padding:
        12px
        18px;

    background: white;

    border-radius: 999px;

    border:
        1px solid
        rgba(8,47,82,.10);

    font-size: 12px;

    font-weight: 700;

    transition:
        transform .2s ease;

}


.back-home:hover {

    transform:
        translateY(-3px);

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .home-milo {

        right: -40px;

        top: 250px;

        width: 115px;

    }


    .events-milo {

        right: -10px;

        top: 260px;

        width: 130px;

    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {


    .menu-wrapper {

        top: 15px;

        right: 15px;

    }


    .menu-toggle {

        width: 52px;

        height: 52px;

    }


    .floating-menu {

        width:
            min(
                310px,
                calc(100vw - 30px)
            );

        top: 64px;

    }


    .home {

        padding:
            70px
            0
            50px;

    }


    .logo-circle {

        width: 140px;

        height: 140px;

    }


    .university {

        font-size: 9px;

        letter-spacing: 3px;

    }


    .home h1 {

        font-size: 80px;

    }


    .home h2 {

        font-size: 31px;

    }


    .tagline {

        font-size: 16px;

    }


    .social {

        width: 62px;

        height: 62px;

    }


    .social svg {

        width: 27px;

        height: 27px;

    }


    .home-milo {

        width: 85px;

        right: -5px;

        top: 210px;

    }


    .home-button {

        min-height: 87px;

    }


    .events-page {

        padding:
            90px
            0
            60px;

    }


    .events-header {

        margin-bottom: 35px;

    }


    .event-card {

        grid-template-columns: 1fr;

        gap: 10px;

        padding: 13px;

        border-radius: 28px;

    }


    .event-image {

        border-radius: 21px;

    }


    .event-content {

        padding:
            25px
            10px
            12px;

    }


    .events-milo {

        width: 100px;

        right: -5px;

        top: 260px;

        z-index: 20;

    }

}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 430px) {

    .home {

        width:
            calc(100% - 20px);

    }


    .home h1 {

        font-size: 72px;

    }


    .home h2 {

        font-size: 28px;

    }


    .tags {

        margin-top: 18px;

    }


    .social-links {

        gap: 13px;

    }


    .home-button {

        padding:
            12px
            14px;

    }


    .button-icon {

        width: 49px;

        height: 49px;

    }


    .button-text strong {

        font-size: 15px;

    }


    .button-text span {

        font-size: 10px;

    }


    .events-header h1 {

        font-size: 55px;

    }


    .event-content h2 {

        font-size: 46px;

    }

}