/* --------------------------------------------------
   FONTS
-------------------------------------------------- */
@font-face {
    font-family: "Mystery Quest";
    src: url("MysteryQuest-Regular.ttf");
}

@font-face {
    font-family: "HennyPenny-Regular";
    src: url("HennyPenny-Regular.ttf");
}


/* --------------------------------------------------
   GLOBAL LAYOUT
-------------------------------------------------- */
html, body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    background-image: url('a.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

body.blog-page {
    background-color: #663399;
}


/* --------------------------------------------------
   NAVBAR
-------------------------------------------------- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;

    background: rgba(75, 0, 130, 0.4);
    backdrop-filter: blur(4px);
    box-shadow: 0px 2px 10px rgba(0,0,0,0.5);

    z-index: 300;
}

nav .logo {
    float: left;
    margin-left: 30px;
}

nav .logo a {
    font-family: "Mystery Quest";
    font-size: 28px;
    line-height: 80px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    text-decoration: none;
}


/* --------------------------------------------------
   MENU ICON (hamburger)
-------------------------------------------------- */
.menu-icon {
    width: 50px;
    height: 50px;
    margin: 15px 39px 0 auto;

    border: 1px solid #fff;
    border-radius: 5px;
    background: transparent;

    position: relative;
    cursor: pointer;
    transition: background 0.5s;
}

/* Barres */
.menu-icon span,
.menu-icon span::before,
.menu-icon span::after {
    position: absolute;
    left: 50%;
    width: 35px;
    height: 2px;

    background: #fff;
    border-radius: 1px;
    content: "";
    transition: all 0.4s ease;

    transform: translateX(-50%);
}

/* Barre du milieu */
.menu-icon span {
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Barre du haut */
.menu-icon span::before {
    top: calc(50% - 10px);
}

/* Barre du bas */
.menu-icon span::after {
    top: calc(50% + 10px);
}

/* --------------------------------------------------
   ANIMATION ACTIVE (croix)
-------------------------------------------------- */
.menu-icon.active {
    background: rgba(250,250,250,0.2);
}

/* Barre du milieu disparaît */
.menu-icon.active span {
    background-color: transparent;
}

/* Les deux barres se recentrent */
.menu-icon.active span::before,
.menu-icon.active span::after {
    top: 50%;
}

/* Rotation parfaite */
.menu-icon.active span::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-icon.active span::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}


/* --------------------------------------------------
   OVERLAY MENU
-------------------------------------------------- */
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    padding: 50px 0;

    background: rgba(0,0,0,0.95);
    text-align: center;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.5s;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 100;
}

.overlay-menu.open {
    opacity: 1;
    transform: translateY(0);
}

.overlay-menu .main-menu {
    opacity: 0;
    transform: translateY(50%);
    transition: all 0.5s;
}

.overlay-menu.open .main-menu {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.overlay-menu ul {
    list-style: none;
    margin-top: 80px;
    padding: 0;
}

.overlay-menu ul li {
    padding: 55px 40px;
}

.overlay-menu ul li a {
    font-family: "Mystery Quest";
    font-size: 54px;
    font-weight: 300;
    color: #fff;
    text-decoration: none;
    transition: all 0.5s;
}

.overlay-menu ul li a:hover {
    color: rgba(250,250,250,0.5);
}


/* --------------------------------------------------
   SECTION "À PROPOS"
-------------------------------------------------- */
.propos {
    font: 28px "Trattatello", "Brush Script MT", cursive;
    color: rgba(248,248,255,1);
    text-align: center;
    border: 6px solid mediumpurple;
}

.propos img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}


/* --------------------------------------------------
   VIDEO HEADER
-------------------------------------------------- */
#video-container {
    position: relative;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

#video-container video,
.video-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

.video-overlay {
    width: 100%;
    background: rgba(0,0,0,0.15);
    z-index: 9999;
}

.video-content {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.video-content .inner {
    width: 100%;
    height: 100%;

    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
}

.video-content h1 {
    font-family: "HennyPenny-Regular";
    font-size: 74px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    font-weight: 500;
    text-align: center;
}

.video-content p {
    font-family: "Trattatello", "Brush Script MT";
    font-size: 45px;
    font-weight: 300;
    color: #fff;
    letter-spacing: 1.5px;
    text-align: center;
    padding: 40px;
}

.video-content h1 {
    font-family: "HennyPenny-Regular";
    font-size: clamp(32px, 6vw, 74px);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    font-weight: 500;
    text-align: center;
}



/* --------------------------------------------------
   BLOG / COMMISSIONS
-------------------------------------------------- */
.blog-entries {
    padding: 80px 0;
    background-color: #663399;
}

.blog-posts {
    margin-right: 30px;
}

.blog-post,
.single-blog-post {
    border-bottom: 1px solid #414141;
    padding-bottom: 65px;
    margin-bottom: 60px;
}

.blog-post img,
.single-blog-post img {
    width: 100%;
}

.blog-post .text-content,
.single-blog-post .text-content {
    margin-top: 30px;
}

.blog-post h2,
.single-blog-post h2 {
    font-size: 36px;
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.blog-post p,
.single-blog-post p {
    font-size: 16px;
    font-weight: 300;
    color: #bbb;
    line-height: 28px;
    margin-top: 20px;
}


/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
footer {
    width: 100%;
    height: 80px;
    margin-top: auto;
    background-color: #4B0082;
    position: relative;
    clear: both;
}

footer p {
    text-align: center;
    font-family : "Comic Sans MS", Comic Sans, cursive;
    color: #fff;
    font-size: 13px;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 33px;
}
