html{
  scroll-behavior:smooth;
}
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html, body{
  overflow-x:hidden;
}

html, body{
  width:100%;
  height:100%;
}

body{
  font-family:'Poppins', sans-serif;
  background:#f5f5f5;
  color:black;
}


header{
  width:100%;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:30px 80px;

  position:fixed;
  top:0;
  left:0;
  background:white;
  z-index:1000;
}

nav{
  display:flex;
  gap:40px;
  position: relative;
  margin-left: auto;

}

nav a{
  text-decoration:none;
  color:rgb(0, 0, 0);
  font-size:15px;

  transition:0.3s;
   justify-content:space-between;
  align-items:center;
  padding: 30px;
}

nav a:hover{
  opacity:0.5;
}

.home{
    width:100%;
    height:100vh;
    display:flex;
    align-items:center;
    padding:120px 80px 0 80px;
    background-image:url("./imagens/fundo.jpg"); /* Correção do caminho e da extensão duplicada */
    background-size:cover;
    background-position:center;
    position:relative;
}


.home::before{
  content:"";

  position:absolute;
  inset:0;

  background:rgba(0,0,0,0.4);
}

.text h2{
  font-size:90px;
  line-height:90px;
  font-weight:900;

  margin-bottom:20px;
}

.text p{
  width:70%;

  font-size:18px;
  color:#ffffff;

  margin-bottom:30px;
}

button{
  padding:15px 40px;

  border:none;
  background:black;
  color:white;

  font-size:16px;
  cursor:pointer;

  transition:0.3s;
}

button:hover{
  transform:scale(1.05);
}

img{
  width: 100px;
  height: auto;
background-size:contain;
  filter:grayscale(100%);
}

.text{
  position:relative;
  z-index:1;

  color:white;
}

#historia{
  min-height:100vh;

  padding:120px 80px;

  background:#111;
  color:white;
}

#historia h2{
  font-size:80px;
  margin-bottom:30px;
}

#historia p{
  width:60%;

  font-size:20px;
  line-height:35px;

  color:#ccc;
}