* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  user-select: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  background-color: #1a2734;
  color: #F9F9F9;
}

nav {
  background-color: #30343F;
  color: #555;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  flex-direction: row;
}

nav a {
  float: left;
  font-size: 14px;
  color: #F9F9F9;
  text-align: center;
  padding: 15px 8px;
  text-decoration: none;
}

@media (max-width: 359px) {
  nav a {
    font-size: 0.7rem
  }
}

.dropdown {
  background-color: #04AA6D;
  padding: 0;
  border: none;
  outline: none;
  color: #F9F9F9;
}

.dropdown .dropbtn {
  cursor: pointer;
  font-size: 14px;
  padding: 19px 10px;
}

nav a:hover {
  background-color: #1A1D23;
}

.dropdown-content {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  background-color: #30343F;
  width: 95px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  padding: 12px 16px;
  font-size: 12px;
  display: block;
  width: 100%;
  text-align: center;
}

.dropdown-content a:hover {
  background-color: #1A1D23;
}

.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 720px) {
  nav a {
    width: 20%
  }

  .dropdown {
    width: 20%;
  }

  .dropdown-content {
    width: 20%;
  }

  .dropdown-content a {
    width: 100%;
  }
}

h1 {
  margin-top: 80px;
  padding: 15px 10%;
  text-align: center;
}

p {
  width: 100%;
}

main {
  background-color: #2E4053;
  padding: 30px 10%;
}

.gallery img {
  width: 100%;
  height: 170px;
}

.gallery {
  padding: 10% 10% 20% 10%;
  position: relative;
}

.gallery a {
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  color: inherit;
  display: block;
  width: 80%;
  padding: 8px;
  background-color: #04AA6D;
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease-in-out;
}

.gallery a:hover {
  opacity: 0.5;
}

section {
  padding: 30px 10%;
}

section p a {
  color: inherit;
}

footer {
  background-color: #2E4053;
  padding: 15px 11%;
  font-size: 11px;
}

@media (min-width: 720px) {
  .one {
    background-color: #2E4053;
  }

  .responsive {
    display: flex;
    flex-wrap: wrap;
    padding: 5% 9% 1% 9%;
  }

  .gallery {
    flex: 40%;
    margin: 15px;
  }

  .gallery img {
    width: 100%;
    height: 200px;
    vertical-align: middle;
  }

  .gallery a {
    bottom: 15%;
    width: 60%;
  }

  section {
    background-color: #2E4053;
  }

  footer {
    background-color: #1a2734;
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .gallery a {
    width: 280px;
    bottom: 20%;
  }
}

footer {
  background-color: #2E4053;
  color: white;
  padding: 20px 11px 80px 11px;
  text-align: center;
  font-size: 0.75rem;
  margin: 0;
  font-family: Arial, sans-serif;
}

@media (min-width: 720px) {
  footer {
    background-color: #1a2734;
  }
}

#contact {
  display: flex;
  flex-direction: row;
}

.contact-info,
.quick-links {
  flex: 1;
}

.contact-info h3,
.quick-links h3 {
  padding: 10px;
}

.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer a {
  color: rgba(250, 250, 250, 0.9);
  display: inline-block;
  padding: 5px 0;
}

footer a:hover {
  color: rgba(250, 250, 250, 1);
  animation: shake 0.5s;
  animation-iteration-count: 10;
}

@keyframes shake {
  0% {
    transform: translate(0);
  }

  25% {
    transform: translate(-2px, 0);
  }

  50% {
    transform: translate(2px, 0);
  }

  75% {
    transform: translate(-2px, 0);
  }

  100% {
    transform: translate(0);
  }
}

.contact-info p {
  margin: 0;
}

.contact-info p:first-of-type a {
  color: rgba(250, 250, 250, 0.7);
  animation: none;
}

footer>p:last-of-type {
  color: rgba(250, 250, 250, 0.7);
  margin: 40px 0 10px 0;
}

.custom-alert {
  display: none;
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  padding: 15px;
  background-color: #ffcccc;
  border: 1px solid #ff4d4d;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  font-family: Arial, sans-serif;
  z-index: 1000;
  color: #333;
  font-size: 0.9rem;
}

.custom-alert button {
  margin-top: 15px;
  padding: 8px 15px;
  border: none;
  background-color: #ff4d4d;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.custom-alert button:hover {
  background-color: #ff3333;
}

.custom-alert a {
  color: #0056b3;
  text-decoration: none;
  font-weight: bold;
}

.custom-alert a:hover {
  text-decoration: underline;
}