* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    background: linear-gradient(to right, #F5F9FC 50%, #CC0935 50%);
    overflow: hidden;
}

h1 {
    color: #CC0935;
    font-family: "Outfit", sans-serif;
}

p {
    font-size: 19px;
    font-family: "Montserrat", sans-serif;
}

header {
    width: 80%;
    background: #0D234C;
    display: flex;
    justify-content: space-between;
    justify-self: center;
    align-items: center;
    padding: 18px 40px;
    position: sticky;
    top: 15px;
    z-index: 999;
    border-radius: 25px;
}
.logo img {
    height: 65px;
    text-decoration: none;
}
.logo:hover {
    filter: drop-shadow(2px 2px 10px rgb(223, 172, 185));
    transition: 0.5s;
}
nav {
    display: flex;
    align-items: center;
}
nav a {
    color: #F5F9FC;
    text-decoration: none;
    font-size: 20px;
    position: relative;
    transition: 0.3s;
    font-family: "Outfit", sans-serif;
}
nav a:hover {
    color: #F5F9FC;
}
nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F5F9FC;
    transition: width 0.3s;
}
nav a:hover::after {
    width: 100%;
}
.dropdown {
    display: flex;
    position: relative;
    gap: 25px;
}
.dropdown:hover {
    display: flex;
}
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.menu_tooggle {
    display: none;
}
.menu_button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
}
.menu_button span {
    height: 3px;
    width: 100%;
    background: #F5F9FC;
    border-radius: 3px;
    transition: 0.5s;
}
@media (max-width: 900px) {
    nav {
        position: absolute;
        top: 105px;
        background: #0D234C;
        width: 30%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 25px 0;
        display: none;
        border-radius: 20px;
        left: 70%;
    }
    .menu_tooggle:checked ~ nav {
        display: flex;
    }
    .menu_button {
        display: flex;
    }
    .dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .menu_tooggle:checked + .menu_button span:nth-child(1) {
        transform: rotate(-25deg);
    }
}

.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #CC0935;
    overflow: hidden;
}
.slider::before {
    position: absolute;
    width: 50%;
    height: 100vh;
    content: '';
    top: 0;
    left: 0;
    background-color: #F5F9FC;
}
.title {
    color: #CC0935;
    font-family: "Outfit", sans-serif;
    position: relative;
    top: 10%;
    font-size: 80px;
    text-shadow: 3px 1px 0 #7f0a25;
    margin-left: 5%;
    font-weight: 600;
}
.zpet a {
    display: inline-block;
    position: relative;
    margin: 5%;
    font-size: 1.2rem;
    width: 120px;
    height: 50px;
    background-color: #CC0935;
    border-radius: 10px;
    color: #F5F9FC;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    text-align: center;
    align-content: center;
    border: none;
    top: 30px;
    transition: transform 0.3s ease, font-size 0.3s ease;
    transform-origin: center;
}
.zpet a:hover {
    transform: scale(1.08);
}
.content {
    color: #F5F9FC;
    position: absolute;
    top: 10%;
    left: 60%;
    text-align: left;
    width: 30%;
}
.content h1 {
    color: #F5F9FC;
    font-size: 30px;
    padding-bottom: 10px;
}
.content .item {
    display: none;
}
.content .item.active {
    display: block;
}
@keyframes showContent {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.content .item.item.active h1 {
    opacity: 0;
    animation: showContent .5s ease-in-out 1 forwards;
}
.content .item.item.active p {
    opacity: 0;
    animation: showContent .5s .2s ease-in-out 1 forwards;
}

.images {
    position: absolute;
    bottom: 30px;
    left: 50%;
    --rotate: 0deg;
    transform: translate(-50%, 50%) rotate(var(--rotate));
    width: clamp(600px, 80vw, 1100px);
    height: clamp(600px, 80vw, 1100px);
    border-radius: 50%;
    transition: transform 0.5s ease-in-out;
    outline: 3px dashed #0D234C;
    outline-offset: -100px;
}
.images .item {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    rotate: calc(32.7272727273deg * var(--i));
}
.images .item img {
    height: 35%;
}
#prev, #next {
    position: absolute;
    border: none;
    top: 40%;
    left: 250px;
    font-size: 100px;
    font-family: "Outfit", sans-serif;
    background-color: transparent;
    color: #0D234C;
    font-weight: bold;
    opacity: 0.5;
}
#next {
    left: unset;
    right: 250px;
}
#prev:hover, #next:hover {
    opacity: 1;
}

