* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #C588EE;
    font-family: 'Poppins', sans-serif;
}

nav {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 50px 40px;
    background-color: transparent;
    color: #191919;
    transition: color 0.3s ease;
    transition: background-color 0.3s ease;
    z-index: 100;
}

.logo img {
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 52px;
    padding: 15px;
    margin: 0;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: #d9d9d9;
    font-weight: 400;
}

.nav-links a:hover, a:active {
    text-decoration: none;
    color: #C588EE;
    font-weight: 600;
}



#background-img {
    z-index: -1;
    width: 100%;
    position: relative;
}
#background-day {
    z-index: -1;
    width: 100%;
    position: relative;
}
#background {
    z-index: -1;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background-image: url(media/bg.png);
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

footer {
    bottom: 0;
    margin-top: 135px;
    background-color: #C588EE;
    color: #191919;
    text-align: center;
    padding: 40px;
    width: 100%;
}

.dark-bg-curv {
    margin-top: -80px;
    background-color: #191919;
    border-radius: 36px 36px 0 0;
    height: 400px;
    width: 100%;
    padding-top: 70px;
    position: relative;
    z-index: 0;
}

#dark-bg-curv {
    margin-top: -80px;
    padding-bottom: 50px;
    background-color: #191919;
    border-radius: 36px 36px 0 0;
    width: 100%;
    padding-top: 70px;
    position: relative;
    z-index: 0;
}
.dark-daycard {
    width: 90%;
    height: auto;
    padding-top: 40px;
    padding-bottom: 50px;
    margin: auto;
    flex-shrink: 0;
    border-radius: 36px 36px 0px 0px;
    border: 1px solid;
    border-color: #C588EE;
    background: #191919;
}

.card-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    justify-content: center;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin: 20px;
    color: #d9d9d9;
    transition: transform 0.5s ease-in-out;
}

.slide-left {
    animation: slideLeft 0.5s ease-in-out;
}

.slide-right {
    animation: slideRight 0.5s ease-in-out;
}

@keyframes slideLeft {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.day-card {
    background-color: #d9d9d9;
    color: #191919;
    border-radius: 30px 30px 0 0;
    text-align: center;
    width: 250px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 14px;
}

.day-card img {
    border-radius: 30px 30px 0 0;
    width: 100%;
    object-fit: cover;
}

.day-card:hover {
    padding: 5px 5px 17px 5px;
    background-color: #C588EE;
    color: #191919;
    transition: 0.3s;
}

.day-card p {
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
}

button {
    position: absolute;
    top: 55%;    
    background-color: #191919;
    color: #d9d9d9;
    border: none;
    font-size: 28px;
    padding: 12px;
    cursor: pointer;
    z-index: 1;
}

button:hover {
    background-color: #c588ee6d;
}

.prev {
    left: 9%;
}

.next {
    right: 9%;
}

.headline {
    color: #D9D9D9;
    text-align: center;
    font-family: Poppins;
    font-size: 34px;
    font-style: normal;
    font-weight: 600;
    z-index: 100;
    margin-top: -40px;
    margin-bottom: 30px;
}

.summary-card{
    cursor: pointer;
    justify-content: center;
    background-color: #C588EE;
    color: #191919;
    height: fit-content;
    width: fit-content;
    margin: 40px auto 40px auto;
    width: 80%;
    border-radius: 36px 36px 0 0;
    padding: 45px 60px 60px 60px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    text-align: justify;
    transition: background-color 0.3s;
}

.summary-card:hover {
    background-color: #d9d9d9;
}

.title-text {
    color: #191919;
}
.summary-text {
    padding: 23px 0 0 0;
}
.desc-text {
    padding: 5px 0 0 0;
    color: #191919;
    opacity: 0.8;
}

.hidden {
    display: none;
}


.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #D9D9D9;
    cursor: pointer;
    z-index: 100;
}

.active-dot {
    z-index: 100;
    background-color: #C588EE; 
}

.dots-container {
    display: flex;          
    justify-content: center;
    align-items: center;    
    margin-top: 20px;      
}


@media screen and (max-width: 600px) {
    .day-card {
        width: 200px;
    }
    .headline {
        margin-top: 80px;
    }
    .dark-daycard {
        height: auto;
    }
    footer {
        margin-top: 570px;
    }
    #background {
        background-image: url(media/bg-mobile.png);
        margin: 0;
        padding: 0;
        height: 70vh;
    }
    #background-img {
        z-index: -1;
        width: 100%;
        scale: 1.5;
        margin-top: 25vh;
        position: relative;
    }
    nav {
        background-color: #1919198c;
    }
    #dark-bg-curv{
        padding-top: 150px;
    }
    .summary-card {
        font-size: 13px;
        padding: 10% 6%;
        width: 90%;
    }
    .title-text {
        text-align: center;
    }
}



