


@media screen and (max-width: 1400px) {
    #profile {
        height: 83vh;
        margin-bottom: 6rem;
    }

    .about-containers {
        flex-wrap: wrap;
    }
    
    .info-section {
        text-align: justify;
    }
    
    .logo {
        color: brown;
    }
}


@media screen and (max-width: 1275px){
    
    /* WELCOME */
    
    #welcome .right-text-container {
        position: absolute;
        right: 1%;
        top: 30%;
        width: 35%;
        max-width: 35%;
        text-align: center;
        
        /*background: red;*/
    }
    
    #welcome h4 {
        left:0;
        top: 0;
    }
    
    
    /* TIMELINE */
    
    .gallery-cell {
        height: 75px;
        width:90px;
    }
    
    .date-start {
        display: none;
    }
    
    
    
}



@media screen and (max-width: 1200px) {
    #desktop-nav {
        display: none ;
    }

    #hamburger-nav {
        display: flex;
        justify-content: space-between;
        padding: 3%;
        z-index: 5;
        position: relative;
    }

    #experience, .experience-details-container {
        margin-top: 2rem;
    }

    #profile, .section-container {
        display: block;
    }

    .arrow {
        display: none;
    }
    
    section, .section-container {
        height: fit-content;
    }



    .about-containers {
        margin-top: 0;
    }
    
        
    #gallery-section {
        height: fit-content;
    }
}

@media screen and (max-width: 1000px){

    /* WELCOME */

    #welcome .left-text-container {
        display: none;
    }
    
    #welcome h4, #welcome h1, #welcome .right-text-container h2, #welcome p, #welcome .right-text-container {
        position: relative;
        left: 0;
        top: 0;
        text-align: center;
        max-width: 100%;
        width: 100%;
        
        /*background: red;*/
    }
    
    
    /* TIMELINE */

    
    #gallery{
        padding: 0;
    }
    
    
    
    
    #appariements-section {
        gap: 5vh;
    }
}

@media screen and (max-width: 600px) {
    .menu-links {
        background-color: rgba(250, 250, 250, 0.5);
    }
    
    footer nav {
        height: fit-content;
        margin-bottom: 2rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    
    
    /* ACCUEIL */
    

    /* TIMELINE */
    
    .gallery-cell {
        height: 50px;
        width:50px;
    }
    
    
    /* RANKINGS */
    
    .table-choice-container {
        gap: 10px;
    }
    
    .choice-button {
        font-size: 1em;
        height: 50px;
        width: 100px;
    }
    

}

/* TEST POUR HAUTEUR RESPONSIVE */
@media screen and (max-height: 500px) {
    nav {
        min-height: 60px;
        padding-top: 5px; 
        padding-right: 5px;
    }
    section {
        min-height: 500px;
        padding-top: 10vh;
    }
}

@media screen and (max-width: 450px) {
    * {
        box-sizing: content-box;
    }
    
    
    #hamburger-nav {
        position: relative;
        min-height: 30px;
        height: 30px;
        justify-content: flex-end;
        
    }
    
    .menu-links.open{
        width: 90vw;  
        /*left: 0;*/
        /*font-weight: bold;*/
        background: rgba(222,184,135, 0.95);
        right: -5px;
        
    }
    
    .menu-links.open a {
        color: brown;
        /*font-weight: bold;*/
    }
    
    section {
        padding-top: 5vh;
    }
    
    .logo {
      display: none;  
    }

    #welcome {
        /*padding-top: 20vh;*/
        height: fit-content;
    }

    #welcome h1 {
        font-size: 1.5em;
    }
    
    #welcome .right-text-container h2 {
        font-size: 1.2em;
    }
    
    .welcome-container {
        margin: 15% 0;
    }
    
    
    #gallery {
        justify-content: center;
    }
    
    .gallery-cell {
        width: 10%;
        height: 20%;
    }
    
    
    #appariements-section {
        gap: 3vh;
    }
    #appariements-section h2 {
        font-size: 1em;   
    }
    
   #classements-section h2 {
        text-align: center;
    }
    
    
}