2020-11-05 18:04:55 +00:00
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: 'Roboto', sans-serif;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
height: 100vh;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 500px;
|
|
|
|
height: 500px;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
.carousel {
|
|
|
|
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
|
|
|
|
height: 530px;
|
|
|
|
width: 500px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-container {
|
|
|
|
display: flex;
|
2021-08-15 22:50:43 +00:00
|
|
|
transform: translateX(0);
|
|
|
|
transition: transform 0.5s ease-in-out;
|
2020-11-05 18:04:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.buttons-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
background-color: rebeccapurple;
|
|
|
|
color: #fff;
|
|
|
|
border: none;
|
|
|
|
padding: 0.5rem;
|
|
|
|
cursor: pointer;
|
|
|
|
width: 49.5%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn:hover {
|
|
|
|
opacity: 0.9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|