style.css
style.css
background-color: #f2f2f2;
margin: 0;
font-family: Arial,sans-serif;
}
body h1{
background-color: #208418;
margin: 0;
height: 10vh;
text-align: center;
}
p{
color: #000000
}
h1 {
text-align: center;
height: 6vh;
}
h2 {
text-align: center;
.imagem1 {
height: 60px;
width: 60px;
.slider {
width: 100%;
height: 400px;
position: relative;
overflow: hidden;
}
.slide {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
opacity: 0;
transition: opacity 1s ease-in-out;
}
.slide.active {
opacity: 1;
}
.slide img {
width: 100%;
height: 100%;
}
.btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 1;
cursor: pointer;
font-size: 20px;
color: #fff;
background: rgba(0,0,0,0.5);
padding: 10px 20px;
border-radius: 5px;
transition: background 0.3s ease-in-out;
}
.btn:hover {
background: rgba(0, 0, 0, 0.7);
}
.btn.prev {
left: 10px;
}
.btn.next {
right: 10px;
}