* {
  font-size: 100%;
  color: black;
  box-sizing: border-box;
}

body {
  z-index: -2;
  margin: 0;
  padding: 0;
  background-color: rgba(0, 0, 0, 0);
}

.mainiframe {
  z-index: 0;
  width: 100%;
  height: 99vh;
  border: none;
  margin: 0;
  padding: 0;
  background-color: rgba(0, 0, 0, 0);
}

.navbar-landscape {
  display: flex;
  top: 0;
  left: 0;
  right: 0;
  gap: 30px;
  margin: 60px 60px;
  font-size: 120%;
}

.navbar-landscape a,
.navbar-landscape .dropdown,
.navbar-portrait a,
.navbar-portrait .dropdown {
  flex: 1;
  display: block;
  border: none;
  background-color: white;
  border-radius: 15px;
  padding: 15px;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 0 10px black;
  width: 100%;
  transition: 0.3s;
}

.navbar-landscape a:hover,
.navbar-landscape .dropdown:hover,
.navbar-portrait a:hover,
.navbar-portrait .dropdown:hover {
  box-shadow: 0 0 20px black;
  background-color: rgb(220, 255, 220);
  justify-content: center;
}

.dropdown {
  position: relative;
}

.dropcontent {
  display: none;
  position: absolute;
  width: 100%;
}

.dropcontent a {
  display: block;
  margin-top: 20px;
  text-align: center;
}

.dropdown:hover {
  display: flex;
}

.dropdown:hover .dropcontent {
  flex: 1;
  display: block;
  top: 100%;
  left: 0;
}

.navbar-portrait {
  display: none;
}

.content {
  z-index: 1;
  margin: 100px auto;
  width: 100%;
}

.content h1 {
  border: none;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px black;
  text-shadow: 0 0 5px white;
  border-radius: 15px;
  padding: 15px;
  margin: 40px auto;
  width: 40%;
  text-align: center;
  font-size: 180%;
  transition: 0.3s;
  animation: elementbackground 5s linear infinite;
}

.content h1:hover {
  box-shadow: 0 0 20px black;
}

.content h3 {
  border: none;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px black;
  text-shadow: 0 0 5px white;
  border-radius: 15px;
  padding: 10px;
  margin: 40px auto;
  width: 70%;
  text-align: center;
  font-size: 140%;
  transition: 0.3s;
  animation: elementbackground 5s linear infinite;
}

.content h3:hover {
  box-shadow: 0 0 20px black;
}

.content p {
  border: none;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px black;
  text-shadow: 0 0 5px white;
  border-radius: 15px;
  padding: 15px;
  margin: 40px auto;
  width: 70%;
  font-size: 115%;
  transition: 0.3s;
  line-height: 1.6;
  animation: elementbackground 5s linear infinite;
}

.content p:hover {
  box-shadow: 0 0 20px black;
}

.content img {
  display: block;
  width: 70%;
  height: auto;
  margin: 40px auto;
  border-radius: 15px;
  border: none;
  box-shadow: 0 0 10px black;
  transition: 0.3s;
}

.content img:hover {
  box-shadow: 0 0 20px black;
}

.wrapper {
  width: 70%;
  margin: 40px auto;
  border-radius: 15px;
  overflow: hidden;
  border: none;
  box-shadow: 0 0 10px black;
  background-color: rgba(255, 255, 255, 0.8);
  animation: elementbackground 5s linear infinite;
}

.wrapper:hover {
  box-shadow: 0 0 20px black;
}

.wrapper h4 {
  text-align: center;
  font-size: 140%;
  text-shadow: 0 0 5px white;
  margin: 15px;
}

.gallery {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 15px 15px 15px;
  scroll-behavior: smooth;
}

.gallery-item {
  flex: 0 0 auto;
  width: 50vmin;
  padding: 0;
  margin: 0;
  border-radius: 15px;
  border: none;
  box-shadow: 0 0 10px black;
  overflow: hidden;
  margin: 20px;
  transition: 0.3s;
}

.gallery-item:hover {
  box-shadow: 0 0 20px black;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  transition: 0.3s;
}

form {
  border: none;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px black;
  border-radius: 15px;
  padding: 15px;
  margin: 40px auto;
  width: 70%;
  font-size: 115%;
  transition: 0.3s;
  animation: elementbackground 5s linear infinite;
}

form:hover {
  box-shadow: 0 0 20px black;
}

form label {
  font-size: 115%;
  padding: 15px;
  text-shadow: 0 0 5px white;
}

form input {
  border: none;
  border-radius: 15px;
  box-shadow: 0 0 10px black;
  text-shadow: 0 0 5px white;
  width: 80%;
  margin: 20px;
  padding: 15px;
  transition: 0.3s;
}

form input:hover {
  box-shadow: 0 0 20px black;
}

form input:focus {
  border: none;
  outline: none;
  box-shadow: 0 0 20px black;
  background-color: white;
  animation: elementfocus 2s linear infinite;
}

form textarea {
  border: none;
  border-radius: 15px;
  box-shadow: 0 0 10px black;
  text-shadow: 0 0 5px white;
  width: 80%;
  margin: 20px;
  padding: 15px;
  height: 300px;
  transition: 0.3s;
}

form textarea:hover {
  box-shadow: 0 0 20px black;
}

form textarea:focus {
  border: none;
  outline: none;
  box-shadow: 0 0 20px black;
  background-color: white;
  animation: elementfocus 2s linear infinite;
}

form button {
  display: block;
  border: none;
  box-shadow: 0 0 10px black;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 1);
  padding: 15px;
  margin: 20px;
  transition: 0.3s;
}

form button:hover {
  box-shadow: 0 0 20px black;
  background-color: rgba(220, 255, 220, 1);
}

form button:active {
  transform: scale(0.90);
}

.footer {
  width: 80%;
  margin: 30px auto;
}

.footer img {
  display: block;
  box-shadow: none;
  width: 20%;
  margin: 0 auto;
}

.footer img:hover {
  box-shadow: none;
}

.footer p {
  display: block;
  border: none;
  box-shadow: 0 0 10px black;
  border-radius: 15px;
  text-shadow: 0 0 5px white;
  width: 100%;
  padding: 15px;
  margin: 20px auto;
  transition: 0.3s;
  animation: elementbackground 5s linear infinite;
}

.footer p:hover {
  box-shadow: 0 0 20px black;
}

@media only screen and (orientation: portrait) {

  .navbar-portrait {
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
    right: 0;
    margin: 30px;
  }

  .navbar-portrait a {
    flex: 1;
    display: block;
    font-size: 100%;
    margin-top: 10px;
  }

  .dropdown {
    position: relative;
  }

  .dropcontent {
    display: none;
    position: absolute;
    width: 100%;
  }

  .dropdown:hover .dropcontent {
    display: block;
    width: 100%;
  }

  .navbar-landscape {
    display: none;
  }

  .content h1 {
    width: 70%;
    font-size: 140%;
  }

  .content h3 {
    width: 90%;
    font-size: 120%;
  }

  .content p {
    width: 90%;
    font-size: 100%;
  }

  .content img {
    width: 90%;
  }

  .wrapper {
    width: 90%;
  }

  .gallery-item {
    width: 60vmin;
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
  }

  form {
    width: 90%;
  }

  form input {
    width: 90%;
  }

  form textarea {
    width: 90%;
  }

  .footer {
    width: 90%;
    margin: 30px auto;
  }

  .footer img {
    box-shadow: none;
    width: 20%;
    margin: 20px auto;
  }

  .footer img:hover {
    box-shadow: none;
  }

  .footer p {
    width: 100%;
    margin: 20px auto;
  }
}

.background {
  z-index: -1;
  background-color: black;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  animation: backgroundanimation 15s linear infinite;
}

@keyframes backgroundanimation {
  0% {
    background-color: rgb(150, 50, 50);
  }

  33.3% {
    background-color: rgb(50, 150, 50);
  }

  66.7% {
    background-color: rgb(50, 50, 150);
  }

  100% {
    background-color: rgb(150, 50, 50);
  }
}

@keyframes elementbackground {
  0% {
    background-color: rgba(255, 255, 255, 0.7);
  }

  50% {
    background-color: rgba(255, 255, 255, 0.95);
  }

  100% {
    background-color: rgba(255, 255, 255, 0.7);
  }
}

@keyframes elementfocus {
  0% {
    box-shadow: 0 0 2px black;
  }

  50% {
    box-shadow: 0 0 15px black;
  }

  100% {
    box-shadow: 0 0 2px black;
  }
}