* {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  font-weight: bold;
}
html {
  min-height: 100%;
}

@font-face {
  font-family: "Mokoto Glitsch 2";
  src: url("../fonts/mokoto-mokoto-regular-glitch-mark-2-400.ttf")
    format("truetype");
}

@font-face {
  font-family: "Lato-Light";
  src: url("../fonts/Lato-Light.ttf") format("truetype");
}

body {
  background: rgb(0, 10, 29);
  background: linear-gradient(
    0deg,
    rgba(0, 10, 29, 1) 0%,
    rgba(0, 10, 29, 1) 70%,
    rgba(0, 22, 65, 1) 100%
  );
  background-size: cover;
  user-select: none;
}

header {
  width: 100%;
  height: 70px;
  color: white;
  background-color: #010f27;
  position: fixed;
  z-index: 1000;
}

.logo {
  float: left;
  font-size: 25px;
  margin-left: 30px;
  height: 70px;
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: "Mokoto Glitsch 2", Arial, sans-serif;
  line-height: normal;
  margin-top: 7px;
  text-decoration: none;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.menu {
  float: left;
  margin-left: 40px;
  text-decoration: none;
  height: 70px;
  display: flex;
  align-items: center;
}

.menu-button {
  font-size: 20px;
  margin-left: 15px;
  color: white;
  background-color: rgb(0, 22, 68);
  width: 150px;
  height: 40px;
  border-radius: 5px;
  border: None;
  transition: background-color 0.3s;
}

.menu-button:hover {
  cursor: pointer;
  background-color: rgb(1, 30, 92);
  transition: background-color 0.3s;
}

.titel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 70vh;
}

.titel,
.titel-subtitel {
  width: 150vh;
  text-align: center;
  padding: 10px;
  color: white;
  animation: fade-in-down 2s;
}

.bottom-header {
  justify-content: space-between;
  display: flex;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #010f27;
  padding: 10px 0;
  text-align: center;
}

.contact-container {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: -15vh;
  animation: fade-in 2s;
}

.contact-item {
  color: white;
}

.contact-item.discord .contact-row {
  justify-content: flex-end;
}

.contact-item.email .contact-row {
  justify-content: flex-start;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-width: 600px;
}

.logo-with-label {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-container {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-logo {
  border-radius: 50%;
  max-width: 100%;
  max-height: 100%;
}

.discord-handle {
  font-size: 25px;
  user-select: all;
  margin-left: 20px;
  text-decoration: underline;
}

.email-address {
  font-size: 25px;
  user-select: all;
  margin-right: 20px;
  text-decoration: underline;
}

.contact-label {
  margin-top: 5px;
  font-size: 20px;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-down {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 20px;
    margin-left: 10px;
  }

   .menu {
    justify-content: center;
    margin: 0 auto;
  }

  .menu-button {
    width: 100px;
    height: 35px;
    font-size: 16px;
    margin: 5px;
  }

  .titel,
  .titel-subtitel {
    font-size: 18px;
    padding: 10px 15px;
  }

  .about-me-section h2,
  .dev-section h2 {
    font-size: 28px;
  }

  .about-me-section p,
  .dev-section p {
    font-size: 16px;
  }

  .dev-subsection h3 {
    font-size: 20px;
  }

  .bottom-header {
    flex-direction: column;
    font-size: 14px;
  }
}
