: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;
  position: absolute;
  left: 100px;
}

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

#paper {
  z-index: 100;
  width: 90%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  padding-bottom: 80px;
  margin: -120px auto 100px auto;
}

#section-wrapper {
  width: 90%;
  margin: 50px auto 100px auto;
  padding-top: 50px;
  line-height: 30px;
}

#section-wrapper h3 {
  color: var(--primary-color);
  font-size: 20pt;
}

#section-wrapper p,
#section-wrapper ul li {
  margin-bottom: 20px;
}

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

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

#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: 850px) {
  #landing {
    height: 1000px;
  }
}

@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;
  }

  #landing {
    flex-direction: column;
    height: 2100px;
    justify-content: start;
  }

  #landing-info {
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
  }

  #landing-title {
    font-size: 30pt;
    width: 320px;
    margin: 25px 0;
    text-align: center;
  }

  #paper {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #lex-logo {
    width: 200px;
  }

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

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

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

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

@media only screen and (min-width: 480px) and (max-width: 979px) {
  #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;
  }

  #landing {
    flex-direction: column;
    height: 1700px;
    justify-content: start;
  }

  #landing-info {
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
  }

  #landing-title {
    font-size: 36pt;
    width: 400px;
    margin: 25px 0;
    text-align: center;
  }

  #paper {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

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

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

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

@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;
  }

  #landing {
    flex-direction: column;
    justify-content: start;
    height: 1200px;
  }

  #landing-info {
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
  }

  #landing-title {
    font-size: 46pt;
    width: 610px;
    margin: 25px 0;
    text-align: center;
  }

  #paper {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

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

@media only screen and (min-width: 1200px) and (max-width: 1549px) {
  #landing {
    height: 1100px;
  }

  #landing-info {
    height: 440px;
  }

  #landing-title {
    font-size: 46pt;
    width: 600px;
  }

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