
@import url('https://fonts.googleapis.com/css2?family=Caudex:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'GoticaBastard';
    src: url('GoticaBastard.woff2') format('woff2'),
        url('GoticaBastard.woff') format('woff'),
        url('GoticaBastard.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


/* GENERAL CSS */

* {
  box-sizing: border-box;
}

body {
background-image: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='35.584' height='30.585' patternTransform='scale(2) rotate(0)'><rect x='0' y='0' width='100%' height='100%' fill='%23fffaf9ff'/><path d='M36.908 9.243c-5.014 0-7.266 3.575-7.266 7.117 0 3.376 2.45 5.726 5.959 5.726 1.307 0 2.45-.463 3.244-1.307.744-.811 1.125-1.903 1.042-3.095-.066-.811-.546-1.655-1.274-2.185-.596-.447-1.639-.894-3.162-.546-.48.1-.778.58-.662 1.06.1.48.58.777 1.06.661.695-.149 1.274-.066 1.705.249.364.265.546.645.562.893.05.679-.165 1.308-.579 1.755-.446.48-1.125.744-1.936.744-2.55 0-4.188-1.538-4.188-3.938 0-2.466 1.44-5.347 5.495-5.347 2.897 0 6.008 1.888 6.388 6.058.166 1.804.067 5.147-2.598 7.034a.868.868 0 00-.142.122c-1.311.783-2.87 1.301-4.972 1.301-4.088 0-6.123-1.952-8.275-4.021-2.317-2.218-4.7-4.518-9.517-4.518-4.094 0-6.439 1.676-8.479 3.545.227-1.102.289-2.307.17-3.596-.496-5.263-4.567-7.662-8.159-7.662-5.015 0-7.265 3.574-7.265 7.116 0 3.377 2.45 5.727 5.958 5.727 1.307 0 2.449-.463 3.243-1.308.745-.81 1.126-1.903 1.043-3.095-.066-.81-.546-1.654-1.274-2.184-.596-.447-1.639-.894-3.161-.546-.48.1-.778.58-.662 1.06.099.48.579.777 1.059.66.695-.148 1.275-.065 1.705.25.364.264.546.645.563.893.05.679-.166 1.307-.58 1.754-.447.48-1.125.745-1.936.745-2.549 0-4.188-1.539-4.188-3.939 0-2.466 1.44-5.345 5.495-5.345 2.897 0 6.008 1.87 6.389 6.057.163 1.781.064 5.06-2.504 6.96-1.36.864-2.978 1.447-5.209 1.447-4.088 0-6.124-1.952-8.275-4.021-2.317-2.218-4.7-4.518-9.516-4.518v1.787c4.088 0 6.123 1.953 8.275 4.022 2.317 2.218 4.7 4.518 9.516 4.518 4.8 0 7.2-2.3 9.517-4.518 2.151-2.069 4.187-4.022 8.275-4.022s6.124 1.953 8.275 4.022c2.318 2.218 4.701 4.518 9.517 4.518 4.8 0 7.2-2.3 9.516-4.518 2.152-2.069 4.188-4.022 8.276-4.022s6.123 1.953 8.275 4.022c2.317 2.218 4.7 4.518 9.517 4.518v-1.788c-4.088 0-6.124-1.952-8.275-4.021-2.318-2.218-4.701-4.518-9.517-4.518-4.103 0-6.45 1.683-8.492 3.556.237-1.118.304-2.343.184-3.656-.497-5.263-4.568-7.663-8.16-7.663z'  stroke-width='1' stroke='none' fill='%23e9dfdd90'/><path d='M23.42 41.086a.896.896 0 01-.729-.38.883.883 0 01.215-1.242c2.665-1.887 2.764-5.23 2.599-7.034-.38-4.187-3.492-6.058-6.389-6.058-4.055 0-5.495 2.88-5.495 5.346 0 2.4 1.639 3.94 4.188 3.94.81 0 1.49-.265 1.936-.745.414-.447.63-1.076.58-1.755-.017-.248-.2-.629-.547-.893-.43-.315-1.026-.398-1.704-.249a.868.868 0 01-1.06-.662.868.868 0 01.662-1.059c1.523-.348 2.566.1 3.161.546.729.53 1.209 1.374 1.275 2.185.083 1.191-.298 2.284-1.043 3.095-.794.844-1.936 1.307-3.244 1.307-3.508 0-5.958-2.35-5.958-5.726 0-3.542 2.25-7.117 7.266-7.117 3.591 0 7.663 2.4 8.16 7.663.347 3.79-.828 6.868-3.344 8.656a.824.824 0 01-.53.182zm0-30.585a.896.896 0 01-.729-.38.883.883 0 01.215-1.242c2.665-1.887 2.764-5.23 2.599-7.034-.381-4.187-3.493-6.058-6.389-6.058-4.055 0-5.495 2.88-5.495 5.346 0 2.4 1.639 3.94 4.188 3.94.81 0 1.49-.266 1.936-.746.414-.446.629-1.075.58-1.754-.017-.248-.2-.629-.547-.894-.43-.314-1.026-.397-1.705-.248A.868.868 0 0117.014.77a.868.868 0 01.662-1.06c1.523-.347 2.566.1 3.161.547.729.53 1.209 1.374 1.275 2.185.083 1.191-.298 2.284-1.043 3.095-.794.844-1.936 1.307-3.244 1.307-3.508 0-5.958-2.35-5.958-5.726 0-3.542 2.25-7.117 7.266-7.117 3.591 0 7.663 2.4 8.16 7.663.347 3.79-.828 6.868-3.344 8.656a.824.824 0 01-.53.182zm29.956 1.572c-4.8 0-7.2-2.3-9.517-4.518-2.151-2.069-4.187-4.022-8.275-4.022S29.46 5.486 27.31 7.555c-2.317 2.218-4.7 4.518-9.517 4.518-4.8 0-7.2-2.3-9.516-4.518C6.124 5.486 4.088 3.533 0 3.533s-6.124 1.953-8.275 4.022c-2.317 2.218-4.7 4.518-9.517 4.518-4.8 0-7.2-2.3-9.516-4.518-2.152-2.069-4.188-4.022-8.276-4.022V1.746c4.8 0 7.2 2.3 9.517 4.518 2.152 2.069 4.187 4.022 8.275 4.022s6.124-1.953 8.276-4.022C-7.2 4.046-4.816 1.746 0 1.746c4.8 0 7.2 2.3 9.517 4.518 2.151 2.069 4.187 4.022 8.275 4.022s6.124-1.953 8.275-4.022c2.318-2.218 4.7-4.518 9.517-4.518 4.8 0 7.2 2.3 9.517 4.518 2.151 2.069 4.187 4.022 8.275 4.022s6.124-1.953 8.275-4.022c2.317-2.218 4.7-4.518 9.517-4.518v1.787c-4.088 0-6.124 1.953-8.275 4.022-2.317 2.234-4.717 4.518-9.517 4.518z'  stroke-width='1' stroke='none' fill='%23e9dfdd86'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>");
  background-size: cover;
  font-family: 'Montserrat';
  color: #fff;
font-size: .9em;
}

a, a:visited {
  color: #3b5382;
}

a:hover {
  color: #bf2c42;
}

h1 {
  margin-bottom: 0;
  color: #0B090A;
  font-size: 3em;
}

.feena-img {
  position: absolute;
  left: 50%;
  margin-left: -70px;
  width: 140px;
  border-radius: 70px;
  margin-top: -30px;
  border: 10px solid #fffaf9;
  background-color: #fffaf9;
}

.feena-img:hover {
  border-color: #666;
background-color: #666;
}

#menu {
  overflow: hidden;
  background-color: #bf2c42;
  margin: 0 auto;
  text-align: center;
  width: 1000px;
  vertical-align: middle;
  margin-top: 40px;
  box-shadow: 3px 3px 2px 2px rgba(0,0,0,0.3);
}

#menu a, #menu a:visited {
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 0px 20px 0px 20px;
  text-decoration: none;
  font-size: 1.3em;
  height: 80px;
  width: 130px;
  line-height: 80px;
}

#menu a:hover {
  background-color: #666;
}

#menu .a-logo {
  display: none;
}


#menu .a-left {
  float: left;
}

#menu .a-right {
  float: right;
}
.dropdown {
  float: right;
  overflow: hidden;
}

.dropdown .dropbtn, .dropdown .dropbtn:visited {
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 0px 20px 0px 20px;
  text-decoration: none;
  font-size: 1.3em;
  height: 80px;
  width: 200px;
  line-height: 80px;
  border: none;
}

.dropdown:hover {
    background-color: #666;
}

.dropdown-content {
  display: none;
  position: absolute;
  z-index: 1;
  background-color: #333;
}

.dropdown-content a {
  float: none;
  color: black;
  text-decoration: none;
  display: block;
  text-align: left;
  font-size: smaller;
  width: 200px !important;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

#mylinks {
    display: none;
}

#mylinks a, #mylinks a:visited {
  display: block;
  width: 85%;
  background-color: #444;
  color: white;
  height: 40px;
  text-decoration: none;
  margin: auto;
 line-height: 40px;
  padding-left: 20px;
}

#header {
  max-width: 85%;
  margin: auto;
}

#sub-head {
  width: 1000px;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 5px;
  text-align: center;
}

#footer {
  background-color: #BBB;
  margin: 0 auto;
  text-align: center;
  width: 1000px;
  padding: 10px;
  margin-top: 70px;
  font-size: smaller;
}

.collapsible, .banner, a:visited.banner, .home-banner, a:visited.home-banner {
  background-color: #3b5382;
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 666px;
  border: none;
  text-align: left;
  outline: none;
  font-weight: bold;
  font-family: 'Montserrat';
  font-size: inherit;
  margin: auto;
  text-decoration: none;
}

.banner, .home-banner {
  display: block;
}

.home-banner {
   font-size: 1.2em; 
}

.active, .collapsible:hover, .banner:hover, a:visited.banner:hover, .home-banner:hover, a:visited.home-banner:hover {
  background-color: #666;
}

.collapsible-content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  font-size: inherit;
  width: 666px;
  margin: auto;
  color: #000;
  text-align: left;
  background-color: white;
}

.collapsible:after {
  content: '+'; /* Unicode character for "plus" sign (+) */
  color: white;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "-"; /* Unicode character for "minus" sign (-) */
}

.js-button {
  background-color: #bf2c42;
  border-radius: 8px;
  border-style: none;
  color: #fff;
  padding: 10px;
  margin: 5px 20px;
  cursor: pointer;
}

.js-button:hover {
  background-image: none;
  background-color: #666;
}

/* WELCOME PAGE-SPECIFIC FORMATTING */

#welcome {
    width: 1000px;
    margin: auto;
    display: flex;
    background-color: white;
}

#adol_cutout {
    padding: 25px;
}

#adol_cutout img {
    width: 225px;
    margin-top: 100px;
}

#welcome-text {
color: black;
  padding: 25px;
  text-align: justify;
  background-color: white;
}

#welcome-text p {
  font-size: 1.3em;
}

/* GAMES PAGES-SPECIFIC FORMATTING */

#card-binder {
    display: flex;
    justify-content: center;
    width: 900px;
    margin: auto;
    flex-wrap: wrap;
    gap: 50px;
}

#game-card {
  height: 170px;
  width: 129px;
  box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.3);


}

#game-card img:hover {
  filter: grayscale(0%);
  -webkit-filter: grayscale(0%);
}

#game-card img {
    width: 100%;
    height: 100%;
    filter: grayscale(75%);
  -webkit-filter: grayscale(75%);
}

#content-head {
    width: 900px;
    margin: auto;
    height: 300px;
    background-image: linear-gradient(to bottom, rgba(59, 83, 130,.1), #3b5382);
    padding: 20px;
    color: white;
    position: relative;
}

.content-banner {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

#content-main {
    width: 900px;
    margin: auto;
    background-color: #fff;
    padding: 20px;
    color: black;
    font-size: 1.2em;
}

#hltb {
 display: block;
 font-size: smaller;
 max-width: 33%;
 background-color: #3b5382;
 color: white;
 padding: 20px;
 margin-top: 5px;
}

#hltb:hover {
    background-color: #666;
}

#general {
     width: 1000px;
    margin: auto;
    background-color: white;
    color: black;
    padding: 25px;   
}

#characters {
    width: 1000px;
    margin: auto;
    background-color: white;
    color: black;
    padding: 25px;
    text-align: center;
}

#characters div {
    width: 100%;
    margin: auto;
    margin-bottom: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
}

#characters div p {
  max-width: 75%;
  text-align: justify;
  margin: auto;
  font-size: 1.1em;
}

#characters div.alt {
    background-color: #eee;
}

#characters img {
    max-width: 25%;
}


/* TIMELINE-SPECIFIC FORMATTING */

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #666;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.container::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  right: -17px;
  background-color: #fff;
  border: 5px solid #bf2c42;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid #555;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #555;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid #555;
  border-width: 10px 10px 10px 0;
  border-color: transparent #555 transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -16px;
}

/* The actual content */
.content {
  padding: 5px 20px 20px 20px;
  background-color: #555;
  position: relative;
  border-radius: 10px;
  z-index: 0;
}

.content a, .content a:visited {
    color: #AAA;
}

.content a:hover {
    color: #ddd;
}

.content h3 {
  background-color: rgba(256,256,256,0.5);
  padding: 5px 10px 5px 10px;
  max-width: 33%;
  text-align: center;
}

.bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: .2;
    width: 100%;
    height: 100%;
  filter: blur(3px);
  -webkit-filter: blur(3px);
}

.ys-origin {
  background-image: url(/images/ys-origin.gif);
}

.ys-i {
  background-image: url(/images/ys-i.gif);
}

.ys-x {
  background-image: url(/images/ys-x.gif);
}

.ys-iv {
  background-image: url(/images/ys-iv.gif);
}

.ys-iii {
  background-image: url(/images/ys-iii.gif);
}

.ys-v {
  background-image: url(/images/ys-v.gif);
}

.ys-viii {
  background-image: url(/images/ys-viii.gif);
}

.ys-vi {
  background-image: url(/images/ys-vi.gif);
}

.ys-vii {
  background-image: url(/images/ys-vii.gif);
}

.ys-ix {
  background-image: url(/images/ys-ix.gif);
}

.game-type {
  padding: 0px 6px 3px 6px; 
  background-color: #3b5382;
  box-shadow: 1px 1px 1px 1px rgba(0,0,0,0.4);
  font-size: smaller;
  font-variant: small-caps;
  margin-bottom: 5px;
}

.game-type:hover {
  background-color: #1e55ba;
}

.console {
  padding: 0px 6px 3px 6px;
  background-color: #bf2c42;
  box-shadow: 1px 1px 1px 1px rgba(0,0,0,0.4);
  font-size: smaller;
  font-variant: small-caps;
}

.console:hover {
  background-color: #999;
}



/* MOBILE FORMATTING*/

.mobile-only {
  display: none;
}

@media screen and (max-width: 1050px) {

#menu {
  max-width: 90%;
  vertical-align: middle;
  margin-top: 20px;
}

#menu a, #menu a:visited {
  padding: 0px 10px 0px 10px;
  font-size: 1em;
  height: 50px;
  line-height: 50px;
  width: 70px;
}

 #menu .a-logo {
   display: inline;
   vertical-align: middle;
   float: left;
   width: 50px;
 }

 #menu .a-right {
     width: 100px;
 }

 .a-logo img {
  position: relative;
  top: 10px;
  width: 30px;
 }

.a-center, .feena-img {
  display: none;
}

#adol_cutout img {
    margin-top: 0px;
}
   .timeline, .timeline-break, .timeline-fadeout {
  max-width: 100vw;
}

  /* Place the timelime to the left */
  .timeline::after, .timeline-break::after, .timeline-fadeout::after {
  left: 31px;
  }
  /* Full-width containers */
  .container {
  width: 100%;
  padding-left: 70px;
  padding-right: 25px;
  font-size: smaller;
  }
  
  /* Make sure that all arrows are pointing leftwards */
  .container::before {
  left: 60px;
  border: medium solid #040b2b;
  border-width: 10px 10px 10px 0;
  border-color: transparent #040b2b transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .left::after, .right::after {
  left: 15px;
  }
  
  /* Make all right containers behave like the left ones */
  .right {
  left: 0%;
  }

#sub-head {
  max-width: 85%;
  margin-top: 20px;
  margin-bottom: 10px;
}

#footer {
  max-width: 90%;
}

.collapsible, .banner, .home-banner {
  font-size: .7em;
  max-width: 100%;
}

.collapsible-content {
  max-width: 100%;
}



.js-button {
  margin: 5px;
}

.head-img {
  width: 80%;
}

h1 {
  font-size: 1.3em;
}

h2, h3 {
  font-size: 1em;
} 

.mobile-only {
    display: inline;
}

.no-mobile {
  display: none;  
}

#welcome, #characters, #general {
    flex-wrap: wrap;
    max-width: 95%;
}


#characters table img {
    max-width: 100px;
}

#adol_cutout {
    width: 100%;
    text-align: center;
    margin: auto;
    height: 100%;
}

#adol_cutout img {
  width: 80%;
}

#welcome-text {
 max-width: 100%;
}

#welcome-text p {
 font-size: 1em;
}

#characters div p {
    width: 90%;
    max-width: 90%;
}

#characters img {
    max-width: 75%;
    width: 75%;
}

/* ---MOBILE--- GAMES PAGES-SPECIFIC FORMATTING */

#card-binder {
    width: 95%;
    gap: 20px;
}

#game-card {
  height: 120px;
  width: 97px;
}

#content-head {
    width: 95%;
    height: 100px;
}

#content-main {
    width: 95%;
    padding: 10px;
    font-size: 1em;
}

#hltb {
 max-width: 66%;
 padding: 10px;
}
}
