/*
 * Globals
 */

.steam-blue {
  background-color: #232630;
  border-color: #232630;
  border-width: 0.15em;
  border-radius: 0.3em;
  width: 6em;
  height: 2.25em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steam-blue i {
  margin: 0 auto;
}

.steam-green {
  background-color: #618624;
  border-width: 0;
  border-radius: 3px;
  width: 310px;
  height: 40px;
  font-size: larger;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steam-green p {
  margin: 0;
}

.epic-blue {
  background-color: #26bbff;
  border-width: 0;
  border-radius: 3px;
  width: 310px;
  height: 40px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.epic-widget {
  display: flex;
  background-color: #202024;
  border-radius: 5px;
  overflow: hidden;
  height: 170px;
  font-family: "Montserrat", sans-serif;
  position: relative;
}

.epic-widget-left {
  width: 310px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background-color: #202024;
}

.epic-cover {
  width: 290px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.epic-widget-right {
  flex: 1;
  padding: 19px 13px 10px 6px;
  display: flex;
  flex-direction: column;
  color: #f5f5f5;
}

.epic-header {
  position: absolute;
  top: 8px;
  right: 13px;
}

.epic-logo {
  height: 26px;
  display: block;
}

.epic-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: #ffffff;
  line-height: 1.2;
  text-align: left;
  padding-right: 80px;
}

.epic-description {
  font-size: 10px;
  color: #a0a0a0;
  margin: 0 0 0 0;
  line-height: 1.3;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  -webkit-line-clamp: 3;
}

.epic-price {
  font-size: 11px;
  font-weight: 700;
  padding-top: 16px;
  border-top: 1px solid #3a3a3a;
  margin: auto 0 3px 0;
  color: #ffffff;
  text-align: left;
}

.epic-button {
  background-color: #26bbff;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 7px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: block;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 5px;
}

.epic-button:hover {
  background-color: #4dd0ff;
  color: white;
}

.epic-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.epic-title-link:hover .epic-title {
  color: #26bbff;
  transition: color 0.2s;
}

a.epic-widget-left {
  text-decoration: none; 
  cursor: pointer;
}
/*
 * Base structure
 */

body {
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
  overflow: visible;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  text-align: center;
  font-family: "LT Soul", Courier;
  font-size: larger;
}

.cover-container {
  max-width: 42em;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

@media (min-height: 1000px) {
  .cover-container .lead {
    font-size: larger !important; 
  }
}

b {
  font-weight: 800;
}

h4, hr {
  color: rgb(229, 45, 45);
}

hr {
  border-top: 0.2rem solid;
  opacity: 0.75;
}


/*
 * Header
 */

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 200;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
  
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

.video-background {
  position:absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.video-background video {
  min-height: 100vh;
  min-width: 100vw;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#overlay {
  background-image: linear-gradient(rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.75) 15%, rgba(0,0,0,0.75) 85%, rgba(0,0,0,0.95) 100%);
  z-index: 1;
  min-height: 100vh;
  min-width: 100vw;
  position:absolute;
  top: 0;
  left: 0;
}

#lead {
  margin-bottom: 1em;
  margin-top: 0.5em;
  font-size: x-large;
}

@media (max-width: 575px) {
  #lead {
    margin-bottom: 1em;
    margin-top: 0.5em;
  }
}

@media (max-height: 700px) {
  #lead {
    font-size: large !important;
  }
}

/* width */
::-webkit-scrollbar {
width: 10px;
}

@media (max-height: 860px) {
  /* Track */
  ::-webkit-scrollbar-track {
    background: #1f222b;
  }
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #323644;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: rgb(54, 59, 74);
}

@media (max-width: 576px) {
  footer .d-flex {
    gap: 0.5rem !important;
  }
  
  .steam-blue {
    width: 5em;
  }
}

@media (min-width: 576px) and (min-height: 1400px) {
  #youtubeVideo {
    max-height: 425px !important;
  }
}

@media (min-width: 576px) and (min-height: 1100px) and (max-height: 1199.98px) {
  #youtubeVideo {
    max-height: 375px !important;
  }
}

@media (min-width: 576px) and (min-height: 1000px) and (max-height: 1099.98px) {
  #youtubeVideo {
    max-height: 325px !important;
  }
}

@media (min-width: 576px) and (min-height: 925px) and (max-height: 999.98px) {
  #youtubeVideo {
    max-height: 275px !important;
  }
}

@media (min-width: 576px) and (max-height: 924.98px) {
  #youtubeVideo {
    max-height: 225px !important;
  }
}

@media (min-width: 576px) and (max-width: 800px) {
  .epic-widget-left {
    width: 250px !important;
  }
  
  .epic-cover {
    width: 230px !important;
    height: 120px !important;
  }
}

@media (min-width: 576px) and (max-width: 700px) {
  .epic-widget-left {
    width: 220px !important;
  }
  
  .epic-cover {
    width: 200px !important;
    height: 105px !important;
  }
}

@media (min-width: 576px) and (max-width: 800px) {
  .epic-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.steam-blue img {
  display: block;
  margin: 0 auto;
}

@media (max-width: 350px) {
  .steam-green,
  .epic-blue {
    width: calc(100vw - 32px);
    max-width: 100%;
    height: 36px;
    font-size: 15px;
  }
}

@media (max-width: 320px) {
  .steam-green,
  .epic-blue {
    height: 34px;
    font-size: 14px;
  }
}

@media (max-width: 300px) {
  .steam-green,
  .epic-blue {
    height: 32px;
    font-size: 13px;
  }
}

@media (max-width: 365px) {
  .steam-blue {
    width: 50px;
    height: 36px;
    border-width: 1px;
  }
  
  footer .d-flex {
    gap: 6px !important;
  }
}

@media (max-width: 336px) {
  .steam-blue {
    width: 46px;
    height: 34px;
    border-width: 1px;
  }
  
  footer .d-flex {
    gap: 4px !important;
  }
}

@media (max-width: 306px) {
  .steam-blue {
    width: 42px;
    height: 32px;
    border-width: 0px;
  }
  
  footer .d-flex {
    gap: 3px !important;
  }
}

