/* TYPOGRAPHY ================= TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css2?family=Averia+Serif+Libre:ital,wght@0,300;1,300&family=Murecho:wght@300;700;900&display=swap');
@font-face {
    font-family: 'TheErasedEnglish';
    src: url('../../ASSETS/Font/TheErased-English.otf') format('opentype');
}

body {
    background-color: #f4efe1;
    font-size: 16px;
    font-family: 'AveriaSerifLibre', sans-serif;
    font-weight: light; 
    overflow-x: hidden;
    color: #202020;
    margin: 0;

}
h1 {
    font-family:'Murecho', sans-serif;
    font-size: 40px;
    font-weight: 900; 
    text-transform: uppercase;
    text-decoration: none;
    color: #202020;
    line-height: 100%;
    margin: 0;
    padding-bottom: 10px;
    font-feature-settings: "liga" 1, "dlig" 1;
    text-transform: none; 
}
h2 {
    font-family: 'Murecho', sans-serif;
    font-size: 25px;
    font-weight: 700; 
    color: #202020;
    line-height: 100%;
    margin: 0;
    padding-bottom: 5px;
    line-height: 1.4cap;
}
h3 {
    font-family: 'Murecho', sans-serif;
    font-size: 18px;
    font-weight: 300; 
    text-decoration: none;
    color: #202020;
    line-height: 100%;
    margin: 0;
    padding-bottom: 5px;
    line-height: 1.7cap;
}
h4 {
    font-family: 'TheErasedEnglish', sans-serif;
    font-size: 110px;
    line-height: 1;
    font-feature-settings: "liga" 1, "dlig" 1;
    text-transform: none; 
    margin-bottom: 0;
}
h5 {
    font-family: 'TheErasedEnglish', sans-serif;
    font-size: 17px;
    line-height: 1.3;
    font-feature-settings: "liga" 1, "dlig" 1;
    text-transform: none; 
}
.p-font-1 {
    font-family: 'Averia Serif Libre', serif;
    font-size: 16px;
    font-weight: 300; 
    text-decoration: none;
    color: #202020;
    line-height: 120%;
    margin: 0;
    padding-bottom: 5px;
}
.p-font-2 {
    font-family: 'Averia Serif Libre', serif;
    font-size: 16px;
    font-weight: 300; 
    font-style: italic;
    text-decoration: none;
    color: #202020;
    line-height: 120%;
    margin: 0;
    padding-bottom: 10px;
    padding-top: 5px;
}

/* SIDEBAR ================= SIDEBAR */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(1/5 * 80vw);
    height: 100vh;
    padding-left: calc(1/50 * 100vw);
    padding-right: calc(1/50 * 100vw);
    padding-top: calc(1/50 * 100vw);
    z-index: 101;
}

/* SECTIONS ========MAIN========= SECTIONS */
.section-container {
    margin-left: calc(1/5 * 100vw);
    overflow-y: auto;
    min-height: 100vh;
}
.section {
    display: flex;
    flex-direction: row;
    margin-bottom: calc(1/50 * 100vw);
    margin-top: 0; 
    margin-right: calc(1/50 *100vw);
}

.text-frame, .picture-frame {
    flex-grow: 1;
}
.text-frame {
    flex-grow: 1;
    padding-right: calc(1/50 * 100vw);
    padding-left: calc(1/50 * 100vw);
}
.twotext-frame {
    flex-grow: 2;
}

.picture-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(0.4/50 * 100vw);
    width: 100%;
    overflow: hidden; 
}
.section-image {
    width: 100%; /* Ensure width is fully responsive */
    height: auto; /* Maintain aspect ratio */
    max-height: 100%; /* Limit height to container */
    object-fit: contain; /* Ensure full visibility within frame */
    display: block;
    border-radius: 15px;
}

.dual-text-container {
    display: flex;
    justify-content: space-between;
}
  
.text-right {
    text-align: right;
    width: calc((1/3 * 5) * 100vw);
}
.text-left {
    text-align: left;
    width: calc((1/3 * 5) * 100vw);
}


/* CLASS STYLES  */
.class-TEXT .text-frame {
    margin-left: calc(5/50 * 100vw);
    margin-right: calc(5/50 * 100vw);
    padding-right: calc(2/50 * 100vw);
    padding-left: calc(2/50 * 100vw);
    margin-bottom: 0;
    padding-bottom: 0;
}

.class-PHOTO {
    flex-direction: column;
    margin-left: calc(4/50 * 100vw);
    margin-right: calc(5/50 * 100vw);
    margin-bottom: calc(0.5/50 * 100vw);
    margin-top: 0; 
}
.class-PHOTO .text-frame {
    text-align: center
}

.class-2X_PHOTO {
    flex-direction: column;
    margin-left: calc(4/50 * 100vw);
    margin-right: calc(5/50 * 100vw);  
    margin-bottom: calc(0.5/50 * 100vw);
    margin-top: 0;  
}
.class-2X_PHOTO .picture-frame .section-image {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(50% - (0.4/50 * 100vw) / 2); 
    height: auto; 
    max-width: calc(50% - (0.4/50 * 100vw) / 2);
    display: block;
}
.class-2X_PHOTO .text-frame {
    text-align: center;
}

.class-3X_PHOTO {
    flex-direction: column;
    margin-left: calc(4/50 * 100vw);
    margin-right: calc(5/50 * 100vw);
    margin-bottom: calc(0.5/50 * 100vw);
    margin-top: 0;    
}
.class-3X_PHOTO .picture-frame .section-image {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(33.3% - (0.5/50 * 100vw) / 2); 
    height: auto; 
    max-width: calc(33.3% - (0.5/50 * 100vw) / 2);
    display: block;
}
.class-3X_PHOTO .text-frame {
    text-align: center;
}

.class-4X_PHOTO {
    flex-direction: column;
    margin-left: calc(4/50 * 100vw);
    margin-right: calc(5/50 * 100vw);
    margin-bottom: calc(0.5/50 * 100vw);
    margin-top: 0;    
}
.class-4X_PHOTO .picture-frame .section-image {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(25% - (0.6/50 * 100vw) / 2); 
    height: auto; 
    max-width: calc(25% - (0.6/50 * 100vw) / 2);
    display: block;
}
.class-4X_PHOTO .text-frame {
    text-align: center;
}

.class-Video .video-container {
    position: relative;
    margin-left: calc(4*(1/50 * 100vw));
    margin-right: calc(4*(1/50 * 100vw));
    margin-bottom: calc(0.5/50 * 100vw);
    margin-top: calc(1/50 * 100vw);
    width: 100%;
    padding-bottom: 43%; 
    padding-top: calc(1/50 * 100vw);;
    height: 0;
} 
.class-Video .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;  
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
    border-radius: 15px;

}

.class-3X_VIDEO {
    flex-direction: column;
    margin-left: calc(4/50 * 100vw);
    margin-right: calc(5/50 * 100vw);
    margin-bottom: calc(0.5/50 * 100vw);
    margin-top: 0;
}

.class-3X_VIDEO .video-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(0.4/50 * 100vw);
    width: 100%;
    overflow: hidden;
}

.class-3X_VIDEO .video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(33.3% - (0.4/50 * 100vw) / 2);
    max-width: calc(33.3% - (0.4/50 * 100vw) / 2);
    border-radius: 15px;
}

.class-3X_VIDEO .video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    transform: translate(-50%, -50%);
    border-radius: 15px;
}

.class-3X_VIDEO .text-frame {
    text-align: center;
}

.class-PHOTO_TEXT_right .picture-frame{
    flex-grow: 0;
    width: 100vw;
    margin-right: calc(4/50 * 100vw);
    margin-top:0;
    margin-bottom: 0;
}
.class-PHOTO_TEXT_right .text-frame {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    flex-grow: 0;
    width: calc(2/5 * 100vw);
    text-align: bottom;
    padding-left: calc(5*(1/50 * 100vw));
    padding-bottom: calc((3/50 * 100vh));
    margin-top:0;
    margin-bottom: 0;
}

.class-PHOTO_TEXT_left .picture-frame{
    flex-grow: 0;
    width: 100vw;
    margin-left: calc(4/50 * 100vw);
    margin-top:0;
    margin-bottom: 0;
}
.class-PHOTO_TEXT_left .text-frame {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    flex-grow: 0;
    width: calc(2/5 * 100vw);
    text-align: bottom;
    padding-right: calc(5*(1/50 * 100vw));
    padding-bottom: calc((3/50 * 100vh));
    margin-top:0;
    margin-bottom: 0;
}

section.class-Divider {
    display: flex;
    flex-direction: column;
    align-items:center;
    margin-bottom: calc(0.5/50 * 100vw);
    margin-top: 0; 
}

.class-Typing {
    flex-grow: 0;
    margin-top: calc(2/50 * 100vw);
    margin-left: calc((1/50 * 100vw));
    margin-right: calc((2/50 * 100vw));
    text-align: center;
    cursor: text;
    outline: none;
}

/* OTHER ================= OTHER */
.box {
    width: calc(1/5 * 82vw);
    height: 5px;
    position: relative;
    margin-top: 5px;
    margin-bottom: 10px;
}
.box::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-top: 2px solid #202020;
}

.divider {
    width: calc((3/5 * 100vw));
    height: 5px;
    position: relative;
    background-color: (#202020);
}
.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 2px solid #202020;
    transform: transalteY(-50%);
    margin-right: calc((1/50 * 100vw));
    margin-left: calc((1/50 * 100vw));
}

a {
    color: inherit; /* Use the parent element's text color */
    text-decoration: none; /* Remove the underline */
}

.content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.2s ease-out;
}

.collapsible {
    cursor: pointer;
}

.arrow {
    display: inline-block;
    transition: transform 0.2s;
}

.collapsible .arrow.rotated {
    transform: rotate(180deg);
}

.custom-button {
    display: inline-block; 
    padding: 8px 16px;
    border: 2px dotted #ff0000; 
    border-radius: 15px; 
    text-decoration: none; 
    color: inherit;
    font-size: inherit; 
    cursor: pointer;
}
.custom-button:hover {
    background-color: #f3e1e1; /* Optional: change on hover, adjust the color as needed */
    text-decoration: none; /* Ensures the underline doesn't reappear on hover */
}


/* Define custom color variables */
:root {
    --blue: #3a65de;
    --yellow: #f7c24f;
    --red: #ff5858;
    --black: #202020;
    --gray: #636363;
}
/* Create custom classes for each color */
.custom-blue-text {
    color: var(--blue);
}
.custom-yellow-text {
    color: var(--yellow);
}
.custom-red-text {
    color: var(--red);
}
.custom-black-text {
    color: var(--black);
}
.custom-gray-text {
    color: var(--gray);
}

/*INTERACTION ========= INTERACTION*/
html {
    scroll-behavior: smooth;
}

a:hover {
    text-decoration: underline;
    color: #ff5858; /* Changes text color to red on hover */
}

.blinking-cursor:after {
    content: '|';
    animation: blink 1s step-start infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* MOBILE */
.hamburger-icon {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    cursor: pointer;
    font-size: 30px;
    user-select: none;
    z-index: 102;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    html, body {
        width: 100%;
        overflow-x: hidden; /* Prevent horizontal scroll */
        max-width: 100vw; /* Prevents side elements from causing horizontal scrolling */
    }

    .hamburger-icon {
        display: none; /* Hide the hamburger as sidebar will always be visible */
    }

    .sidebar {
        position: relative; /* Make sidebar flow in the document flow */
        width: 100%; /* Full width */
        height: auto; /* Adjust height based on content */
        left: 0; /* Reset left position */
        background-color: #F3EEE1; 
        z-index: 1; /* Adjust z-index if necessary */
        top: 0; /* Ensure it stays at the top */
        display: block; /* Ensure it's always displayed */
    }

    .section-container {
        margin-top: 10px;
        margin-left: 0;
    }

    .box {
        width: 100%; /* Full width */
        margin-top: 5px;
        margin-bottom: 10px;
    }

    .box::before {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        border-top: 2px solid #202020;
    }

    h3 {
        font-size: 14px;
		line-height:150%;
    }

    h4 {
        font-size: 70px;
        line-height: 1.2 cap;
    }

    h5 {
        font-size: 14px;
        line-height: 1.2 cap;
    }
    
    /* For the Erased Font page specificaly */
    .class-Typing {
        flex-grow: 0;
        margin-top: calc(2/10 * 100vw);
        margin-bottom: calc(1/10 * 100vw);
        margin-left: calc((1/50 * 100vw));
        margin-right: calc((2/50 * 100vw));
        text-align: center;
        cursor: text;
        outline: none;
    }

    .text-right {
        text-align: right;
        width: 100%;
    }
    .text-left {
        text-align: left;
        width: 100%;
    }
    
    .class-TEXT .text-frame {
        margin-left: calc(.5/10 * 100vw);
        margin-right: calc(.5/10 * 100vw);
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 0;
        padding-bottom: 10px;
    }
    .class-PHOTO {
        flex-direction: column;
        margin-left: calc(.5/10 * 100vw);
        margin-right: calc(.5/10 * 100vw);
        padding-bottom: 10px;
    }

    .class-2X_PHOTO {
        flex-direction: column;
        margin-left: calc(.5/10 * 100vw);
        margin-right: calc(.5/10 * 100vw);  
        margin-bottom: 0;
        padding-bottom: 10px;
    }

    .class-3X_PHOTO {
        flex-direction: column;
        margin-left: calc(.5/10 * 100vw);
        margin-right: calc(.5/10 * 100vw);  
        margin-bottom: 0;
        padding-bottom: 10px;
    }

    .class-Video .video-container {
        position: relative;
        margin-left: calc(.5/10 * 100vw);
        margin-right: calc(.5/10 * 100vw);
        margin-bottom: calc(.5/10 * 100vw);
        margin-top: calc(.5/10 * 100vw);
        width: 100%;
        padding-bottom: 43%; 
        padding-top: calc(.5/10 * 100vw);
        height: 0;
    } 

   
}
 .class-PHOTO_TEXT_right .picture-frame{
        margin-right: calc(.5/10 * 100vw);
    }
    .class-PHOTO_TEXT_right .text-frame {
        width: 100%;
        text-align: bottom;
        padding-left: calc(.5/10 * 100vw);
        padding-bottom: 10px;
    }
    
    .class-PHOTO_TEXT_left .picture-frame{
        margin-left: calc(.5/10 * 100vw);
    }
    .class-PHOTO_TEXT_left .text-frame {
        width: 100%;
        text-align: bottom;
        padding-right: calc(.5/10 * 100vw);
        padding-bottom: 10px;
    }