﻿    body {
        background-image: url(/assets/images/background_tileable.png) !important;
        background-repeat: repeat !important;
        background-origin: padding-box;
        background-size: 164px !important;
    }


/* BACKGROUND VIDEO */

.background-video-container img {
    width: 100%;
    height: 1150px;
    pointer-events: none;
    filter: saturate(1.1), brightness(0.9);
    user-select: none;
    display: block;
    object-fit: cover;
    transition: 0.2s;
    object-position: 65% 80%;
}

.background-video-container {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 75.05% 97.75%, 50% 97%, 24.95% 97.75%, 0% 100%);
    width: 100%;
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    min-width: auto;
    height: auto;
}

.logo {
    backdrop-filter: invert(50%) !important;
    background: white;
}

/* INTRODUCTION */

.introduction {
    margin-bottom: 25%;
    margin-top: 350px;
    display: flex;
    flex-direction: column;
}

.title {
    width: fit-content;
}

.newsletter {
    margin-left: 221px;
    margin-top: 194px;
    position: absolute;
}

.contents1_button:hover, .contents2_button:hover {
    transition: 0.2s;
    color: var(--titletext);
}

.contents1_button, .contents2_button {
    transition: 0.2s;
    user-select: none;
    cursor: pointer;
}

.contents1, .contents2 {
    position: absolute;
    display: flex;
    flex-direction: column;
    padding: 15px;
    z-index: 99;
}

.contents1 {
    width: 637px;
    height: 392px;
}

.contents2 {
    width: 386px;
    height: 168px;
    text-align: right;
    row-gap: 11px;
}

@keyframes rotateGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.contents1_title {
    font-style: normal;
    font-weight: 700;
    font-size: 64px;
    line-height: 122.4%;
    letter-spacing: -0.02em;
    background: linear-gradient(306.9deg, #FFF5DB 35.06%, #5A9CFF 74.85%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: rotateGradient 28s ease-in-out infinite;
}

.contents1_subtext {
    width: 325px;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.02em;
    color: var(--subtext);
}

.contents1_button {
    box-sizing: border-box;
    width: 185px;
    text-decoration: none;
    margin: 15px 0px 0px 0px;
    height: 40px;
    background: rgba(69, 144, 255, 0.05);
    border: 2px solid var(--titletext);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 200%;
    text-align: center;
    letter-spacing: 0.04em;
    color: var(--alttext);
}

.contents2_title {
    width: 152px;
    height: 87px;
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    align-items: center;
    text-align: center;
    margin-left: auto;
    letter-spacing: -0.02em;
    color: var(--titletext);
}

.contents2_subtext {
    margin-left: auto;
    width: 248px;
    height: 54px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: var(--subtext);
}

.contents2_input::placeholder {
    color: white;
}

.contents2_input {
    height: 32px;
    width: 285px;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    align-items: center;
    letter-spacing: -0.02em;
    color: var(--titletext);
    background: none;
    border: none;
    border-bottom: solid 2px var(--titletext);
}

.contents2_button {
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    align-items: center;
    text-align: center;
    letter-spacing: 0.04em;
    color: var(--alttext);
    background: none;
    border: none;
}

.background_btmrght {
    z-index: -99;
}
a[href$="/"] {color: var(--titletext);}

.background_tpleft {
    z-index: -99;
}


@media (max-width: 1970px) {
    .introduction {
        width: fit-content;
        margin-top: 350px;
        margin-bottom: 350px;
    }
}

@media (max-width: 1324px) {
    .introduction {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        margin-top: 200px;
        margin-bottom: 25%;
    }

    .background-video-container img {
        height: 750px;
    }
}

@media (max-width: 1010px) {
    .background-video-container img {
        height: 1200px;
    }

    .spacer {
        height: 100px;
        width: 100%;
    }

    .contents2 {
        margin-top: 80px;
    }

    .contents1_subtext {
        width: auto;
        text-align: center;
    }

    .contents1_title {
        font-size: 32px;
        width: auto;
    }

    .contents2_title {
        display: none;
        text-align: left;
    }

    .newsletter {
        margin: auto;
        position: static;
        margin-top: 1px;
    }

    .background_btmrght {
        display: none;
    }

    .background_tpleft {
        display: none;
    }

    .introduction {
        margin-bottom: 23%;
        margin-top: 110px;
        flex-direction: column;
        display: flex;
        row-gap: 30px;
        width: 320px;
        border-radius: 10px;
    }

    .video_mask {
        transform: translateY(-45px);
        width: 100%;
        height: 55px;
    }

    .contents1, .contents2 {
        position: static;
        background: rgba(15, 15, 2, 0.25);
        backdrop-filter: blur(2px);
        border-radius: 10px;
        height: fit-content;
        text-align: left;
        display: flex;
        flex-direction: column;
        padding: 15px;
        width: auto;
    }

    .contents1_button {
        width: 75%;
        margin-left: auto;
        margin-right: auto;
    }

    .background-video-container img {
        height: 650px;
    }

    .contents2_subtext {
        width: 100%;
        text-align: center;
    }

    .contents2_button {
        margin-left: auto;
    }

    .contents2_input {
        width: 65%;
    }

    .contents2 form {
        display: flex;
    }
}


@media (max-width: 490px) {
    .introduction {
        margin-top: 110px;
        margin-bottom: 43%;
        width: 95%;
    }
}

@media (max-width: 430px) {
    .background-video-container img {
        height: 700px;
    }
}

@media (max-width: 465px) {
    .nav_bar {
        width: 90%;
    }
}

.aboutus_container {
    display: flex;
    flex-direction: column;
    width: 75%;
    margin: auto;
}

    .aboutus_container div:nth-child(2n+2) {
        align-self: end;
        text-align: end;
    }

.aboutus_title {
    font-weight: 700;
    font-size: 92px;
    line-height: 122.4%;
    display: flex;
    width: max-content;
    align-items: center;
    letter-spacing: -0.02em;
    color: var(--titletext);
    margin: 0px;
}

.aboutus_part div:nth-child(2n+2) h1 {
    justify-content: end;
}

.alt_aboutus {
    font-weight: 700;
    font-size: 46px;
    line-height: 122.4%;
    display: flex;
    max-width: 700px;
    text-transform: uppercase;
    align-items: center;
    letter-spacing: -0.02em;
    color: var(--titletext);
    margin: 0px;
}

.alt_aboutus_subtext {
    margin: 0px;
    font-weight: 400;
    font-size: 16px;
    line-height: 165%;
    letter-spacing: -0.02em;
    color: var(--normaltext);
}

.aboutus_subtext {
    margin: 0px;
    width: 585px;
    font-weight: 400;
    font-size: 16px;
    line-height: 165%;
    letter-spacing: -0.02em;
    color: var(--normaltext);
}

.aboutus_part div:first-child {
}

.aboutus_part div:last-child {
    margin-left: auto;
}

.aboutus_part {
    margin-top: 70px;
    display: flex;
    width: 100%;
}

.aboutus_container img:nth-child(odd) {
    transform: rotate(3deg);
}

.aboutus_container img:nth-child(even) {
    transform: rotate(-3deg);
}

.aboutus_container img:hover:nth-child(odd) {
    transform: rotate(6deg);
}

.aboutus_container img:hover:nth-child(even) {
    transform: rotate(-6deg);
}

.aboutus_container img:hover {
    scale: 1.1;
    z-index: 9;
    transition: 0.5s;
}

.aboutus_container img {
    scale: 1;
    z-index: 2;
    transition: 0.5s;
}

@media (max-width: 1795px) {
    .aboutus_container {
        width: 100%;
    }

    .aboutus_part:nth-child(odd) div:nth-last-child(odd) {
        width: fit-content;
        display: flex;
    }

    .aboutus_part:nth-child(even) div:nth-last-child(even) {
        width: fit-content;
        display: flex;
    }

    .aboutus_title {
        font-size: 52px;
        width: 500px;
        margin-top: 50px;
    }

    .alt_aboutus {
        font-size: 34px;
        width: 100%;
    }
}

@media (max-width: 1560px) {
    .aboutus_part img {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 1390px) {
    .aboutus_part div img:first-child {
        display: none;
    }

    .title_img_switch {
        display: block;
    }
}
@media (max-width: 1325px) {
    .aboutus_title {
        margin-top: -70px;
    }
    .aboutus_container {
        margin-top: -110px;
    }
}

@media (max-width: 950px) {
    .aboutus_container {
        margin-top: -80px;
    }
}
@media (max-width: 720px) {
    .aboutus_container {
        margin-top: -50px;
    }
}


@media (max-width: 970px) {
    .aboutus_part img {
        display: none;
    }
}

@media (max-width: 770px) {
    .aboutus_container > div {
        padding: 15px;
    }

    .aboutus_part div:nth-child(2n+2) h1 {
        justify-content: start;
    }

    .aboutus_part {
        padding: 15px;
        width: auto;
    }

    .aboutus_container img {
        display: none;
        text-align: start;
    }

    .aboutus_title {
        font-size: 28px;
        width: 100%;
        margin-top: 20px;
        text-align: start;
    }

    .alt_aboutus {
        font-size: 18px;
        width: 100%;
        display: block;
        text-align: center;
    }

    .alt_aboutus_subtext {
        font-size: 12px;
        width: 100%;
        text-align: center;
    }
}


.hidden {
    opacity: 0;
    transition: all 2.5s;
}

    .hidden:nth-child(2n+1) {
        transition-delay: 200ms;
    }

.show {
    opacity: 1;
    transition: all 2.5s;
}



.middle_about_text_container {
    width: auto; 
    margin-top: 50px; 
    margin: auto;
    margin-bottom: 50px;
}

.middle_about_img {
    margin-right: auto; 
    margin: 0px auto auto 0px; 
    width: 30px; 
    display: flex;
    height: fit-content;
}
.middle_about_text_title {
    margin-left: auto;
    width: 70%;
    display: block;
}

.middle_about_text {
    font-weight: 400;
    font-size: 16px;
    line-height: 165%;
    letter-spacing: -0.02em;
    color: var(--normaltext);
    width: fit-content;
    height: fit-content;

    padding-left: 25px;

    display: block;

    margin-left: auto;
}

.middle_about_text div:last-child {
    margin-left: auto;
    text-align: right;
    width: 75%; 
    margin-top: 15px;
}

.show , .hidden {
    border-radius: 10px;
}
.title_img_switch {
    display: none !important;
    transform: rotate(0deg) !important;
    padding: 0px !important;
    margin: auto !important;

    height: 350px;
    width: auto;
}


.title_about {
    margin-bottom: 30px;
    margin-top: 45px;
}

    .title_about:first-child div div {
        width: 50%;
    }

.alt_aboutus_subtext , .aboutus_subtext {
    width: 60% !important;
}   

@media (max-width: 1390px) {
    .middle_about_text  {
      text-align: center !important;
      padding: 0px;
      width: auto;
      margin: auto;
      gap: 0px;
    }

    .middle_about_text div:last-child {
        margin: auto; 
        text-align: center !important; 
        display: block;
    }

    .aboutus_container div:nth-child(2n+2) {
        align-self: center;
        text-align: center;
    }

    .middle_about_img {
        display: none !important;
    }


    .middle_about_text_title {
        text-align: center !important;
        margin: 0px 0px 0px 0px;
        width: auto;
        margin: auto;
    }

    .middle_about_text {
        row-gap: 15px;
    }

    .title_img_switch {
        display: block !important;
        height: 350px !important;
        width: auto !important;
    }

    .middle_about_text_container div:first-child {
        display: none;
        height: fit-content !important;
    }

    .alt_aboutus_subtext , .aboutus_subtext {
        width: 80%;
        margin: auto;
    }    

    .aboutus_part {
        flex-direction: column;
    }

    .alt_aboutus {
        font-size: 22px !important;
        margin: auto !important;
        display: block;
        text-align: center !important;
    }  
    .aboutus_part {
        width: auto;
        margin: auto;
    }
    .alt_aboutus_subtext{
        margin: auto !important;
        display: block;
        text-align: center !important;
    }

    .title_about img {
        display: none !important;
    }

    .title_about:first-child div:first-child div {
        width: auto;
        margin: auto;
        text-align: center;
    }
    .aboutus_title {
        text-align: center !important;
        margin: auto auto auto auto !important;
        width: fit-content;
    }
    .title_about div {
        flex-direction: column;
    }
}

@media (max-width: 770px) {
    .middle_about_text {
        font-size: 12px;
    }   
    
    .title_img_switch {
        width: 100%;
        height: auto;
    }

    .alt_aboutus_subtext , .aboutus_subtext {
        font-size: 12px;
        width: 100% !important;
    }
}
