/*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: 210px;
    display: flex;
    width: 85%;
    justify-content: center;
    flex-wrap: wrap;
}

.addPostButton {
    position: relative;
    left: -20%;
    width: 25%;
    background-color: white;
    border: 3px transparent solid;
    color: black;
    text-align: center;
    border-radius: 50px;
    padding: 10px;
    margin-top: 20px;
    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;
}

.container {
    position: relative;
    width: 1214px;
    height: 420px;
    margin-left: 10px;
    margin-bottom: 25px;
    margin-right: 10px;
    background: #1E1E1E;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
    border-radius: 50px;
    overflow: hidden;
}

.panglois, .mentallyss, .demonos_phe {
    position: absolute;
    width: 167px;
    height: 167px;
    border-radius: 100px;
    background-size: 140%;
    background-position: -30px -10px;
    background-repeat: no-repeat;
    animation: 2s opacity;
}

.panglois {
    background-image: url("images/panglois.png");
}

.mentallyss {
    background-image: url("images/mentallyss.png");
}

.demonos_phe {
    background-image: url("images/demonos_phe.png");
}


@keyframes opacity {
    from {
        opacity: 0%;
    }

    to {
        opacity: 100%;
    }
}

.parametres {
    position: absolute;
    left: 465.05px;
    width: 748.95px;
    height: 420px;
    border-radius: 50px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
    animation: 2s slide-right;
}

@keyframes slide-right {
    from {
        left: 1214px;
    }

    to {
        left: 465,05;
    }
}

h2 {
    word-wrap: break-word;
    text-align: left;
    position: absolute;
    top: 10px;
    left: 160px;
    width: 300px;
    height: 75px;
    overflow: hidden;
    font-size: 20px;
    text-shadow: 3px 1px 4px rgba(0, 0, 0, 0.5);
    animation: 2s opacity;
}

h3 {
    word-wrap: break-word;
    text-align: left;
    position: absolute;
    top: 100px;
    left: 160px;
    text-shadow: 3px 1px 4px rgba(0, 0, 0, 0.5);
    animation: 2s opacity;
}

.desc {
    word-wrap: break-word;
    position: absolute;
    font-size: 24px;
    width: 429px;
    height: 180px;
    left: 10px;
    top: 180px;
    text-align: left;
    overflow: hidden;
    animation: 2s slide-left;
    text-shadow: 3px 1px 4px rgba(0, 0, 0, 0.5);
}

@keyframes slide-left {
    from {
        left: -429px;
    }

    to {
        left: 10px;
    }
}


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

    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .panglois, .mentallyss, .demonos_phe {
        position: static;
    }

    h2 {
        position: static;
        text-align: center;
        width: 270px;
    }

    h3 {
        position: static;
    }

    .desc {
        position: static;
        width: 400px;
        height: 212px;
        text-align: center;
        margin-bottom: 20px;
        animation: 2s opacity;
    }

    .parametres {
        position: static;
        width: 507px;
        height: auto;
        animation: 2s opacity;
    }
}

@media screen and (max-width: 510px){
    .desc {
        width: 300px;
    }
}

@media screen and (max-width: 390px){
    .desc {
        width: 270px;
    }
}

@media screen and (max-width: 350px){
    h2 {
        width: 200px;
        height: 70px;
    }

    .desc {
        width: 200px;
    }
}