* {
  box-sizing: border-box; /* Ensures padding and borders are included in width */
}

body {
  background: #2D2538;
}

.pageBody {
  color: white;
  font-family: Times New Roman;
  margin: auto;
  margin-top: 20px;
  display: grid;
  grid-template-rows: 144px 50px 1fr 50px;
  grid-template-columns: 1fr;
  max-width: 1440px;
  min-width: 640px;
  place-items: center start;
  row-gap: 10px;
  font-size: 20px;
  height: auto;
}

.banner {
  margin: 0; /* Prevent any additional margin */
  width: 100%; /* Prevents it from exceeding the width */
  height: 200px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box; /* Ensures no overflow due to padding or borders */
}

.banner img {
  height: 100%;
  object-fit: contain; /* Maintains aspect ratio of the image */
  display: block; /* Removes any extra space around the image */
  padding: 20px;
  margin-right: 96px;
}

.divider_container {
  width: 100%;
}

.divider_container img{
  height: auto;
  width:100%;
  filter: hue-rotate(300deg) brightness(2);
}

.columnContainer {
  width: 100%;
  display: grid;
  grid-template-columns: 1.333fr .9fr 0.8fr;
  box-sizing: border-box; /* Prevents overflow */
}
.columnContainer_centered {
  margin:auto;
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box; /* Prevents overflow */
}

.columnOne, .columnTwo, .columnThree {
  max-width: 100%;
  overflow: hidden; /* Prevents any content from overflowing */
  margin: 5px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.bubble {
  border-style: outset;
  border-width: 4px;
  border-radius: 4px;
  border-color: #b197f3;
  background-color: #00000099;
  padding: 20px;
  padding-bottom: 10px;
  line-height: 24px;
  display: inline-block;
}
.iframe_bubble {
  border-style: outset;
  border-width: 4px;
  border-radius: 4px;
  border-color: #b197f3;
  background-color: #00000099;
  padding: 20px;
  padding-bottom: 10px;
  line-height: 24px;
  display: flex;
}

.game_bubble{
  border-style: outset;
  border-width: 4px;
  border-radius: 4px;
  border-color: #b197f3;
  background-color: #00000099;
  padding: 20px;
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  font-size: 16px;
}

.bubble h2{
  margin: auto;
  color: #b197f3;
  font-size: 24px;
}

h2 img{
  margin-right: 10px;
}

a img {
  margin: auto;
}

img[src="images/bigcharliepfp.png"] {
    float: left; /* Makes text wrap around the image */
    border-radius: 10px;
    height: 128px;
    width: 128px;
    margin-right: 15px; /* Creates space between image and text */
    margin-bottom: 5px;
}

.bubble p {
  margin-right: 10px;
}

.bubble a {
  text-decoration: none;
  color: white;
  cursor: pointer;
}

.bubble a:visited {
  text-decoration: none;
  color: white;
  cursor: pointer;
}

.bubble a:hover {
  font-size-adjust: 0.6;
  text-decoration: none;
  color: gray;
  cursor: pointer;
}

iframe{
  margin: auto;
  margin-bottom: 45px;
  margin-top: 30px;
}

.sound_player:hover{
  filter: grayscale(90%);
}

.footer_container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top:64px;
}

.footer_container img {
  width: 100%;
  height: auto; /* Maintains aspect ratio */
  display: block; /* Removes any extra spacing */
  filter: hue-rotate(300deg) brightness(2);
}


#construction_container{
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#advice_marquee{
  background-color: rgba(0, 0, 0, .6);
  color: yellow;
  border: outset;
  border-width: 4px;
  border-radius: 4px;
}

#info_marquee{
  color: yellow;
  border: outset;
  border-width: 4px;
  border-radius: 4px;
}

#blinkie_marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee 10s linear infinite;
}
@media only screen and (max-width: 860px) {
  .pageBody {
    min-width: 200px;
    font-size: 24px;
  }
  
  .banner img {
    margin-right: 0px;
  }
  
  .columnContainer {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    box-sizing: border-box; /* Prevents overflow */
  }
  
  .bubble {
    line-height: 26px;
  }
   
  #construction_container img[src="images/under_construction.gif"]{
  display: none;
  }
  #blinkie_marquee img {
    height:  48px;
    
  }
}
