@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700&family=Work+Sans:wght@500;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
}

body {
    font-family: 'Raleway', sans-serif;
}

.nav-container{
    background: #ffffff;
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    height: 155px;
}

.logo{
    position: relative;
    top: 80px;
    margin-left: 5%;
    width: auto;
    height: auto;
}

.menu{
    position: relative;
    top: 15px;
    margin-left: 40%;
    margin-right: 10%;
    align-self: right;
}

.item1:hover text{
    fill: #29a2c7;
}

.item2:hover text{
    fill: #29a2c7;
}

.item3:hover text{
    fill: #29a2c7;
}

.item4:hover text{
    fill: #29a2c7;
}

.geracao-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    height: 40vh;
    width: 100vw;
    text-align: center;
    place-content: center;
    color: white;
    grid-template-areas: 
    "microredes geracao"
    ;
}

.geracao-container a{
    width: 100%;
    height: 100%;
}

.geracao-container img{
    width: 100%;
    height: 100%;
}

.box-microredes{
    background-image: url(../images/embrapii/minigeracao-microrredes.svg);
    background-repeat: no-repeat;
    background-size:contain;
    grid-area: microredes;
    display: grid;
    padding: 0%;
    place-items: center;
    transition: 150ms ease-in-out;
}

.box-microredes:hover{
    background-image: url(../images/embrapii/minigeracao-microrredes-hover.svg);
}

.box-geracao{
    background-image: url(../images/embrapii/geracao-energia.svg);
    background-repeat: no-repeat;
    background-size: contain;
    grid-area: geracao;
    display: grid;
    padding: 0%;
    place-items: center;
    transition: 150ms ease-in-out;
}

.box-geracao:hover{
    background-image: url(../images/embrapii/geracao-energia-hover.svg);
}

.texto-container{
    display: grid;
    grid-template-columns: 3fr 5fr;
    grid-template-rows: 1fr;
    height: 100vh;
    width: 100vw;
    place-content: center;
    grid-template-areas: 
    "imagem texto"
    ;
}

.texto-image{
    background-image: url(../images/embrapii/foto-texto.svg);
    background-repeat: no-repeat;
    background-size: contain;
    grid-area: imagem;
    display: grid;
    margin-top: 15%;
    margin-left: 25%;
    margin-bottom: 15%;
    place-items: center;
    transition: 150ms ease-in-out;
}

.texto-image:hover{
    /*background-image: url(../images/embrapii/foto-texto-hover.svg);*/
    filter: brightness(125%);
}

.texto-contant{
    grid-area: texto;
    place-items: left;
    padding: 10%;
}

.texto-contant h1{
    margin-top: 5%;
    font-family: Raleway;
    line-height: 1em;
    letter-spacing: 0.02em;
    color: #4F4F4F;
}

.texto-contant h2{
    margin-bottom: 5%;
    font-family: Raleway;
    line-height: 1.5em;
    letter-spacing: 0.02em;
    color: #4F4F4F;
}

.texto-contant p{
    font-family: Raleway;
    line-height: 2em;
    letter-spacing: 0.02em;
    color: #4F4F4F;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
  }
  
.videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.botao-lattes rect{
    pointer-events: all;
 }

.botao-lattes:hover rect{
    fill: #0088cc;
 }

.hover-box:hover rect{
    filter: brightness(110%);
}