body {
  font-family: "Open Sans", sans-serif;
  background-color: #141414;
  padding: 0px;
  border: 0px;
  margin: 0px;
  box-sizing: border-box;
}

.topheader {
  background-color: #202020;
}

.topheader img {
  width: 100%;
}

.topheader p {
  color: #d02020;
  text-align: center;
  font-size: 72px;
  margin: 0px;
  border: 0px;
  padding: 30px 0px;
  font-weight: bold;
}

.topnav {
  background-color: #202020;
  overflow: hidden;
  margin: 0px;
  opacity: 1;
  display: flex;
  flex-direction: row;
}

.tablink {
  color: #ffffff;
  text-align: center;
  padding: 14px 0px;
  text-decoration: none;
  font-weight: bold;
  flex-grow: 1;
  border-bottom: 1px solid #242424;
}

.tablink:hover {
  background-color: #d02020;
  color: #303030;
  border-bottom: 0px;
  border-top: 0px;
  border-radius: 2px 2px 0px 0px;
}

.tablink-active {
  background-color: #141414;
  border-top: 2px ridge red;
  border-bottom: 0px;
  border-radius: 2px 2px 0px 0px;
}

.pagetab {
  display: none;
}

.bodytext p {
  color: white;
}

.card-rows {
  display: flex;
  flex-direction: column;
  margin: 1vw 0vw;
}

.card-row {
  display: flex;
  flex-direction: row;
  margin: 0.5vw;
}

.card {
  box-shadow: 1px 1px #00000000;
  transition: 0.3s;
  width: 32vw;
  display: flex;
  overflow: auto;
  color: white;
  margin: 0vw 0.5vw;
  padding: 0.5em;
  cursor: pointer;
  background-color: #202020;
  border-radius: 4px;
  flex-grow: 1;
  border-style: solid;
  border-width: 1px;
  border-color: #242424;
  flex-direction: row;
}

@media (orientation: portrait) {
  .card {
    flex-direction: column;
  }
}

/*
.card img {
  width: 10em;
  height: 10em;
  max-width: 100%;
  float: left;
  margin: auto;
  padding: 0px;
}
*/

.imgcontainer {
  max-width: 50%;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  float: left;
}

@media (orientation: portrait) {
  .imgcontainer {
    max-width: 100%;
    max-height: 50%;
  }
}

.imgcontainer img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain; /* maintain aspect ratio */
}

.card:hover {
  box-shadow: 0.3vw 0.5vw #d02020;
}

.user-desc {
  display: block;
  text-align: justify;
}

.game-row {
  display: none;
  color: white;
}

.user-desc > span {
  display: flow-root;
  padding: 0.5em;
}

.user-desc img {
  border-radius: 0.75em;
  max-width: min(30em, 50%);
  max-height: 20em;
}

.game-img-left {
  float: left;
  margin-right: 1.5em;
}

.game-img-right {
  float: right;
  margin-left: 1.5em;
}

@media (orientation: portrait) {
  .user-desc img {
    max-width: 100%;
    margin: auto;
    float: none;
    max-height: none;
  }
}

.container {
  padding: auto;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/*
.container a {
  font-size: min(2.5vw, 0.8rem); /*clamp(0.5rem, 2.5vw, 1.0rem);*
}*/

.container h3 {
  color: white;
  margin-top: 0px;
  margin-bottom: 0px;
  /*text-decoration: underline;*/
  border-bottom: 2px solid white;
}

.container hr {
  margin: 0px;
}

.container h4 {
  font-weight: bold;
  margin: 0.3em;
}

.container p {
  margin: 0px;
}

.exec-card {
  margin: 0.5em;
  padding: 0.5em;
  border-radius: 8px;
  border-style: solid;
  border-width: 1px;
  border-color: #262626;
  background-color: #202020;
  color: white;
}

.exec-card-names {
  margin: 0em 1em;
  text-align: center;
}

.exec-card h1, .exec-card h2, .exec-card h3, .exec-card h4 {
  margin: 0.2em 0px;
}

.discordlink {
  color: lightslategrey;
  text-decoration: none;
}

.exec-card p {
}

.officer-list {
  text-align: left;
  margin: 2em 0.1em 0.1em 0.1em;
  padding: 0em 0.5em;
  background-color: #262626;
  border: solid;
  border-color: #2b2b2b;
  border-radius: 4px 26px;
  border-width: 1px;
  border-top: 2px solid red;
}

#teamcont {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

#teamphoto {
  width: 100%;
  height: auto;
  display: block;
  margin: 0px;
  padding: 0px;
}

#teamtext {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  margin: 0px;
  padding: 0px 0px 0.12em 0px;
  color: white;
  /* text-shadow: 0.05em 0.05em 0.07em rgb(0, 0, 0); */
  text-shadow: 0em 0.07em 0px rgb(0, 0, 0);
  text-align: center;
  background-color: #8c8c9360;
  max-height: 100%;
  font-size: 5vw;
  width: 100%;
}

.home-section {
  margin: 0px;
  padding: 0.5em;
  color: white;
}

/*
.officer-list {
  text-align: left;
  margin: 0.1em;
  padding: 0em 0.5em;
  border: solid;
  border-color: #d02020;
  border-radius: 8px;
}*/

/*
@media only screen and (min-width: 768px) {
  .topnav {
    margin: 10px;
  }

  .topnav a {
    width: fit-content;
    padding: 14px 1vw;
    font-size: 1.6vw;
  }
}*/
