/* Copyright © Anitism (Francis Brandon van Balkom). All rights reserved. */

@import url('https://fonts.googleapis.com/css?family=Roboto');

* {
  box-sizing: border-box;
  text-size-adjust: 100%;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1em, 17px + 0.24vw, 1.125em);
  margin: 0;
}

/* List */
li {
  text-align: left;
  list-style-type: "\2605\00a0";
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
  border-radius: 5px;
}

/* Column container */
.container {  
  display: flex;
  flex-wrap: wrap;
  min-height: 100dvh;
}

/* Keyframes logo */
@keyframes logo {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0px) scale(1);
  }
}

/*Anitism header effect */
#anitism {
  animation: logo 0.5s 0.4s backwards;
}

/* Header */
header {
  background-color: #0038A8;
  flex: 100%;
  width: auto;
  height: auto;
  margin: 0 auto;
}

/* Top navigation bar */
nav {
  background-color: #333;
  color: #FFFFFF;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
  margin-bottom: 0px;
  background: linear-gradient(0deg, #333, #222 80%) no-repeat;
  box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
@media screen and (min-width: 825px) {
    border-bottom: 4px solid #FCD116;
  }
}

/* Navigation bar links */
nav a {
  color: #FFFFFF;
  padding: 14px 20px;
  text-align: center;
}

/* Navigation bar active links and list markers */
nav .active, ::marker {
  color: #FCD116;
}

/* Change color on hover */
@media screen and (min-width: 825px) {
  nav a:hover {
    color: #FCD116;
  }
}

/* Main column */
main {
  flex: 70%;
  background-color: white;
  padding: 20px;
  margin-bottom: 13%;
}

/* Main column titles, links and hover */
main h1, main h2, main a, main a:hover {
  color: #CE1126;
}

/* Main column h4 */
main h4 {
  text-align: center;
}

/* Sidebar/left column */
aside {
  background-color: #F1F1F1;
  padding: 20px;
  flex: 30%;
  text-align: center;
}

/* Side column titles, links and hover */
aside h1, aside h2, aside a, aside a:hover {
  color: #0038A8;
}

/* Footer */
footer {
  position: fixed;
  width: 100%;
  left: 0px;
  right: 0px;
  bottom: 0px;
  text-align: center;
  background-color: #333;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: linear-gradient(0deg, #222, #333 80%) no-repeat;
}

/* Footer link */
footer a, footer a:hover {
  color: #FFFFFF;
}

/* Responsive layout - when the screen is less than 825 pixels wide, make the two columns stack on top of each other instead of next to each other (example was 700px) */
@media screen and (max-width: 825px) {
  .container, nav {   
    flex-direction: column;
  }
}
