/* ====== CSS Reset (based on modern-normalize) ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background-color: #5ac0ef;
  color: #222;
  min-height: 100vh;
}

ul.nav-links {
  list-style: none;
}

/* ====== Basic Typography ====== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  line-height: 1.25;
  margin: 1.5rem 0 0.5rem;
}
h1 { text-shadow: #433d3d 0 10px 15px, #8037bb 10px 20px 15px;}
h2, h3 { text-shadow: #433d3d 0 10px 15px;}
li {
  margin-bottom: 0.1rem;
  margin-left: 0.6rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #165ace;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ====== Layout Helpers ====== */
.flex {
  display: flex;
  gap: 1rem;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid {
  display: grid;
  gap: 1rem;
}

/* ====== Buttons ====== */
button,
.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 0.375rem;
  background-color: #0066cc;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

button:hover,
.btn:hover {
  background-color: #aacef3;
}

/* ====== Forms ====== */
input,
textarea,
select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  font-size: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* ====== Utility Spacing ====== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }

/* ====== FullCalendar Custom Styles ====== */
.fc {
  background-color: rgb(218, 219, 221);
  border-radius: .5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 1.1);
  font-family: inherit;
  margin: 2rem 0;
}
.fc .fc-button {
  background-color: #0066cc;
  border: none;
  color: white;
  font-weight: 300;
  padding: 0.05rem 0.05rem;
  border-radius: 0.35rem;
}
.fc .fc-button:hover {
  background-color: #aacef3;
  color: black;
}
.fc .fc-button:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}
.fc .fc-button-active {
  background-color: #004a99;
  color: white;
}
.fc .fc-toolbar-title {
  font-size: 1.3rem;
  font-weight: 600;
}
.fc .fc-list-event {
  background-color: #b6b9bd;
  border: none;
  color: rgb(35, 62, 129);
  font-weight: 400;
  padding: 0.2rem 0.3rem;
  border-radius: 0.25rem;
}
.fc .fc-month-view .fc-daygrid-event {
  background-color: #b6b9bd;
  border: none;
  color: rgb(35, 62, 129);
  font-weight: 400;
  padding: 0.2rem 0.3rem;
  border-radius: 0.25rem;
}
.fc .fc-daygrid-day-number {
  font-weight: 600;
}
.fc .fc-daygrid-day {
  border: 1px solid #ccc;
}
.fc .fc-daygrid-day:hover {
  background-color: #e6f0fa;
}
.fc .fc-scrollgrid {
  border-radius: 0.5rem;
  overflow: hidden;
}
.fc .fc-scrollgrid-section-header {
  background-color: #f0f0f0;
  font-weight: 600;
}
.fc .fc-scrollgrid-section-body {
  background-color: white;
}
.fc .fc-scrollgrid-section-body:hover {
  background-color: #f9f9f9;
}
.fc .fc-col-header-cell {
  background-color: #f0f0f0;
  font-weight: 600;
}
.fc .fc-col-header-cell:hover {
  background-color: #e6f0fa;
}
.fc .fc-daygrid-day.fc-day-today {
  background-color: #d0e7ff;
}
.fc .fc-daygrid-day.fc-day-today:hover {
  background-color: #aacef3;
}
.fc .fc-list-view {
  border-radius: 0.5rem;
}


#logo {
  filter: drop-shadow( 0 10px 20px rgba(0, 0, 0, 1.1));
}

div.main {
  width: 90%;
  margin: auto;
  align-content: center;
}
div.gamelist {
  display: flex
}

nav{
  background: #333;
  display: flex;
  justify-content:space-around;
  align-items: center;
  color: #fff;
}
.nav-links {
    display: flex;
    justify-content:space-around;
    width: 50%;
    text-transform: uppercase;
}
.nav-links a{
  display: flex;
   text-transform: uppercase;
   text-decoration: none;
   color: #fff;
  border-bottom:2px solid transparent;
  transition:0.5s ease;
  transform: translateX(0%);
}
.nav-links a:hover{
  color:rgb(185, 46, 46);
  letter-spacing: 5px;
}
.burger{
  display: none;
}
.burger div{
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px;
  transition:all 0.5s ease;
}
@media only screen and (max-width: 760px){
   nav{
    justify-content: space-between;
    padding: 0 5vw;
  }
  .nav-links{
    position: absolute;
    right: 0;
    top:8vh;
    min-height:45vh;
    background: #333;
    display: flex;
    flex-direction: column;
    align-items: center;   
    width: 50%;
    margin: 0;
    padding: 0;
    transform: translateX(100%);
    transition:All 0.5s ease-in;
    opacity: 0;
  }
  .nav-links a{
    opacity: 1;
 
  }
  .burger{
    display: block;
  }

 .calendar{
    display: flex;
    transform: scale(70%) translate(-30%,30%);
    transition:All 0.5s ease-in;
  } 

}
@media only screen and (max-width: 640px){
  nav{
    justify-content: space-between;
    padding: 0 5vw;
  }
 .calendar{
    display: flex;
    transform: scale(70%) translate(-30%,30%);
    transition:All 0.5s ease-in;
  } 

}
.nav-active{
  transform: translateX(0);
  opacity: 100;
}
@media only screen and (max-width: 460px){
  .nav-links{
    width: 100%;
    transition:All 0.5s ease;
  }
   .calendar{
    display: flex;
    transform: scale(60%) translate(-25%,50%);
    transition:All 0.5s ease-in;
  }
}
.nav-active{
  transform: translateX(0);
}
@keyframes navLinkFade{
  from{
    opacity: 0;
    transform: translateX(50px);
  }
  to{
    opacity: 1;
    transform: translateX(0);
  }
}
.toggle .line1{
   transform: rotate(-45deg) translate(-5px,6px );
}
.toggle .line2{
   opacity: 0;
}
.toggle .line3{
   transform: rotate(45deg) translate(-5px,-6px );
}
game{
    align-items: center;   
    width: 100%;
    margin: 0;
    padding: 0;
}

.tags a {
    font-family: 'Courier New', Courier, monospace;
    color: rgb(185, 46, 46);
}
.tags a:hover {
    text-decoration: none;
    color: rgb(44, 17, 17);
}

.gamedesc {
    text-size-adjust: auto;
}

#gameimage {
    image-rendering: pixelated;
    box-shadow: 5px 5px 5px;
    border: 2px;
    border-style: solid;
}

@media only screen and (max-width: 460px){
    #gameimage{
        transform: scale(70%) translate(-25%,0%);
        transition:All 0.5s ease-in-out;
    }
}
.container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: top;
  align-content: stretch;
  min-height: 100vh;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.c-header {
  display: block;
  width: 100%;
}

.u-a5 {
  font-size: 37px;
  line-height: 35px;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: Impact;
  color: rgb(185, 46, 46);
  border: 5px;
  border-color: rgb(23, 20, 20);
  text-shadow: 0px 10px 15px #000000 ;
}

.u-b4 {
  font-size: 12px;
  line-height: 17px;
  letter-spacing: 0.3px;
  font-weight: normal;
  font-family: Impact;
  color: rgb(185, 46, 46);
  border: 5px;
  border-color: rgb(23, 20, 20);
  text-shadow: 0px 10px 15px #000000;
}

a {
  text-decoration: none;
  color: rgb(37, 33, 33);
}

.u-media-wrapper {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  height: 0;
}
.u-media-wrapper.u-media-wrapper--16-9 {
  padding-bottom: 56.25%;
}

.c-gradient-overlay {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 49% 50%, rgba(2, 21, 25, 0.3), rgba(2, 21, 25, 0.9));
}

.c-mouse-vertical-carousel {
  position: relative;
  overflow: hidden;
}
.c-mouse-vertical-carousel__list {
  width: 100%;
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 1;
}
.c-mouse-vertical-carousel__list-item a {
  display: block;
  /*padding-bottom: 25px;
  padding-top: 25px;
  padding-left: 54.1666666667%;
*/}
.c-mouse-vertical-carousel__eyebrow {
  position: relative;
  padding-bottom: 12px;
}
.c-mouse-vertical-carousel__eyebrow span {
  position: absolute;
  left: -30px;
  top: 2px;
}
.c-mouse-vertical-carousel__title {
  max-width: 50px;
}
.c-mouse-vertical-carousel__bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  filter: drop-shadow( 0 10px 20px rgba(0, 0, 0, 1.1));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 1.1);
}

.gamelist{
  box-shadow: 0 10px 20px rgba(0, 0, 0, 1.1); 
}
