html,
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0a2540;
  font-family: sans-serif;
}

main {
  background-color: white;
  box-sizing: border-box;
  width: 90%;
  margin: 3rem;
  border-radius: 10px;
  padding: 3rem;
  text-align: justify;
  /* width: min(90%, 1000px);  */
}

/* NAVIGATION  */
nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

nav ul li {
  padding-top: 2rem;
}

nav ul li a {
  font-weight: normal;
  font-size: large;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 5px;
  color: #0a2540;
}

nav ul li a:visited {
  color: #0a2540;
}

nav ul li a:hover {
  text-decoration: underline;
}

.articleNav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.articleNav select {
  background-color: #0a2540;
  color: white;
  width: 80%;
  height: 4rem;
  border: 0.2rem solid black;
  font-weight: bold;
  font-size: x-large;
}

.articleNav select option {
  text-align: center;
  font-size: x-large;
}

select:hover {
  cursor: pointer;
}

option:hover {
  background-color: white;
  color: #0a2540;
}

/* --- / NAVIGATION */

.divide {
  height: 0.2rem;
  width: 80%;
  background-color: black;
  margin: 0 auto;
}

.article-list {
  /* display: flex; */
  /* justify-content: space-around; */
  /* border: 0.1rem solid :black; */
  padding: 1rem;
}

.scene {
  border: 0.2rem dashed black;
}

h1,
h2 {
  text-align: center;
  text-decoration: underline;
}

h1.article {
  text-decoration: none;
}

h2.questions {
  text-decoration: none;
  font-weight: bold;
  font-size: 2rem;
}

.list {
  list-style: none;
  padding: 0 0 0.1rem 0;
}

p.list {
  margin-top: 0;
}

.guarantee h2 {
  text-decoration: none;
}

h3 {
  text-align: center;
}

span {
  text-decoration: underline solid 0.25rem red;
}

.normal {
  font-weight: normal;
  text-decoration: none;
}

a {
  color: blue;
  font-weight: bold;
}

a:visited {
  color: blue;
}

.lep {
  border: 4px dashed red;
  padding: 1rem;
  text-align: center;
}

.lep h2 {
  text-decoration: none;
}

.plus {
  padding: 0.15rem;
  border: 0.5rem solid black;
  background-color: yellow;
}

.ps {
  padding: 0.15rem;
  background-color: yellow;
}

h2.ps {
  text-decoration: none;
}

.guarantee {
  padding: 0.15rem;
  border: 0.5rem solid black;
}

p {
  padding: 0.35rem;
}

.bold {
  font-weight: bold;
}

li.handi {
  list-style-type: none;
}

ul li {
  padding: 0.33rem;
}

.buttonArea {
  display: flex;
  justify-content: center;
  align-items: center;
}

.buttonArea a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  height: 5rem;
  padding: 1rem;
  color: #0a2540;
  border: 2px solid #0a2540;
  font-weight: bold;
  font-size: 1.5rem;
  text-decoration: none;
}

.buttonArea a:hover {
  cursor: pointer;
}

.buttonArea a:focus {
  background-color: #0a2540;
  color: white;
  border: 0.15rem solid black;
}

/* Other Stuff */
.lead {
  display: flex;
  justify-content: space-around;
  align-items: center;
  border: 2px dashed #0a2540;
  padding: 0.2rem;
}

.lead form {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.pair {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lead p {
  font-weight: bold;
}

.lead .pair label {
  margin: 0 1rem 0 1rem;
  width: 4rem;
}

.lead .pair input {
  height: 25px;
  width: 10rem;
  border-radius: 5px;
}

.lead input[type="text"]:focus {
  outline: 1px solid #0a2540;
  font-weight: bold;
}

.lead button {
  background-color: #0a2540;
  color: white;
  font-weight: bold;
  width: 5rem;
  height: 2rem;
  margin-left: 1rem;
}

.lead button:hover {
  cursor: pointer;
}

.lead button:focus {
  background-color: white;
  color: #0a2540;
}

/* MEDIA QUERIES */
@media (max-width: 1200px) {
  main {
    /* width: 90%; */
    padding: 2rem;
    /* margin: 2rem; */
  }
}

@media (max-width: 600px) {
  .lead,
  .lead form,
  .pair {
    flex-direction: column;
  }

  .lead {
    padding: 1rem;
  }

  .lead .pair p {
    text-align: center;
    margin: 0;
  }

  .lead .pair label {
    margin-top: 0.5rem;
  }

  .lead .pair input {
    margin-bottom: 1rem;
  }

  .lead form button {
    width: 80%;
  }

  main {
    /* width: 95%;
    margin: 1rem;
    text-align: left; */
    padding: 1rem;
    margin: 1rem auto;
    text-align: left;
  }

  nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  nav ul li {
    padding-top: 0.5rem;
    padding-bottom: 0;
  }

  h1 {
    font-size: 1.2rem;
  }
}
