* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  position: relative;
  width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 10px;
}

/** NAVBAR **/

nav {
  position: sticky;
  justify-content: center;
  margin: 10px 10px 10px auto;
  width: 1280px;
  top: 0;
  height: 50px;
  border: 2px solid black;
  border-radius: 10px;
  background: #ccc;
  padding: 0 75px;
  text-transform: uppercase;
  text-align: center;
}

ul {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  list-style: none;
  li {
    min-width: 150px;
  }
  a {
    height: 50px;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    line-height: 300%;
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    font-weight: 700;
    font-size: 1rem;
  }
}

li:hover {
  background: #a90331;
  transition: 0.3s ease-in-out;
}

ul a:hover {
  color: white;
  height: 100%;
  transition: 0.3s ease-in-out;
}

.banner-container {
  position: relative;
}

.banner {
  width: 1280px;
  border-radius: 10px;
}

.title {
  position: absolute;
  left: 39%;
  top: 45%;
  text-align: center;
  vertical-align: middle;
  line-height: 250%;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  background: beige;
  opacity: 0.75;
  text-align: center;
  border-radius: 10px;
  width: 300px;
  height: 80px;
}

/** CONTENT **/

main {
  position: relative;
  width: 1280px;
  background: lightgray;
  border-radius: 10px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  text-align: justify;
  p {
    font-size: 20px;
    margin: 20px 30px;
  }
}

/* .subtitle-container {
  display: flex;
  justify-content: center;
  align-content: center;
  text-align: center;
} */

h2 {
  color: white;
  background: #a90331;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  text-align: center;
  vertical-align: middle;
  line-height: 200%;
  font-style: italic;
  height: 50px;
  border-radius: 10px 10px 0 0;
}

.blason {
  display: flex;
  justify-content: center;
}

/** SUMARRY LINKS **/

.summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
    padding-bottom: 20px;
  ul {
    display: block;
    text-align: center;
    li:hover {
      background: none;
    }
    a {
      color: #a90331;
    font-family: 'Times New Roman', Times, serif;
    line-height: normal;
      font-size: 20px;
    }
    a:hover {
      color: black;
      background: none;
    }
  }
}

.wiki {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  a {
    text-decoration: none;
    color: black;
  }
}

/** GALLERY **/

.gallery {
  width: 90%;
  margin: 20px auto;
  padding-top: 20px;
  display: flex;
  gap: 10px;
  .card {
    text-align: center;
    height: 100%;
    width: 100%;
    font-size: 18px;
    img {
      border: 2px solid black;
      padding: 5px;
      width: 494px;
      height: 334px;
    }
  }
}

/* PAGES MAIN IMG */

.main-img {
  padding: 20px 20px;
}

/** FORM **/

#form {
  display: flex;
  justify-content: center;
}

form {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 620px;
  font-size: 20px;
  fieldset {
    display: flex;
    border: none;
    label {
      height: 30px;
      width: 200px;
      text-align: end;
    }
    input {
      height: 30px;
      width: 400px;
      margin-bottom: 4px;
    } 
  }
  textarea {
    height: 80px;
    width: 400px;
    resize: none;
  }
  .submit-btn-container {
    display: flex;
    justify-content: end;
    padding-top: 20px;
    padding-right: 120px;
  }
  #submit-btn {
    height: 50px;
    width: 300px;
    font-size: 20px;
    border-radius: 20px;
  }
}

/* LINKS LIST */

.links {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  a {
    font-weight: 400;
  }
  
  .links-list-li {
    display: block;
    ul li a {
      display: block;
      list-style: none;
      text-decoration: none;
      color: #a90331;
    }
  }
}

/* ERROR MESSAGE */

.err-container {
  display: flex;
  align-items: center;
  justify-content: center;
  a {
    color: #a90331;
    text-decoration: none;
    font-size: 14px;
  }
  a:hover {
    color: black;
    transition: 0.3s ease-in-out;
    text-decoration: underline;
  }
}

/* UP BUTTON */

.up-btn {
  width: 50px;
  height: 50px;
  background:#a90331;
  position: absolute;
  bottom: 30px;
  right: 20px;
  border-radius: 20px;
  a {
    width: fit-content;
    text-align: center;
    text-decoration: none;
    color: white;
    position: absolute;
    top: 38%;
    right: 30%;
  }
}

.up-btn:hover {
  background: #ccc;
  transition: 0.3s ease-in-out;
}

