@import url('https://fonts.googleapis.com/css2?family=Abel&display=swap');

body {
    margin: 0;
    background-color: #ffffff;
    opacity: 0;
    transition: opacity 3s;
    font-family: 'Bebas Neue', sans-serif;
}

.container {
    scroll-behavior: smooth;
}

/* Default styles for the video container */
.video-container {
    width: 80vw;
    /* 80% of the viewport width */
    max-width: 960px;
    /* Set a maximum width if needed */
}

/* Styles for larger screens (width > 768px) */
@media (min-width: 769px) {
    .video-container {
        width: 70%;
        /* Adjust the width for larger screens */
    }

    .video-container iframe {
        /* Update the video URL for larger screens, for example, different video or settings */
        src: "https://www.youtube.com/embed/ANOTHER_VIDEO_ID?autoplay=1&loop=1&controls=0";
    }
}

.cta {
    margin-left: 10%;
    margin-right: 10%;
}

#navigation {
    width: 90%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffeee7;
    text-shadow: 0 0 1px #10051ad5;
    font-size: 1.1em;
    z-index: 2;
}

.logo-container {
    height: 8vh;
    padding-top: 0.5em;
}

#logo {
    height: 100%;
    object-fit: cover;
}


#navigation a,
#btn-nav-contact,
#btn-contact,
#btn-sign,
#btn-appstore,
#btn-appstore5 {
    color: #ffeee7;
    text-shadow: 0 0 1px #10051ad5;
    margin-left: 1em;
    font-size: 1.2em;
    transition: all .3s;
    cursor: pointer;
    text-decoration: none;
}

#logo {
    cursor: auto;
}

#navigation a:hover,
#btn-nav-contact:hover,
#navigation #logo:hover {
    color: #ffffff;
    text-shadow: 0 0 3px #3c75ff;
}

#btn-sign {
    background: transparent;
    border: none;
    color: #ffffff;
}

#btn-contact svg,
#btn-sign svg {
    filter: drop-shadow(0 0 3px #10051a);
}

#btn-appstore {
    display: flex;
    justify-content: center;
    align-items: center;
}

.appstore {
    padding: 0.3em;
}

#btn-appstore,
#btn-appstore5 {
    color: #10051a;
    background-color: #fbfbfb;
    text-shadow: none;
    text-shadow: 0 0 2px #ffffff;
    border: none;
    cursor: pointer;
}

.btn:hover #apple-logo {
    fill: #fff;
    /* Change to your desired color on hover */
}

#btn-appstore,
#btn-appstore5 {
    border-radius: 32px;
    color: #270954;
    border: solid 1.5px #100227;
}

#btn-appstore:hover,
#btn-appstore5:hover {
    background-color: #100227;
    color: white;
    border: solid 1.5px #10022700;
}

/* #btn-appstore:hover {
    background-color: #ffffff;
} */

.buttons-log-sign {
    margin-top: 1em;
}

.off {
    display: none;
}

.contact-blur {
    position: fixed;
    top: -5vh;
    left: -5%;
    width: 110%;
    height: 110vh;
    background: radial-gradient(#430081bb, #003e7ca8, #008e89b5);
    backdrop-filter: blur(12px) grayscale(0.5);
    -webkit-backdrop-filter: blur(3px) grayscale(0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-container {
    width: 24em;
    height: 24em;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border-radius: 6px;
    color: #ffeee7;
    font: 1em sans-serif;
}

.input-container svg {
    height: 2em;
    width: 2em;
}

.input-container,
#btn-contact,
#btn-sign {
    position: relative;
    width: 100%;
    height: 2.5em;
    margin: .6em 0;
    cursor: pointer;
    padding: 0.6em;
}

#btn-contact {
    background-color: transparent;
    /* Clear background */
    outline: none;
    /* No outline */
    border: none;
    /* No border */
}

.input-container label {
    position: absolute;
    top: 55%;
    left: 40%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: .4s;
    opacity: .7;
    color: #ffffff;
}

.input-container input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    margin-bottom: 30px;
    border-radius: 6px;
    outline: none;
    font-size: 1em;
    font-weight: 600;
    color: #ffffff;
}

.input-container input:focus {
    background: rgba(255, 255, 255, 0.1);
}

.input-container input:focus~label,
.input-container input:valid~label {
    left: -2.2em;
    transition-delay: opacity(.5s);
    opacity: 1;
}

.label-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-top: 1.5em;
}

.container {
    height: 100vh;
    margin: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    perspective: 20px;
    background-color: #10051a;
}

header,
section {
    height: 100vh;
    scroll-snap-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform-style: preserve-3d;
}

.text-container {
    max-width: 62%;
    padding: 6vw;
}

#img-page {
    background-image: url("img/close.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.page {
    font-size: 1.3em;
    line-height: 1.8em;
    padding: 2em;
    color: #ffeee7;
    text-shadow: 0 0 1px #10051ad5;
    font-weight: 400;
    background: linear-gradient(to bottom right, #fb439b, #526cfe);
    text-align: justify;
    text-justify: inter-word;
    z-index: 10;
}

.footer-paragraph {
    color: #ffffff;
    padding: 0 2em;
    text-decoration: none;
}



.answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 20px;
    font-style: italic;
}

.toggle-button {
    cursor: pointer;
    color: #4afdfd;
}



.back,
.front {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}

.back {
    transform: translateZ(-20px) scale(2);
}

.four-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.front {
    width: 30vw;
    height: 20vw;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
    transition: transform 0.3s ease-out;
}

.front:hover {
    transform: scale(2.0);
}

.front-image {
    box-shadow: 0px 5px 18px rgba(0, 0, 0, 0.5);
    width: 15vw;
    position: absolute;
    transition: transform 0.3s ease-out;
}

.front-image:nth-child(1) {
    top: 0;
    left: 0;
    transform-origin: top left;
    --rotation: -15deg;
}

.front-image:nth-child(2) {
    top: 0;
    right: 0;
    transform-origin: top right;
    --rotation: 15deg;
}

.front-image:nth-child(3) {
    bottom: 0;
    left: 0;
    transform-origin: bottom left;
    --rotation: 10deg;
}

.front-image:nth-child(4) {
    bottom: 0;
    right: 0;
    transform-origin: bottom right;
    --rotation: -10deg;
}

.front:hover .front-image {
    transform: scale(0.96) translate(10px, 10px) rotate(calc(var(--rotation, 0deg)));
}

.title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10vw;
    width: 60vw;
}

.horizontal-container {
    width: 90%;
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1800px;
}

.img-people-container-left {
    position: absolute;
    bottom: 0;
    left: 10vw;
    height: 30vh;
    z-index: -10;
}

.img-people-container-right {
    position: absolute;
    bottom: 0;
    right: 10vw;
    height: 30vh;
    z-index: -10;
}

.img-people-container-left img,
.img-people-container-right img {
    height: 100%;
}

.img-right {
    height: 36vw;
    object-fit: cover;
    transform: rotateY(-18deg) rotateX(6deg);
}

.img-left {
    height: 36vw;
    object-fit: cover;
    transform: rotateY(18deg) rotateX(6deg);
}

.title,
.subtitle1,
.subtitle2,
.subtitle3 {
    font-size: 4.6em;
    color: #ffffff;
    text-shadow: 0 0 1px #10051a;
    margin: 0;
    padding: 0;
}

.subtitle1 {
    font-size: 3.3em;
    padding-top: 3%;
}

.subtitle2 {
    font-size: 1.7em;
}

.subtitle3 {
    font-size: 1.2em;
    padding-top: 9%;
}

h2,
h3,
h4 {
    text-align: center;
}

.hide {
    opacity: 0;
    transform: scale(.9);
    transition: all .4s;
}

.show {
    opacity: 1;
    transform: none;
}

p.hide {
    transition-delay: .2s;
}

footer {
    position: sticky;
    position: -webkit-sticky;
    left: 0;
    width: 100%;
    height: 9em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom, #20292a, #000000);
    z-index: -2;
    padding: 1em 0 2em;
    scroll-snap-align: center;
}

.animate {
    opacity: 0;
    transition: opacity 2.5s;
    -webkit-transition: opacity 2.5s linear;
}

.link,
link a.link {
    text-decoration: none;
}

@media screen and (max-width: 569px) {

    #navigation {
        background-color: #0000007a;
    }

    .title {
        font-size: 3.5em;
    }

    .subtitle1 {
        font-size: 1.9em;
    }

    .subtitle2 {
        font-size: 1.5em;
    }

    .subtitle3 {
        font-size: 1.2em;
    }

    .page {
        line-height: 1.7em;
        padding: 1.3em;
    }

    .horizontal-container {
        width: 100%;
        display: flex;
    }

    .title-container {
        width: 80vw;
    }

    .text-container {
        max-width: 100%;
        padding: 3vw;
    }

    footer {
        height: 16em;
    }

    #btn-nav-contact {
        border-radius: 6px;
        padding: 6px 6px 0 6px;
    }
}

@media screen and (max-width: 428px) {
    .title {
        font-size: 2.7em;
    }

    .subtitle1 {
        font-size: 1.4em;
    }

    .subtitle2 {
        font-size: 1.1em;
    }

    .subtitle3 {
        font-size: 1.1em;
    }

    .page {
        font-size: 1.0em;
        line-height: 1.5em;
        padding: 1em;
    }

    footer {
        height: 18em;
    }

    #btn-nav-contact {
        border-radius: 6px;
        padding: 6px 6px 0 6px;
    }
}