:root {
  --verde-escuro: #416C26;
  --verde-escuro-hover: #497a2a;
  --branco: #ffffff;
  --branco-amarelado: #ffffeb;
  --preto-claro: #333333;
  --azul-claro: #cce7ff;
  --bege-claro: #fefbf2;
  --cinza-medio: #555;
  --cinza-claro: #eee;
  --cinza-fundo-dropdown: #f9f9f9;
  --cinza-hover: #f1f1f1;
  --azul-escuro: #3b5a73;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: var(--preto-claro);
  background: linear-gradient(to bottom, var(--azul-claro), var(--bege-claro));
  min-height: 100vh;
  margin: 0;
  font-family: 'Times New Roman', sans-serif;
}

.wrapper {
  flex-direction: column;
  width: 60%;
  height: fit-content;
  margin: 20px auto;
  max-width: 1200px;
  border: 3px solid var(--cinza-medio);
  background: var(--branco-amarelado);
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

section{
    width: 90%;
    max-width: 800px;
}
section, p {
  text-align: justify;
  hyphens: auto;
  overflow-wrap: break-word;
}
h2{
  align-items: center;
}
.topHeader {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.iconetopo {
  align-self: flex-start;
  width: 45%;
  height: 500px;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, var(--branco-amarelado) 95%),
    linear-gradient(to right, rgba(0, 0, 0, 0) 70%, var(--branco-amarelado) 95%),
    url('/site-antigo/images/nossa_senhora_perpetuoSOC.jpg');
  background-size: cover;
}

.headerTitle {
  width: 60%;
  margin-right: 20px;
  font-family: 'Cormorant', 'Times New Roman';
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--verde-escuro);
  text-transform: uppercase;
  letter-spacing: 2px;
}

@media (max-width: 1024px) {
  .iconetopo {
    width: 75%;
    height: 350px;
    background:
      linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, var(--branco-amarelado) 95%),
      linear-gradient(to right, rgba(0, 0, 0, 0) 70%, var(--branco-amarelado) 95%),
      url('/site-antigo/images/nossa_senhora_perpetuoSOC.jpg');
    background-size: cover;
  }

  .headerTitle {
    font-size: 1.5rem;
  }
}

.centerText {
  font-weight: bold;
  font-size: 20pt;
  align-self: center;
  text-align: center;
}

.bottonHeader {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  gap: 20px;
  text-align: center;
  align-items: flex-start;
}

.bottonHeader img {
  width: auto;
  height: 128px;
}

header img {
  width: 30%;
  height: auto;
}

.topButtons {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  height: fit-content;
}

.topButtons a,
button,
.dropdown {
  flex: 1;
  width: 100%;
  font-size: 16px;
  min-height: 50px;
  background-color: var(--verde-escuro);
  color: var(--branco);
  border: none;
  cursor: pointer;
  text-align: center;
}

.topButtons button:hover,
.dropdown:hover .dropbtn,
button:hover {
  background-color: var(--verde-escuro-hover);
}

.mainContent {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-direction: column;
  box-sizing: border-box;
}

footer {
  background-color: var(--azul-escuro);
  color: var(--branco);
  height: 80px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1rem;
}

.dropdown {
  position: relative;
  display: inline-block;
  justify-content: space-evenly;
}

.dropbtn {
  background-color: var(--verde-escuro);
  color: var(--branco);
  padding: 14px 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-align: center;
}

.dropdown-content {
  width: 100%;
  display: none;
  position: absolute;
  background-color: var(--cinza-fundo-dropdown);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content button {
  width: 100%;
}

.dropdown-content a {
  width: 100%;
  color: var(--preto-claro);
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: var(--cinza-hover);
}

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

.content-container {
  margin: 20px;
  width: 70%;
}

.tag-list {
  margin: 40px;
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li a {
  background-color: var(--cinza-claro);
  color: var(--preto-claro);
  padding: 4px 10px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
}

/*header*/
.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  align-self: baseline;
  width: 100%;
  background-color: var(--verde-escuro);
}

.sidebar {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #333;
  padding-top: 60px;
  transition: 0.3s;
}

.sidebar.active {
  left: 0;
}

.sidebar ul {
  list-style: none;
  justify-items: flex-start;

}

.sidebar ul li {
  padding: 10px;
  text-align: center;
}

.sidebar ul li a {
  color: white;
  text-decoration: none;
}
.header-arabesco{
    display: none;
    width: 100%;
    height: auto;
    
}
@media (max-width: 768px) {
    body {
    padding-top: 42px;
    }
    .header-arabesco{
        display: block;
    }
  .menu-icon {
    color: var(--branco);
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 10px;
    text-align: left;
  }
    .topButtons {
        display: none;
    }
}


@media (max-width: 768px) {
  .wrapper {
    width: 90%;
  }

  .bottonHeader p {
    font-size: 6pt;
  }

  .bottonHeader img {
    height: 54px;
    width: auto;
  }

  .centerText {
    font-size: 12pt;
  }

  .topButtons button {
    font-size: 8px;
  }

  footer {
    font-size: 0.8rem;
  }

  .iconetopo {
    height: 200px;
    width: 200px;
    background:
      linear-gradient(to bottom, rgba(0, 0, 0, 0) 75%, var(--branco-amarelado) 95%),
      linear-gradient(to right, rgba(0, 0, 0, 0) 75%, var(--branco-amarelado) 95%),
      url('/site-antigo/images/nossa_senhora_perpetuoSOC.jpg');
    background-size: cover;
  }

  header {
    gap: 0;
  }

  .headerTitle {
    font-size: 1rem;
  }

  .content-container {
    margin: 20px;
    width: 95%;
  }




}
