@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

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

body {
  /*font-size: 100%;
    background: black;  
    margin: 0;
    height: 100vh;
    width: 100vw;
    font-family: 'Roboto', sans-serif;*/
  font-size: 1.6rem;
  font-family: "Roboto", sans-serif;
  color: var(--button-bg-color);
}

:root {
  background-color: black;
  font-size: 62.5%;
  --nav-bg-color: #bfbfbf;
  --nav-text-color: #020873;
  --button-bg-color: #ffffff;
  --button-text-color: #020873;
}

a {
  text-decoration: none;
}

.botao_ex {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 14rem;
  height: 2.5rem;
  background: var(--button-bg-color);
  border-radius: 0.8rem;
}

.menu_superior ul li a {
  color: #020873;
  font-weight: 800;
}

.menu_superior a {
  font-size: 2rem;
  color: var(--button-bg-color);
}

#cabecalho {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #020873;
  border-radius: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  height: 8rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

#logo img {
  width: 8rem;
  height: 8rem;
  margin-left: 1rem;
}

.menu_superior {
  padding-right: 1rem;
}

.menu_superior ul {
  display: flex;
  align-items: center;
  gap: 3rem;
  list-style: none;
  margin-right: 15rem;
}

.menu_superior a {
  font-size: 2rem;
  color: var(—button-bg-color);
}

#menu_superior {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-box {
  transform: translate(-50%, -50%);
  background: white;
  height: 3rem;
  padding: 1rem;
  margin-top: 3rem;
  border-radius: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.search-txt {
  border: none;
  background: none;
  outline: none;
  padding: 0;
  color: #020873;
  font-size: 2rem;
  font-weight: 800;
  line-height: 2.5rem;
  width: 0;
  transition: 0.5s;
  font-family: "Roboto", sans-serif;
}

::-webkit-input-placeholder {
  color: #020873;
}

.search-buttom {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #020873;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
}

.search-box:hover > .search-txt {
  width: 25rem;
  padding: 0 0.5rem;
}

.search-box:hover > .search-buttom {
  background: #192850;
}

.search-box img {
  width: 7rem;
  height: 7rem;
  margin-right: 1rem;
}

.conteudo {
  margin-bottom: 10px;
}

.conteudo-principal {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-around;
  position: relative;
  flex-wrap: wrap;
}

.conteudo-principal-destaque {
  display: flex;
  flex-direction: row;
  gap: 60px;
  margin-left: 2rem;
  flex-wrap: wrap;
}

.conteudo-principal-destaque-titulo {
  font-weight: 800;
  font-size: 4rem;
  color: white;
  text-align: left;
  margin: 10px 5rem;
  position: relative;
  padding-top: 5px;
  padding-bottom: 5px;
}

.conteudo-principal-destaque-subtitulo {
  position: relative;
  height: 400px;
  width: 320px;
  margin-bottom: 20px;
}

.conteudo-secundario {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
}

.conteudo-secundario-titulo {
  font-weight: 800;
  font-size: 4rem;
  color: white;
  text-align: left;
  margin: 0px 5rem;
  position: relative;
  padding-top: 20px;
  padding-bottom: 20px;
}

.conteudo-secundario-subtitulo {
  font-weight: 100;
  font-size: 24px;
  color: white;
  background-color: #020873;
  padding: 5px 5px;
  box-shadow: 4px 5px 4px rgba(0, 0, 0, 0.25);
  border-radius: 25px;
  margin-bottom: none;
  text-align: center;
  align-items: center;
  margin-right: 20px;
}

footer {
  background-color: #020873;
  border-radius: 2rem;
  height: 14.5rem;
  margin-left: 1rem;
  margin-right: 1rem;
  margin-top: 1rem;
  padding-bottom: 1rem;
}

footer nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 1rem;
  margin-right: 1rem;
}

footer nav ul {
  display: flex;
  align-items: start;
  list-style: none;
  padding-left: 8rem;
  padding-top: 2rem;
}

footer nav ul li a {
  font-size: 2.5rem;
  color: white;
}

footer nav img {
  width: 3.5rem;
}

#copy-left {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

#copy-left img {
  width: 2.3rem;
}

footer #contato {
  color: #020873;
  font-weight: 800;
}

footer #logo img {
  width: 30rem;
}

.conteudo-principal-destaque-subtitulo a {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.conteudo-principal-destaque-subtitulo img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.conteudo-principal-destaque-subtitulo:hover img {
  transform: scale(1.2);
  z-index: 1;
}

.carrossel {
  display: flex;
  overflow: scroll;
  gap: 1rem;
  padding: 1rem 1rem;
  overflow: hidden;
  white-space: nowrap;
}

.carrossel-inner {
  display: flex;
  flex-direction: row;
  animation: scroll 20s linear infinite;
}

.carrossel-item {
  display: inline-block;
  position: relative;
  text-align: center;
  width: 319px;
  height: 300px;
  margin-right: 20px;
}

.carrossel-item img {
  width: 319px;
  height: 300px;
  transition: transform 0.3s ease;
  z-index: 1;
}

.carrossel-item .overlay {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.carrossel-item img:hover {
  transform: scale(1.2);
}

.carrossel-item:hover .overlay {
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-320px * 5 - 150px));
  }
}

.carrossel:hover .carrossel-inner {
  animation-play-state: paused;
}
