html {
    background: black;
}

body {
    background: linear-gradient(20deg, rgb(8, 12, 8) 0%, rgb(12, 3, 3) 44%, rgb(5, 5, 14) 100%);
    color: #fff;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding-bottom: 100px;
}

h2 {
    margin-top: 0;
}

main, footer {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#logo-logo {
    background-image: url("logo-logo.png");
    background-position: 50% 50%;
    background-size: 200%;
    width: 70px;
    height: 70px;
}

.logos {

}

h1 {
    font-size: 1em;
    font-weight: 400;
    margin-bottom: 10px;
}

.quotes-and-features {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.quotes {
    padding: 10px;
}

.features {
    padding: 10px;
}


li {
    margin: 5px 0;
}

.cta {
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.cta div {
    flex: 1;
    display: flex;

    &:nth-child(1) {
        justify-content: flex-end;
    }

    &:nth-child(2) {
        justify-content: flex-start;
    }
}

.cta img {
    height: 50px;
}

.app-store {
    opacity: 1;
}

.screenshots {
    display: flex;
}

.screenshots div {
    display: flex;
    flex: 1;
    height: 650px;
    border-radius: 20px;
    margin-bottom: 100px;
    background-size: cover;
    background-position: 50% 50%;
}

.screenshots .screen-1 {
    background-image: url("s1.png");
}

.screenshots .screen-2 {
    background-image: url("s2.png");
}

.screenshots .screen-3 {
    background-image: url("s3.png");
}

.screenshots .screen-4 {
    background-image: url("s4.png");
}


/**/

@keyframes tonext {
    75% {
        left: 0;
    }
    95% {
        left: 100%;
    }
    98% {
        left: 100%;
    }
    99% {
        left: 0;
    }
}

@keyframes tostart {
    75% {
        left: 0;
    }
    95% {
        left: -300%;
    }
    98% {
        left: -300%;
    }
    99% {
        left: 0;
    }
}

@keyframes snap {
    96% {
        scroll-snap-align: center;
    }
    97% {
        scroll-snap-align: none;
    }
    99% {
        scroll-snap-align: none;
    }
    100% {
        scroll-snap-align: center;
    }
}


* {
    box-sizing: border-box;
    scrollbar-color: transparent transparent; /* thumb and track color */
    scrollbar-width: 0px;
}

*::-webkit-scrollbar {
    width: 0;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background: transparent;
    border: none;
}

* {
    -ms-overflow-style: none;
}

.carousel ol, .carousel li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.carousel {
    position: relative;
    perspective: 100px;
    height: 650px;
    width: 100%;
}

.carousel__viewport {
    border-radius: 20px;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    counter-reset: item;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.screenshots_slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 650px;
    border-radius: 20px;
    background-color: #000;
    counter-increment: item;
    background-position: 50% 70%;
    background-size: cover;
}

.screenshots_slide:nth-child(1) {
    background-image: url("s1.png");
}

.screenshots_slide:nth-child(2) {
    background-image: url("s2.png");
}

.screenshots_slide:nth-child(3) {
    background-image: url("s3.png");
}

.screenshots_slide:nth-child(4) {
    background-image: url("s4.png");
}

.carousel__snapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
}

@media (hover: hover) {
    .carousel__snapper {
        animation-name: tonext, snap;
        animation-timing-function: ease;
        animation-duration: 4s;
        animation-iteration-count: infinite;
    }

    .screenshots_slide:last-child .carousel__snapper {
        animation-name: tostart, snap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel__snapper {
        animation-name: none;
    }
}

.carousel:hover .carousel__snapper,
.carousel:focus-within .carousel__snapper {
    animation-name: none;
}

.carousel__prev,
.carousel__next {
    position: absolute;
    top: 0;
    bottom: 0;
    font-size: 0;
    outline: 0;
    z-index: 5;
    width: 50%;
}

.carousel__prev {
    left: -1rem;
}

.carousel__next {
    right: -1rem;
}

footer {
    margin-top: 50px;
}

section {
    margin-top: 30px;
}

