* {
  box-sizing: border-box;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif, Helvetica;
}


body {
  margin: 0;
}

.header {
  padding: 80px;
  text-align: center;
  background-image: url(../img/BG3_background_2.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fbcea0;
}

.header h1 {
  font-size: 40px;
  color: #fbcea0;
}

/* Style the top navigation bar */
.navbar {
  overflow: auto;
  background-color: black;
  display: flex;
  justify-content: space-around;
  width: 100%;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.navbar a {
  color: #fbcea0;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  width: 75%;
}

/* Style the navigation bar links */
@media screen and (min-width: 600px) {
  .navbar a {
    display: block;
    color: #fbcea0;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    width: 75%;
  }

  .navbar {
    overflow: auto;
    background-color: black;
    ;
    display: flex;
    justify-content: space-around;
    width: 100%;
    flex-direction: row;
  }
}



/* Change color on hover */
.navbar a:hover {
  background-color: #ddd;
  color: black;
}

/* Column container */
.row {
  display: -ms-flexbox;
  /*IE10 */
  display: flex;
  -ms-flex-wrap: wrap;
  /*IE10*/
  flex-wrap: wrap;
}

.char_name {
  text-align: center;
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.side {
  -ms-flex: 35%;
  /*IE10*/
  flex: 35%;
  background-color: #333;
  color: #fbcea0;
  padding: 20px;
  display: grid;
  grid-template-columns: 2fr;
  align-content: space-around;
  justify-content: center;
  align-items: center;
  justify-items: center;

}

/* Main column */
.main {
  -ms-flex: 65%;
  /*IE10*/
  flex: 65%;
  background-color: #fbcea0;
  color: #333;
  padding: 20px;
  display: grid;
  grid-template-columns: 2fr;
  justify-items: center;
  align-content: space-around;
  justify-content: center;
  align-items: center;
}

/* Footer */
footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
}

@media screen and (max-width: 700px) {
  .row {
    flex-direction: column;
  }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
/* @media screen and (max-width: 400px) {
  .navbar a {
    float: none;
    width: 100%;
  }
} */

a.active {
  text-decoration: underline;
}

img {
  max-height: 400px;
  border: 1px solid #fbcea0;
  margin: 0 auto;
}

h2 {
  font-size: 2em;
  font-weight: bold;
}

.homepage_link {
  text-decoration: underline;
  color: blue;
}

p {
  line-height: 2;
}

.gallery_container img {
  max-height: 200px;
  border: 1px solid #333;
}

.gallery_container {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr;
  padding: 10px;
  align-items: center;
  justify-items: center;
}

iframe {
  border: none;
  border-radius: 15px;
}

.skip a {
  position: absolute;
  top: -40px;
}

.skip a:focus {
  position: absolute;
  top: 20px;
  color: white;
}

:focus {
  border: 5px solid red;
  border-radius: 10px;
}

.ytp-title-channel-logo {
  display: none;
}

.main>img {
  border-radius: 100px;
}

.classBttn {
  background-color: #333;
  color: #fbcea0;
  border: 1px solid #fbcea0;
  border-radius: 10px;
  padding: 10px;
  margin: 10px;

}

.charStats {
  display: none;
  font-size: 0.8em;
  text-align: center;
}

.classBttn:hover {
  background-color: #fbcea0;
  color: #333;

}

.classBttn:focus {
  text-decoration: underline;
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    /* Removes scroll animation */
  }

  .skip a {
    -webkit-transition: none;
    /* sets to default setting */
    transition: none;
    /* sets to default setting */
  }

  /*Turn off parallax*/
  header {
    background-attachment: initial;
  }
}

.charProfs {
  display: none;
  font-size: 0.8em;
  text-align: center;
}

.classProfs {
  background-color: #333;
  color: #fbcea0;
  border: 1px solid #fbcea0;
  border-radius: 10px;
  padding: 10px;
  margin: 10px;

}

.classProfs:hover {
  background-color: #fbcea0;
  color: #333;

}

.classProfs:focus {
  text-decoration: underline;
}

.charInfo {
  text-align: center;
}

