@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  box-sizing: border-box;
  text-decoration: none;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Courier new", arial;
  font-weight: 400;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

body {
  height: 100vh;
}

html,
body,
main {
  width: 98%;
  margin: 0 auto;
  padding: 5px;
}

main,
pre {
  padding-top: 50px;
  justify-content: center;
  text-align: center;
  align-items: center;
}

pre {
  display: block;
  white-space: pre-wrap;
  margin: auto;
}

summary {
  cursor: pointer;
  width: 350px;
  height: 40px;
  background-color: rgba(100, 100, 100, 0.7);
  color: white;
  font-size: 15px;
  font-weight: bold;
  text-align: left;
  padding: 10px;
  border-radius: 15px;
  justify-content: left;
  align-items: left;
}

details {
  margin-bottom: 20px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: black;
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  width: 164px;
  height: 58px;
}

a {
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0px;
  margin-bottom: 0px;
  text-align: center;
}

h1 {
  font-size: 0px;
}

h2 {
  font-size: 28px;
  margin-top: 20px;
  margin-bottom: 20px;
}

h3 {
  font-size: 16px;
  color: gray;
  margin-top: 20px;
  margin-bottom: 20px;
}

h4 {
  height: auto;
  line-height: 1.2;
  font-size: 36px;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.1)
  );
  color: white;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 40px;
  margin-bottom: 50px;
  font-weight: bold;
  vertical-align: middle;
  word-wrap: break-word;
  border-radius: 15px;
}

h5 {
  font-weight: bold;
  font-size: 28px;
  margin-top: 20px;
  margin-bottom: 0px;
}

h6 {
  font-size: 22px;
  font-weight: bold;
  color: gray;
  margin-top: 30px;
  margin-bottom: 30px;
}

table,
tr,
th,
td {
  border: 1px solid #dee2e6;
  border-collapse: collapse;
  padding: 10px;
  margin: 0 auto;
  overflow-x: auto;
}

table {
  width: 95%;
  max-width: 95%;
  text-align: left;
  margin: 0 auto;
}

th {
  text-align: center;
  background: #ebebeb;
  color: black;
  font-weight: bold;
}

table tr:nth-child(odd) {
  background-color: #f2f2f2;
}

table tr:nth-child(even) {
  background-color: white;
}

.card {
  float: left;
  margin-left: 50px;
  margin-right: 50px;
  margin-top: 30px;
  margin-bottom: 80px;
  text-align: center;
  position: relative;
  width: 250px;
  height: 250px;
  /*overflow: hidden; */
  border: 1px solid black;
  border-radius: 50%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card img {
  max-width: 75%;
  max-height: 75%;
  object-fit: cover;
}

.cardsubtitle {
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 95px;
  background-color: black; /*rgba(100, 100, 100, 0.7);*/
  color: white;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cardsubtitle a {
  color: white;
}

.card:hover,
.card:hover img {
  opacity: 0.4;
}

.cardnotitle {
  float: left;
  margin: 30px;
  text-align: center;
  position: relative;
  width: 250px;
  height: 250px;
  border: 1px solid black;
  border-radius: 50%;
  background-color: #d3dff3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cardnotitle img {
  max-width: 75%;
  max-height: 75%;
  object-fit: cover;
}

.cardnotitle:hover,
.cardnotitle:hover img {
  opacity: 0.4;
}

.thumblogo,
.thumblogocolor {
  -webkit-box-shadow: 5px 5px 5px 0px #000000;
  box-shadow: 5px 5px 5px 0px #000000;
  border: 1px solid black;
  display: inline-block;
  width: 200px;
  height: 100px;
  cursor: pointer;
  opacity: 1;
  transition: 0.5s ease;
  backface-visibility: hidden;
  margin: 10px;
}

.thumblogo {
  -webkit-filter: grayscale(1);
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.thumblogo:hover,
.thumblogocolor:hover {
  opacity: 0.4;
}

.imagewithtext {
  float: left;
  margin: 10px;
  margin-bottom: 70px;
  text-align: center;
  position: relative;
  width: 200px;
  height: 100px;
  border: 1px solid black;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.imagewithtexttitle {
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 70px;
  background-color: black;
  color: white;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.imagewithtexttitle a {
  color: white;
}

.imagewithtext:hover,
.imagewithtext:hover img {
  opacity: 0.4;
}

.videolarge {
  -webkit-box-shadow: 5px 5px 5px 0px #000000;
  box-shadow: 5px 5px 5px 0px #000000;
  margin: 10px;
  display: inline-block;
  border: 1px solid black;
  background-color: white;
  width: 320px;
  height: 210px;
  cursor: pointer;
  opacity: 1;
  transition: 0.5s ease;
  backface-visibility: hidden;
  overflow: hidden;
}

.center-text {
  flex-basis: 100%;
  text-align: center;
  margin-bottom: 5px;
}

.center-text-all {
  color: white;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  height: 70vh;
}

#background-video {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: -1000;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle div {
  width: 30px;
  height: 4px;
  background-color: white;
  margin: 5px;
}

.nav {
  display: none;  /*flex;*/
  list-style: none;
  gap: 15px;
  align-items: center;
  justify-content: center;
  width: auto;
  position: absolute;
  left: 0;
  right: 0;
}

.nav.active {
    display: flex;
}

.nav a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  transition: color 0.3s, background-color 0.3s;
  padding: 5px;
}

.nav a:hover {
  color: black;
  background-color: white;
}

.search-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-container input {
  padding: 5px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  width: 150px;
}

.search-container button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.search-container button img {
  width: 20px;
  height: 20px;
  display: block;
}

.tabContainer .buttonContainer {
  height: 40px;
}

.tabContainer .buttonContainer button {
  width: fit-content;
  height: 100%;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px;
  margin-right: 10px;
  font-size: 18px;
  font-weight: bold;
  color: black;
  background-color: #eee;
}

.tabContainer .buttonContainer button:hover {
  background-color: #d7d4d4;
}

.tabContainer .tabPanel {
  background-color: gray;
  color: black;
  padding-top: 70px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 16px;
  display: none;
  text-align: center;
}

.mainsidebyside {
  display: flex;
}

.sidebyside {
  width: 50%;
  padding: 10px;
  box-sizing: border-box;
}

.sidebysidebutton a {
  display: inline-block;
  background-color: black;
  font-size: 20px;
  font-weight: 400;
  color: white;
  border-radius: 15px;
  letter-spacing: 0.25px;
  transition: all 0.3s;
  width: 70%;
  padding: 10px;
}

.sidebysidebutton:hover {
  opacity: 0.4;
}

.force-line {
  width: 60%;
  border-bottom: 1px solid black;
  margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 50px;
}

.circlearrow {
  width: 50px;
  height: 50px;
  background-color: blue;
  border-radius: 50%;
  position: fixed;
  bottom: 140px;
  right: 20px;
  cursor: pointer;
  display: none;
  z-index: 1000;
}

.arrowup {
  width: 20px;
  height: 20px;
  background-color: white;
  position: absolute;
  top: 15px;
  left: 15px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

#slider {
  width: 100%;
  margin: 0px auto;
  max-width: 400px;
  position: relative;
  overflow: hidden;
}

.slide {
  width: 100%;
  display: none;
  animation-name: fade;
  animation-duration: 1s;
}

.controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  padding: 15px 15px;
  border-radius: 50px;
  background: black;
  color: white;
}

.controls:hover {
  background: blue;
  color: white;
  transition: 0.3s;
}

#left-arrow {
  left: 0px;
}

#right-arrow {
  right: 0px;
}

.boxcontainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 5px;
}

.box {
  background-color: #d3dff3;
  border-radius: 8px;
  width: 350px;
  text-decoration: none;
  color: black;
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-header {
  display: flex;
  align-items: center;
  padding: 10px;
  color: black;
  font-size: 20px;
  font-weight: bold;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.box-header img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.box p {
  padding: 10px;
  font-size: 14px;
  color: #555;
  margin: 0;
  text-align: justify;
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

        .manual-gallery {
            display: flex;
            background: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            border-radius: 8px;
            overflow: hidden;
            width: fit-content;
            margin: 0 auto;
        }
        .manual-main {
            width: 350px;
            height: 350px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #d3dff3;
            padding: 5px;
        }
        .manual-main img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        .manual-main img:hover { transform: scale(1.02); }
        .manual-thumbs {
            width: 120px;
            height: 350px;
            background: #fff;
            border-left: 1px solid #eee;
            display: none;
            flex-direction: column;
        }
        .manual-thumbs-container {
            flex: 1;
            overflow: hidden;
            position: relative;
        }
        .manual-thumbs-wrapper {
            position: absolute;
            width: 100%;
            transition: transform 0.3s ease;
            padding-bottom: 10px;
        }
        .manual-thumb {
            width: 100px;
            height: 100px;
            margin: 0 auto 10px;
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 4px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .manual-thumb:hover {
            border-color: #4CAF50;
            transform: scale(1.05);
        }
        .manual-thumb.active {
            border-color: #2196F3;
            box-shadow: 0 0 5px rgba(33, 150, 243, 0.5);
        }
        .manual-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .manual-scroll {
            width: 100%;
            height: 40px;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: none;
        }
        .manual-scroll svg {
            width: 20px;
            height: 20px;
            fill: #2196F3;
        }
        .manual-scroll:hover { background: #f5f5f5; }
        .manual-scroll.hidden { visibility: hidden; }

@media (min-width: 895px) {
  .container {
    justify-content: flex-start;
  }

  .nav {
    display: flex; 
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
  }

  .search-container {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 894px) {
  .mainsidebyside {
    flex-direction: column;
    align-items: center;
  }

  .sidebyside {
    width: 100%;
  }

  table {
    width: 100%;
    overflow-x: auto;
    display: block;
  }

  th,
  td {
    width: 10%;
  }

  main {
    padding-top: 50px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .menu-toggle {
    display: flex;
    order: 2;
    flex-direction: column;
  }

  .menu-toggle div {
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 5px;
    transition: 0.3s;
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: black;
    width: 100%;
    padding: 10px 0;
    position: absolute;
    top: 100px;
    right: 0;
    left: 0;
  }

  .nav.active {
    display: flex;
  }

  .boxcontainer {
    justify-content: center;
  }

  .box {
    width: 100%;
  }
}


/* Seletor de idiomas por bandeiras */
.translate-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-translate-flags {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.mv-translate-button {
  width: 30px;
  height: 22px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  opacity: 0.75;
  line-height: 0;
}

.mv-translate-button:hover,
.mv-translate-button.active {
  opacity: 1;
  border-color: #ffffff;
}

.mv-translate-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.google-translate-hidden,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt {
  display: none !important;
}

body {
  top: 0 !important;
}

body > .skiptranslate {
  display: none !important;
}

@media (min-width: 895px) {
  .translate-container {
    margin-left: 12px;
  }
}

@media (max-width: 894px) {
  .translate-container {
    width: 100%;
    padding: 6px 0;
  }

  .mv-translate-flags {
    flex-wrap: wrap;
    justify-content: center;
  }
}
