@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  color: rgba(221, 160, 221, 1);
}
html {
  scroll-behavior: smooth;
}
body {
 

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 100vh;
  cursor: url(cursor.png), auto;
}

a:hover {
  cursor: url(pointer.png), pointer;
}

#header {
  display: flex;
  justify-content: space-between;
  padding: 6px;
  align-items: center;
  background: rgba(138, 43, 226, 1);
}

#logo {
  background-color: rgba(138, 43, 226, 1);
  padding: 1em 0em 1em 4em;
}
#logo img {
  width: 130px;
}

#links {
  width: 60%;
  display: flex;
  flex-direction: row;
  justify-content: start;
  gap: 110px;
}

#links a {
  text-decoration: none;
}

.box {
  font-size: 20px;
  padding: 20px 20px;
  background: rgb(147, 122, 219);
  border-radius: 10px;
  box-shadow: 0 8px 8px -4px rgb(70, 1, 91);
  transition: 0.5s all;
}

.box:hover {
  box-shadow: 0 16px 16px -4px rgb(70, 1, 91);
}

.container {
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 20px;
  padding: 2rem 2.5rem;      /* space inside the violet box */
  background-color: #7b3fbf; /* nice violet shade */
  border-radius: 12px;       /* rounded corners */
  box-sizing: border-box;    /* ensures padding stays inside width */
  color: white;              /* optional: better text contrast */
}



#playlist {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  margin-top: 90px;
  padding: 0 ;
  gap: 10px;
}

#playlist #text {
  flex: 1;
  max-width: 600px;
}

.spotify {
  flex: 0 0 auto;
}

.spotify iframe {
  width: 100%;
  max-width: 400px;
  height: 352px; /* desktop height */
  border-radius: 12px;
  margin-bottom: 80px;
}

  
@media screen and (max-width: 640px) {
  #header {
    flex-direction: column;
    align-items: center;
    padding: 1em;
    text-align: center;
  }

  #logo {
    padding: 0;
    margin-bottom: 0.5em;
  }

  #logo img {
    width: 100px; /* Resize logo for smaller screen */
  }

  #links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    align-items: center;
  }

  .box {
    font-size: 16px;
    padding: 10px 16px;
  }

   #playlist {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #playlist #text {
    max-width: 90%;
  }

  .spotify iframe {
    height: 152px; /* smaller height for phone */
  }
}


  


/*<h2>Here, let's listen to my spotify playlist :p</h2>
/*flex-direction: column; (playlist)