@keyframes test-animation {
    from {background-color: #450342;}
    to {background-color: #97058d;}
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Barlow, sans-serif;
    font-weight: 500;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #1d1a1d;
}

header {
    background-color: #97058d;
    height: 90px;
    padding: 20px;
    display: flex;
    align-items: center;
}

#logo {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(Images/logo.png);
}

#logo h1 {
    visibility: hidden;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul li {
    float: left;

}

ul li a {
    display: block;
    color: white;
    background-color: #97058d;
    transition: background-color 0.3s;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

ul li a:hover {
    background-color: #450342;
}

body, html {
    height: 100%;
}

main {
    height: 100%;
}

b {
    font-weight: bolder;
}

h1, h2 {
    font-weight: bold;
}

.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/Images/hero-image.jpg");
  background-color: rgb(68, 17, 68);
  height: 70vh;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-text {
  text-align: center;
  color: white;
}

.hero-text h2 {
    font-size: 3em;
}

.hero-text p {
    font-size: 1.7em;
}

.text-column-holder {
    display: flex;
    justify-content: center;
    gap: 10rem;
    margin: 0 auto;
    text-align: center;
}

.center {
    text-align: center;
    margin: 1rem;
    height: 100%;
}

.text-column {
    border: 1px solid white;
    border-radius: 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    padding: 10px;
    width: 30vw;
    height: 100%;
    min-height: 20rem;
}

.text-column-holder p, .text-column-holder h1, .text-column-holder h2, .text-column-holder span {
    color: white;
    font-size: 2em;
}

.text-column span {
    font-size: 0.4em;
    text-align: left;
    margin-top: auto;
    margin-left: 7px;
}

.text-column-holder h2 {
    margin-bottom: 1rem;
}

.text-column p {
    font-size: 1.2em;
    padding: 1rem;
    margin: auto 0;
}

.text-column .disclaimer {
    padding: 0;
}

.spotify-embed {
    display: flex;
    justify-content: center;

    margin-top: 5rem;
}

.spotify-embed iframe {
    width: 90vw;
    height: 600px;
}

.socials {
    margin-top: 3rem;
    text-align: center;
    color: white;
    font-size: 2em;
}

.icons {
    display: flex;
    justify-content: center;
    width: 50vw;
    margin: auto;
}

.icons ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1rem;
    padding: 0;
    margin: 0;
    margin-top: 4rem;
    margin-bottom: 2rem;

}

.icons ul li a {
    display: flex;
    align-items: center;
    background-color: #363136;
    justify-content: center;
    border-radius: 2rem;
    height: 8rem;
    width: 8rem;
    margin: 0;
}

.icon {
    display: inline-block;
    width: 6rem; 
    height: auto;
    background-size: cover;
    background-position: center;
}

#youtube {
    width: 8rem;
}

.socials ul li a:hover {
    background-color: #252225;
}

.container {
    /* display: grid;
    grid-template-columns: 1fr 1fr 1fr; */
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    gap: 2rem;
}

.container div {
    position: relative;
    width: 20rem;
    height: 30rem;
    max-width: 100%;
    display: block;
    margin: 1rem auto;
    font-size: 3em;
    text-align: center;
    align-content: center;
    transition: 0.5s transform ease;
}

.container div img {
    height: 100%;
    width: 100%;
    object-fit:cover;
    border-radius: 2rem;
    border: 3px solid black;
}

div p.description {
    position: absolute;
    margin: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    max-width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 0.5em;
    text-align: center;
    font-weight: 400;
}

div p i {
    font-size: 0.7em;
    font-weight: 0;
}

.container div:hover {
    transform: scale(1.05);
}

/* ================= MEDIA QUERIES ================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media (any-hover: hover) {
    .container > div > p.description {
        opacity: 0;
        transition: opacity 0.3s linear;
    }

    .container > div:hover > p.description {
        opacity: 1;
    }
}

@media (any-hover: none) { /* If they cant hover */
    .container div p.description {
         opacity: 1;
     }
}

@media only screen and (max-width:975px) {
    .text-column-holder {
        gap: 5rem;
    }

    .text-column {
        width: 40vw;
    }
}