body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: rgba(236, 245, 255, 1);
}

/* @font-face {
  font-family: "BebasNeueRegular";
  src: url("../styles/fonts/bebasneue-regular.otf");
}

@font-face {
  font-family: "Montserrat";
  src: url("../styles/fonts/montserrat-regular.ttf");
}

@font-face {
  font-family: "LeagueGothicRegular";
  src: url("../styles/fonts/leaguegothic-regular.otf");
} */

a {
  text-decoration: none;
  color: inherit;
}

header {
  text-align: center;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: sticky;
  height: 50px;
  top: 0px;
  margin: 0px;
  padding: 0px;
  color: rgba(0, 41, 110, 1);
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

h1 {
  margin: 0px;
  padding: 5px;
}

#main {
  max-width: 300px;
  height: auto;
  text-align: center;
  padding: 10px;
  border: 2px solid rgba(0, 41, 110, 1);
  background-color: white;
  box-shadow: 5px 5px rgba(81, 123, 195, .5);
}

#main-img {
  width: 100%;
  text-align: center;
  margin: 10px 0px;
  margin-top: 30px;
}

#main-info {
  text-align: center;
  padding: 10px;
}

#main-info p {
  font-size: 120%;
  font-weight: bold;
}

#resources {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

#resources a {
  flex: 1;
}

#resources a img {
  max-width: 50px;
  height: auto;
  padding: 10px;
}

#resources a:hover img {
  border: 2px white solid;
  box-shadow: 2px 2px rgba(81, 123, 195, .5);
}

.work {
  display: flex;
  flex-direction: column;
  text-align: center;
}

h2 {
  text-align: center;
  color: rgba(0, 41, 110, 1);
  background-color: rgba(255, 255, 255, 0.7);
  padding: 10px;
  margin-bottom: 0px;
}

.samples {
  display: flex;
  flex-direction: row;
}

.sample {
  flex: 1 1 0;
  margin-bottom: 10px;
  position: relative;
  padding-top: 10px;
}

.samples img {
  max-width: 300px;
  height: auto;
  margin: 0px;
  padding: 20px;
}

#last-sample {
  border-left: 1px solid rgba(0, 41, 110, 0.3);
}

.sample .overlay {
  position: absolute;
  opacity: 0;
  max-width: 300px;
  max-height: 130px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: 2px solid rgba(0, 41, 110, 1);
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 5px 5px rgba(81, 123, 195, .5);
  transition: 0.2s;
  z-index: 0;
  text-align: center;
  padding-top: 110px;
  font-size: 120%;
  color: rgba(0, 41, 110, 1);
  font-weight: bold;
}

.sample a {
  padding: 0px;
  max-width: 200px;
  height: auto;
  margin: 10px;
}

.sample a:hover .overlay {
  opacity: 1;
}

@media screen and (max-width: 600px) {
  .samples {
    display: flex;
    flex-direction: column;
  }
  #last-sample {
    border-left: none;
    border-top: 1px solid rgba(0, 41, 110, 0.3);
    margin-bottom: 10px;
  }
}
