html, body {
    background-color: #1e1e21; 
    margin: 0;
    padding: 0;

    overflow: auto;
}

#quote {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
}

.inter {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
}

.backgroundObject {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    padding: 0px 0px;
    top: 0;
    left: 0;
    width: 100vw; /*Takes up 100 percent of the wdith */
    height: 100vh;
    display: block;
}

.content-container { /* Put on basically everything */
  font-size: 18px;
  margin: 20px;
  padding: 10px;
  border-radius: 20px;
}

#maincontainer { /* Main parent object */
  width: 80vw;
  height: auto;
  z-index: 10;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-top: 500px;
  margin-bottom: 300px;
  background-color: rgba(30, 30, 55, 0.737);
}

.mainwrapper {
  display: flex;
  align-items: flex-start;
  height: auto;
  justify-content: center; 
  flex-wrap: wrap; 

  column-gap: 5%; /* This is your 20% gap between items */
  row-gap: 30px; /*doesn't actually work and barely does anything but maybe someday it will*/
}

.container-item {
  height: 500px;
  z-index: 9;
  margin-top: 200px;
  margin-bottom: 200px;
  background-color: rgba(77, 77, 126, 0); /*When debugging or making stuff, I'd suggest setting the opacity to 0.3*/

  width: 40%;

  display: flex;
  align-items: center;
  justify-content: center;
}


/*
Responsive Part that makes it so when the screen goes below 1200 px
the code changes 
*/
@media (max-width: 1200px) {

  #mainwrapper {
    /* This is the magic! It stacks flex items vertically. */
    flex-direction: column;
    
    /* This will center the stacked items */
    align-items: center;

    /* Adjust the gap for vertical stacking */
    gap: 30px; 

    /* This overrides 'center' and aligns the items 
       to the top of the container when in column mode. */
    justify-content: flex-start;
  }

  .container-item {
    /* Make the containers wider when stacked */
    width: 90%; 
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

#infoBox {
  position: fixed;
  z-index: 150;
  pointer-events: none;
  padding: 0px 0px;
  top: 100px;
  left: 53vw;
  width: 200px; /*Takes up 100 percent of the wdith */
  height: 100px;
  display: flex;
  border-radius: 20px;
  align-items: center;
  justify-content: center;

  background-color: rgba(30, 30, 55, 0.737);
}

#infoText {
  position: relative;
  text-align: center;
  z-index: inherit;
  pointer-events: none;
  padding: 10px 10px;
  top: 0px;
  left: 0px;
  width: auto; /*Takes up 100 percent of the wdith */
  height: auto;
  display: block;
  color: rgb(255, 255, 255);
  font-family: 'Arial', sans-serif;
  font-size: 15px;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none;     /* IE 10 and IE Edge */
  user-select: none;         /* Standard syntax */
}

.video-container {
    /* Set up the aspect ratio container */
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden; /* Hides anything that might overflow */
}

.video-container  > *  {
    /* Make the iframe fill the container */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}