* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

html {
    font-size: 62.5%;
}

.spinner-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #262626;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s;
    z-index: 300;
}

.display .spinner-container {
    opacity: 0;
    visibility: hidden;
}

.circles {
    width: 8rem;
    height: 8rem;
    position: relative;
    opacity: 0;
    visibility: hidden;
    animation: displayCircles 4s;
}

@keyframes displayCircles {
    0% {
        opacity: 0;
        visibility: hidden;
    }
    25% {
       opacity: 1;
       visibility: visible; 
    }
    90% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.circles div {
    animation: circles 1.2s
    cubic-bezier(.5, 0, .5, 1) infinite;
    transform-origin: 4rem 4rem;
}

.circles div::after {
    content: "";
    position: absolute;
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background-color: #F3780F;
    margin: -0.4rem 0 0 -0.4rem;
}

.circles div:nth-child(1) {
    animation-delay: -0.036s;
}

.circles div:nth-child(1)::after {
    top: 6.3rem;
    left: 6.3rem;
}

.circles div:nth-child(2) {
    animation-delay: -0.072s;
}

.circles div:nth-child(2)::after {
    top: 6.8rem;
    left: 5.6rem;
}

.circles div:nth-child(3) {
    animation-delay: -0.108s;
}

.circles div:nth-child(3)::after {
    top: 7.1rem;
    left: 4.8rem;
}

.circles div:nth-child(4) {
    animation-delay: -0.144s;
}

.circles div:nth-child(4)::after {
    top: 7.2rem;
    left: 4rem;
}

.circles div:nth-child(5) {
    animation-delay: -0.18s;
}

.circles div:nth-child(5)::after {
    top: 7.1rem;
    left: 3.2rem;
}

.circles div:nth-child(6) {
    animation-delay: -0.216s;
}

.circles div:nth-child(6)::after {
    top: 6.8rem;
    left: 2.4rem;
}

.circles div:nth-child(7) {
    animation-delay: -0.252s;
}

.circles div:nth-child(7)::after {
    top: 6.3rem;
    left: 1.7rem;
}

.circles div:nth-child(8) {
    animation-delay: -0.288s;
}

.circles div:nth-child(8)::after {
    top: 5.6rem;
    left: 1.2rem;
}

@keyframes circles {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

.container {
    display: none;
}

.display .container {
    display: block;
}

.line {
   width: 100%;
   height: .2rem;
   background-color: #fff; 
   box-shadow: 0 .1rem .2rem rgba(0, 0, 0, 0.2);
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.banner {
    position: relative;
    width: 100%;
}

.banner h1 {
    font-family: 'Audiowide', serif;
    font-size: 2vw;
    color: #fff;
    letter-spacing: 0.2vw;
    line-height: 1.2em;
    position: absolute;
    top: 12%;
    left: 5%;
}

.downloads {
    width: 100%;
    margin: 0 auto;
    display: inline-block;
    justify-content: center;
    padding: 20px 20px 20px 20px;
}

.downloads-imgs {
    display: flex;
    justify-content: center; /* Centers the images horizontally */
    align-items: center; /* Centers them vertically if needed */
    gap: 2rem; /* Adds a gap between the images */
    flex-wrap: nowrap; /* Prevents wrapping onto a new line */
}

.downloads-imgs img {
    max-width: 100%; /* Ensures each image scales down but stays in a row */
    height: auto; /* Maintains the aspect ratio */
}

.screenshots {
    width: 100%;
    background-color: #f5f5f5;
    padding-bottom: 15rem;
}
 
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding; */
}

.section-heading {
    font-family: "Audiowide", serif;
    font-size: 4vw;
    font-weight: 300;
    color: #4b4b4b;
    margin-bottom: 2rem;
}

.underline {
    width: 12rem;
    height: .3rem;
    background-color: #46FF32;
}

.screenshots {
    width: 100%; /* Ensures the section takes up the full available width */
    margin: 0 auto; /* Centers the section */
    padding: 20px;
    display: inline-block;
  }
  
  .screenshots-imgs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-content: space-evenly;
    padding: 0 20px;
  }
  
  .screenshots-imgs img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .features {
    width: 100%; /* Ensures the section takes up the full available width */
    margin: 0 auto; /* Centers the section */
    padding: 20px;
    display: inline-block;
  }

  .features-list {
    list-style-type: none;
    font-family: "Share Tech Mono", sans-serif;
    font-size: 2vh;
    text-align: left;
  }

  .features-list ul {
    list-style-position: inside;
    padding-left: 0;
    margin-left: 0;
  }
  
  .features-list li {
    position: relative;
    padding-left: 1em;
    margin-bottom: 1em;
  } 
  
  .features-list li::before {
    content: '■';
    left: 0;
    color: #F3780F;
    position: absolute;
  }

.profile {
    display: flex;
    background-color: #f5f5f5;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    padding: 2rem 2rem 2rem 2rem;
}

.cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    display: flex;
    width: 32rem;
    height: 45rem;
    align-items: center;
    position: relative;
    transition: transform 0.5s ease;
}

.extra-text {
    font-family: "Share Tech Mono", sans-serif;
    font-size: 2.5vh;
    margin-left: 3vh;
    padding: 0px 20px;
    max-width: 920px;
    flex-direction: row;
    text-align: left;
}

.card-img-wrapper {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: .5rem;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    opacity: .8rem;
    border-radius: .5rem;
    transition: opacity 0.3s;
    align-items: center;
}

.card-info {
    position: absolute;
    bottom: 2rem;
    padding: 2rem;
    text-shadow: 0 .2rem .5rem rgba(0, 0, 0, 0.4);
    opacity: 1;
    visibility: hidden;
    transition: all .3s;
}

.card:hover .card-info {
    bottom: 2rem;
    opacity: 1;
    visibility: visible;
}

.card-info h2 {
    font-family: 'Silkscreen', serif;
    font-size: 2.4rem;
    line-height: 2.5rem;
    font-weight: 300;
    color: #2F2F2F;
}

.card-info h3 {
    font-family: 'Silkscreen', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #F3780F;
    margin-bottom: 1rem;
}

.footer {
    width: 100%;
    height: 15rem;
    background-color: #17181b;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    width: 60%;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem;
}

.copyright {
    font-family: 'Silkscreen', serif;
    font-size: 1.6rem;
    color: #a7a7a7;
}

.privacy-container {
    padding: 20px;
    background-color: #f9f9f9;
}

.privacy-container h1 {
    font-family: 'Arial', serif;
    font-size: 2.2em;
    color: black;
    margin-bottom: 10px;
}

.privacy-container h2 {
    font-size: 1.7em;
    font-family: 'Roboto', serif;
    color: #1f1f1f;
    margin-top: 20px;
    margin-bottom: 10px;
}

.privacy-container p {
    font-size: 1.3em;
    font-family: 'Roboto', serif;
    line-height: 1.6;
    color: #1f1f1f;
    margin-bottom: 15px;
}

a.privacy-link {
    color: #F3780F;
    text-decoration: none;
}

a[href^="mailto:"] {
    color: #F3780F;
}

a.privacy-link:hover {
    text-decoration: underline;
}

.social-list a {
    margin: 0 2rem;
}

.social-list i {
    font-size: 2rem;
    color: #a7a7a7;
}

.scroll-btn {
    position: fixed;
    right: 5rem;
    bottom: 9rem;
    width: 4.5rem;
    height: 4.5rem;
    background-color: #F3780F;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 0.1rem 0.6rem rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
}

#privacyPolicyLink {
    font-family: 'Silkscreen', serif;
    font-size: 1.6rem;
    color: #a7a7a7;
    text-decoration-line: underline;
}

#privacyPolicyLink:hover {
    font-family: 'Silkscreen', serif;
    font-size: 1.6rem;
    color: #a7a7a7;
    text-decoration-line: none;
}

@media (max-width: 1500px) {
    html {
        font-size: 100%;
    }

    .extra-text {
        margin-top: -70px;
    }
    
    .card {
        width: 50%;
        height: auto;
        margin-top: -60px;
    }

    .section-heading {
        display: flex;
        justify-content: center;
        width: 60%;
        font-size: clamp(24px, 8vw, 80px);
        text-align: center;
        white-space: nowrap; /* Prevents wrapping */
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;      
    }

    .scroll-btn {
        position-anchor: 2rem;
    }

    .copyright {
        order: 1;
        font-size: 100%;
    }  

    .social-list {
        order: -1;
    }
}

@media (max-width: 1300px) {
    .profile {
        padding-bottom: 5rem;
    }

    .cards-wrapper {
        flex-direction: column;
        align-items: center;
        margin-top: 4rem;
    }

    .card {
        margin-bottom: 8rem;
    }
}

@media(max-width: 1024px) {
    .section-header .underline {
    position: relative;
    top: -20px;
    }
}

@media(max-width: 912px) {
    .screenshots {
        width: 100%;
        background-color: #f5f5f5;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
        padding-left: 8rem;
        padding-right: 8rem;
    }

    .section-header .underline {
    position: relative;
    top: -24px;
    }
}
    

@media(max-width: 820px) {
    .screenshots {
        width: 100%;
        background-color: #f5f5f5;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .section-header .underline {
        position: relative;
        top: -22px;
    }
}

@media(max-width: 768px) {
    .screenshots {
        width: 100%;
        background-color: #f5f5f5;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .section-header .underline {
        position: relative;
        top: -22px;
    }
}

@media(max-width: 540px) {
    html {
        font-size: 45%;
    }

    .card {
        margin-top: -20px;
        margin-bottom: 90px;
    }

    .section-header .underline {
        position: relative;
        top: -12px;
    }

    .footer {
        height: 18rem;
    }
}

@media(max-width: 500px) {
    html {
        font-size: 45%;
    }

    .footer {
        height: 18rem;
    }
}

@media(max-width: 412px) {
    .footer {
        height: 18rem;
    }
}

@media(max-width: 375px) {
    .extra-text {
        font-size: 15px;
    }
}

@media(max-width: 360px) {
    .extra-text {
        font-size: 14px;
    }
}

@media(max-width: 344px) {
    .footer {
        height: 18rem;
    }

    .section-header .underline {
        position: relative;
        top: -9px;
    }

    .extra-text {
        font-size: 20px;
    }
}