/*
Theme Name: 	HTML5 Blank
Theme URI: 	http://html5blank.com
Description: 	HTML5 Blank WordPress Theme
Version: 	1.2.6
Author: 	Todd Motto (@toddmotto)
Author URI: 	http://www.toddmotto.com
Tags: 		Blank, HTML5, CSS3

License:	MIT
License URI:	http://opensource.org/licenses/mit-license.php
*/

/* =============================================================================
HTML5 Reset
========================================================================== */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

audio:not([controls]) {
    display: none;
}

[hidden] {
    display: none;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html,
button,
input,
select,
textarea {
    font-family: sans-serif;
    color: #222;
}

body {
    margin: 0;
    font-size: 1em;
    line-height: 1;
}

p {
    padding: 0 0 0 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-decoration: none;
    padding: 0;
    color: #444;
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
}

a {
    color: #266E9E;
    text-decoration: none;
}

a:focus {
    outline: 0;
}

a:hover,
a:active {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

.clear {
    clear: both;
}

dfn {
    font-style: italic;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #CCC;
    margin: 1em 0;
    padding: 0;
}

ins {
    background: #FF9;
    color: #000;
    text-decoration: none;
}

mark {
    background: #FF0;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

pre,
code,
kbd,
samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em;
}

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

q {
    quotes: none;
}

q:before,
q:after {
    content: "";
    content: none;
}

small {
    font-size: 90%;
}

blockquote {
    background-color: #EEE;
    border: 1px solid #DDD;
    margin: 10px 0;
    padding: 10px 30px;
    border-radius: 3px;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

ol {
    margin: 15px;
}

dd {
    margin: 0 0 0 40px;
}

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: middle;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 0;
}

form {
    margin: 0;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

label {
    cursor: pointer;
}

legend {
    border: 0;
    *margin-left: -7px;
    padding: 0;
    white-space: normal;
}

button,
input,
select,
textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
    font-weight: var(--light);
}

button,
input {
    line-height: normal;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: none;
    *overflow: visible;
}

button[disabled],
input[disabled] {
    cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    *width: 13px;
    *height: 13px;
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

input:valid,
textarea:valid {}

input:invalid,
textarea:invalid {
    background-color: #F0DDDD;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td {
    vertical-align: top;
}

/* =============================================================================
General Styles
========================================================================== */
:root {
    --main-font: "Inter", sans-serif;
    --h1: 7.5rem;
    --h2: clamp(3.5rem, 5vw, 6rem);
    --p: 1.8rem;
    --menu: 2rem;
    --small-p: 1.4rem;

    --black: #444;
    --grey: #828282;
    --white: #fff;
    --main-color: #04D99D;

    --bold: 700;
    --light: 300;

    --bounce-transition: .4s cubic-bezier(0.68, -0.55, 0.27, 1.55) all;
    --long-bounce-transition: .8s cubic-bezier(0.68, -0.55, 0.27, 1.55) all;
    --regular-transition: .4s ease all;
}


/* ======= À ENLEVER ========= */


/* FLUX CSS NORMAL */
html {
    font-size: 62.5%;
}

body {
    font-family: var(--main-font);
    font-size: var(--p);
    color: var(--black);
    font-weight: var(--light);
    padding: 30px 8vw 30px 30px;
    letter-spacing: 1%;
    animation: fadeIn .5s ease;
    box-sizing: border-box;
    line-height: 1.4;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

img {
    width: 100%;
    height: auto;
}

a {
    background: linear-gradient(to right, var(--main-color), var(--main-color));
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: center;
    transition: .6s cubic-bezier(0.68, -0.55, 0.27, 1.55) background-size;
    position: relative;
}

a:not(.logo-img a, .menu li:last-child a, .archive-post-link a, .btn):hover {
    background-size: 100% 100%;
}

button{
    box-shadow: none;
    outline: 0;
    border: 0;
    background: transparent;
}
/* =============================================================================
Structure
========================================================================== */
/* PRECLASSE */
.d-flex {
    display: flex;
    gap: 10px;
}
.gap-20 {
    gap: 20px;
}
.gap-100 {
    gap: 100px;
}
.gap-20percent {
    gap: 20%;
}
.flex-column {
    flex-direction: column;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.align-items-end {
    align-items: flex-end;
}
.d-grid {
    display: grid;
    gap: 20px;
}
.columns-3{
    grid-template-columns: repeat(3, 1fr);
}
.height-100 {
    height: 100%;
}

.small-p {
    font-size: var(--small-p);
}

.light {
    font-weight: var(--light);
}

.grey {
    color: var(--grey);
}
.uppercase{
    text-transform: uppercase;
}
.full-height{
    height: 100vh;
}
/* =======  ELEMENTS   ====== */
/* Background site */
.site-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Navbar */
.navbar {
    position: fixed;
    z-index: 100;
    right: 0;
    height: 100%;
    width: auto;
    padding: 30px 10px 30px 0;
    top: 0;
}

.navbar .wp-block-group__inner-container {
    height: 100%;
}

.navbar .logo-img {
    max-width: 60%;
    margin-bottom: 20px;
}

.navbar svg {
    width: 100%;
}

.menu li a {
    font-size: var(--menu);
    font-weight: var(--bold);
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 10%;
    text-decoration-thickness: 12%;
    text-transform: lowercase;
    display: inline-block;
}

.menu li:last-child a::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 35px;
    background: var(--main-color);
    top: 0;
    left: 0;
    z-index: -1;
    transition: var(--bounce-transition);
}

.menu li:last-child a:hover::before {
    left: 80%;
}

.menu-social li a {
    font-size: var(--small-p);
    font-weight: var(--light);
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 10%;
    text-decoration-thickness: 12%;
    text-transform: uppercase;
}
/* Burger btn */
.burger-btn{
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid var(--grey);
    transition: var(--regular-transition);
    border-radius: 50px;
    padding: 5px;
    display: none;
}
.burger-btn.open .burger-icn span:first-child{
    transform: rotateZ(45deg);
    top: 3px;
}
.burger-btn.open .burger-icn span:last-child{
    transform: rotateZ(-45deg);
    top: -3px;
}
.burger-icn{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;

}
.burger-icn span{
    width: 100%;
    height: 2px;
    background: var(--grey);
    display: block;
    transition: var(--bounce-transition);
    position: relative;
}

/* CLOSE BTN */
.close-btn{
    display: flex;
    align-items: center;
    gap: 20px;
    text-transform: uppercase;
    color: var(--grey);
    font-size: var(--small-p);
    margin-bottom: 50px;
    transition: var(--regular-transition);
}
.close-btn:hover > span,
.single-info.open .close-btn:hover > span{
    transform: none;
    opacity: 1;
}
.single-info .close-btn:hover > span{
    opacity: 0;
    transform: translateX(-50px);
}
.close-btn:hover .close-icn{
    transform: rotateZ(calc(360deg * 2));
}
.close-icn{
    width: 40px;
    height: 40px;
    border-radius: 50px;
    background: var(--white);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:center;
    transition: var(--bounce-transition);
    flex-shrink: 0;
}
.close-icn .icn-tick{
    display: block;
    height: 2px;
    background: var(--grey);
    width: 50%;
    position: relative;
}
.close-icn .icn-tick:first-child{
    transform: rotateZ(45deg);
    top: 2px;
}
.close-icn .icn-tick:last-child{
    transform: rotateZ(-45deg);
}
.close-btn > span{
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--bounce-transition);
}
/* grille post */
.post-number {
    font-size: var(--small-p);
    color: var(--grey);
    margin-bottom: 20px;
}
/* BTN */
.btn{
    display: inline-block;
    text-transform: uppercase;
    color: var(--black);
    position: relative;
    z-index: 1;
    text-decoration: underline;
}
.btn::before{
     content: "";
    position: absolute;
    width: 30px;
    height: 35px;
    background: var(--main-color);
    top: -10px;
    left: 0;
    z-index: -1;
    transition: var(--bounce-transition);   
}
.btn:hover::before{
    left: 80%;
}
/* +++++ PAGE +++++ */
/* Homepage */
.home {
    height: 100vh;
    overflow: hidden;
    background: url('http://localhost:10023/wp-content/uploads/2025/05/background.jpg') center;
    background-size: cover;
    padding-bottom: 0;
}

.home main {
    height: 100%;
}
.home h1{
    max-width: 50%;
}
.img-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover;
    z-index: 200;
    pointer-events: none;
}

.logo-img {
    max-width: 600px;
    width: 100%;
}

.logo-img:hover {
    cursor: pointer;
}

.home-img {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.home-img img {
    display: block;
    width: 100%;
    height: auto;
    filter: blur(10px);
    /* flou de départ */
    clip-path: circle(0% at 50% 50%);
    transition: filter 0.3s ease-out;
}
.last-works.wp-block-group{
    margin-top: -20vh;
}
.recent-posts {
    width: 41%;
    padding-bottom: 30px;
}

.wp-block-post {
    transition: var(--bounce-transition);
    position: relative;
}

.wp-block-post:hover {
    transform: translateY(-30px);
}

.background-overlay {
    position: fixed;
    inset: 0;
    background-color: #fff;
    z-index: 10;
    pointer-events: none;
}

.intro-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 300;
    pointer-events: none;
}

/* Archive */
.archive{
    background: url('http://localhost:10023/wp-content/uploads/2025/05/background.jpg') center;
    height: 100vh;
    overflow: hidden;
}
.archive main {
    position: relative;
    height: 100%;
}

.scroll-container {
    position: relative;
    will-change: transform;
    width: 100%;
    height: 100%;
    overflow: visible;
    /* important si tu veux que des éléments débordent */
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.scroll-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.bg-img-wrapper {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-img-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 140%;
    opacity: 0;
    transition: opacity 0.5s ease, background-size 1s ease;
    will-change: opacity, background-size;
}


.archive-post-link a:hover .archive-post-img {
    opacity: 1;
    transform: none;
}

.archive-post-img {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: scale(1.4);
    transition: var(--regular-transition);
}

.archive-post-img::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 0;
}

.archive-post-img img {
    object-fit: cover;
    object-position: center;
}

.archive-title {
    position: relative;
    display: inline-block;
    font-size: calc(var(--h2) + 5rem);
    font-weight: var(--bold);
    color: rgba(0, 0, 0, 0.1);
    /* gris/noir transparent visible en idle */
    background: linear-gradient(#04D99D 0 0);
    background-size: 100% 0%;
    background-repeat: no-repeat;
    background-position: 0 var(--bg-from, 0%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: currentColor;
    /* garde le gris visible */
    transition: background-size 0.4s ease, background-position 0.4s ease;
    line-height: 1;
    
}

.archive-post-link a {
    display: inline-block;
    position: static;
}

.archive-post-content {
    transition: var(--regular-transition);
    position: relative;
}

.archive-post-content p {
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    color: var(--black);
    font-weight: var(--bold);
    top: -4rem;
}
/* Page projets */
.single{
    padding-right: calc(12% + 30px);
}
.single-info{
    position: fixed;
    height: 100%;
    width: 12%;
    top: 0;
    right: 0;
    z-index: 20;
    transition: var(--regular-transition);
    padding: 5vh 8% 5vh 1vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    box-sizing: border-box;
}
.single-info::before{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: #000;
    transition: var(--regular-transition);
}
.single-info.open::before{
    height: 0%;
}
.single-info::after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(100px);
/*    background: url('http://localhost:10023/wp-content/uploads/2025/05/background.jpg') center; */
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    transition: var(--long-bounce-transition);
}
.single-info:not(.single-info.open):hover .open-info{
    transform: translateX(-30px);
    transition: var(--long-bounce-transition);
}
.single-info:hover::after{
    width: 110%;
}
.project-details{
    opacity: 0;
    transform: translateX(50px);
    height: 0;
    overflow: hidden;
    transition: var(--regular-transition);
    transition-delay: 0;
}
.project-details .subtitle{
    font-size: calc(var(--h2) - 3rem);
    font-weight: var(--light);
}
.info-text{
    max-height: 500px;
    overflow: hidden;
}
.info-text br{
    display: none;
}
.info-text p{
    font-size: calc(var(--p) + .2rem)
}
.vertical-text{
    inline-size: fit-content;
    writing-mode: vertical-rl;
    margin: 0;
    transition: var(--regular-transition);
    transition-delay: .3s;
    position: absolute;
    top: 50%;
    left: 1vw;
    transform: translate(0, -50%);
    line-height: 1;
    max-width: 100%;
    white-space: nowrap;
}

.open-info{
    transition: var(--regular-transition);
}
.single-info:not(.single-info.open) .open-info{
    transition: var(--long-bounce-transition);
}
.secondary-info > div{
    border-top: 2px solid var(--grey);
    padding-top: 20px;
    transition: var(--regular-transition);
    opacity: 0;
    transform: translateX(50px);
    height: 0;
    
}
.secondary-info .columns-3{
    grid-template-columns: 1fr 1fr 3fr;
    margin-bottom: 40px;
}
.single-info.open{
    width: 45%;
    padding: 5vh 12vw 5vh 5vw;
}
.single-info.open:hover::after{
    width: 100%;
}
.single-info.open .project-details{
    opacity: 1;
    height: 100%;
    transform: none;
    transition-delay: 0;
}
.single-info.open .vertical-text{
    opacity: 0;
    transform: translate(50px, -50%);
    transition-delay: 0s;
}
.single-info.open .open-info{
    opacity: 0;
}
.single-info.open .secondary-info > div{
    opacity: 1;
    transform: none;
    height: 100%;
}
.single-content .wp-block-image{
    margin-bottom: 30px;
}
/* Services */
.services .full-height .wp-block-columns{
    height: 90%;
}
.full-height .wp-block-columns .wp-block-column:last-child{
    align-self: flex-end;
}

/* Contact Box */
.contact-box{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;  
}
.contact-box .wp-block-group__inner-container{
    max-width: 90%;
    margin: 0 auto;
}
.contact-box .wp-block-columns{
    gap: 50px;
    height: 100%;
}
.contact-box h2{
    line-height: 1;
    margin-bottom: 10px;
}
.contact-box p:not(.small-p){
    font-size: calc(var(--p) + 1rem);
    margin: 0;
}
.contact-box iframe{
    min-height: 850px;
}
.signature-bloc::before{
    content: "";
    display: block;
    width: 30px;
    height: 5px;
    background: var(--main-color);
    margin: 50px 0 30px;
}
.signature-bloc p{
    font-weight: var(--bold);
}
/* +++++ TYPOGRAPHY +++++  */
h1,
.h1 {
    font-size: var(--h1);
    font-weight: var(--bold);
    letter-spacing: 1%;
    color: #444;
    line-height: 1.2;
}

h2,
.h2 {
    font-size: var(--h2);
    font-weight: var(--bold);
}

.markup {
    background: linear-gradient(to bottom,
            transparent 60%,
            var(--main-color) 60%,
            var(--main-color) 80%,
            transparent 80%);
    background-repeat: no-repeat;
    background-size: 100%;
    transition: background-size 0.3s ease-out;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* =============================================================================
RESPONSIVE
========================================================================== */
@media screen and (max-width: 1500px) {
    /* SINGLE */
    .single{
        padding-right: calc(17% + 30px);
    }
    .single-info{
        width: 17%;
    }
    .single-info.open{
        width: 55%;
    }
    .info-text p{
        font-size: var(--p);
    }
    .close-btn{
        margin-bottom: 30px;
    }
    /* TYPO */
    .home h1, h1, .h1 {
        max-width: 70%;
        font-size: calc(var(--h1) - 2rem)
    }
}

@media screen and (max-width: 1280px){
    /* HOME */
    .logo-img {
        max-width: 300px;
        height: auto;
    }
    .recent-posts {
      width: 60%;
        z-index: 3;
    }
    .home-img {
        width: 39%;
        transform: scale(1.5);
        transform-origin: bottom right;
    }
    /* SINGLE */
    .single{
        padding-right: calc(20% + 30px);
    }
    .single-info{
        width: 20%;
        padding: 30px 14vw 30px 30px;
    }
    .single-info.open{
        width: 60%;
        padding-right: 15vw;
    }
    .vertical-text{
        left: 30px;
    }
    .close-btn{
        margin-bottom: 20px;
    }
    .close-icn{
        width: 30px;
        height: 30px;
    }
    /* TYPO */
    .home h1, h1, .h1 {
        max-width: 65%;
        font-size: calc(var(--h1) - 3rem)
    }   
    p, .info-text p{
        font-size: calc(var(--p) - .1rem);
    }
}
@media screen and (max-width: 1080px){
    /* ELEMENTS */
    .navbar{
        position: fixed;
        height: 100%;
        width: auto;
        top: 0;
        display: grid;
        grid-template-columns: 30px auto;
        grid-gap: 30px;
        right: 0;
        transition: var(--bounce-transition);
    }
    .navbar::after{
        content: "";
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        mask-image: linear-gradient(to right, rgba(255,255,255, 0) 0%, var(--white) 40%);
        background: linear-gradient(to right, rgba(255,255,255, 0) 0%, rgba(255,255,255, 0.9) 100%);
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 100%;
        z-index: -1;
    }
    .navbar.open{
        right: 0;
    }
    .burger-btn{
        display: flex;
    }
    /* HOME */
    .recent-posts {
      width: 70%;
        z-index: 3;
    }   
    .home-img {
        width: 29%;
        transform: scale(2.3);
    }
    /* ARCHIVE */
    .archive{
        height: auto;
        overflow: scroll;
    }
    .scroll-content{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 30px;
    }
    .archive-post-link{
        overflow: hidden;
        position: relative;
    }
    .archive-post-img{
        position: relative;
        top: auto;
        left: auto;
        z-index: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        opacity: 1;
        transform: none;
        margin-bottom: -100px;
    }
    .archive-post-img::after {
        display: none;
    }
    .archive-post-content{
        position: absolute;
        bottom: 30px;
        left: 0;
        padding: 0 30px;
    }
    .archive-title{
        font-size: calc(var(--h2) - 2rem);
        color: var(--black);
        z-index: 2;
        margin-bottom: -15px;
        display: block;
    }
    .archive-post-content p {
        top: auto;
        font-weight: var(--light);
        font-size: var(--small-p)
    }
    .bg-img-wrapper{
        display: none;
    }
    /* SINGLE */
    .single{
        padding-right: calc(24% + 30px);
    }
    .single-info{
        width: 24%;
        padding-right: 15vw;
    }
    .single-info.open{
        width: 75%;
    }
}
@media screen and (max-width: 1024px){
    /* GENERAL */
    body{
        padding: 30px;
        min-height: 100vh;
        height: auto;
    }
    /* HOME */
    .home{
        overflow: scroll;
    }
    .home-stack{
        flex-wrap: nowrap;
    }
    .header-home{
        flex-wrap: wrap-reverse;
    }
    .home h1{
        max-width: 100%;
    }
    .home h2, .home p{
        background:linear-gradient(to bottom,
            transparent 20%,
            var(--white) 20%,
            var(--white) 80%,
            transparent 80%);
        display: inline-block;
        
    }
    .recent-posts{
        width: 100%;
        padding-bottom: 30px;
    }
    .home-stack > .wp-block-group:last-child{
        flex-direction: column-reverse;
    }
    .home-img {
        width: 100%;
        max-width: 700px;
        transform: none;
        position: absolute;
        right: 0;
        bottom: 0;
    }
    /* SINGLE */
    .single{
        padding: 0;
    }
    .single-layout{
        display: flex;
        flex-direction: column;
    }
    .single-info.open{
        position: relative;
        width: 100%;
        padding: 30px 30px 70px;
        order: 1;
    }
    .single-info > div{
        position: relative;
    }
    .single-content{
        order: 2;
        padding: 30px;
    }
    .single-info h1{
        margin-left: 80px;
    }
    .info-text{
        max-height: 100%;
    }
    .close-btn{
        position: absolute;
        top: 5px;
        left: 0;
        z-index: 2;
    }
    .close-btn span{
        display: none;
    }
    .vertical-text{
        display: none;
    }
}
@media screen and (max-width: 500px){
    .logo-img{
        max-width: 200px; 
    }
    /* HOME */
    .home-stack > .wp-block-group:last-child{
        flex-direction: column;
        margin-top: 50px;
    }
    .home h1{
        font-size: calc(var(--h1) - 4.6rem);
    }
    .header-home p.small-p{
        margin-left: 10px!important;
    }
    .home-img{
        position: relative;
        margin-top: 50px;
    }
    /* ARCHIVE */
    .scroll-content{
        grid-template-columns: repeat(1, 1fr);
    }
    /* SINGLE */
    .close-btn{
        display: none;
    }
    .single-info h1{
        margin-left: 0;
    }
    .secondary-info .d-grid{
        grid-template-columns: 1fr;
    }
}
/* =============================================================================
Non-Semantic Classes
========================================================================== */

/* Custom Selection Styles */
::selection {
    background: var(--main-color);
    color: #FFF;
    text-shadow: none;
}

::-webkit-selection {
    background: var(--main-color);
    color: #FFF;
    text-shadow: none;
}

::-moz-selection {
    background: var(--main-color);
    color: #FFF;
    text-shadow: none;
}

/* Input focus styles */
input:focus {
    outline: 0;
    border: 1px solid #0091BD;
}

/* Gets rid of blue glow on field focus, adds border color instead */

/* =============================================================================
WordPress Core CSS Styles
========================================================================== */

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #FFF;
    border: 1px solid #F0F0F0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.sticky {}

.bypostauthor {}

/* ==========================================================================
Print styles
========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " ("attr(href) ")";
    }

    abbr[title]:after {
        content: " ("attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}