/*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: auto;
    margin-top: 270px;
    width: 85%;
}

.bigContainer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.addPostButton {
    position: relative;
    width: 25%;
    height: 15px;
    left: 5%;
    top: -30px;
    background-color: white;
    border: 3px transparent solid;
    color: black;
    text-align: center;
    border-radius: 50px;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    transition: background-color 0.25s linear, color 0.25s linear, border 0.25s linear;
}

.addPostButton:hover {
    color: white;
    background-color: transparent;
    border: 3px white solid;
    transition: background-color 0.25s linear, color 0.25s linear, border 0.25s linear;
}

div {
    position: relative;
    width: auto;
    height: 286px;
    margin-bottom: 25px;
    margin-right: 10px;
    margin-left: 10px;
}

.parametres {
    width: 509px;
    height: 286px;
    border-radius: 50px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
}

main a {
    width: 509px;
    height: 286px;
}

h2 {
    word-wrap: break-word;
    position: absolute;
    width: 92%;
    overflow: hidden;
    top: 5%;
    left: 5%;
    text-shadow: 3px 1px 4px rgba(0, 0, 0, 0.5);
    animation: 2s slide-right;
}

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

    to {
        opacity: 100%;
        left: 5%;
    }
}

@media screen and (max-width: 1300px){
    main {
        justify-content: center;
    }
}

@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: 550px) {

    div {
        width: 323px;
        height: 181.49px;
    }

    .parametres {
        width: 323px;
        height: 181.49px;
    }

    h2 {
        font-size: 15px;
    }
}