:root {
    --red: #fe2031;
    --dark: #0d0d0c;
    --gray: #111111;
    --white: #ffffff;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

*::-webkit-scrollbar {
    width: 3px;
}

*::-webkit-scrollbar-track {
    background: var(--dark);
}

*::-webkit-scrollbar-thumb {
    background: var(--red);
}

*::-webkit-scrollbar-thumb:active {
    background: var(--red);
}

::selection {
    background-color: var(--red);
}

html {
    scroll-behavior: smooth;
    height: 100%;
    zoom: 75%
}

body {
    font-family: "Segoe UI", sans-serif;
    background-color: var(--dark);
    color: var(--white);
    height: 100%;
}

nav {
    display: flex;
    align-items: center;
    z-index: 10;
    position: relative;
    padding: 1.5rem 12vw;
}

nav .logo {
    margin-right: auto;
    transition: transform 0.3s ease-in-out;
}

nav .logo img {
    height: 5rem;
}

nav .logo:hover {
    transform: scale(1.1);
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    border-bottom: 4px solid var(--red);
    color: var(--white);
    margin-top: -25vh;
}

main .aetherix {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    font-weight: bold;
    margin-top: 0;
}

main .main-title {
    color: var(--white);
}

main .main-sh {
    color: var(--red);
}

main .main-description {
    font-size: 1.2rem;
    color: var(--white);
    margin-top: 20px;
    font-weight: normal;
}

section {
    padding: 4rem 12vw;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.features {
    background: var(--gray);
    padding-bottom: 8rem;
}

.title {
    font-weight: 700;
    font-size: 2.2rem;
}

.colored {
    font-weight: 700;
    font-size: 2.2rem;
    color: #fe2031; 
}

.subtitle {
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 400;
}

.carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 587px;
    -webkit-perspective: 500px;
    perspective: 500px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    margin-top: 48px;
    margin-bottom: 48px;
}

.carousel-item:hover {
    cursor: grab;
}

.carousel-item img {
    width: 100%;
}

.carousel .carousel-item {
    visibility: hidden;
    width: 834px;
    height: 587px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 7px;
}

.mouse-btn {
  width: 35px;
  height: 60px;
  border: 1px solid rgba(122, 122, 124, 0.918);
  border-radius: 20px;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: box-shadow 0.3s ease-in-out, border 0.3s ease-in-out;
}

.mouse-scroll {
  width: 6px;
  height: 6px;
  background: linear-gradient(170deg, rgba(122, 122, 124, 0.918), rgb(123, 124, 124));
  border-radius: 50%;
  animation: scrolling13 1s linear infinite;
  transition: background 0.3s ease-in-out;
}

.mouse-btn:hover {
  border: 1px solid var(--red);
  box-shadow: 
    0 0 50px rgb(255, 255, 255, 0.1),  
    0 0 100px rgb(255, 255, 255, 0.1);
}

.mouse-btn:hover .mouse-scroll {
  background: linear-gradient(170deg, var(--red)), var(--red);
}

@keyframes scrolling13 {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(20px);
  }
}

.cards {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: stretch;
    justify-content: center;
    margin-top: 4rem;
}

.card {
    display: table-cell;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-width: calc(33% - 1.33rem);
    flex-grow: 1;
}

.card i {
    font-size: 3rem;
    color: var(--red);
}

.card h1 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
}

.card h3 {
    text-align: center;
    font-weight: 400;
    font-size: 1rem;
    margin-top: 1rem;
}

.lists {
    border-top: 4px solid var(--red);
    background: var(--dark);
}

.list {
    margin-top: 3rem;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
}

.list-item {
    width: calc(33% - 1.33rem);
    flex-grow: 1;
}

.list-item h1 {
    font-size: 1.2rem;
    font-weight: 600;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--red);
    width: 100%;
}

i.fa {
    color: var(--red);
}   

.list-item h3 {
    font-weight: 400;
    font-size: 1rem;
    margin-top: 1rem;
    color: var(--white);
}

footer {
    background: var(--dark);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 2rem 12vw;
    color: var(--white);
    gap: 1rem;
}

footer p {
    margin-right: auto;
    opacity: .5;
    transition: all .3s ease-in-out;
}

footer a {
    opacity: .5;
    text-decoration: none;
    color: inherit;
    transition: all .3s ease-in-out;
}

footer a:hover {
    color: var(--red);
    opacity: 1;
}

@media only screen and (max-width: 777px) {
    nav {
        flex-wrap: wrap;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 3rem 12vw;
        gap: 2rem;
    }

    nav .logo {
        margin-right: 0;
        transition: all .3s ease-in-out;
    }

    main {
        text-align: center;
        width: 100%;
        padding: 4rem 12vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: fit-content;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    section {
        text-align: center;
    }
    
    iframe {
        height: 280px;
        width: 100%;
    }

    .cards {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
        justify-content: center;
        margin-top: 4rem;
    }

    .card {
        width: 100%;
        max-width: 100%;
    }

    .carousel .carousel-item {
        visibility: hidden;
        width: 280px;
        height: 180px;
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 7px;
    }

    .carousel {
        overflow: hidden;
        position: relative;
        width: 100%;
        height: 240px;
        -webkit-perspective: 500px;
        perspective: 500px;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-transform-origin: 0% 50%;
        transform-origin: 0% 50%;
        margin-top: 2rem;
        margin-bottom: 0;
    }

    .list-item {
        width: 100%;
        flex-grow: 1;
    }

    footer {
        font-size: 1rem;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 2rem 12vw;
        gap: 1rem;
        flex-wrap: wrap;
        padding-bottom: 4rem;
    }

    footer p {
        width: 100%;
        text-align: center;
    }
}