/* ====== Global ====== */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

::-webkit-scrollbar {
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 10px;
}

::-webkit-scrollbar-corner {
  border: none;
  background: none;
}

::-webkit-scrollbar-thumb {
  background-color: rgb(61, 60, 66);
  border-radius: 3px;
  cursor: move;
}

::-webkit-scrollbar-track {
  background-color: rgb(18, 18, 20);
  border: none;
}

:root {
  --lightgray: #e6e6e6;
  --red: #640000;
  --lightred: #8c0000;
  --fade1: #960000;
  --fade2: #f10000;
}

::marker {
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  text-transform: none;
  color: var(--lightred);
  text-indent: 0px !important;
  text-align: start !important;
  text-align-last: start !important;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  scroll-behavior: smooth !important;
}

html {
  font-size: 105%;
}

body {
  background: #eee;
  font-family: "Poppins", sans-serif;
  margin: auto;
}

main {
  width: min(90vw, 1300px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ====== Utilidades ====== */

h1 {
  color: black;
  font-weight: 700;
  font-size: 2.5rem;
  text-align: center;
}

h2 {
  color: black;
  font-weight: 600;
  position: relative;
}

h2::before {
  content: "";
  position: absolute;
  height: 4px;
  width: 70px;
  bottom: -2px;
  border-radius: 8px;
  background: linear-gradient(45deg, var(--fade1), var(--fade2));
}

h3 {
  color: black;
}

p {
  color: black;
  font-weight: 300;
  margin-top: 1rem;
  text-align: justify;
}

strong {
  font-weight: 500;
}

li {
  color: black;
  font-weight: 300;
}

a {
  text-decoration: none;
}

.page-header {
  margin-top: 5rem;
}

.section-image img {
  max-width: 20rem;
  min-width: min(90vw, 15rem);
}

.section-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}

.section-text {
  width: auto;
  padding: 0.5rem;
  margin: auto;
}

.box-2 img {
  min-width: min(90vw, 40rem);
  border: solid 3px var(--fade2);
  border-radius: 8px;
  padding: 0.5rem;
}

.header-links img {
  max-width: 1.8rem;
  margin: 0 0.5rem;
}

.sep-class {
  display: flex;
  justify-content: center;
  align-items: center;
}

.separator {
  max-width: 100px;
  min-width: 100px;
  min-height: 5px;
  max-height: 5px;
  background: linear-gradient(45deg, var(--fade1), var(--fade2));
  margin: 1rem;
  padding: 0.2rem;
}

.separator.vertical {
  max-width: 5px;
  min-width: 5px;
  min-height: 100px;
  max-height: 100px;
}

.header-links .separator.vertical {
  max-width: 2px;
  min-width: 2px;
  min-height: 1.4rem;
  max-height: 1.4rem;
  margin: 0 0.2rem;
  padding: 0;
  background: black;
}

.separator-footer {
  max-width: 5px;
  min-width: 5px;
  min-height: 50px;
  max-height: 50px;
  background: linear-gradient(45deg, var(--fade1), var(--fade2));
}

/* ====== Header ====== */

.below-header {
  height: 0.5rem;
  width: 100%;
  background: #b90000;
  position: absolute;
  margin: 0;
  left: 0;
  top: 0;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-top: 1rem;
  width: min(90vw, 1300px);
}

.header {
  display: flex;
  flex-direction: row;
  align-items: end;
  justify-content: center;
}

.header-logo {
  max-width: 5rem;
  margin-right: 0;
}

.header-links {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.header-links i {
  font-size: 1.8rem;
  background-image: linear-gradient(45deg, var(--fade1), var(--fade2));
  color: transparent;
  background-clip: text;
  padding: 0 0.2rem;
}

header h1 {
  font-size: 2.5rem;
  color: black;
  font-weight: 600;
  position: relative;
}

header h1::before {
  content: "";
  position: absolute;
  height: 4px;
  width: 100px;
  bottom: 4px;
  border-radius: 8px;
  background: linear-gradient(45deg, var(--fade1), var(--fade2));
}

.header-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin: 0;
  margin-top: 0.5rem;
  padding: 0;
}

.header-nav li {
  text-align: center;
  margin: 0 1rem;
}

/* ====== Body ===== */

.container {
  margin: auto;
}

.boxes {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

/* Box 1 */

.box-1 .section-text {
  margin-top: 1rem;
}

/* Box 2 */

.boxes.box-2 {
  flex-direction: column;
  margin-top: 3rem;
}

.boxes.box-4 {
  margin-top: 3rem;
}

.boxes.box-5 a,
.boxes.box-6 a {
  color: black;
  font-weight: 500;
}

.boxes.box-5 a:hover,
.boxes.box-6 a:hover {
  text-decoration: underline;
}

/* ====== Fale conosco ====== */

.contact-field {
  display: flex;
  flex-direction: column;
  width: min(90vw, 700px);
  margin: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.contacts {
  display: flex;
  flex-direction: column;
}

.contacts p {
  margin-left: 1rem;
}

.contacts strong {
  font-size: 1rem;
  font-weight: 500;
}

/* ====== Footer ====== */

footer {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: absolute;
  left: 0;
  background: var(--lightred);
  padding: 0.2rem;
}

footer p {
  font-size: 0.8rem;
  font-weight: 500;
  color: white;
  opacity: 0.7;
  margin: 0;
}

/* Back to top button */

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 1.5rem; /* Place the button at the bottom of the page */
  right: 1rem; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 0; /* Some padding */
  background: transparent;
  transition: all 0.3s ease-in-out;
}

#myBtn i {
  font-size: 2.5rem;
  color: var(--red);
}

/* ====== Mobile ====== */

@media (max-width: 900px) {
  html {
    font-size: 87.5%;
  }

  header h1::before {
    bottom: -2px;
  }

  .header-links i {
    font-size: 2rem;
  }

  .boxes {
    flex-direction: column;
  }
  .section-text {
    text-align: justify;
  }
  .separator {
    max-width: 100px;
    min-width: 100px;
    min-height: 5px;
    max-height: 5px;
  }
  .header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .header-nav {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
}
