:root {
  --primary-color: #e14157;
  --text-color: rgb(56, 56, 56);
  --char-border: #b3b3b3;
  --imgPos: center;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16pt;
  background-color: rgb(247, 247, 247);
  color: var(--text-color);
}

nav {
  display: flex;
  width: 100%;
  height: 100px;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px) saturate(180%);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

#lex-logo {
  margin-left: 50px;
  width: 210px;
}

#nav-list {
  display: flex;
  justify-content: end;
  margin-right: 50px;
  text-align: center;
}

#nav-list li {
  list-style: none;
  margin-left: 60px;
}

#nav-list li a {
  text-decoration: none;
  color: var(--text-color);
}

#nav-list li a:hover {
  color: var(--primary-color);
}

#nav-list li a.active {
  color: var(--primary-color);
}

#menu {
  display: none;
}

#container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

#img-wrapper {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

#img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--imgPos);
  z-index: -1;
  filter: brightness(40%);
  position: absolute;
  top: 0;
  left: 0;
}

#landing-title {
  font-size: 58pt;
  color: white;
  margin: 0;
  width: 900px;
  z-index: 300;
}

#landing-title span {
  color: var(--primary-color);
}

#subtitle {
  position: relative;
  background-color: white;
  width: 40%;
  color: var(--text-color);
  border-radius: 10px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#landing-subtitle {
  color: var(--primary-color);
  line-height: 25px;
  font-size: 22pt;
  text-align: center;
  margin-left: 30px;
  margin-right: 30px;
  margin-bottom: 0;
}

form {
  margin: 20px 40px 0 40px;
}

form label {
  font-size: 14pt;
}

form input[type='text'],
form input[type='tel'] {
  width: 100%;
  height: 30px;
  margin-bottom: 16px;
  margin-top: 8px;
  border-radius: 5px;
  border: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  font-family: 'Montserrat', sans-serif;
}

form input[type='submit'] {
  cursor: pointer;
  font-size: 12pt;
  width: 100%;
  height: 40px;
  border-radius: 10px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  transition: filter 0.2s ease-in-out;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

form input[type='submit']:hover {
  filter: brightness(90%);
}

#response {
  margin: 0 40px;
}

form p {
  margin-bottom: 16px;
  font-size: 12pt;
}

#check {
  display: flex;
  align-items: center;
  line-height: 25px;
  gap: 10px;
}

#check p {
  margin: 0;
}

#check input {
  transform: scale(1.5);
}

label span,
p span {
  color: red;
}

footer {
  background-color: #08305d;
  width: 100%;
  color: white;
}

#container-footer {
  width: 65%;
  margin: auto;
}

#footer-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

#footer-links h3 {
  font-size: 20pt;
  margin-bottom: 0;
}

#links {
  margin-top: 10px;
  padding: 0;
  margin-bottom: 0;
}

#links li {
  list-style: none;
  margin-bottom: 5px;
}

#links li a {
  text-decoration: none;
  color: white;
  font-size: 14pt;
}

#links li a:hover {
  filter: brightness(90%);
}

#footer-social {
  margin-bottom: 0;
}

#footer-social h3 {
  font-size: 20pt;
  margin-bottom: 0;
}

#social {
  margin-top: 10px;
  margin-bottom: 5px;
  display: flex;
  gap: 20px;
  padding: 0;
}

#social li {
  list-style: none;
}

#social li a {
  font-size: 20pt;
  text-decoration: none;
  color: white;
}

#social li a:hover {
  filter: brightness(90%);
}

#footer-final {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

#footer-final p {
  font-size: 12pt;
  color: white;
  margin: 0;
}

@media (max-height: 1200px) {
  #container {
    height: 1200px;
  }
}

@media only screen and (max-width: 479px) {
  #landing-title {
    position: static;
  }

  nav {
    position: absolute;
  }

  #menu {
    display: block;
    cursor: pointer;
    border: none;
    background: none;
  }

  .bi-list {
    display: block;
    font-size: 40pt;
    margin-right: 30px;
  }

  #nav-list {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px) saturate(180%);
    top: 100px;
    transition: height 0.5s ease-in-out, padding 0.5s ease-in-out;
    margin: 0;
    padding: 0;
    gap: 15px;
  }

  #nav-list.active {
    padding: 15px 0;
    height: 200px;
  }

  #nav-list li {
    margin-left: 0;
  }

  #container {
    flex-direction: column;
    justify-content: start;
  }

  #landing-title {
    display: none;
  }

  #subtitle {
    width: 80%;
    padding-bottom: 20px;
    margin-top: 150px;
  }

  #container-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #footer-info {
    flex-direction: column;
  }

  #footer-final {
    text-align: center;
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  #footer-final p {
    text-align: center;
  }

  @media (max-height: 1850px) {
    #container {
      height: 1850px;
    }
  }
}

@media only screen and (min-width: 480px) and (max-width: 979px) {
  nav {
    position: absolute;
  }

  #menu {
    display: block;
    cursor: pointer;
    border: none;
    background: none;
  }

  .bi-list {
    display: block;
    font-size: 40pt;
    margin-right: 30px;
  }

  #nav-list {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px) saturate(180%);
    top: 100px;
    transition: height 0.5s ease-in-out, padding 0.5s ease-in-out;
    margin: 0;
    padding: 0;
    gap: 15px;
  }

  #nav-list.active {
    padding: 15px 0;
    height: 200px;
  }

  #nav-list li {
    margin-left: 0;
  }

  #container {
    flex-direction: column;
    justify-content: start;
  }

  #landing-title {
    display: none;
  }

  #subtitle {
    width: 80%;
    padding-bottom: 50px;
    margin-top: 150px;
  }

  #container-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #footer-info {
    flex-direction: column;
  }

  #footer-final {
    text-align: center;
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  #footer-final p {
    text-align: center;
  }

  @media (max-height: 1550px) {
    #container {
      height: 1550px;
    }
  }
}

@media only screen and (min-width: 980px) and (max-width: 1199px) {
  #landing-title {
    position: static;
  }

  nav {
    position: absolute;
  }

  #menu {
    display: block;
    cursor: pointer;
    border: none;
    background: none;
  }

  .bi-list {
    display: block;
    font-size: 40pt;
    margin-right: 30px;
  }

  #nav-list {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px) saturate(180%);
    top: 100px;
    transition: height 0.5s ease-in-out, padding 0.5s ease-in-out;
    margin: 0;
    padding: 0;
    gap: 15px;
  }

  #nav-list.active {
    padding: 15px 0;
    height: 200px;
  }

  #nav-list li {
    margin-left: 0;
  }

  #container {
    flex-direction: column;
    justify-content: start;
  }

  #landing-title {
    font-size: 46pt;
    width: 610px;
    margin: 150px 0 50px 0;
  }

  #subtitle {
    width: 80%;
    padding-bottom: 50px;
  }

  #footer-final {
    text-align: center;
  }

  @media (max-height: 1400px) {
    #container {
      height: 1400px;
    }
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1549px) {
  #landing-title {
    font-size: 46pt;
    width: 600px;
  }

  #subtitle {
    padding-bottom: 50px;
  }

  #footer-final {
    height: auto;
    text-align: center;
  }

  @media (max-height: 1350px) {
    #container {
      height: 1350px;
    }
  }
}
