69 lines
1.2 KiB
CSS
69 lines
1.2 KiB
CSS
#carousel-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 80%;
|
|
margin: auto;
|
|
overflow: hidden;
|
|
position: relative;
|
|
perspective: 1000px;
|
|
}
|
|
|
|
#carousel {
|
|
display: flex;
|
|
transition: transform 0.5s ease;
|
|
transform-style: preserve-3d;
|
|
}
|
|
|
|
.project {
|
|
min-width: 90%;
|
|
box-sizing: border-box;
|
|
padding: 20px;
|
|
background-color: #f8f9fa;
|
|
text-align: center;
|
|
border: 1px solid #ddd;
|
|
border-radius: 10px;
|
|
margin: 0 10px;
|
|
backface-visibility: hidden;
|
|
}
|
|
|
|
.nav-button {
|
|
background-color: #182b3f;
|
|
z-index: 15;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
font-size: 18px;
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
#prev-button {
|
|
left: 10px;
|
|
}
|
|
|
|
#next-button {
|
|
right: 10px;
|
|
}
|
|
|
|
.nav-button:hover {
|
|
background-color: #12457d;
|
|
}
|
|
|
|
.project_buttons {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
#global_title {
|
|
animation: glitch 3s steps(100) infinite;
|
|
color: #151515;
|
|
font-size: 13vh;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
} |