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

body {
    background-color: #f5f5f5;
}

.topo-nv1 {
    /* background-color: #af0412; */
    /* background-color: #de4437; */
    /* background-color: #130049; */
    /* fim cores */

    background-color: #fe001b;
    width:100%;
    min-height: 3em;
    display: flex;
    justify-content: end;
    align-items: center;
    padding-right: 3.5em;
    gap: 1em;
}

.topo-nv1 a {
    text-decoration: none;
    color: #f5f5f5;
    font-size: 1.5em;
    transition: 0.5s ease;
}

.topo-nv1 a:hover {
    font-size: 1.8em;
}

.topo-nv2 {
    /* background-color: #333; */
    display: flex;
    background-color: #130049;
    width:100%;
    /* height: auto; teste gpt */
}

.bandeira {
  width: 1.5em;
  /* height: 50px; */
  display: flex;
  overflow: hidden;
  opacity: 0.7;
}

/* Cada faixa da bandeira */
.cor {
  flex: 1;
}

.brasil .verde   { background-color: #009739; }
.brasil .amarela { background-color: #ffcc29; }
.brasil .azul    { background-color: #002776; }

.russia .branca  { background-color: #ffffff; }
.russia .azul    { background-color: #0033a0; }
.russia .vermelha{ background-color: #d52b1e; }

/* .brasil {
    align-self: flex-start;
}

.russia {
    align-self: flex-end;
} */

header {
  position: relative;
  /* top: 30px; Espaço do topo */
  width: 100%;
  z-index: 1000;
  /* background-color: #333; */
}

.menu {
  display: flex;
  /* align-items: center; */
  justify-content: space-between;
  width: 90%;
  margin: 0 auto;
  /* padding: 1em; */
  /* background: rgba(255, 255, 255, 0.95); */
  background-color: #20006d;
  /* border-radius: 10px; */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.menu ul {
  list-style: none;
  display: flex;
  /* gap: 1rem; */
}

.menu a {
  text-decoration: none;
  color: #f5f5f5;
  font-weight: bold;
  padding: 1rem;
  display: block;
  transition: color 0.3s;
  border-top: 4px solid transparent;
  transition: 0.5s ease;
}

.menu a:hover {
  /* background-color: #007bff; */
  background-color: #fe001b;
  border-top-color: #130049;
}

.menu #logo:hover {
  /* background-color: #007bff; */
  background-color:transparent !important;
  border-top-color: transparent !important;
}

/* Logo centralizada */
.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.logo img {
  height: 8em;
  margin-top:50%;
}

main {
  /* padding-top: 2em;  */
}

section {
  padding: 4rem 2rem;
  border-bottom: 1px solid #ccc;
  height: 1200px;
}


.dropdown {
  /* float: left; */
  /* overflow: hidden; */
}

.dropdown .dropbtn {
  font:inherit;
  font-size: inherit;
  border: none;
  outline: none;
  color: #f5f5f5;
  font-weight: bold;
  font-size: inherit;
  background-color: inherit;
  padding: 1rem;
  border-top: 4px solid transparent;
  transition: 0.5s ease;
  
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #fe001b;
  border-top-color: #130049;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #20006d;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  /* margin-top: 4px; */
  /* top: 100%; */
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #20006d;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  /* margin-top: 4px; */
  /* top: 100%; */
}

/* .dropdown-content a:first-child {
    border-top: none;
} */

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