@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

body {
  /*colors*/
  background-color: #c4ad9e;
  color: #4f495a;
  
  /*text*/
  font-family: "Special Elite";
  
  /*background*/
  background-image: url('/images/decoration/antarctica_map.jpg');
  background-attachment: fixed;
  background-repeat: repeat;
}

::-moz-selection, ::selection { 
  color: #ebe5f5;
  background: #8590a8;
}

.container {
  max-width: 1000px;
  margin: 4rem auto;
  display: grid;
  grid-gap: 0.70rem;
  grid-template-columns: minmax(0, 1fr);
}

header, main {
  background-color: #d3c0aa;
}

header {
  grid-row: 1 / 2;
  padding: 0 1rem;
}

/* Navbar */

nav {
  grid-row: 2 / 3;
  height: max-content;
  padding: 0 1rem;
  background-color: #7f899e;
  position: sticky;
  top: 0;
  z-index: 1;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

nav ul li {
  float: left;
}

nav ul li a {
  display: block;
  text-align: center;
  padding: 1rem;
  text-decoration: none;
  color: #ebe5f5;
  transition: 0.5s ease;
}

nav ul li a:hover, .dropdown:hover .dropdownButton, .navButton button:hover {
  background-color: #707294;
  color: #FFFFFF;
}

li.dropdown {
  position: relative;
}

.dropdownButton {
  background-color: #7f899e;
  color: #ebe5f5;
  padding: 1rem;
  font-family: "Special Elite";
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: 0.5s ease;
}

.dropdownContent {
  display: none;
  position: absolute;
  background-color: #ebe5f5;
  min-width: 8rem;
}

.dropdownContent a {
  color: #4f495a;
  padding: 1rem;
  text-decoration: none;
  display: block;
  transition: 0.5s ease;
}

.dropdownContent a:hover {
  background-color: #d8cac8;
  color: #4f495a;
}

.dropdown:hover .dropdownContent {
  display: block;
}

/* Main */
main {
  grid-row: 3 / 4;
  height: max-content;
  padding: 0 2rem 2rem;
}

main a:link { 
  color: #5b60a3;
  text-decoration: underline dotted;
}

main a:visited {
  color: #6f5294
}

.profileContainer {
  display: flex;
  flex-flow: row-reverse wrap;
  justify-content: space-around;
}

.profileImage img {
  max-width: 16rem;
  margin:0.5rem auto;
}

.profileStats {
  max-width: 40rem
}

.scrollableBox {
  overflow:auto;
  background-color:#dfcfb6;
  padding:0 1rem;
}

.imageContainer {
  display: flex;
  flex-flow: row wrap;
  align-content: flex-start;
  justify-content:space-evenly;
}

.imageUnit {
  margin: 1rem;
  width: 15rem;
}

.imageUnit p {
  text-align: center;
  margin: 0.25rem;
  font-size: 1rem
}

.imageUnit img {
  width: 15rem;
  align-content: center;
  filter: sepia(75%);
  transition: 0.75s ease;
}

.imageUnit img:hover {
  filter: sepia(0%)
}

hr {
  height: 0.1rem;
  background-color: #4f495a;
  border: none;
  margin-top:1rem;
}

.navButton button {
  display: inline;
  background-color: #7f899e;
  border: none;
  font-family: "Special Elite";
  font-size: 1rem;
  transition: 0.5s ease;
  margin: 1rem 0 0;
}

.navButton button a {
  display:block;
  color:#ebe5f5;
  text-decoration: none;
  text-align: center;
  padding: 0.75rem;
}

/* Footer */
footer {
  color: #4f495a;
  grid-row: 4 / 5;
  margin: 1rem auto;
}