@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Montserrat:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

.rounded-div {
  width: 250px;
  height: 35px;
  font-size: 15px;
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  background-color: #000000;
  border: none;
  justify-content: center;
  border-radius: 50px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  margin: 30px auto 30px;
  border: 2px solid #CF76FF;
  position: relative;
  transition: all 0.1s ease;
}

.rounded-div:hover {
  transform: scale(0.8);
}

.rounded-div i {
  position: absolute;
  left: 5px;
  color: #FFFFFF;
  font-size: 20px;
}

.rounded-div span {
  display: block;
  text-align: center;
  width: 100%;
}

.spotify-song {
  display: block;
  text-align: center;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 30px;
}

@media (min-width: 768px) {
  .rounded-div {
    margin: 30px auto 30px;
    margin-left: -10px;
    width: 300px;
    height: 30px;
    font-size: 14px;
    border-width: 2px;
  }
}

.fancy {
  --b: 6px;   /* control the border thickness */
  --w: 80px;  /* control the width of the line*/
  --g: 8px;  /* control the gap */
  --c: var(--primary);
 
  width: fit-content;
  padding: 0 1em;
  line-height: 1.6em;
  font-family: 'Montserrat', sans-serif;
  margin-top: 180px;
  border: 1px solid;
  color: #fff;
  background: 
    conic-gradient(from   45deg at left ,var(--c) 25%,#0000 0) 0,
    conic-gradient(from -135deg at right,var(--c) 25%,#0000 0) 100%;
  background-size: 51% 100%;
  background-origin: border-box;
  background-repeat: no-repeat;
  border-image: 
     linear-gradient(
       #0000      calc(50% - var(--b)/2),
       var(--c) 0 calc(50% + var(--b)/2),
       #0000    0) 
    1/0 var(--w)/calc(var(--w) + var(--g));
  margin-inline: auto;
}

.parts {
  display: flex;
  width: auto;
  flex-direction: column;
  margin: 0px 100px;
  align-items: center;
  justify-content: center;
  margin-top: 180px;
  color: var(--white);
  margin-bottom: 200px;
}

.part2 {
  justify-content: center;
  margin-top: 240px;
  align-items: center;
  
}

.part3 {
  margin-top: 240px;
  width: auto;
  justify-content: center;
  align-items: center;
  height: 180px;
    }

img[src*="spotify"] {
  border: 0.2rem solid #1ed760;
  border-radius: 5%;
  width: 600px;
  height: auto;
}

iframe {
  padding: 0;
  border: 0.2rem solid #5865f2;
  border-radius: 5%;
}

#discordprofileinside {
  display: block;
  padding: 0;
  border: 0.3rem solid #ff0000;
  border-radius: 4%;
  height: 585px;
  width: 380px;
  
  margin-bottom: 200px;
}
.u {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.r-u {
  border: none;
  height: 5px;
  margin-top: 10px;
  width: 200px;
  padding: 0;
  margin-bottom: 80px;
  background-color: #ccc;
  border-radius: 10px;
}

h2 {
  font-size: 52px;
  margin-bottom: 20px;
  width: auto;
  text-align: center;
}

.partheading {
  font-family: 'Permanent Marker', sans-serif;
  width: auto;
  text-align: center;
}
  
@media screen and (max-width: 905px) {
  iframe {
    width: 350px;
  }
  h2 {
    font-size: 34px;
  }
  .r-u {
    width: 100px;
    height: 3px;
  }
  img[src*="spotify"] {
  width: 350px;
  height: auto;
  }
  .part3 {
    width: 348px;
  }
  #discordprofileinside {
    width: 350px;
  }
}


footer {
  margin-top: 900px;
  background-color: transparent;
  color: #D2D2D2;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 20px;
  font-family: 'Roboto Mono', sans-serif;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-end {
  font-family: 'Roboto', sans-serif;
  border-radius: 10%;
  margin-top: 20px;
}

.dialog-container {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #181818;
  border-radius: 15px;
  padding: 30px;
  border: 0.2rem solid var(--primary);
  width: 60%;
  z-index: 1000;
  animation: fadeIn 0.5s ease-out;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.dialog-container h1 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.dialog-container form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dialog-container textarea {
  width: 100%;
  max-width: 90%;
  background-color: var(--black);
  color: #fff;
  max-height: 200px;
  padding: 10px;
  margin-bottom: 30px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.navbar ul li a.active + .dialog-container {
  display: block;
}

.blurred {
  filter: blur(60px);
}
