@import url( 'https://fonts.googleapis.com/css2?family=Rubik&display=swap');
@import url( 'https://fonts.googleapis.com/css2?family=Bellota&display=swap');

* {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ol,
ul {
  list-style: none;
}

:root {
  --main-bg-color: #AADDFF;
  --main-text-color: #36454C;
}

header, h1, h2, p { text-align: center; }

body {
  background-color: var(--main-bg-color);
  font-family: 'Rubik', sans-serif;
  color: #36454C;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5vh auto 0 auto;
}

main {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact { display: flex; align-items: center; }
.contact img { height: 1.2rem; vertical-align: middle;}

.contact a, .draknek a {
  /*background-color: white;
  border: 2px solid #77AAFF;*/
  padding: .5rem;
  border-radius: .5rem;
  margin: .5rem;
}
.contact a:hover, .draknek a:hover {
  /*border: 2px solid black;*/
}

.contact a {
  width: 12rem;
  text-align: center;
}

.draknek a { display: flex; align-items: center; margin: auto; padding: 1rem; }
.draknek a > span {margin: 0 0 0 1rem;}
.draknek a > span > span { display: block; }

a {
  background-color: #36454C;
  color: white;
}

a:hover {
  filter: brightness(90%);
}

.archive a { font-size: .9rem; }

.second-section, .archive {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.smaller-games-title {
  min-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #36454C;
}

h1, h2, h3 {
  color: #36454C;
}
h2 {
  margin-bottom: 0;
}

.smaller-games-title h2 {
  margin-bottom: .8rem;
}

.smaller-games-title p {
  margin-top: 0;
}

.smaller-games-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.game-thumb {
  height: 60px;
  border-radius: 10px;
  margin-right: 1rem;
}

.smaller-game {
  background: #36454C;
  color: white;
  flex-basis: 45%;
  min-width: 250px;
  margin: .5rem;
  display: flex;
  align-items: center;
  padding: .8rem;
  border-radius: 14px;
  font-size: 18px;
}

.smaller-game:hover {
  filter: brightness(90%);
}

.all {
  flex-basis: auto;
  justify-content: center;
  text-align: center;
}

.other-games a {
  margin: .5rem 0;
}

.other-games a:hover {
  font-style: italic;
}

/* media queries for responsive design */

header,main {width: auto;}
.first-section,.second-section { width: 95vw; }

@media (min-width: 1200px) {
  .first-section,.second-section { width: auto; }
  header,
  main {
    width: 75vw;
  }
}
@media (min-width: 1600px) {
  header,
  main {
    width: 70vw;
  }
}
@media (min-width: 1820px) {
  header,
  main {
    width: 60vw;
  }
}

@media (max-width: 800px) {
  header {
    flex-direction: column;
    align-items: center;
  }
  
  .contact {
    flex-direction: column;
  }
  
  .draknek a {
    flex-direction: column;
    text-align: center;
    font-size: .8rem;
  }
  
  header,main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}


@media (max-width: 700px) {
  .smaller-game {
    flex-basis: 100%;
  }

  .bottom {
    flex-direction: column;
    align-items: center;
  }

  .archive {
    margin-top: 1rem;
  }

}
