.bigHeader {
  font-size: 40px;
}

.centerBox {
  opacity: 0;
  animation: fadeIn 0.3s ease-in-out forwards;
  animation-delay: 0.3s;
  transition: all 0.3s ease-in-out;
  margin: auto;
  padding-top: 5%;
  margin: auto;
  font-size: 20px;
  text-align: center;
}

body:not(.projects-body) .centerBox {
  padding-top: 5%;
}

body {
  font-family: 'Rubik', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #282828;
  color: #fff;
  height: 100vh;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


p {
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

img {
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}


#myHeader h1,
#myHeader nav {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#myHeader.fade-in h1,
#myHeader.fade-in nav {
  opacity: 1;
}


header {
  opacity: 0;
  animation: fadeIn 0.3s ease-in-out forwards;
  animation-delay: 0.3s;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  padding: 50px;
}

.profile-picture img {
  border-radius: 50%;
}

.header-content {
  margin-left: 20px;
}

h1 {
  display: flex;
  align-items: center;
}


main {
  padding-left: 55px;
}

section {
  margin-bottom: 30px;
}

h2 {
  font-family: 'Rubik', Arial, sans-serif;
  color: #333;
}

a {
  text-decoration: none;
  color: #3498db;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
  color: #2980b9;
}

.button {
  display: inline-block;
  padding: 5px 15px;
  margin-top: 2px;
  border: 2px solid #fff;
  border-radius: 10px;
  background-color: #282828;
  color: #fff;
  font-family: 'Rubik', Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  animation: fadeIn 0.3s ease-in-out forwards;
  animation-delay: 0.3s;
  transition: all 0.3s ease-in-out;
}

.button:hover {
  background-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.project-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 10px;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

.project {
  display: flex;
  align-items: center;
  border: 2px solid #fff;
  border-radius: 10px;
  padding: 20px;
  max-width: 800px;
  width: 100%;
  transition: all 0.3s ease-in-out;
}

.project:hover {
  transform: translateY(-5px);
}

.project img {
  width: 200px;
  height: 200px;
  margin-right: 20px;
  border-radius: 10px;
}

.project-content {
  flex: 1;
}

.project-content h3 {
  margin-top: 0;
}

.project-link {
  color: inherit;
  text-decoration: none;
}

.project-link:hover {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 768px) {
  .project {
    flex-direction: column;
    text-align: center;
  }

  .project img {
    margin-right: 0;
    margin-bottom: 20px;
  }
}
