/* Header */
.header {
    background: linear-gradient(180deg, rgba(29, 123, 176, 1) 0%, rgba(243, 234, 199, 1) 100%);
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 40, 64, 0.45);
    z-index: 1;
}

.subtitle {
    max-width: 60ch;
    margin: auto;
}

#main-text {
    position: relative;
    z-index: 2;
}

#main-text h1 {
    font-size: clamp(3rem, 4vw, 8rem);
    margin-bottom: .2rem;
}

#main-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: .1rem;
}

#main-text .subtitle {
    font-size: clamp(18px, 22px, 24px);
}

@media only screen and (max-width: 720px) {
    #main-text {
        margin-bottom: 3rem;
    }
}

@media only screen and (min-width: 720px) and (max-width: 1000px) {
    .header {
        height: 55vh;
    }
}

/* Carousel */
.carousel-img {
    max-height: 33rem;
    object-fit: cover;
}

/* Photo Gallery */
.gallery-photo {
    height: 20rem;
    width: 100%;
    object-fit: cover;
}

.photo-card {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.photo-card:hover {
    transform: scale(1.05);
}

.photo-overlay {
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

.overlay-content {
    transition: opacity 0.3s ease;
}

/* Python section */

.python-logo {
    display: flex;
    justify-content: center;
}

/* Map */
.map-container {
    padding: 1rem;
    max-width: 1200px;
    margin: auto;
    width: 100%;
    border-radius: .5rem;
}

.inscription {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FB743D;
    width: 100%;
    z-index: 1000;
    text-align: center;
    height: 5rem;

    a {
        text-decoration: none;
        color: #013350;
    }
}