Edit
The problems of spaces on the right side of the site I've corrected by doing a overflow-x:hidden
in the html and body, and then putting box-sizing:border-box
in the elements as class .aos-item
so their padding does not interfere with the layout.
html, body {
overflow-x: hidden;
}
.aos-item {
display: inline-block;
float: left;
width: 50%;
height: 300px;
box-sizing: border-box;
padding: 20px;
}
From what I've seen these CSS should solve the problem of alignment and the size of the logo.
NOTE: You will have to make other variations of the average quary @media
to treat the height of the UL in some screen widths .cycle-slideshow .logo-atividades .atividades
Leave note in the code below.
.cycle-slideshow .logo-atividades {
position: absolute;
top: 0;
left: 50%;
max-width: 500px;
height: 305px;
text-align: center;
overflow: hidden;
z-index: 999;
transform: translateX(-50%);
}
.cycle-slideshow .logo-atividades .atividades {
position: absolute;
top: 20%; /* aqui vc controla a altura da UL de acordo com a largura da tela*/
width: 100%;
height: 115px;
overflow: hidden;
pointer-events: none;
text-align: center;
z-index: 10;
color: #FFF;
}
Now about the space left over from the right side is due to this JS that you used in your <sections>
, so much so that after you put that CSS up and remove the sections
you will see that the bug some
This elements with the AOS class that comes in from the right and left data-aos="fade-right"
I believe they are bugging the width of the screen and giving the white epaso at the top, remove them and the bug some tb ...