@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");

/* Basic CSS reseting */

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  color: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Codes Start */

section {
  min-height: 100svh;
  background: url("../images/bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.info-nav {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background-color: rgb(0, 0, 0);
  color: #fff;
  font-size: 13px;
  opacity: 0.7;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 20px;
}

.info-nav p {
  line-height: 0;
}

.info-nav p span {
  color: #9fd46c;
}

.info-nav a {
  color: pink;
  text-decoration: underline;
  line-height: 0;
  margin-right: 40px;
}

.content {
  min-height: 100svh;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.content p {
  font-size: 14px;
  color: #fff;
  background-color: #000;
  opacity: 0.7;
  padding: 12px 8px;
  letter-spacing: 2.24px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0px;
  text-align: center;
}

.content button {
  font-size: 15px;
  line-height: 50px;
  color: #fff;
  font-weight: 500;
  border-radius: 50px;
  padding: 0 30px;
  margin-top: 25px;
  text-transform: uppercase;
  border: none;
  transition: all 0.4s ease;
  cursor: pointer;
  background-color: rgb(159, 212, 108);
  opacity: 0.9;
}

.content button:hover {
  background-color: #c2c5c6;
}

.footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgb(0, 0, 0);
  color: #fff;
  font-size: 14px;
  opacity: 0.7;
  letter-spacing: 1px;
  padding: 5px 0;
  text-align: center;
}

.footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: sans-serif;
}

.overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
}

.overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Media queries */

@media screen and (max-width: 756px) {
  section {
    background: url("../images/mobile-bg.webp") !important;
    background-size: cover !important;

    background-repeat: no-repeat !important;
  }

  img {
    width: 100%;
    height: 100%;
  }

  .content p {
    font-size: 12px;
    line-height: 16px;
    padding: 8px 5px;
  }

  .info-nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 10px;
  }

  .info-nav p {
    font-size: 10px;
    line-height: 13px;
  }

  .info-nav a {
    font-size: 12px;
    margin-right: 0px;
    margin-top: -25px;
    line-height: 16px;
  }

  iframe {
    height: 240px;
  }
}
