@import url('https://fonts.googleapis.com/css2?family=Eagle+Lake&display=swap');

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Eagle Lake';
}

body {
    margin: 0;
    background-color: rgb(121,169,92);
}

#content {
    filter: drop-shadow(0px 8px 18px rgba(0, 0, 0, 0.60));
    background-image: url('../../assets/textures/parchemin.webp');
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    margin-bottom: 100px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

/* --------------------------------- Navbar --------------------------------- */

nav {
    background-image: url('../../assets/textures/parchemin.webp');
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    width: 1200px;
    height: 110px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 18px;
    z-index: 10;
}

nav img {
    width: 90px;
    height: 90px;
    margin-left: 20px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

nav a {
    color: black;
    text-decoration: none;
}

.nav-link {
    margin-left: 35px;
}

#play-link {
    background-color: #79A95C;
    border: 2px solid #4C802D;
    border-radius: 13px;
    width: 100px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ---------------------------------- Home ---------------------------------- */

#parallax-title {
    margin-left: auto;
    margin-right: auto;
    width: 1200px;
    height: 500px;
    position: relative;
}

#fort-ecorce_background {
    width: 1200px;
    height: 500px;
    background-image: url("../../assets/images/fort-ecorce_background.webp");
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(70%);
    background-size: 75%;
}

#parallax-title_text {
    font-size: 20px;
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #22352C;
    -webkit-text-stroke: 2.5px #4FA977;
    paint-order: stroke fill;
    filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.35));
}

#valtoria-title-img {
    width: 800px;
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.35));
}

#intro {
    position: relative;
}

#intro img {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
}

#intro-text {
    font-size: 17px;
    text-align: center;
    width: 575px;
    padding-top: 125px;
    margin-left: auto;
    margin-right: auto;
}

.home-separator {
    display: block;
    height: 1px;
    width: 475px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 40px;
    background-color: black;
}

#team-up {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    padding-bottom: 40px;
}

#team-up img {
    width: 325px;
}

#team-up div {
    font-size: 17px;
    text-align: center;
}

#roles {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.role-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin-left: 20px;
    margin-right: 20px;
}

.role-info-images {
    position: relative;
    width: fit-content;
}

.role-info-images-character {
    height: 125px;
}

.role-info-images-icon {
    width: 40px;
    height: 40px;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translate(-50%, 0%);
}

.role-info-title {
    font-size: 18px;
}

.role-info-description {
    font-size: 13px;
    width: 275px;
    margin-top: 15px;
    text-align: center;
}

#exploration {
    height: 500px;
    display: flex;
    position: relative;
}

.exploration-images {
    position: absolute;
    width: fit-content;
    width: 720px;
    z-index: -1;
    position: absolute;
    top: 35%;
    left: 25%;
    transform: translate(-50%, -50%);
}

.exploration-images img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#colored-paysage {
    height: 550px;
    margin-top: 70px;
}

#parchemin-trou {
    height: 1000px;
}

.exploration-text {
    position: absolute;
    top: 47.5%;
    left: 65%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.exploration-title {
    font-size: 20px;
}

.exploration-content {
    font-size: 13px;
    width: 550px;
    margin-top: 15px;
    margin-bottom: 25px;
}

#join-now {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 80px;
}

#join-now img {
    width: 250px;
}

.join-now_title {
    font-size: 22px;
}

.join-now_subtitle {
    font-size: 16px;
}

.join-now_text {
    margin-top: 20px;
    font-size: 13px;
    width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.join-now_button {
    background-color: #79A95C;
    border: 2px solid #4C802D;
    border-radius: 13px;
    width: fit-content;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: black;
    text-decoration: none;
    padding-right: 12.5px;
    padding-left: 12.5px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

/* ---------------------------------- News ---------------------------------- */

.news {
    height: 600px;
    text-align: center;
}

.news img {
    display: block;
    width: 275px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
    margin-bottom: -30px;
}

.news div {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------------------------------- Login --------------------------------- */

#loginImg {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
}

#loginImg img {
    width: 425px;
}

#loginText {
    text-align: center;
    font-size: 22px;
    margin-top: -10px;
}

#discordButton {
    background-color: #6454C2;
    border: solid 2px black;
    display: flex;
    align-items: center;
    width: fit-content;
    padding: 4px;
    padding-left: 12px;
    padding-right: 12px;
    text-decoration: none;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    border-radius: 5px;
    color: black;
    font-family: 'Eagle Lake';
    font-size: 16px;
}

#discordButton:hover {
    cursor: pointer;
}

#discordButton img {
    width: 35px;
    margin-right: 10px;
}

.adventurers {
    text-align: center;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

.discordInfo {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 100px;
}

.discordInfo img {
    width: 30px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 10px;
}

.discordInfoText {
    padding: 6px;
    border: 2px solid black;
    border-radius: 5px;
    color: #676767;
    font-size: 12px;
    width: 500px;
    text-align: center;
}

.discordInfoText div {
    margin-top: 5px;
    margin-bottom: 5px;
}

/* ------------------------------- Responsive ------------------------------- */

@media (max-width: 1600px) {
    #fort-ecorce_background {
            background-size: 80%;
    }
}

@media (max-width: 1505px) {
    #fort-ecorce_background {
            background-size: 90%;
    }
}

@media (max-width: 1335px) {
    #fort-ecorce_background {
        background-size: 100%;
    }
}

/* ---------------------------------- Flash --------------------------------- */

.flashMessagesContainer {
    width: 600px;
    height: 0px;
    position: absolute;
    top: 155px;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 100;
}

.flashMessage {
    width: 440px;
    height: fit-content;
    min-height: 100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    background-color: #79A95C;
    border: 4px solid #4C7F2D;
    font-family: 'Eagle Lake', cursive;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5px;
    margin-bottom: 10px;
    position: relative;
    filter: drop-shadow(0px 6px 6px rgba(0, 0, 0, 0.375));
}

.flashMessageCloseButton {
    position: absolute;
    right: 5px;
    top: 0px;
    font-size: 15px;
    height: 0px;
}

.flashMessageCloseButton:hover {
    cursor: pointer;
}

/* ------------------------------- Flash Quete ------------------------------ */

.flashQuete-Titre {
    font-weight: bold;
}

.flashQuete-SousTitre {
    font-size: 15px;
    margin-top: -2px;
}

.flashQuete-recompenses {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.flashQuete-recompenses-titre {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    margin-top: 10px;
}

.flashQuete-recompense {
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 13px;
}

.flashQuete-recompense img {
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

.flashQuete-quete-etape {
    width: fit-content;
    min-height: 40px;
    display: flex;
    align-items: center;
    margin-top: 7.5px;
    margin-bottom: 5px;
}

.flashQuete-quete-etape-icone {
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    border: 1px solid black;
    margin-left: 10px;
    margin-right: 7.5px;
}

.flashQuete-quete-etape-icone-complete {
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    border: 1px solid black;
    background-color: rgb(7, 143, 7);
    margin-left: 10px;
    margin-right: 7.5px;
}

/* ------------------------------ Flash Récolte ----------------------------- */

.flashRecolte-Titre {
    font-weight: bold;
}

.flashRecolte-RessourceIcone {
    width: 75px;
    height: 75px;
    margin-top: 10px;
}

.flashRecolte-SousTitre {
    font-size: 15px;
    margin-top: -10px;
}

.flashRecolte-XPMetier {
    margin-top: 15px;
    padding: 4px;
    padding-left: 6px;
    padding-right: 6px;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.flashRecolte-XPMetier-metier {
    width: 30px;
    height: 30px;
}

.flashRecolte-XPMetier-montant {
    font-size: 11px;
    margin-left: 4px;
}

.flashObjetIlvl {
    font-size: 12px;
}