@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0e1419;
    --text: #f3f4f6;
    --text-2: #9ca3af;
    --accent: #292e33;
}

body {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: var(--text);
    background-color: var(--bg);
}

img {
    display: block;
    width: 100%;
}

.header img {
    display: block;
    width: 150px;
    margin: 0 auto;
    padding: 10px;
}

.hero {
    background-image: url(../images/hero.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 40px 15px;
    min-height: 500px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 40px 0;
}

.title {
    font-size: 32px;
    margin-bottom: 16px;
    max-width: 500px;
}
.desc {
    font-size: 18px;
    color: var(--text-2);
    max-width: 500px;
    margin-bottom: 16px;
}

.about {
    margin: 40px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 15px;
}

.about img {
    max-width: 1000px;
    margin: 0 auto;
} 

.features {
    margin: 40px 0;
}

.f-wrap {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.f-item {
    padding: 10px;
    border: 1px solid var(--text-2);
    display: grid;
    gap: 10px;
    border-radius: 4px;
    text-align: center;
    justify-items: center;
    background-color: var(--accent);
}
@media (max-width: 500px) {
    .f-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}
.f-item img {
    max-width: 150px;
}
.f-item h2 {
    font-size: 18px;
}
.f-item p {
    color: var(--text-2);
}

.categories {
    margin: 40px 0;
    padding: 0 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.c-wrap {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 500px) {
    .c-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

.c-item {
    display: grid;
    align-items: center;
    border: 1px solid var(--text-2);
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--accent);
}

.name {
    font-size: 18px;
    padding: 10px;
}

.name-last {
    font-size: 40px;
}

.faq {
    margin: 40px auto;
    width: 100%;
    max-width: 900px;
    padding: 0 15px;
}

.faq h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.faq p {
    font-size: 14px;
    color: var(--text-2);
    margin-bottom: 20px;
}

.footer {
    padding: 20px 15px;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer a {
    font-size: 14px;
    color: var(--text-2);
}

.text {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 15px;
}

.text h2 {
    font-size: 18px;
    margin-top: 40px;
    margin-bottom: 10px;
}
.text h3,
.text h4 {
    font-size: 16px;
    margin-bottom: 10px;
}
.text p {
    font-size: 16px;
    margin-bottom: 5px;
}
.text ul {
    list-style-position: inside;
}
