/*------------------------------ HEADER -----------------------------------*/
.header {
    background-color: white;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    position: relative;
    top: 0;
    transition: top 0.3s;
    z-index: 1000;
}

.titre a {
    text-decoration: none; /* Retire le soulignement des liens */
    color: black; /* Couleur du texte par défaut */
    transition: color 0.3s ease; /* Ajoute une transition pour une animation fluide */
}

.titre a:hover {
    color: red; /* Change la couleur du texte en rouge lorsqu'il est survolé */
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('site_sae/img/canyon-gorge.jpeg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%; 
    color: white; 
    scroll-behavior: smooth;
}

.logo img {
    width: 50px;
    height: 50px;
}

.titre {
    color: black;
    font-size: 24px;
    font-weight: bold;
    margin-left: 20px;
}

/*---- menu tel -----*/
.menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.btn-line {
    width: 30px;
    height: 3px;
    background: #333;
    margin: 4px;
}

.menu-tel {
    display: none;
    justify-content: center;
    background: #333;
}

.menu-tel ul {
    list-style: none;
    display: flex;
    padding: 0;
}

.menu-tel ul li {
    margin: 0 20px;
}

.menu-tel ul li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.menu-tel ul li a:hover {
    color: red;
}

/*-----------------------*/

.menu ul {
    margin-left: 150px;
    align-items: center;
    list-style-type: none;
    display: flex;
}

.menu ul li {
    margin-right: 150px;
}

.menu ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease;
}

.menu ul li a:hover {
    color: red; 
}

/*---------------------------------- RECHERCHE ----------------------------*/
.search-bar {
    display: flex;
    align-items: center;
    margin-left: 19px;
}

.search-bar input[type="text"] {
    padding: 10px 20px;
    font-size: 16px;
    border: 1px solid #505050;
    width: 150px; 
    margin-right: 5px;
}

.search-bar input[type="submit"] {
    padding: 10px 20px; /* Ajustez le padding pour correspondre à celui du champ de texte */
    font-size: 16px;
    background-color: #505050;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-bar input[type="submit"]:hover {
    background-color: red;
}
/*---------------------------------------------------------------------------*/
    
/*---------------------------------- FOOTER ---------------------------------*/
.footer {
    background-color: white;
    color: white;
    text-align: center;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.social-icons {
    display: flex; /* Utilise un conteneur flex pour les éléments .social-icons */
    justify-content: center; /* Centre les éléments horizontalement */
    align-items: center; /* Centre les éléments verticalement */
}

.social-icons img {
    width: 40px; /* ou la largeur désirée pour vos images */
    height: 40px; /* ou la hauteur désirée pour vos images */
    margin-right: 20px; /* Espace entre les images (ajustez selon vos préférences) */
}

.legal-info a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    text-decoration: underline;
}
/*---------------------------------------------------------------------------*/
    
/*------------------------- LANGUE -----------------------*/
.flag-icon-fr {
    background-image: url('site_sae/img/fr.png');
}

.flag-icon-en {
    background-image: url('site_sae/img/en.png');
}

.flag-icon {
    display: inline-block;
    width: 20px; /* Ajustez la largeur selon la taille de votre icône de drapeau */
    height: 20px; /* Ajustez la hauteur selon la taille de votre icône de drapeau */
    background-size: cover;
    margin-right: 5px; /* Espacement entre l'icône de drapeau et le texte */
}
/*-----------------------------------------------------------*/
    
    
    /*--------------------  PRESENTATION  -----------------------*/
    
    /* Présentation Yellowstone Populaire */
    
    .carre_yellowstone{
        display: flex;
        margin-left: 35px;
        margin-top: 100px;
        width: 95%;
        height: 400px;
        background-color: #888;
        border: solid 2px whitesmoke;
    }
    
    .yellowstone{
        border: solid 1px white;
        margin-top: 20px;
        margin-left: 20px;
        height: 90%;
    }
    
    .link_yellowstone{
        position: absolute;
        top: 33%;
        margin-left: 40%;
        color: whitesmoke;
        font-size: 30px;
        text-decoration: none;
        font-weight: 600;
    }
    
    .link_yellowstone:hover{
        color: red;
        transition: 0.3s ease;
    }
    
    .p_yellowstone{
        position: absolute;
        text-align: justify;
        width: 50%;
        margin-top: 150px;
        margin-left: 40%;
        bottom: 30%;
        font-size: 20px;
    
    }
    
    /* Présentation Grand Canyon Populaire */
    
    .carre_grandcanyon{
        display: flex;
        margin-left: 35px;
        margin-top: 100px;
        width: 95%;
        height: 400px;
        background-color: #888;
        border: solid 2px whitesmoke;
    }
    
    .grand_canyon{
        border: solid 1px white;
        margin-top: 20px;
        margin-left: 20px;
        height: 90%;
    }
    
    .link_grandcanyon{
        position: absolute;
        top: 102%;
        margin-left: 40%;
        color: whitesmoke;
        font-size: 30px;
        text-decoration: none;
        font-weight: 600;
    }
    
    .p_grandcanyon{
        position: absolute;
        text-align: justify;
        width: 49%;
        margin-top: 150px;
        margin-left: 40%;
        bottom: -40%;
        font-size: 20px;
    
    }
    
    .link_grandcanyon:hover{
        color: red;
        transition: 0.3s ease;
    }
    
    /* Présentation Yosemite Populaire */
    
    .carre_yosemite{
        display: flex;
        margin-left: 35px;
        margin-top: 100px;
        width: 95%;
        height: 400px;
        background-color: #888;
        border: solid 2px whitesmoke;
    }
    
    .yosemite{
        border: solid 1px white;
        margin-top: 20px;
        margin-left: 20px;
        height: 90%;
    }
    
    .link_yosemite{
        position: absolute;
        top: 172%;
        margin-left: 40%;
        color: whitesmoke;
        font-size: 30px;
        text-decoration: none;
        font-weight: 600;
    }
    
    .p_yosemite{
        position: absolute;
        text-align: justify;
        width: 50%;
        margin-top: 150px;
        margin-left: 40%;
        bottom: -108%;
        font-size: 20px;
    
    }
    
    .link_yosemite:hover{
        color: red;
        transition: 0.3s ease;
    }
    
    /* Présentation Death Valley Populaire */
    
    .carre_deathvalley{
        display: flex;
        margin-left: 35px;
        margin-top: 100px;
        width: 95%;
        height: 400px;
        background-color: #888;
        border: solid 2px whitesmoke;
    }
    
    .deathvalley{
        border: solid 1px white;
        margin-top: 20px;
        margin-left: 20px;
        height: 90%;
    }
    
    .link_deathvalley{
        position: absolute;
        top: 240%;
        margin-left: 48%;
        color: whitesmoke;
        font-size: 30px;
        text-decoration: none;
        font-weight: 600;
    }
    
    .p_deathvalley{
        position: absolute;
        text-align: justify;
        width: 40%;
        margin-top: 150px;
        margin-left: 48%;
        bottom: -180%;
        font-size: 20px;
    
    }
    
    .link_deathvalley:hover{
        color: red;
        transition: 0.3s ease;
    }
    
    
    /* Media Query */
    
    @media screen and (max-width: 400px){
        .header {
            padding: 15px;
        }
    
        .logo img {
            width: 30px;
            height: 30px;
        }
    
        .titre {
            font-size: 15px;
            margin-left: 10px;
        }

        /* -------------- MENU -----------------*/
        .menu {
            display: none; /* Masque le menu principal */
        }
    
        .menu-btn {
            display: flex;
            position: absolute;
            flex-direction: column;
            cursor: pointer;
            width: 30px;
            height: 30px;
            top: 15px;
            right: 15px;
        }
    
        .menu-tel ul {
            display: flex;
            flex-direction: column;
            width: 100%;
            text-align: center;
            position: absolute;
            top: 15px;
            background: #333;
        }
    
        .menu-tel ul.active {
            display: flex;
        }
        /*-----------------------------------------*/
    
    
    .carre_yellowstone, .carre_grandcanyon, .carre_yosemite, .carre_deathvalley{
        display: flex;
        height: 350px;
        width: 100%;
        margin-left: 0;
    }
    
    .yellowstone, .grand_canyon, .yosemite, .deathvalley{
        margin-left: 5px;
        margin-top: 11%;
        width: 200px;
        height: 250px;
    
    }
    
    /* Paragraphe & Link Yellowstone */
    
    .p_yellowstone{
        width: 40%;
        font-size: 10px;
        margin-left: 56%;
        margin-bottom: 20%;
    
    }
    
    .link_yellowstone{
        font-size: 15px;
        margin-left: 56%;
        margin-top: -4%;
    
    }
    
    /* Paragraphe & Link Grand Canyon */
    
    .p_grandcanyon{
        width: 40%;
        font-size: 10px;
        margin-left: 56%;
        margin-bottom: 55%;
    
    }
    
    .link_grandcanyon{
        font-size: 15px;
        margin-left: 56%;
        margin-top: -38%;
    }
    
    /* Paragraphe & Link Yosemite */
    
    .p_yosemite{
        width: 40%;
        font-size: 10px;
        margin-left: 56%;
        margin-bottom: 85%;
    }
    
    .link_yosemite{
        font-size: 15px;
        margin-left: 56%;
        margin-top: -75%;
    }
    
    /* Paragraphe & Link Death Valley */
    
    .p_deathvalley{
        width: 40%;
        font-size: 10px;
        margin-left: 56%;
        margin-bottom: 128%;
    }
    
    .link_deathvalley{
        font-size: 15px;
        margin-left: 56%;
        margin-top: -102%;
    }

    /*--------------------------------------- FOOTER -------------------------------*/
    .social-icons img {
        width: 20px; /* ou la largeur désirée pour vos images */
        height: 20px; /* ou la hauteur désirée pour vos images */
        margin-right: 10px; /* Espace entre les images (ajustez selon vos préférences) */
        margin-left: 10px;
    }

    .legal-info a {
        font-size: 10px;
    }

    .language-switch a {
        font-size: 10px;
    }

    .language-switch .flag-icon {
        display: none;
    }
    /*----------------------------------------------------------------------------------*/
}
    