:root {
    --primary-color: #FCCF3E;
    --secondary-color: #507EA6;
    --accent-color: #5946ffee;
    --text-color: #eee;
}

* {
    margin: 0;
    padding: 0;
    color: var(--text-color);
    box-sizing: border-box;
}

html,
body {
    min-width: 340px;
    width: 100%;
    min-height: 100%;
    padding: 0;
}

body {
    font-family: system-ui, sans-serif;
    background-color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url("./background.png");
    background-size: cover;
    background-position: center;
    line-height: 1.6;
}

header {
    border-bottom: 2px solid var(--primary-color);
    background-color: #33333355;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    min-height: 67px;
    width: 100%;
    gap: 15px;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

header h1 {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

header img {
    display: block;
    height: 42px;
    width: auto;
}

.buttons {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    background-color: #24292e;
    color: var(--text-color);
    text-decoration: none;
    padding: 10px;
    border-radius: 50px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 42px;
    border: 2px dashed var(--secondary-color);
}

.btn img {
    width: 25px;
}

.btn span {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
}

@media (min-width: 1025px) {
    .btn:hover {
        background-color: #444;
        padding: 10px 18px;
        border-radius: 8px;
        gap: 8px;
    }

    .btn:hover span {
        max-width: 150px;
        opacity: 1;
    }
}

main {
    flex: 1;
    padding: 1.5rem;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-content: start;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    main {
        max-width: 1200px;
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem;
    }
}

.card {
    background: #33333355;
    backdrop-filter: blur(5px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    transition: transform 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    min-height: 300px;
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-4px);
    border: 1px solid var(--accent-color);
}

.card-sparse {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

footer {
    font-family: "Roboto", sans-serif;
    border-top: 2px solid var(--secondary-color);
    background-color: #33333355;
    backdrop-filter: blur(5px);
    width: 100%;
    padding: 1rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
}

.donsumi {
    font-size: 14px;
    font-weight: bold;
}

@media (max-width: 580px) {
    header {
        padding: 12px 15px;
    }

    header h1 {
        font-size: 22px;
    }

    header img {
        height: 34px;
    }

    .btn {
        height: 38px;
        width: 38px;
        padding: 0;
    }

    .btn i {
        font-size: 18px;
    }
}

.icons img,
.icon {
    width: 30px;
}

.icon-text {
    font-size: 20px;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

section h2 {
    width: 100%;
    padding: 0 0 0 10px;
}

section p {
    padding: 10px 0;
}

ul {
    list-style-type: disc;
}