* {
  margin: 0;
  padding: 0;
}

html, body {
  font-family: "Open Sans", sans-serif;
  color: #262830;
  line-height: 175%;
  font-size: 0.938rem;
  background-color: #d6d5db;
}

a {
  color: #25242b;
  text-decoration: none;
  text-transform: none;
}

a:hover {
  text-shadow: 1px 0 0 #25242B;
  text-transform: none;
}

a.other {
  font-weight: bold;
}

a.other:hover {
  text-decoration: underline;
  text-shadow: none;
}

a.captain {
  font-weight: bold;
  color: #ffffff;
}

a.captain:hover {
  text-decoration: underline;
  text-shadow: none;
  color: #ffffff;
}


a.nav {
  color: #ffffff;
  text-decoration: none;
  text-transform: none;
}

a.nav:hover {
  text-shadow: 1px 00 #ffffff;

}

a.discord, a.discord:visited {
    text-align: center;
    border: 5px solid #25242B;
    background-color: #25242b;
    color: #ffffff;
    font-weight: bold;
  }

 a.discord:focus, a.discord:hover, a.discord:active {
  text-align: center;
  border: 5px solid #d6d5db;
  background-color: #d6d5db;
  color: #25242B;
  text-decoration: none;
}

h1 {
  font-family: Georgia;
  font-size: 2.5rem;
  line-height: 150%;
  font-weight: bold;
}

h2 {
  font-family: Georgia;
  font-size: 1.5rem;
  font-weight: bold;
}

h3, h4 {
  font-size: 1rem;
  text-align: center;
  font-weight: bold;
}

header {
  background-image: url("/images/headerhogwarts.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 380px;
}

.header-text {
  text-align: center;
  position: absolute;
  margin-top: 10rem;
  margin-left: 50%;
  transform: translate(-50%, -50%);
}

@media only screen and (max-width: 1440px) {
  header {
  background-image: url("/images/headerhogwarts1440.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 380px;
}
.header-text {
  text-align: center;
  position: absolute;
  margin-top: 10rem;
  margin-left: 60%;
  transform: translate(-50%, -50%);
  width: 50%;
}
}

@media only screen and (max-width: 1024px) {
  header {
  background-image: url("/images/headerhogwarts1024.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 380px;
}
.header-text {
  text-align: center;
  position: absolute;
  margin-top: 10rem;
  margin-left: 70%;
  transform: translate(-50%, -50%);
  width: 50%;
}
}
@media only screen and (max-width: 768px){
  header {
  background-image: url("/images/headerhogwarts768.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 380px;
}
.header-text {
  text-align: center;
  position: absolute;
  margin-top: 10rem;
  margin-left: 70%;
  transform: translate(-50%, -50%);
  width: 50%;
}
}

nav {
  background-color: #25242b;
  color: #ffffff;
  position: relative;
  width: 100%;
}

nav ul {
  display: flex;
  justify-content: space-between;
  padding: .75rem 0;
}

.links {
  max-width: 70%;
  min-width: 70%;
  margin: auto;
}

.whoswho {
  float: left;
  width: 11%;
  background-color: #ffffff;
  margin: 1% 1%;
}

.whoswho h3 {
  padding: 5% 5%;
}

.whoswho h4 {
  padding: 1% 1%;
  color: #ffffff;
  background-color: #25242b;
}

.positions, .buttons {
  display: block;
  background-color: #ffffff;
  padding: 5% 5%;
}

.border {
  border-bottom: 3px solid #d6d5db;
  padding: 2% 2%;
}

main {
  width: 72%;
  min-height: 70vh;
  background-color: #ffffff;
  margin: 1% 1% 1% 13%;
  padding: 0.5% 1% 5%;
}

.advertising {
  float: right;
  width: 11%;
  background-color: #ffffff;
  margin: 1% 1%;
}

.advertising h3 {
  text-align: center;
  font-weight: bold;
  padding: 5% 5%;
}

.advertising h4 {
  text-align: center;
  font-weight: bold;
  padding: 1% 1%;
  color: #ffffff;
  background-color: #25242b;
}


table.students {
  border: 1px solid #000000;
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  table-layout: fixed;
}

table.students td {
  border: 1px solid #000000;
  padding: 5px 5px;
  width: 5%;
}

table.students thead th {
  font-weight: bold;
  text-align: center;
  border: 1px solid #000000;
}

table.staff {
  border: 1px solid #000000;
  width: 65%;
  border-collapse: collapse;
  text-align: center;
  table-layout: fixed;
}

table.staff td {
  border: 1px solid #000000;
  padding: 5px 5px;
  width: 5%;
}

.blue {
  background-color: #25242b;
  color: #ffffff;
  font-weight: bold;
  border: 1px solid #000000;
}

.grey {
  background-color: #d6d5db;
}

.black {
     background-color: #000000;
     color: #ffffff;
     font-weight: bold;
     border: 1px solid #000000;
}

.gryffindorheader {
  background-color: #c00000;
  color: #ffffff;
  font-weight: bold;
}

.gryffindor {
  background-color: #ff4141;
}

.hufflepuffheader {
  background-color: #e6ad00;
  color: #ffffff;
  font-weight: bold;
}

.hufflepuff {
  background-color: #ffde7e;
}

.ravenclawheader {
  background-color: #305496;
  color: #ffffff;
  font-weight: bold;
}

.ravenclaw {
  background-color: #6b8ecf;
}

.slytherinheader {
  background-color: #3d5e26;
  color: #ffffff;
  font-weight: bold;
}

.slytherin {
  background-color: #588837;
}

.column {
  float: left;
  width: 33.33%;
  }

  .row:after {
  content: "";
  display: table;
  clear: both;
  }

footer {
  position: absolute;
  width: 100%;
  height: 2em;
  background-color: #25242b;
  color: #ffffff;
  clear: both;
  text-align: justify;
  text-indent: 1em;
}
