@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

* {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    color: white;
}

a {
    text-decoration: none;
}
hr {
    border: none;
    height: 2px;
    background-color: #1b1b1b;
}

body {
    background-color: #252525;
    margin: 0;
}

footer {
    background-color: #141414;
    text-align: center;
    padding: 20px 0;
}
footer p {
    color: lightgray;
    font-size: small;
}

header {
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    transition: transform 0.5s ease;
    z-index: 100;
}
#inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    width: 90%;
    max-width: 1200px;
}
.header-hidden {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-100%);
}
.header-colored {
    background-color: #141414;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
#logo {
    margin: 10px 0;
}
#nav {
    display: flex;
    align-items: center;
    gap: 30px;
}



#top {
    background-color: #1b1b1b;
    background-image: url(./img/bg/1.jpeg);
    transition: background-image 1.5s ease-in-out;
    background-size: cover;
    height: 750px;
    background-position: center;
    display: flex;
    align-items: center;
}
#top_text {
    margin-left: 50%;
}

#top_text {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#name {
    font-size: 64px;
    font-weight: 400;
    margin: 0;
}
#sub {
    animation-delay: 0.5s;
    font-size: x-large;
    margin: 0;
}

#dl {
    display: flex;
    gap: 10px;
    align-items: center;
}
#download {
    background-color: #4786d8;
    padding: 15px 25px;
    border-radius: 3px;
    font-weight: 400;
    transition: transform 0.2s ease;
}
#download:hover {
    transform: scale(1.05);
}
#counter {
    padding: 13px 20px;
    border: solid white 2px;
    border-radius: 3px;
}


#menu {
    background-color: #000;
}
#menu>#mn {
    margin: auto;
    height: 100px;
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#mn a:hover {
    text-decoration: underline;
}


#preview {
    padding: 10px;
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#changelog {
    background-color: #1f1f1f;
    padding: 30px 0;
    box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.2);
}
#news {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}
#news h3 {
    color: lightgray;
}
#latest {
    margin: 30px auto 0;
    width: 90%;
    max-width: 1200px;
    background-color: black;
    display: flex;
    align-items: center;
}

#newimg {
    background-position: center;
    background-size: cover;
    width: 50%;
    height: 450px;
    background-image: url(./img/news1.jpeg);
    flex-shrink: 0;
}
.des {
    padding: 40px;
}
.des p {
    color: lightgray;
}
.des h2 {
    font-weight: 400;
}
.des li {
    color: lightgray;
}

#changelog .type {
    font-weight: 700;
    color: #7259ff;
}
.des a {
    font-weight: 400;
    color: white;
}
svg {
    vertical-align: middle;
}



#donation {
    margin: 30px auto;
    width: 90%;
    max-width: 1200px;
    background-color: #000;
}
#donate {
    padding: 12px 30px;
    display: inline-block;
    font-weight: 400;
    color: #5a96e4;
    border-radius: 3px;
    border: solid #5a96e4 1px;
    transition: transform 0.2s ease;
}
#donate:hover {
    transform: scale(1.05);
}



#features {
    margin: 30px auto;
    width: 90%;
    max-width: 1200px;
}
#features>div {
    display: flex;
    align-items: center;
    gap: 30px;
}
#features p {
    color: lightgray;
}

#features hr {
    margin: 20px 0;
}
#features .pic {
    aspect-ratio: 16 / 9;
    width: 65%;
    flex-shrink: 0;
    background-size: 100%;
    border-radius: 4px;
}
#a1 {
    background-image: url(./img/feature/1.jpeg);
}
#a2 {
    background-image: url(./img/feature/2.jpeg);
}
#a3 {
    background-image: url(./img/feature/3.jpeg);
}

#faq {
    padding: 50px 0;
    background-color: #000;
}
#faq>h1 {
    text-align: center;
}
#qlist {
    margin: auto;
    width: 90%;
    max-width: 1200px;
}
p.a.hidden {
    display: none;
}
#qlist>div {
    margin-top: 7px;
    background-color: #494949;
    padding: 7px 20px;
    border-radius: 3px;
    cursor: pointer;
}

#form {
    margin: 40px auto;
    width: 90%;
    max-width: 1200px;
    text-align: center;
}
#frommsg {
    color: lightgray;
}
#send {
    font-weight: 400;
    margin: 10px auto;
    background-color: #4786d8;
    border-radius: 3px;
    padding: 10px 20px;
    width: fit-content;
    cursor: pointer;
    transition: transform 0.2s ease;
}
#send:hover {
    transform: scale(1.05);
}
textarea {
    width: 100%;
    background-color: #252525;
    border: none;
    padding: 10px;
    border-radius: 3px;
}
input {
    width: 100%;
    max-width: 300px;
    background-color: #252525;
    border: none;
    padding: 15px 10px;
    border-radius: 3px;
}
#error {
    color: red;
}
#thankyou {
    display: none;
}

@media (max-width: 900px) {
    #top_text {
        margin: auto;
    }
    #features>div {
        flex-direction: column;
    }
    #features .pic {
        width: 100%;
    }

    #latest {
        flex-direction: column;
    }
    #newimg {
        width: 100%;
    }
}

@media (max-width: 700px) {
    
}

