/* Selector styles the type of element */
/* Property is the feature (color etc) being modified */
/* Value is the specific setting for the property */


/* General */
body {
    /* margin = space outside an element */
    /* padding = space inside an element */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: black;
    background-image: url("wbbg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* Hero */
.hero-container {
    background-color: transparent;
    min-height: 100vh;
    box-sizing: border-box;
    padding: 20px;

    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
    justify-items: center;
    align-content: start;
}


/* Logo */
.logo {
    animation: fadeIn 0.7s ease-out;
    border-radius: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.logo img {
    max-width: 400px;
    width: 100%;
    height: auto;
}


/* Releases */
.releases {
    width: 100%;
    max-width: 900px;
}

.releases h2 {
    color: white;
    font-size: clamp(28px, 5vw, 40px);
    text-align: center;
    animation: fadeIn 0.7s ease;
}

.cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;

    animation: fadeIn 0.5s ease;
}

.card {
    box-sizing: border-box;
    width: 230px;
    max-width: 100%;

    background-color: #1b1b1b;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 0 25px white;
}

.card img {
    display: block;
    width: 100%;
    height: auto;
}

.card h3 {
    color: white;
    font-size: 25px;
    text-align: left;
}


/* Streaming */
.streaming {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    animation: fadeIn 1s ease;
}

.streaming h2 {
    color: white;
    text-align: center
}

.strcd {
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;

    background-color: #1b1b1b;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 25px white;

    animation: fadeIn 0.5s ease-in-out;
}

.logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.logos img {
    display: block;
    height: auto;
    object-fit: contain;
}

.spotify {
    width: 60px;
}

.applemusic {
    width: 180px;
}

.soundcloud {
    width: 180px;
}

/* Phone Layout */
@media (max-width: 700px) {

    .hero-container {
        padding: 15px;
        gap: 20px;
    }

    .logo img {
        max-width: 300px;
    }

    .releases {
        width: 100%;
    }

    .cards {
        justify-content: center;
        gap: 20px;
    }

    .card {
        width: 100%;
        max-width: 250px;
    }

    .streaming {
        width: 100%;
    }

.strcd {
    max-width: calc(100% - 30px);
}

    .logos {
        justify-content: center;
        gap: 20px;
    }
}