/*===================================================================================================================
=================================================== DEFAULT STYLE ===================================================
===================================================================================================================*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

li {
    list-style: none;
    margin: 0;
    padding: 0;
}

li a {
    display: inline-block;
    margin: 0;
    padding: 0;
}

li a img {
    display: block;
    margin: 0;
    padding: 0;
}

input:focus,
textarea:focus,
select:focus {
    color: var(--brown-hover);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    color: var(--brown-hover);
}

.sr-only {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.sr-only li {
    display: block;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

/*===================================================================================================================
=================================================== VARIABLES ===================================================
===================================================================================================================*/

:root {

    scroll-behavior: smooth;

    /* ================================ TEXTS ================================ */
    --text-default-dark: #1e0c02;
    --text-default-dark1: #9fa6b0;
    --text-default-light: #F4F6F9;

    /* ================================ FORMS ================================ */
    --icons-border-radius: 10px;
    --rates-border-radius: 41px;

    /* ================================ COLORS ================================ */
    --white-primary: #eff0f7;
    --brown-hover: #dfc8c5;
    --white-primary-light: #A4B3FC;
    --beige-light: #faf1f5;
    --gris-dark: #383b4a;
    --blue-dark: #16162b;
}

/*===================================================================================================================
=================================================== FONTS ===================================================
===================================================================================================================*/

/* ================================ ROBOTO ================================ */

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-regular.woff2') format('woff2'),
        url('../fonts/roboto-regular.woff') format('woff'),
        url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-bold.woff2') format('woff2'),
        url('../fonts/roboto-bold.woff') format('woff'),
        url('../fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-light.woff2') format('woff2'),
        url('../fonts/Roboto-light.woff') format('woff'),
        url('../fonts/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* ================================ POPPINS ================================ */

@font-face {
    font-family: 'JacquesFrancois';
    src: url('../fonts/JacquesFrancois-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/*===================================================================================================================
=================================================== STYLES ==========================================================
===================================================================================================================*/

/* ================================================= */
/* ==================== GLOBALS ==================== */
/* ================================================= */

* {
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow-y: scroll;
}

body {
    font-family: 'JacquesFrancois', 'Roboto', Helvetica, sans-serif;
    height: 100%;
    background-image: url('../img/background/bkg-brown-small.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    justify-content: center;
    margin: 0;
}

section {
    padding: 2rem 1rem;
}

h1 {
    color: var(--white-primary);
    font-weight: bold;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 1rem;
    line-height: 1.8rem;
    text-transform: uppercase;
}

h2 {
    color: var(--white-primary);
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.2;
}

h3 {
    color: var(--gris-dark);
    font-size: 1.1rem;
    padding: 1rem 0;
    line-height: 1.5rem;
}

h4 {
    color: var(--gris-dark);
    font-size: 1rem;
    padding: 1rem 0;
    line-height: 1.4rem;
    text-shadow: 0px 0px 9px rgba(128, 128, 128, 0.215);
}

strong {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

p {
    font-size: 1.1rem;
    color: var(--text-default-dark);
    line-height: 1.3rem;
}

::selection {
    background-color: var(--brown-hover);
    color: var(--text-default-light);
}

.little,
.little p {
    text-align: center;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--white-primary-light);
}

.link-button a {
    display: block;
    text-decoration: none;
    color: var(--beige-light);
    font-size: 1rem;
    background: linear-gradient(23deg, #41c594, #3722d4e0, #32a7e6e0);
    border-radius: 100px;
    padding: 1.3rem 0;
    cursor: pointer;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(162, 173, 255, 0.459);
    transition: 0.3s ease-in-out;
    margin: 2rem 0;
}

.link-button a:hover {
    cursor: pointer;
    transform: scale(1.01);
    filter: brightness(1.2);
    filter: hue-rotate(65deg);
}

.hidden {
    display: none;
}

.appear{
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.appear.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================= */
/* ==================== HEADER ==================== */
/* ================================================ */

/* ======= DESKTOP ======= */
#desktop{
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    align-content: center;
    background-image: url('../img/background/header-desktop-mid.jpg');
}

#desktop .header-contents{
    display: flex;
}

#desktop .headerLogo{
    width: 100px;
    position: relative;
}

#desktop .headerLogo img{
    display: block;
    width: 100%;
    position: absolute;
    top: 10%;
}

#desktop .headerLogo img:hover {
    cursor: pointer;
}

#desktop .navbar-right, #desktop .navbar-left {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    justify-content: space-around;
    margin: 0.6rem 0;
}

#desktop .navItem {
    align-content: center;
}

#desktop .navItem a,
header .navButton a {
    padding: 0.7rem 2.3rem;
    font-size: 1rem;
    display: block;
    height: 100%;
    cursor: pointer;
}

#desktop .navItem a{
    text-decoration: none;
    font-weight: normal;
    color: var(--white-primary);
    transition: 0.3s ease;
    text-shadow:
        -1px -1px 0 #340d07,
        1px -1px 0 #340d07,
        -1px 1px 0 #340d07,
        1px 1px 0 #340d07;
}

#desktop .navItem a.active {
    color: var(--white-primary-light);   
}

#desktop .navItem a:hover {
    color: var(--brown-hover);
}

#desktop {
    display: none;
}

#desktop .ligne-degradee {
    height: 4px;
    width: 100%;
    background: linear-gradient(180deg, #A4703C, #221403);
    border: none;
    display: block;
    width: 100%;
}

/* ======= MOBILE ======= */
#mobile {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    align-content: center;
}

#mobile .flex {
    z-index: 99;
    background: linear-gradient(0deg, #120700, #0d0000);
}

#mobile .headerLogo {
    align-content: center;
    align-self: center;
    margin-left: 1rem
}

#mobile .headerLogo img {
    display: block;
    width: 35px;
}

#mobile .headerLogo img:hover {
    cursor: pointer;
}

#mobile .navbar {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    justify-content: right;
    margin: 1rem 0;
    margin-right: 1.7rem;
}

#mobile .navItem {
    align-content: center;
}

#mobile .navItem a img,
#mobile .navItem img {
    display: block;
    width: 25px;
    height: auto;
}

#mobile .navItem a,
header .navButton a {
    padding: 0.4rem 2rem;
    font-size: 0.9rem;
    display: block;
    height: 100%;
}

#mobile .navItem a {
    text-decoration: none;
    font-weight: normal;
    color: var(--white-primary);
    transition: 0.3s ease;
    text-shadow: 0px 0px 8px rgba(119, 113, 192, 0.3);
}

#mobile .navMenu {
    text-align: center;
    z-index: -1;    
}

#mobile .navMenu li {
    padding: 1.2rem 0;
    background: linear-gradient(45deg, #2a1101, #0d0000);
    border-bottom: 1px solid rgb(7, 3, 1);
}

.nav-open {
    animation: navOpen 0.2s ease;
}

@keyframes navOpen {
    from {
        opacity: 0;
        transform: translate(0, -100px);
    }

    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* ========================================================== */
/* ====================== SPLASHSCREEN ====================== */
/* ========================================================== */

#video-splashscreen {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    background-color: black;
}

.video-desktop-small {
    display: block;
    width: 100%;
    height: auto;
}

.video-desktop-big {
    display: none;
    height: 93dvh;
    width: auto;
    margin: auto;
}

video {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#video-splashscreen figure {
    position: relative;
}

.video-controls {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    padding: 8px 12px;
    border-radius: 999px;
    z-index: 10;
}

.video-controls button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
}

.video-controls button:hover {
    opacity: 0.75;
}

.video-controls .volume-slider {
    width: 70px;
    accent-color: #fff;
    cursor: pointer;
}

.video-controls .btn-fullscreen{
    display: none;
}

/* ================================================= */
/* ===================== ABOUT ===================== */
/* ================================================ */
#about{    
    text-align: center;
    padding: 2rem 1rem;
}

#about .text-content{
    padding: 0 2rem;
}

#about .rpg-logo, #about .hunter-icon{
    width: 100%;
    max-width: 500px;
    margin: auto;
}

#about .rpg-logo img, #about .hunter-icon img{
    display: block;
    width: 60%;
    margin: auto;
}

#about .hunter-icon{
    margin-top: 1.5rem;
}

#about h1, #about p{
    color: var(--white-primary);
}

#about h1{
    font-weight: normal;
    text-shadow:
        -1px -1px 0 #340d07,
        1px -1px 0 #340d07,
        -1px 1px 0 #340d07,
        1px 1px 0 #340d07;
}

/* ================================================= */
/* ===================== NEWS ===================== */
/* ================================================ */
#news{
    background-image: url('../img/background/banner-small.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#news .frame-content{
    width: 332px;
    height: 201px;
    background-image: url('../img/ui/frame.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: auto;
}

#news .frame-content .text-block{
    padding: 3rem 2rem;
}

/* ================================================= */
/* ===================== SOCIALS ===================== */
/* ================================================ */

#socials{
    text-align: center;
}

#socials h2{
    font-size: 1.1rem;
    font-weight: normal;
}

#socials .socials-icons ul{
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

#socials .socials-icons a{
    display: block;
    transition: 0.3s ease;
}

#socials .socials-icons a:hover{
    transform: scale(1.05);
}

.separator img{
    display: block;
    margin: 2rem auto;
    width: 100%;
    max-width: 700px;
}

#socials .socials-icons img{
    width: 30px;
}

/* ========================================= */
/* ================= FOOTER ================= */
/* ========================================= */

footer {
    background: radial-gradient(#100600, #000000);
    padding: 1rem;
}

footer,
footer p,
footer h3,
.copyright p,
footer a {
    color: var(--text-default-light);
    font-size: 0.8rem;
    line-height: 1.2rem;
}

footer h3 {
    font-size: 1.3rem;
}

.copyright {
    padding: 1rem 0;
}

/* ========================================= */
/* ================ LEGALS ================ */
/* ========================================= */
#legals{
    background-color: #130802;
    backdrop-filter: blur(25px);
    min-height: 100vh;    
}

#legals a{
    text-decoration: none;
    color: var(--text-default-light);
}

#legals .legal-date{
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-default-light);
}

.legalcontent p{
    padding: 0.9rem 0;
    text-align: left;
    color: var(--text-default-light);
}

.legalcontent li{
    list-style: circle;
    line-height: 1.4rem;
    margin-left: 1.5rem;
    color: var(--text-default-light);
}

/* ======================================= */
/* ============= ERREUR 404 ============== */
/* ======================================= */
#error404 {
    align-content: center;
    text-align: center;
    width: 100vw;
    height: 100vh;
    padding: 2rem;
    background: linear-gradient(25deg, #edd7dc, #dddcee, #d7f8ef);
}

#error404 h1 {
    font-size: 2rem;
}

#error404 .link-button {
    display: inline-block;
}

#error404 .link-button a {
    padding: 1rem 2rem;
}

/*===================================================================================================================
=================================================== MEDIA QUERIES ===================================================
===================================================================================================================*/


/* =============================================== TELEPHONE MOYEN ================================================ */

@media (min-width: 320px) {}

/* =============================================== GRAND TELEPHONE ================================================ */

@media (min-width: 480px) {

}

/* =============================================== PETITE TABLETTE ================================================ */

@media (min-width: 768px) {  
}

/* =============================================== GRANDE TABLETTE ================================================ */

@media (min-width: 1025px) {    

    body {
        background-image: url('../img/background/bkg-brown-mid.jpg');
    }

    h1 {
        line-height: 2.3rem;
        font-size: 1.9rem;
        padding: 1.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
        padding: 0.8rem 0;
        line-height: 2rem;
    }

    p {
        font-size: 1.2rem;
        line-height: 1.5rem;
    }      

    #mobile {
        display: none;
    }

    #desktop{
        background-image: url('../img/background/header-desktop-big.jpg');
        display: block;
    }  
    
    .video-controls .btn-fullscreen{
        display: block;
    }

    .legalcontent {
        width: 55%;
        margin: auto;
        padding-bottom: 4rem;
    }    

    /* FOOTER */
    .footer-nav {
        display: flex;
        width: 70vw;
        margin: auto;
    }

    .footer-column {
        flex: 1;
    }

    .copyright {
        text-align: center;
        padding: 2rem 0;
    }  
    
    #about{
        display: flex;
        gap: 2rem;
        padding: 4% 2%;
    }

    #about h1{
        text-shadow:
            -2px -2px 0 #340d07,
            2px -2px 0 #340d07,
            -2px 2px 0 #340d07,
            2px 2px 0 #340d07;
    }

    #about .text-content{
        flex: 0.4;
    }

    #about .rpg-logo{
        flex: 0.3;
    }

    #about .hunter-icon{
        flex: 0.3;
    }
    
    #socials h2{
        font-size: 1.5rem;
    }

    #socials .socials-icons img{
        width: 50px;
    }

    /* NEWS */
    #news{
        background-image: url('../img/background/banner-mid.jpg');
    }

    #news .frame-content{
        width: 665px;
        height: 403px;
        margin-right: 0;
    }

    #news .frame-content .text-block{
        padding: 5rem;
    }
}

/* =============================================== PETIT ECRAN ================================================ */

@media (min-width: 1280px) {
    .display-flex {
        width: 45%;
    }

    #error404 h1 {
        font-size: 4.5rem;
    }
}

/* =============================================== GRAND ECRAN ================================================ */

@media (min-width: 1440px) {

    section {
        padding: 4% 16%;
    }

    .video-desktop-small {
        display: none;
    }

    .video-desktop-big {
        display: block;
    }

    h1 {
        line-height: 2.9rem;
        font-size: 2.3rem;
        padding: 1.5rem;
    }

    p{
        font-size: 1.3rem;
        line-height: 1.8rem;
    }

    body {
        background-image: url('../img/background/bkg-brown-big.jpg');
    }

    /* NEWS */
    #news{
        background-image: url('../img/background/banner-big.jpg');
    }
}

/* =============================================== ECRAN TRES LARGE ================================================ */

@media (min-width: 1600px) {    
}

/* =============================================== ECRAN 2k et + ================================================ */

@media (min-width: 2160px) {    
}