body {
  text-align: center;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  object-fit: cover;
}

#main {
  display: flex;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  background-color: #ffffff;
  margin-bottom: 60px;
}

#main section {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
}

#main a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #42181b;
  transition: all 0.2s ease;
  font-weight: bold;
  text-decoration: none;

}

#main a:hover {
  color: #CBB3BF;
}

#main a img {
  margin-bottom: 15px;
}

#main p {
  max-width: 80%;
  margin: 0;
  padding-bottom: 15px;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  margin: auto;
}

#ul_div {
  background-color: #CBB3BF;
  display: flex;
  justify-content: center;
}

li {
  float: left;
  margin-left: 25px;
  margin-right: 25px;
}

li a,
.dropbtn {
  display: inline-block;
  font-weight: bold;
  color: #42181b;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  transition: all 0.2s ease;
}

li a:hover,
.dropdown:hover .dropbtn {
  color: white;
}

li.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  transition: all 0.2s ease;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: all 0.2s ease;
}

.dropdown-content a:hover {
  background-color: #CBB3BF;
}

.dropdown:hover .dropdown-content {
  display: block;
}

header {
  width: 100%;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #f7f1f1;
}

footer {
  position: relative;
  width: 100%;
  background-color: #a5a19e;
  text-align: center;
  font-style: italic;
  padding-top: 10px;
  padding-bottom: 10px;
  color: white;
  margin-top: auto;
}

@media only screen and (max-width: 992px) {
  #main {
    flex-direction: column;
  }

  #main section {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
  }
}