﻿@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

body {
    font-family: Quicksand, sans-serif;
    text-align: center;
    background-color: #071426;
    color: #333333;
    padding: 0;
    margin: 0;
}

/* Barre de navigation */
.fixed-navbar {
    position: fixed;
    width: 100%;
    height: 0px;
    top: 0;
    z-index: 100;
    border: 0px solid black;
    background-color: #1e2e45;
    box-shadow: 0px 2px 6px 0px rgba(50, 50, 50, 0.25);
}

/* Logo de l'association */
.association-logo {
    position: fixed;
    top: 20px;
    left: 2.5%;
    z-index: 101;
    border: 0px solid grey;
}

@media all and (min-width:1000px) {
    .association-logo {
        left: 1.3%;
        width: 180px;
    }

    .selection-btn-1 {
        left: 3.7%;
        top: 200px;
    }

    .selection-btn-2 {
        left: 3.4%;
        top: 250px;
    }

}

@media all and (min-width:1100px) {
    .association-logo {
        left: 2%;
        width: 180px;
    }

    .selection-btn-1 {
        left: 4%;
        top: 210px;
    }

    .selection-btn-2 {
        left: 3.7%;
        top: 260px;
    }

}

@media all and (min-width:1200px) {
    .association-logo {
        width: 200px;
    }

    .selection-btn-1 {
        left: 4.3%;
        top: 220px;
    }

    .selection-btn-2 {
        left: 4%;
        top: 270px;
    }

}

@media all and (min-width:1300px) {
    .association-logo {
        width: 210px;
    }

    .selection-btn-1 {
        left: 4.6%;
        top: 230px;
    }

    .selection-btn-2 {
        left: 4.3%;
        top: 280px;
    }

}

@media all and (min-width:1400px) {
    .association-logo {
        width: 220px;
    }

    .selection-btn-1 {
        left: 4.9%;
        top: 240px;
    }

    .selection-btn-2 {
        left: 4.6%;
        top: 290px;
    }

}

@media all and (min-width:1500px) {
    .association-logo {
        width: 230px;
    }

    .selection-btn-1 {
        left: 5.2%;
        top: 250px;
    }

    .selection-btn-2 {
        left: 4.9%;
        top: 300px;
    }

}

@media all and (min-width:1500px) {
    .association-logo {
        width: 240px;
    }

    .selection-btn-1 {
        left: 5.7%;
        top: 250px;
    }

    .selection-btn-2 {
        left: 5.5%;
        top: 300px;
    }

}

.association-logo-2 {
    display: none;
    position: fixed;
    top: 24px;
    left: 110px;
    z-index: 101;
    border: 0px solid grey;
}

@media all and (max-width: 700px) {
    .association-logo-2 {
        width: 250px;
        top: 15px;
        left: 20px;
    }
}

.association-logo-3 {
    display: none;
    position: fixed;
    top: 8px;
    left: -30px;
    z-index: 101;
    width: 170px;
    border: 0px solid grey;
}

/* Main content */
main {

    padding-left: 20%;
    margin-top: -20px;

}

.flex-img {
    width: 80%;
    border: 0px solid orangered;
}

.only-smartphone {
    display: none;
}

/* Header Parallaxe */
.parallax-container {
    overflow-x: hidden;
    height: 100%;
}

.parallax-section-0 {
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.parallax-section {
    background-size: cover;
    min-height: 100vh;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Pour placer les éléments sur les sections parallaxe avec un effet pour assombrir */
.featured-box {
    background-color: rgba(25, 25, 50, 0.8);
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.featured-box-2 {
    background-color: rgba(1, 1, 18, 0.8);
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.first-parallax {
    background-image: url(images/clapBackUnsplash2.jpg);
}

.second-parallax {
    background-image: url(images/megaPhotoCam3.jpg);
}

.third-parallax {
    background-image: url(images/chaisesLongues.jpg);
}

.fourth-parallax {
    background-image: url(images/megaPhotoCam.jpg);
}

/* Featured POST : Responsive Flex-Layout */
.flex-container {
    max-width: 60em;
    margin-right: auto;
    margin-left: auto;
}

@media all and (min-width: 1000px) {
    .layout {
        display: flex;
    }
}

.col {
    padding: 40px;
}

.col-main {
    flex: 1;
    border: 0px solid white;
    font-size: 30px;
}

.col-complementary {
    flex: 1;
    border: 0px solid green;
}

/* Flyer Text */
.flyer-text {
    border: 0px solid white;
    text-align: left;
    color: white;
}

.first-content {
    margin-top: -50px;
}

.flyer-text-2 {
    border: 0px solid white;
    text-align: left;
    color: white;
}

.flyer-subtitle {
    color: gold;
    font-size: 26px;
    text-transform: uppercase;
}

.flyer-subtitle-2 {
    color: #ff8c71;
    font-size: 26px;
    text-transform: uppercase;
}

.flyer-subtitle-3 {
    color: #a0c1fd;
    font-size: 26px;
    text-transform: uppercase;
}

.flyer-subtitle-4 {
    color: #a0c1fd;
    font-size: 26px;
    text-transform: uppercase;
}

.flyer-para {
    color: white;
    font-size: 18px;
}

.flyer-para-2 {
    color: white;
    font-size: 18px;
}

/* Boutons Radio du Menu principal */
.selection-btn-1 {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 10px;
    cursor: pointer;
    color: #7aa9fc;
    z-index: 100;
    position: fixed;
}

.selection-btn-1:hover {
    opacity: 0.5;
}

.selection-btn-2 {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 10px;
    cursor: pointer;
    color: #7aa9fc;
    z-index: 100;
    position: fixed;
}

.selection-btn-2:hover {
    opacity: 0.5;
}

/* Grid Films */
.festival-container {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    border: 0px solid red;
    background: #2a4163;
}

@media all and (min-width: 1000px) {
    .festival-container {
        padding: 20px;
    }
}

.festival-item {
    border: 0px solid red;
    min-width: 15em;
    max-width: 30em;
    height: 26em;
    cursor: pointer;
    margin: 10px;
    display: flex;
    flex: 1;
    flex-basis: 20%;
    background-size: 100%;
    background-position: top;
    transition: background-size 0.5s;
    background-repeat: no-repeat;
    transition: 0.5s;
}

@media all and (max-width:1100px) {
    .festival-item {
        min-width: 13em;
    }
}


@media all and (min-width:600px) {
    .size-plus {
        height: 40em !important;
    }
}

.festival-item .link {
    width: 100%;
    opacity: 0;
    color: white;
    text-decoration: none;
    border: 0px solid green;
    margin-top: -10px;

}

.festival-item .item-tag {
    width: 100%;
    height: 30px;
    opacity: 1;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border: 0px solid green;
    /*text-align:center;*/
    margin-top: 120%;
    margin-left: -40%;
    background: #6386C4;
    line-height: 1.8;
    text-transform: uppercase;

}

.festival-item:hover {
    opacity: 0.5;
    transition: 0.5s;
}

/* Boutons radio masqués */
.selection-input {
    opacity: 0;
}

/* Section films */
.program-content {
    margin-top: -120px;
}

/* Réglages pour l'alternance de pages */
.festival-content,
.program-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1.7s;
    position: absolute;
}

#festivalSelect:checked ~ * .festival-content,
#programSelect:checked ~ * .program-content {
    max-height: unset;
    opacity: 1;
    position: static;
}

/* Single Page Navigation */
.section-grid {
    border: 0px solid blue;
    margin-top: 0px;
}

.navigation-container {
    min-height: 100vh;
}

.navigation-links {
    margin-top: 100px;
    display: flex;
    justify-content: space-around;
    height: 50px;
    background: #2a4163;
    text-transform: uppercase;
}

.navigation-links a {
    font-size: 20px;
    color: white;
    text-decoration: none;
    padding: 20px;
    letter-spacing: 0.5px;
}

.navigation-links a:hover {
    opacity: 0.5;
    transition: 0.5s;
}

.navigation-section {
    position: absolute;
    top: 0;
    height: 100vh;
    width: 0;
    opacity: 0;
    transition: opacity .7s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navigation-section h4 {
    color: black;
    font-size: 20px;
    opacity: 0;
    border: 0px solid black;
    padding: 40px;
}

/* Style appliqué au déclenchement */
.navigation-section:target {
    opacity: 1;
    position: absolute;
    left: 0;
    width: 80%;
    height: 100%;
    z-index: 10;
    margin-left: 20%;
}

.navigation-section:target h4 {
    opacity: 0;
    animation: 1s fadeIn forwards .5s;
}

.close-icon {
    position: absolute;
    top: 40px;
    left: 40px;
    color: white;
    font-size: 20px;
}

.white-link {
    color: white;
    text-decoration: none;
}

.white-link:hover {
    opacity: 0.5;
    transition: 0.2s;
}

/* Screen Réservations avec formulaire */
#second-navigation {
    background: #395784;
    transition: opacity 0s;
}

/* Screens Synopsis */
#third-navigation {
    background: #5c6bc0;
}

#fourth-navigation {
    background: #6386C4;
}

#fifth-navigation {
    background: #5c6bc0;
}

#sixth-navigation {
    background: #6386C4;
}

#seventh-navigation {
    background: #5c6bc0;
}

#eigth-navigation {
    background: #6386C4;
}

#ninth-navigation {
    background: #5c6bc0;
}

#tenth-navigation {
    background: #6386C4;
}

@keyframes fadeIn {
    100% {
        opacity: 1
    }
}

/* Formulaire de contact */
input[type=text] {
    width: 100%;
    padding: 10px 13px;
    margin: 8px 0;
    border: 0px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background: #e8e8e8;
    transition: 0.5s;
    outline: none;
    font-family: Quicksand, sans-serif;
    font-weight: bold;
}

.reserve-form {
    padding: 20px;
    max-width: 500px;
}

input[type=email] {
    width: 100%;
    padding: 10px 13px;
    margin: 8px 0;
    border: 0px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background: #e8e8e8;
    transition: 0.5s;
    outline: none;
    font-family: Quicksand, sans-serif;
    font-weight: bold;
}

textarea {
    width: 100%;
    padding: 10px 13px;
    height: 120px;
    margin: 8px 0;
    border: 0px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background: #e8e8e8;
    transition: 0.5s;
    outline: none;
    font-family: Quicksand, sans-serif;
    font-weight: bold;
}

button[type=submit] {
    cursor: pointer;
    margin: 8px 0;
    height: 30px;
    border: 0px solid #ccc;
    border-radius: 4px;
    width: 120px;
    font-family: Quicksand, sans-serif;
    background: #6386C4;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
}

select {
    cursor: pointer;
    width: 100%;
    padding: 10px 7px;
    margin: 8px 0;
    border: 1px solid grey;
    border-radius: 4px;
    box-sizing: border-box;
    outline: none;
    overflow: hidden;
    font-family: Quicksand, sans-serif;
    font-size: 13px;
    font-weight: bold;
}

select option {
    font-size: 13px;
    font-weight: bold;
}

button[type=submit]:hover {
    opacity: 0.75;
}

/* Footer */
footer {
    padding-left: 20%;
    color: white;
    margin-top: -40px;
}

/* Première partie du Footer - Flex container (Carte et formulaire) */
.flex-footer {
    background-color: #070a1d;
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 40px;
    padding-bottom: 20px;
    border: 0px solid green;
}

@media all and (min-width: 1000px) {
    .footer-layout {
        display: flex;
    }
}

.footer-col {
    padding: 20px;
}

.footer-col-main {
    flex: 1;
    border: 0px solid white;
}

.footer-col-complementary {
    flex: 1;
    border: 0px solid green;
}

.iframe-map {
    width: 100%;
    height: 400px;
    border: 0px solid white;
}

.contact-form-title {
    font-size: 16px;
    border: 0px solid white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.special-margin {
    margin-top: 30px !important;
}

.special-size {
    width: 90% !important;
}

/* Deuxième partie du Footer */
.footer-box {
    width: 100%;
    border: 0px solid red;
    background: #070a1d;
    text-transform: uppercase;
}

.flex-feet {
    max-width: 80em;
    border: 0px solid red;
}

@media all and (min-width: 1000px) {
    .feet-layout {
        display: flex;
    }
}

.feet-col {
    padding: 40px;
}

.feet-col-main {
    flex: 1;
    border: 0px solid white;
    font-size: 16px;
}

.new-href {
    color: white;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.fa-facebook {
    font-size: 28px;
}

.fa-twitter {
    font-size: 26px;
    padding-left: 20px;
}

/* Media Queries Max Width 999px */
@media all and (max-width: 999px) {

    /* Réglage de la position de la présentation du festival en version tablette et smartphone */
    .parallax-section-0 {
        height: 500px;
        margin-top: -150px;
    }

    .flex-img-2 {
        width: 20%;
        position: absolute;
        margin-top: 30px;
        margin-left: -80px;
    }

    .col-main {
        font-size: 24px;
    }

    .flyer-subtitle {
        color: grey;
        font-size: 20px;
    }

    .flyer-subtitle-2 {
        color: grey;
        font-size: 20px;
    }

    .flyer-subtitle-3 {
        color: grey;
        font-size: 20px;
    }

    .flyer-subtitle-4 {
        color: grey;
        font-size: 20px;
    }

    .fixed-navbar {
        height: 105px;
    }

    .association-logo {
        display: none;
    }

    .association-logo-2 {
        display: initial;
    }

    .association-logo-3 {
        display: initial;
    }

    .selection-btn-1 {
        top: 10px;
        right: 15px;
    }

    .selection-btn-2 {
        top: 50px;
        right: 10px;
    }

    main {
        padding-left: 0%;
    }

    footer {
        padding-left: 0%;
    }

    .iframe-map {
        width: 600px;
        height: 400px;
    }

    .festival-content {
        margin-top: 80px;
    }

    .program-content {
        margin-top: 0px;
    }

    .featured-box {
        background-color: rgba(1, 1, 18, 0);
    }

    .featured-box-2 {
        background-color: rgba(1, 1, 18, 0);
    }

    .tree-img {
        position: relative;
        margin-top: 0px;
        margin-left: 10px;
        width: 100px;
    }

    .only-smartphone {
        display: initial;
    }

    .post-img {
        width: 0%;
        border: 1px solid white;
    }

    .featured-position {
        margin-left: 0px !important;
    }

    .first-parallax {
        background-image: none;
    }

    .second-parallax {
        background-image: none;
    }

    .third-parallax {
        background-image: none;
    }

    .fourth-parallax {
        background-image: none;
    }

    .festival-item {
        height: 24em;
    }

    .festival-item .item-tag {
        display: none;
    }

    .navigation-section:target {
        width: 100%;
        margin-left: 0%;
    }

    .close-icon {
        top: 120px;
    }

}

/* Media Queries Max Width 700px */
@media all and (max-width: 700px) {

    .iframe-map {
        width: 500px;
        height: 400px;
    }

    .association-logo-3 {
        display: none;
    }

    .parallax-section-0 {
        margin-top: -100px;
        height: 550px;
    }

}

/* Media Queries Max Width 600px */
@media all and (max-width: 600px) {

    .iframe-map {
        width: 300px;
        height: 300px;
    }

}

@media all and (max-width: 500px) {

    .parallax-section-0 {
        margin-top: -50px;
    }

}

/* Media Queries Max Width 430px */
@media all and (max-width: 430px) {

    .selection-btn-1 {
        top: 55px;
        left: -120px;
    }

    .selection-btn-2 {
        top: 55px;
        left: 140px;
    }

}

/* Media Queries Max Width 400px */
@media all and (max-width: 400px) {

    .iframe-map {
        width: 230px;
        height: 230px;
    }

    .parallax-section-0 {
        margin-top: 0px;
        height: 650px;
    }

    .col-main {
        font-size: 20px;
    }

    .reserve-form {
        margin-top: 100px;
        border: 0px solid red;
    }

}

/* Media Queries Max Width 300px */
@media all and (max-width: 330px) {

    .parallax-section-0 {
        margin-top: 20px;
        height: 650px;
    }

    .first-content {
        margin-top: 0px;
    }

}
