@import url('https://fonts.googleapis.com/css2?family=Climate+Crisis&family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

/* NORMALIZE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    appearance: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* NORMALIZE */

body {
    background: #F1F1F1 ;
    color: #121212;
    overflow: hidden;
}

* {
    font-family: "Climate Crisis", sans-serif !important;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

section {
    position: relative;
    z-index: 10;
    /* pointer-events: none; */
}

.mwg_effect005 {
    pointer-events: none;
}
/* */

.mwg_effect009 .text { 
    position: absolute;
    font: 500 normal clamp(14px, 1.15vw, 50px) / 1.2 "Climate Crisis", sans-serif;
    letter-spacing: -0.01em;
    top: 25px;
    left: 25px;
    width: 23%;
    min-width: 300px;
}
.mwg_effect009 .visual {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 12vw;
}
.mwg_effect009 .pin-height {
    height: 600vh;
}
.mwg_effect009 .container {
    display: flex;
    align-items: center;
    height: 100vh
}
.mwg_effect009 .center {
    position: relative;
    width: 100%;
}
.mwg_effect009 .sentence {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    font: 500 normal 7vw/0.9 'Inter', sans-serif;
}
.mwg_effect009 .sentence span {
    display: inline-block;
    /* letter-spacing: -0.06em; */
}
.mwg_effect009 .sentence:not(:first-child) {
    position: absolute;
    left: 0;
    top: 0;
}

/*  */
.mwg_effect034 {
    height: 100vh;
    display: flex;
    gap: 10vw;
    padding: 0 1.6vw;
    width: 100%;
}
.mwg_effect034 .col {
    flex: 1;
}
.mwg_effect034 .container {
    display: flex;
    flex-direction: column;
    gap: 10vw;
    padding-bottom: 1.6vw;
}
.mwg_effect034 .media {
    display: block;
    width: 100%;
    cursor: zoom-in;
    height: auto;
}

@media (max-width: 768px) {
    .mwg_effect034 {
        height: 100vh;
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .mwg_effect034 .container {
        gap: 15px;
        padding-bottom: 15px;
    }
}
/*  */

.mwg_effect005 .scroll {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.mwg_effect005 .pin-height {
    height: 500vh;
}
.mwg_effect005 .header {
    position: absolute;
    display: flex;
    justify-content: space-between;
    /* width: 100%; */
    /* padding: 25px; */
    top: 25px;
    left: 25px;
    right: 25px;
}
.mwg_effect005 .header .left {
    font-size: 1.2vw;
}
.mwg_effect005 .header .right {
    display: flex;
    gap: 1em;
    text-align: right;
    font: 500 normal 0.9vw / normal 'IBM Plex Mono';
    text-transform: uppercase;
    align-items: center;
}
.mwg_effect005 .header img {
    border-radius: 0.2em;
    /* width: 4.6vw; */
    width: auto;
    height: 4.6vw;
    /* object-fit: cover; */
}
.mwg_effect005 .container {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 25px;
    overflow: hidden;
}
.mwg_effect005 .paragraph {
    width: 60%;
    font: 500 normal 2.9vw/0.9 'Inter', sans-serif;
    /* letter-spacing: -0.03em; */
}
.mwg_effect005 .word {
    display: inline-block;
    transform: translate(calc(100vw - 25px), 0);
}

@media (max-width: 900px) {
    .mwg_effect005 .header {display: block;}
    .mwg_effect005 .header .left {font-size: 16px}
    .mwg_effect005 .header .right {
        font-size: 13px;
        margin: 15px 0 0;
    }
    .mwg_effect005 .header .right p{
        order: 2;
        text-align: left;
    }
    .mwg_effect005 .header img {
        height: 58px;
        order: 1;
    }
    .mwg_effect005 .paragraph {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .mwg_effect005 .header {
        top: 15px;
        left: 15px;
        right: 15px;
    }
    .mwg_effect005 .word {
        transform: translate(calc(100vw - 15px), 0);
    }
}
@media (max-width: 500px) {
    .mwg_effect005 .container {
        align-items: flex-end;
        padding: 0 15px 74px;
    }
    .mwg_effect005 .paragraph {
        width: 100%;
    }
}

/* fullscreen */
/* Base styles */
#fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  #fullscreen-overlay.visible {
    pointer-events: auto;
    opacity: 1;
  }
  
  #fullscreen-image {
    width: 100vw;
    height: auto;
    max-height: none;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10000;
    will-change: transform;
    transition: none;
    cursor: zoom-out;
  }
  
  #close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 10001;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
  }
  