@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Bree+Serif&family=EB+Garamond:ital,wght@0,500;1,800&display=swap");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
  --filter-background: rgb(0, 120, 14);
  --filter-font: "Bebas Neue", cursive;
  --filter-font-size: 16px;
  --filter-letter-spacing: 2px;
  --reload-main-message: "Loading Videos";
  --reload-second-message: "Too Long? Try force refresh.";
  --reload-background: #86B663;
  --reload-font: "Bebas Neue", cursive;
  --reload-letter-spacing: 2px;
  --reload-font-size: 54px;
  --reload-color: white;
}

::-webkit-scrollbar {
  display: none;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: top;
  margin-bottom: 50px;
}

.container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

div:has(> h1) {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

h1 {
  display: block;
  font-weight: normal;
  text-align: center;
  width: 100%;
  height: auto;
  max-width: 500px;
  padding: 30px 15px 0px;
  font-size: 46px;
  font-family: "Bebas Neue", cursive;
}

#video-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px 10px;
  width: 100%;
  max-width: 500px;
}

iframe {
  width: 300px;
  height: 168.75px;
  border: 5px solid white;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin: 0 5px 5px;
}

#banner-header img {
    width: 100%;
    display: block;
}

div:has(> select) {
  width: 100%;
  padding: 0 10px 15px;
}

select {
  outline: none;
  border-radius: 20px;
  border: none;
  background-color: var(--filter-background);
  color: white;
  padding: 2px 5px 0px 12px;
  text-align: center;
  font-family: var(--filter-font);
  font-size: var(--filter-font-size);
  letter-spacing: var(--filter-letter-spacing);
  justify-self: start;
  width: auto;
}

.hide {
  display: none;
}

#reload {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  color: var(--reload-color);
  background: var(--reload-background);
  font-family: var(--reload-font);
  letter-spacing: var(--reload-letter-spacing);
  text-align: center;
  font-size: var(--reload-font-size);
  padding: 20px;
}

#reload div:nth-child(1)::before {
  content: var(--reload-main-message);
}

#reload div:nth-child(2) {
  font-size: 18px;
}

#reload div:nth-child(2)::after {
  content: var(--reload-second-message);
}

div:has(> iframe) {
  position: relative;
}

.medal-holder {
  width: 100%;
  position: absolute;
  top: 0px;
  right: 0px;
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 5px;
}

.medal {
  background-size: cover;
  width: 15%;
}

@media only screen and (min-width: 576px) {

  h1 {
    width: 500px;
    max-width: 700px;
    padding: 50px 15px 15px;
    font-size: 64px;
  }

  #video-container {
    padding: 0px;
  }

  iframe {
    width: 500px;
    height: 281.25px;
  }

  div:has(> select) {
    padding: 0 0 15px;
  }

  select {
    font-size: 24px;
  }
}

@media only screen and (min-width: 768px) {

  h1 {
    width: 700px;
    max-width: 900px;
    padding: 50px 15px 15px;
    font-size: 90px;
  }

  #video-container {
    justify-content: center;
    max-width: 700px;
  }

  iframe {
    width: 345px;
    height: 194.0625px;
  }
}

@media only screen and (min-width: 992px) {

  h1 {
    width: 900px;
    max-width: 1200px;
    padding: 50px 15px 15px;
    font-size: 90px;
  }

  #video-container {
    padding: 0px 20px;
    max-width: 900px;
  }

  iframe {
    width: 420px;
    height: 236.25px;
  }

  div:has(> select) {
    padding: 0 20px 15px;
  }
}

@media only screen and (min-width: 1200px) {

  h1 {
    width: 1200px;
    max-width: 1400px;
    padding: 50px 15px 15px;
    font-size: 130px;
  }

  #video-container {
    padding: 0px;
    max-width: 1100px;
  }

  iframe {
    width: 530px;
    height: 298.125px;
  }

  div:has(> select) {
    padding: 0 60px 15px;
  }
}

@media only screen and (min-width: 1400px) {

  #video-container {
    max-width: 1300px;
  }

  iframe {
    width: 600px;
    height: 337.5px;
  }

  div:has(> select) {
    padding: 0 10px 15px;
  }
}