
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&display=swap');

body {
    margin: 0px;
    padding: 0px;
    background-color: #221E27;
    color: #ffffff;
}
*{
margin: 0;
font-family: Comfortaa;
}

h1, h2, h3, h4 , p{
    margin-top: 10px;
    margin-bottom: 10px;
}

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #7e4ba847;
    box-shadow: rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
  }

  /* sticky state */
  .header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(0); /* visible */
    background-color: #7e4ba8; /* solidify bg if u want */
    z-index: 999;
  }

  /* hidden (before it settles in place) */
  .header.sticky-hide {
    transform: translateY(-100%);
  }


.dialogbox {
    display: flex;
    padding: 15px 15px;
    width: 100%;
    height: 480px;
    border-radius: 15px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.column {
    flex-direction: column;
}

a{text-decoration-line: none;
    color: white;}

.text-center {
    align-items: center;
    text-align: center;
}

button, input[type=submit] {
        padding: 15px;
        background-color: #473d4f;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition-duration: 200ms;
}
    
button:hover, input[type=submit]:hover {
        background-color: #5f4078;
}

.actualbutton {
    display: flex;
    background-color: #00000000;
    padding: 3px 3px;
    border-radius: 5px;
    transition-duration: 0.2s;
}.actualbutton:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.medalbox{
    padding: 10px 10px;
    background-color: #00000020;
}
.containerbox{
    margin-top: 10px;
    place-items: center;
    display: grid;
}.lbar{
    padding: 10px 10px;
    background-color: rgba(250,250,250,0.1);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-bottom: 10px;
}.cbar{
    padding: 10px 10px;
    background-color: rgba(250,250,250,0.1);
    margin-bottom: 10px;
}.ebar{
    padding: 10px 10px;
    background-color: rgba(250,250,250,0.1);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-bottom: 10px;
}.tablebar{
    border-collapse: separate;
    border-spacing: 0 3px;
    text-align: center;
    transform: translateZ(0);
    white-space: nowrap;
    font-size:12px;
    width: 100%;}
    

    .button-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        margin-top: 1rem;
    }
 .beatmapbox {
    top: 50%;
    left: 50%;
    width: 60%;
    background: #2a242f;
    padding: 20px;
    border-radius: 10px;
}
.header-left {
    display: flex;
    align-items: center;
}
.header-left img {
    height: 40px;
    margin-right: 20px;
}
.header-left button {
    margin-right: 10px;
    padding: 5px 10px;
    border: none;
    background-color: #00000000;
    color: white;
    cursor: pointer;
    transition-duration: 0.1s;
}
.spacetop {
    padding-top: 15px;
}.spacebottom {
    padding-bottom: 15px;
}
.header-left button:hover {
    background-color: #ffffff20;
    border-radius: 10px;
}
.header-right button {
    margin-left: 15px;
    margin-right: 15px;
    padding: 0px 0px;
}

.header-right{
    display: flex;
    text-align: center;
    align-items: center;
}
.pfp {
    height: 40px;
    border-radius: 5px;
}
.header-right h3 {
    margin-right: 15px;
}


.container-v {
  display: flex;
  justify-content: center;  /* centers horizontally */
  align-items: center;      /* centers vertically */
  height: 50vh;   
  flex-direction: column;
}
.container-h {
  display: flex;
  align-items: center;
  flex-direction: row;
  width: 100%;   /* make it scale to the viewport width */
  height: 100%;  /* or remove this if you don’t want it full height */
  max-width: 100vw; /* prevent overflow horizontally */
}
.homebox {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: #ffffff1f;
    padding: 0px 15px 0px 15px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;    /* hides video outside rounded corners */
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* puts video behind the .box content */
}


.homepagecolor {
    background-color: #00000020;
}

.infosect {
    display: flex;
    align-items: flex-start;
    height: 50vh;
    flex-direction: column;
    padding: 20px 20px;
}
.warning-box {
    position: absolute;
    bottom:0;
    left:0;
    height: 35px;
    width: 100%;
    background-color: #c52121;
    text-align: center;
    padding: 0px 15px 0px 15px;
}
.chloe{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.infoboxcontainer {
  display: flex;
  flex-direction: column;
  align-items: center; /* this centers children horizontally */
}

.infoboxtitle {
  display: flex;
  width: 64%; /* use width instead of max-width */
  background-color: #00000040;
  margin-top: 30px;
  padding-left: 15px;
  padding-right: 15px;
  height: 53px;
  align-items: center;
}

.infobox {
  display: flex;
  width: 64%; /* use width instead of max-width */
  background-color: #00000085;
  padding-left: 15px;
  padding-right: 15px;
}

.verticalpadding {
    padding-top: 15px;
    padding-bottom: 15px;
}

.minibutton {
    padding: 10px 12px;
    margin: 15px 0px 5px 0px;
}
.infoboxtile{
  background-color: #f3baff2a;
}
