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

body {
    margin: 0;
    background-color: #10051a;
    opacity: 0;
    transition: opacity 3s;
    font-family: 'Oxygen', sans-serif;
}

.container {
    scroll-behavior: smooth;
}

#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 2px #10051ad5;
    font-size: 1.1em;
    font-weight: 700;
    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 {
    color: #ffeee7;
    text-shadow: 0 0 2px #10051ad5;
    margin-left: 1em;
    font-size: 1.2em;
    font-weight: 700;
    transition: all .3s;
    cursor: pointer;
    text-decoration: none;
}

#logo {
    cursor: auto;
}

#navigation a:hover,
#navigation #logo:hover {
    color: #ffffff;
    text-shadow: 0 0 4px #10051ad5;
}

#btn-contact,
#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-nav-contact,
#btn-appstore {
    color: #10051a;
    background-color: #ffffffb7;
    text-shadow: none;
    text-shadow: 0 0 2px #ffffff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
}

#btn-appstore {
    border-radius: 32px;
}

#btn-nav-contact:hover,
#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;
}

.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/young-woman-with-fruits-homa-ir-tracking-app.webP");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.page {
    font-size: 1.3em;
    line-height: 1.8em;
    padding: 2em;
    color: #ffeee7;
    background: linear-gradient(to bottom, #51009e, #0051a1, #06a8a2);
    text-align: justify;
    text-justify: inter-word;
    z-index: 10;
}

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

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

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

.front {
    transform: translateZ(-10px) scale(1.5);
}

.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 3px #10051a;
    margin: 0;
    padding: 0;
}

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

.subtitle2 {
    font-size: 1.82em;
}

.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: 18em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #1c2321;
    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) {
    .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: 36em;
    }

    #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: 48em;
    }

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