.fixed {
  z-index: 10000;
  position: fixed;
  top: 0px;
  width: 100%;
}

.container {
  padding: 8%;
  display: flex;
}

.panel {
  background-size: cover;
  background-position-x: center;
  background-repeat: no-repeat;
  height: 80vh;
  border-radius: 50px;
  color: black;
  cursor: pointer;
  flex: 0.5;
  margin: 10px;
  position: relative;
  -webkit-transition: all 700ms ease-in;
  transition: all 700ms ease-in;
}

.panel h3 {
  font-size: 24px;
  position: absolute;
  top: 20px;
  left: 20px;
  margin: 0;
  opacity: 0;
}

.panel.active {
  flex: 5;
}

.panel.active h3 {
  opacity: 1;
  transition: opacity 0.3s ease-in 0.4s;
}

.main-container {
  padding: 10%;
}
.my-footer {
  background-color: black;
  text-align: center;
  color: white;
}

.copyright {
  padding: 5%;
  font-size: 1.5rem;
}

/* Modal */

.show-modal {
  font-size: 2rem;
  font-weight: 600;
  padding: 1.75rem 3.5rem;
  margin: 5rem 2rem;
  border: none;
  background-color: #fff;
  color: #444;
  border-radius: 10rem;
  cursor: pointer;
}

.close-modal {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  font-size: 5rem;
  color: #333;
  cursor: pointer;
  border: none;
  background: none;
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;

  background-color: white;
  padding: 6rem;
  border-radius: 5px;
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px);
  z-index: 5;
}

.hidden {
  display: none;
}

/* Media queries */
@media (max-width: 680px) {
  .container {
    width: 100vw;
  }

  .panel:nth-child(4),
  .panel:nth-child(5) {
    display: none;
  }

  .main-container {
    text-align: center;
    font-size: 2rem;
  }

  h1 {
    font-size: 3rem;
  }
}
