html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #FF84E4;
}

@font-face {
  font-family: 'ClashDisplay-Variable';
  src: url('media/fonts/ClashDisplay-Variable.woff2') format('woff2'),
       url('media/fonts/ClashDisplay-Variable.woff') format('woff'),
       url('media/fonts/ClashDisplay-Variable.ttf') format('truetype');
  font-weight: 200 700;
  font-display: swap;
  font-style: normal;
}

h1, h2 {
    font-family: "ClashDisplay-Variable", sans-serif;
    font-weight: 600;
}

p {
    font-family: Fustat, serif;
    font-weight: 400;
}

#hero {
    position: relative;
    overflow: hidden;
}

#hero .bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#hero .content {
    position: relative;
    color: #2B2B2B;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 60px;
    font-size: 28px;
    background-color: #f1f1f1;
    border: none;
    cursor: pointer;
    font-family: "ClashDisplay-Variable", sans-serif;
    color: #2B2B2B;
    text-decoration: none;
}

.grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
}

.blur {
    filter: blur(3px);
}

.box-container {
    position: relative;
}

.box {
    cursor: pointer;
    position: absolute;
    border-radius: 3px;
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.box.visible {
    opacity: 1;
    transform: translate(0, 0) !important;
}

#mission-2 {
    background-color: #FBA5E8;
}

#mission-2 .content {
    position: relative;
}

#mission-2 .content .box-1 {
    background-color: #6DFB91;
}

#mission-2 .content .box-2 {
    background-color: #49EEF0;
    transform: translateX(100%);
}

#mission-2 .content .box-3 {
    background-color: #F1F1F1;
    transform: translateY(100%);
}

.about {
    background-color: #F1F1F1;
}

#about-1 .content .box {
    background-color: #FF84E4;
}

#about-1 .content .box-container {
    overflow: hidden;
}

#about-1 .content .box-2 {
    transform: translateY(100%);
}

#about-1 .content .box-3 {
    transform: translateY(100%);
}

#about-2 .cta {
    background-color: #FF84E4;
}

#contact {
    padding: 0;
}

#contact .right {
    background-image: linear-gradient(to bottom, #FF84E4, #6DFB91, #49EEF0);
}

footer {
    background-color: #F1F1F1;
}

footer #links a {
    font-family: "ClashDisplay-Variable", sans-serif;
    color: #2B2B2B;
    text-decoration: none;
}

footer #bar {
    width: 100%;
    overflow: hidden;
}

footer #bar video {
    width: 100%;
    object-fit: cover;
}

footer #sign {
    font-family: "ClashDisplay-Variable", sans-serif;
    text-align: center;
}

@media only screen and (max-width: 991px) {
    footer {
        padding: 64px 20px 32px;
    }

    footer .content p {
        margin-top: 0;
    }

    footer .content #links {
        display: flex;
        flex-direction: column;
    }

    footer .content #links a {
        padding-bottom: 25px;
    }

    footer #bar {
        height: 20px;
    }

    footer #bar video {
        height: 20px;
    }
}

/* Extra small devices (phones, 599px and down) */
@media only screen and (max-width: 599px) {
    h1 {
        font-size: 56px;
    }

    h2 {
        font-size: 32px;
    }

    section {
        padding: 120px 20px 32px;
    }

    p {
        font-size: 24px;
    }

    .cta {
        width: calc(100% - 80px);
        padding: 10px 40px;
        font-size: 20px;
    }

    #hero {
        padding-bottom: 120px;
    }

    #mission-1 h1 {
        margin-top: 0;
        margin-bottom: 15px;
    }

    #mission-2 {
        padding: 32px 10px;
    }

    #mission-2 .content {
        min-height: 485px;
    }
    
    #mission-2 .left {
        position: absolute;
        top: 250px;
    }

    #mission-2 .right {
        position: absolute;
        top: 0;
        width: 100%;
    }

    #mission-2 .right img {
        display: block;
        width: 266px;
        margin: 0 auto;
    }

    #mission-2 .content .box {
        padding: 12px 20px;
        width: 330px;
    }

    #mission-2 .content .box-1 {
        left: 5px;
    }

    #mission-2 .content .box-2 {
        top: 35px;
        left: -5px;
    }

    #mission-2 .content .box-3 {
        top: 12px;
    }

    #about-1 {
        padding-top: 64px;
    }

    #about-1 .content .box-container {
        height: 220px;
    }

    #about-1 .content .box {
        padding: 8px 20px;
        width: 320px;
    }

    #about-1 .content .box-2 {
        top: 33px;
    }

    #about-1 .content .box-3 {
        top: 66px;
    }

    #about-2 {
        padding-top: 0;
    }

    #about-2 img {
        margin: auto;
        width: 390px;
    }

    #contact h1 {
        margin-top: 0;
    }

    #contact .left {
        padding: 120px 20px 32px;
    }

    #contact .right img {
        width: 390px;
    }

    footer #sign {
        font-size: 20vw;
        font-weight: 500;
    }
}

@media only screen and (min-width: 600px) {
    h1 {
        font-size: 96px;
        line-height: 95%;
    }

    h2 {
        font-size: 47px;
    }

    p {
        font-size: 32px;
    }

    section {
        padding: 120px 96px;
    }

    .cta {
        padding: 20px 60px;
        font-size: 28px;
    }

    #mission-1 {
        padding-bottom: 64px;
        background-color: #FF84E4;
    }

    #mission-1 h1 {
        margin-top: 0;
    }

    #mission-1 .cta {
        width: 462px;
    }

    #about-1 {
        padding-bottom: 0;
    }

    #about-1 .content h2 {
        margin-top: 0;
    }

    #about-1 .content .box {
        font-size: 25px;
        width: 405px;
        padding: 20px 32px;
    }

    #about-1 .content .box-container {
        height: 250px;
    }

    #about-1 .content .box-1 {
        top: 0;
    }

    #about-1 .content .box-2 {
        top: 43px;
    }

    #about-1 .content .box-3 {
        top: 86px;
    }

    #about-2 {
        padding-top: 0;
    }

    #about-2 img {
        margin: auto;
        width: 450px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 991px) {
    #mission-2 {
        padding: 32px 10px;
    }

    #mission-2 .content {
        min-height: 620px;
    }
    
    #mission-2 .left {
        position: absolute;
        top: 270px;
        left: -55%; 
        right: 0; 
        margin-inline: auto; 
        width: fit-content;
    }

    #mission-2 .right {
        position: absolute;
        top: 0;
        width: 100%;
    }

    #mission-2 .right img {
        display: block;
        width: 295px;
        margin: 0 auto;
    }

    #mission-2 .content .box {
        padding: 12px 20px;
        width: 330px;
    }

    #mission-2 .content .box-1 {
        left: 5px;
    }

    #mission-2 .content .box-2 {
        top: 35px;
        left: -5px;
    }

    #mission-2 .content .box-3 {
        top: 12px;
    }
        
    #contact .left {
        padding: 120px 96px 32px;
    }

     #contact .right {
        text-align: center;
     }

    #contact .right img {
        width: 390px;
    }

    footer {
        padding: 64px 96px;
    }

    footer #sign {
        font-size: 18vw;
        font-weight: 500;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .limited {
        max-width: 1248px;
        margin: auto;
    }

    #hero .content h1 {
        max-width: 730px;
        margin: 0;
    }

    #hero .content p {
        max-width: 730px;
    }

    #mission-1 {
        text-align: center;
    }

    #mission-1 h1 {
        padding: 0 96px;
    }

    #mission-2 {
        padding: 64px 96px 120px;
        height: 574px;
        overflow: hidden;
    }

    #mission-2 img {
        width: 484px;
        display: block;
        margin: 40px auto;
    }

    #mission-2 .content .box {
        padding: 40px 40px 60px 40px;
        width: 432px;
    }

    #mission-2 .content .box-2 {
        top: 25px;
        left: -15px;
        transform: translateX(100%);
    }

    #mission-2 .content .box-3 {
        top: 12px;
        width: 422px;
        transform: translateY(100%);
    }

    #about-2 {
        text-align: center;
    }

    #about-2 .content p {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    #contact img {
        width: 597px;
        display: block;
        margin: auto;
    }

    #contact .content {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
    }

    #contact .content div div {
        padding: 120px 0;
        width: 624px;
    }

    #contact .content .left h1 {
        margin-top: 0;
    }

    #contact .content .left div {
        float: right;
    }

    footer {
        padding: 120px 96px;
    }

    footer .content #links {
        padding-bottom: 76px;
    }

    footer #links a {
        text-align: center;
    }

    footer #links a:first-child {
        text-align: left;
    }

    footer #links a:last-child {
        text-align: right;
    }

    footer .limited p {
        margin-bottom: 15px;
    }

    footer #bar {
        height: 32px;
    }

    footer #bar video {
        height: 32px;
        object-position: 0 -300px;
    }

    footer #sign {
        font-size: 22vw;
        font-weight: 500;
    }
}


@media only screen and (min-width: 1435px) {
        footer #sign {
        font-size: 345px;
    }
}
