@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  background-color: #ffde66;
  min-height: 100vh;
  text-align: justify;
}

html {
  scroll-behavior: smooth;
}

/* General Styling*/
header {
  background-color: white;
  color: black;
  position: sticky;
  z-index: 1000;
  top: 0;
  width: 100%;
  text-align: center;
}

nav {
  background-color: black;
  padding: 15px;
}

nav a{
  color: #ffde66;
  text-decoration: none;
  padding: 0 30px;
}

nav a.active{color: white; background-color: transparent}
nav a:hover{color: #ff2424}
nav a.active:hover{color: white}

a{color: #be2121; text-decoration: none}
a:hover{color: #d68e00}

.main {
  padding: 0 2em 1em 2em;
  margin: 0 auto; /* centers the main content */
  background-color: white;
}

aside{
  float: left;
  width: 15%;
  display: flex;
  justify-content: center;
  align-items: center;
}

button{
  background-color: transparent;
  border: none;
}

h1{
  margin: 0;
  text-align: left;
  font-size: 35px;
}

h2{
  text-align: center;
  font-size: 25px;
  margin: 20px 0 0;
}

p, ul{
  margin: 0;
  padding: 20px 0 0;
  text-align: justify;
}

ul{
  list-style-type: "✦  ";
}

li {
  margin-left: 20px;
  padding: 0 0 10px;
  text-align: justify;
}

table{
  border: solid black 2px;
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
}

th, td{
  border: solid black 1px;
  width: 14%;
}

th{
  background-color: #f1f1f1;
}


.maincontainer, footer{
  background-color: white;
  padding: 0 50px;
  width: 70%;
  margin: auto;
  margin-top: 0;
  padding-top: 20px;
  border-left: solid black 5px;
  border-right: solid black 5px;
  color: black;
}

.headerr{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.headerr img{
  height: 100px;
  border: 2px black solid;
  border-radius: 100%;
  margin: 20px;
}

hr {
  margin: 2em 0;
}

footer {
  text-align: center;
  padding: 15px;
  border-bottom: 5px solid black;
  border-top: solid black 2px; 
}

.stamps {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 11px;
}
.stamps img{
  border: solid black 2px;
}

.textPage {
  max-width: 800px;
}

.gallery {
  padding-top: 1em;
  columns: auto 3;
  text-align: center;
  z-index: 0;
}

.gallery img {
  border: 1px solid black;
  width: 100%;
  transition: transform 0.3s ease;
}

.gallery img:hover, .icon:hover{
  filter: drop-shadow(0 0 30px #fff279);
  transform: scale(1.02) rotate(2deg);
}

.icon2:hover{
  filter: drop-shadow(0 0 30px #fff279);
  transform: scale(1.02) rotate(-2deg);
}

.pixelart {
    image-rendering: pixelated;
}
.pixelart:hover {
  image-rendering: pixelated;
}

.otherprojects{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 10px 50px;
}

.otherprojects .text{
  flex-shrink: 50%;
}

.icon, .icon2{
  max-width: 300px;
  height: fit-content;
  flex-shrink: 50%;
}

.filterDiv {
    display: block;
    margin-bottom: 5px;
}

.hide {
    display: none;
}

#myBtnContainer, #myBtnContainerThemes, .btncontainer{
  width: 100%;
  padding: 5px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn {
  border: none;
  outline: solid 2px;
  padding: 12px 16px;
  background-color: #f1f1f1;
  color: black;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background-color: #ffde66;
  color: black;
}

.btn.active {
  background-color: #be2121;
  color: white;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-fade {
  -webkit-animation-name: animatefade;
  -webkit-animation-duration: 1s;
  animation-name: animatefade;
  animation-duration: 1s
}

@-webkit-keyframes animatefade {
  from { opacity:0 } 
  to { opacity:1 }
}

@keyframes aimatefade { 
  from{ opacity:0 } 
  to{ opacity:1 }
}

#myContent {
  display: none;
  text-align: center;
}

@media only screen and (max-width: 800px) {
  .maincontainer, footer {
    width: 100%;
  }
  .gallery {
    columns: auto 2;
  }
}

@media only screen and (max-width: 500px) {
  .gallery {
    columns: auto 1;
  }
}
