@import url('https://fonts.googleapis.com/css?family=Poppins');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@100;200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Charm:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');
*{
    font-family: "Playfair Display", sans-serif;
}
body {
    background-color: #ff69b4cc;
    background-color: rgb(175,39,77);
    background-color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    text-align: center;
}
/************** DESKTOP VIEW ***********/
.sections-container {
    display: flex;
    flex: 1;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.sections-container::-webkit-scrollbar {
    display: none;
}
.section {
    flex: 0 0 25%;
    height: 100%;
    position: relative;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
    background-size: cover;
    overflow: hidden;
    transform-origin: left;
    transition: 1s;
    border-radius: 5px;
    transform: perspective(1000px) rotateY(90deg);
}
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
    transition: width 0.5s ease, height 0.5s ease;
    z-index: 1;
}
.section .content {
    position: relative;
    z-index: 2;
}
.content-desktop{
    opacity: 0;
    transform: scale(0);
    transition: 0.5s;
}
.content-small{
    position: absolute;
    text-align: center;
    width: 100%;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.7);
    font-weight: 600;
    font-size: 40px;
    height: 100%;
    border-radius: 0px;
}
.section:nth-child(1) {
    background: url('../img/18-24.webp') no-repeat center center/cover;
}
.section:nth-child(2) {
    background: url('../img/25-40.webp') no-repeat center center/cover;
}
.section:nth-child(3) {
    background: url('../img/40-55.webp') no-repeat center center/cover;
}
.section:nth-child(4) {
    background: url('../img/55+.webp') no-repeat center center/cover;
}
.section:nth-child(1)::before {
    background: rgb(115 0 32 / 50%);
}
.section:nth-child(2)::before {
    background: rgb(115 0 32 / 50%);
}
.section:nth-child(3)::before {
    background: rgb(115 0 32 / 50%);
}
.section:nth-child(4)::before {
    background: rgb(115 0 32 / 50%);
}
.section:hover::before {
    width: 100%;
    height: 100%;
}
.section:hover .content {
    opacity: 1;
    transform: scale(1);
}
.section:hover .content-small{
    display: none;
}
.swiper {
    height: 100%;
    width: 100%;
    display: none;
}
.swiper-wrapper {
    height: 580px;
    width: 100% !important;
    transform: none !important;
    transition: none;
}
.swiper-slide {
    width: 300px !important;
    height: 40px !important;
    border-radius: 10px;
    overflow: hidden;
    margin: 0px auto;
    margin-bottom: 2px;
}
.swiper-slide-active {
    height: 400px !important;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.swiper-button-prev, .swiper-button-next {
    color: black;
    position: absolute;
    top: 560px;
    background: white;
    transform: translateY(-50%);
    height: 35px;
    width: 35px;
    border-radius: 50%;
    margin: 0;
    font-size: 1.7rem;
}
.swiper-button-prev:after, .swiper-button-next:after {
    content: none;
}
.swiper-button-prev {
    left: 40px;
}
.swiper-button-next {
    right: 40px;
}
.swiper-pagination{
    top: 550px !important;
    left: 40px !important;
    width: calc(100% - 80px) !important;
}
.swiper-pagination-bullet {
    background: white;
    opacity: 1;
    width: 1rem;
    height: 1rem;
}
.swiper-pagination-bullet-active {
    background: black;
}
.content-mobile{
    height: 100%;
    width: 100%;
    border-radius: 0px;
    background-color: rgb(0 0 0 / 70%);
}
.content-mobile p{
    display: none;
}
.content-mobile h2{
    font-weight: 500 !important;
    margin-bottom: 0 !important;
    font-size: 20px !important;
}
.content-mobile a{
    display: none;
}
.swiper-slide-active .content-mobile p{
    display: block;
}
.swiper-slide-active .content-mobile a{
    display: block;
}
.swiper-slide-active .content-mobile h2{
    font-weight: 600 !important;
    font-size: 30px !important;
}
.swiper-slide-active .content-mobile{
    background: rgb(115 0 32 / 50%);
}
.content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.content h2{
    color: #fff;
    font-size: 40px;
    font-weight: 600;
}
.content p{
    width: 70%;
    color: #ededed;
    text-align: center;
}
.content a {
    margin-top: 10px;
    text-decoration: underline;
    color: #5dc9ff;
    font-weight: 600;
}
.logo-description {
    text-align: center;
    padding: 10px 20px;
    display: flex;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.logo-wrapper{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.logo-wrapper h2{
    margin-left: 20px;
}
.logo img {
    max-width: 180px;
    margin: 10px auto;
}
.description {
    font-size: 17px;
    color: #fff;
    text-align: left;
}
.description p{
    display: none;
    color: #d41178;
    font-weight: 600;
}
.logo-description-bottom{
    height: 90px;
}
@media (max-width: 768px) {
    body {
        padding: 20px;
        height: auto;
        display: block;
    }
    .swiper{
        display: block;
    }
    .card{
        width: 100%;
    }
    .arrows{
        display: block;
    }
    .cards-container {
        display: block;
        height: 500px;
    }
    .sections-container{
        display: none;
    }
    .section {
        flex: 0 0 100%;
    }
    .logo-description {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .description{
        font-size: 13px;
        height: 40px;
        margin-top: 20px;
        margin-bottom: 20px;
        text-align: center;
    }
}