/*Fonts*/

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');

h2, h3, p, li, a {
    font-family: 'Outfit', sans-serif;
}

body {
    margin: auto;
    color: white;
    background-image: url('images/2022-01-08_18.41.45.jpg');
    background-size: 4533px 2548px;
    background-position: -1307px -734px;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* NAV BAR*/

nav {
    background-image: url('images/2022-01-08_18.41.45.jpg');
    background-position: 0% 25%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    align-items: center;
    height: 200px;
    filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.5));
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
}

a {
    color: white;
    text-decoration: none;
}

nav ul{
    padding: 0;
}

li {
    list-style-type: none;
}

nav li {
    display: inline;
    margin-left: 150px;
    text-shadow: 3px 1px 4px rgba(0, 0, 0, 0.5);
}

#lienlogo {
    width: 100px;
    margin-right: 100px;
}

#logo {
    width: 100px;
    filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.5));
}

/* MAIN CONTENT */

main {
    margin-top: 210px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    text-align: center;
    align-items: top;
}

.parametres {
    position: relative;
    width: 553px;
    min-height: 750px;
    background-color: #1E1E1E;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
    border-radius: 50px;
}

h2 {
    position: relative;
    animation: 2s slide-bottom;
    text-shadow: 3px 1px 4px rgba(0, 0, 0, 0.5);
}

@keyframes slide-bottom {
    from {
        top: -25px;
        opacity: 0%;
    }

    to {
        opacity: 100%;
        top: 0;
    }
}

.parametres ul {
    overflow: hidden;
}

.ulblock {
    position: relative;
    width: auto;
    animation: 3s slide-bottom-ul;
}

@keyframes slide-bottom-ul {
    from {
        top: -100px;
        opacity: 0%;
    }

    to {
        opacity: 100%;
        top: 0px;
    }
}

.parametres li {
    text-align: left;
    margin-bottom: 10px;
    padding-left: 10px;
    margin-left: 30px;
    margin-right: 30px;
    border-left: white 2px solid;
    text-shadow: 3px 1px 4px rgba(0, 0, 0, 0.5);
}


.settings {
    position: absolute;
    width: 122px;
    height: 122px;
    left: -60px;
    top: 10%;
    filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.5));
    animation: 3s slide-right;
}

@keyframes slide-right {
    from {
        left: -100px;
        opacity: 0%;
    }

    to {
        opacity: 100%;
        left: -60px;
    }
}

@media screen and (max-width: 1300px){
    main {
        flex-direction: column;
    }

    main {
        align-items: center;
    }
    
    .parametres{
        margin-bottom: 50px;
        min-height: auto;
    }
}

@media screen and (max-width: 875px){
    nav li {
        display: block;
        margin-left: 25px;
        margin-bottom: 10px;
        margin-right: 10px;
        text-align: left;
    }

    #lienlogo {
        margin-right: 75px;
    }

    #logo {
        padding-right: 50px;
        border-right: white 3px solid;
    }
}

@media screen and (max-width: 680px){
    .settings {
        width: calc(122px - 10%);
        left: -10px;
    }

    @keyframes slide-right {
        from {
            left: -50px;
            opacity: 0%;
        }
    
        to {
            opacity: 100%;
            left: -10px;
        }
    }
}

@media screen and (max-width: 580px){
    .parametres{
        width: 360px;
    }

    .settings {
        width: calc(122px - 20%);
    }
}

@media screen and (max-width: 380px){
    .settings {
        width: calc(122px - 25%);
    }

    .parametres{
        width: 330px;
    }
}