Gostaria que o carrossel ficasse mais proximo ao menu não estou conseguindo.
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css">
<link rel="stylesheet" href="css/style.css">
<title>Review</title>
</head>
<body>
<header>
<nav class="navbar">
<a href="#" class="logo">Review</a>
<div class="nav-links">
<ul>
<li class="active"><a href="#">Home</a></li>
<li><a href="#">Filmes</a></li>
<li><a href="#">Séries</a></li>
<li><a href="#">Favoritos</a></li>
<li><a href="#">Login</a></li>
</ul>
</div>
</nav>
</header>
<!-- Swiper -->
<div class="swiper-container mySwiper">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img src="https://swiperjs.com/demos/images/nature-1.jpg" />
</div>
<div class="swiper-slide">
<img src="https://swiperjs.com/demos/images/nature-2.jpg" />
</div>
<!-- Adicione mais slides conforme necessário -->
</div>
</div>
<!-- Swiper JS -->
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
<!-- Initialize Swiper -->
<script>
var swiper = new Swiper(".mySwiper", {
effect: "coverflow",
grabCursor: true,
centeredSlides: true,
slidesPerView: "auto",
coverflowEffect: {
rotate: 15,
stretch: 0,
depth: 300,
modifier: 1,
slideShadows: true,
},
pagination: {
loop: true,
},
});
</script>
<script src="js/index.js"></script>
</body>
</html>
@charset "utf-8";
/* CSS Document */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, and, address, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, input, textarea, select {
background:transparent;
border:0;
font-size:100%;
margin:0;
outline:0;
padding:0;
vertical-align:baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display:block;
}
body {
line-height:1;
}
abbr[title], dfn[title] {
border-bottom:1px dotted;
cursor:help;
}
/*blockquote, q {
quotes:none;
}
blockquote:before, blockquote:after, q:before, q:after {
content:none;
}*/
del {
text-decoration:line-through;
}
hr {
background:transparent;
border:0;
clear:both;
color:transparent;
height:1px;
margin:0;
padding:0;
}
mark {
background-color:#ffffb3;
font-style:italic
}
input, select {
vertical-align:middle;
}
ins {
background-color:red;
color:white;
text-decoration:none;
}
ol, ul {
list-style:none;
}
table {
border-collapse:collapse;
border-spacing:0;
}
header {
height: 100vh;
width: 100vw;
}
.navbar {
position: absolute;
padding:50px;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
box-sizing: border-box;
}
.navbar a {
color: var(--cor-nome-nav);
}
.navbar .logo {
font-size: 2.5em;
font-weight: bold;
}
.navbar .nav-links ul {
display: flex;
}
.navbar .nav-links ul li {
margin: 0 25px;
font-size: 20px;
transition: color 0.3s ease; /* Adiciona uma transição suave para a mudança de cor */
}
.navbar .nav-links ul li.active a {
color: var(--active-nav);
font-weight: 600;
}
.navbar .nav-links ul li a:hover {
color: var(--active-nav);
}
/* Estilos específicos para o carrossel Swiper */
.swiper-container {
width: 80%;
margin: auto;
margin-top: 20px;
}
.swiper-slide {
background-position: center;
background-size: cover;
width: 250px;
}
.swiper-slide img {
display: block;
width: 100%;
-webkit-box-reflect: below 1px linear-gradient(transparent,transparent ,#0002,#0004);
}