:root {
    --orange: #E77900;
    --rosa: #E9C6CC;
    --text: #2b2b2b;
    --background: #faf9f8;
}

@font-face {
    font-family: "Rubik";
    src: url("assets/fonts/Rubik-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Rubik";
    src: url("assets/fonts/Rubik-Bold.ttf") format("truetype");
    font-weight: 700;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Rubik", sans-serif;
    background-color: var(--background);
    color: var(--text);
}

.app {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 40px 40px;
    text-align: center;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    padding-top: 18px;
    margin-bottom: 12px;
}

.app-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    flex-shrink: 0;
}

.app-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 6px;

    text-align: center;

    font-size: 11px;
    font-weight: 400;
    color: #999;

    pointer-events: none;
}

h1 {
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    color: var(--text);
}

h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;

    color: #6a6a6a;

    margin: 6px 0 36px;
}

.sound-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    width: 100%;
}

.sound-card {
    border: 3px solid transparent;
    background: white;
    padding: 12px;
    border-radius: 18px;

    font-family: "Rubik", sans-serif;
    font-size: 20px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.sound-card img {
    width: 100%;
    height: 20vh;
    min-height: 150px;
    max-height: 240px;

    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;

    filter: grayscale(100%);

    transition:
        filter 0.3s ease,
        transform 0.2s ease;
}

.sound-card.active img {
    filter: grayscale(0%);
}

.sound-card.active {
    border-color: var(--orange);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transform: scale(1.02);
}

.placeholder-image {
    height: 20vh;
    min-height: 150px;
    max-height: 240px;

    background-color: #cccccc;
    border-radius: 14px;
    margin-bottom: 12px;
}

.pause-button {
    margin-top: 28px;
    padding: 16px 48px;

    border: none;
    border-radius: 14px;

    font-family: "Rubik", sans-serif;
    font-size: 22px;
    font-weight: 700;

    background-color: var(--orange);
    color: white;

    cursor: pointer;
}

.pause-button:disabled {
    opacity: 0.35;
    cursor: default;
}

@media (max-width: 1100px) {
    .app {
        padding-left: 24px;
        padding-right: 24px;
    }

    .app-header {
        gap: 16px;
        padding-top: 14px;
        margin-bottom: 14px;
    }

    .app-logo {
        width: 78px;
        height: 78px;
    }

    .sound-grid {
        gap: 16px;
    }

    .sound-card img,
    .placeholder-image {
        height: 16vh;
        min-height: 120px;
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 24px;
        margin-bottom: 18px;
    }
}