/*BODY & HR*/
body {
    background: linear-gradient(to bottom, #fef6f9, #fdfbe8, #f8fef0);
    min-height: calc(100vh - 100px);
    padding-top: 50px;
    padding-bottom: 50px;
    margin: 0 auto;
    width: 97vw;
}

hr {
    height: 2px;
    border: none;
    background: linear-gradient(to right, transparent, #d4eaa0, transparent);
    width: 85%;
}

.first-hr {
    margin-top: 1.6rem;
}

.second-hr {
    margin-bottom: 1.8rem;
}

/*HEADER*/

header {
    align-items: center;
    flex-direction: column;
    display: flex;
}

.logo {
    align-self: flex-start;
    height: auto;
    margin-bottom: 2.5rem; 
    width: 500px;
}

.event-image {
    width: 35%;
    height: auto;
}

h1 {
    font-family: "Archivo Black", sans-serif;
    font-size: 60px;
    font-style: normal;
    font-weight: 400;
    text-align: center;
}

.header-presentation {
    font-family: "Archivo Black", sans-serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 400; 
}

/*MAIN*/

section {
    width: 100%;
}

h2 {
    font-family: "Archivo Black", sans-serif;
    font-size: 27px;
    font-style: normal;
    font-weight: 400;
}

h3 {
    font-family: "Bitter", serif;
    font-optical-sizing: auto;
    font-size: 20px;
    font-style: normal;
    font-weight: 670;
}

.cards-container {
    border-radius: 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
    padding: 2rem 1rem 3rem;
}

.event-card {
    background: linear-gradient(135deg, #fef6f9, #f8fef0);
    border: 1px solid #d4eaa0;
    border-radius: 15px;
    padding: 1.3em;
    max-width: 450px;
}

.description {
    font-family: "Bitter", serif;
    font-optical-sizing: auto;
    font-size: 20px;
    font-style: normal;
    font-weight: 450;
    line-height: 1.5;
    text-align: justify;
}

h3, .session, .hour-room, .duration {
    text-align: center;
}

.hour-room, .duration {
    font-family: "Bitter", serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-style: normal;
    font-weight: 650;
}

footer p {
    font-family: "Bitter", serif;
    font-optical-sizing: auto;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    text-align: center;
} 

/*MEDIA QUERIES FOR MOBILE*/

@media (max-width: 480px) {

    body {
        width: 100%;
        padding-top: 20px;
        padding-bottom: 20px;
        min-height: calc(100vh - 40px);
    }

    .logo {
        width: 250px;
        align-self: center;
    }

    .event-image {
        width: 85%;
    }

    h1 {
        font-size: 32px;
    }

    .header-presentation {
        font-size: 16px;
        margin-left: 0.8rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
        margin: 0 0.3rem;
        padding: 1rem 0.5rem 2rem;
        gap: 1rem;
    }

    .event-card {
        max-width: 100%;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 17px;
    }

    .description {
        font-size: 16px;
    }

    .hour-room, .duration {
        font-size: 15px;
    }

    footer p {
        font-size: 13px;
        margin: 0.5rem 1rem;
    }

}