@import url("https://fonts.googleapis.com/css2?family=Monsieur+La+Doulaise&display=swap");

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Lato", sans-serif;
}

body {
  background-image: url("./assets/background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

h1 {
  font-family: "Monsieur La Doulaise", cursive;
  font-size: 3rem;
  margin: 0;
}

img {
  height: 160px;
  width: 140px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

video {
  max-width: 600px;
  width: 80%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 1.5rem;
  background: #ffffff;
  color: #222;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #f2f2f2;
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  h1 {
    font-size: 4rem;
  }

  img {
    height: 200px;
    width: 160px;
  }

  video {
    max-width: 800px;
    width: 70%;
    margin-top: 2.5rem;
  }

  .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    margin-top: 2.5rem;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 5rem;
  }

  img {
    height: 240px;
    width: 190px;
  }

  video {
    max-width: 1000px;
    width: 60%;
  }

  .btn {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
  }
}

@media (max-height: 500px) {
  main {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 1rem;
  }

  h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  img {
    height: 120px;
    width: 100px;
  }

  video {
    width: 60%;
    max-width: 500px;
    margin-top: 0;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    margin-top: 1rem;
  }
}
