@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

.navbar {
    position: relative;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    padding: 5px 0;
    text-align: center;
    background-color: #333;
}
.navbar a {
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    padding: 5px 15px;
    flex-grow: 1;
}
.navbar a.active {
    background-color: rgb(139, 96, 81);
    border-bottom: 2px solid orangered;
}

.container {
    padding: 0 0 10px 0;
}
.wrapper {
    position: relative;
    max-width: 58rem;
    margin: 0 auto;
}
.slider {
    display: flex;
    aspect-ratio: 16/6;
    overflow: hidden; /* Changed to hidden */
    position: relative; /* Added */
}
.slider img {
    width: 450px;
    /* flex: 1 0 100%; */
    scroll-snap-align: start;
    /* object-fit: cover; */
    opacity: 0; /* Added */
    transition: opacity 1s ease-in-out; /* Added */
    position: absolute; /* Added */
    top: 0; /* Added */
    left: 0; /* Added */
}

.slider .slides.active {
    opacity: 1; /* Added */
    z-index: 1; /* Added */
}

.tempo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px 20px 20px;
}
.tempo-header h4 {
    font-size: 18px;
    font-weight: 500;
}
.tempo-header p {
    font-size: 13px;
    color: blue;
}

.spl {
    margin-top: -20px;
}

.categories {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px; 
}
.categories .one {
    padding: 0 10px;
    width:100%;
}
.category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px 0;
    background-color: #f2f2f2;
    padding: 8px 25px;
    border: none;
    border-radius: 8px;
}
.category-item i {
    color: orangered;
    font-size: 20px;
}
.category-item p {
    font-size: 14px;
}


.section {
    padding: 0 20px 10px 20px;
}
.vdos {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
}
.box {
    display: flex;
    align-items: center;
}


.cont {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
}
.auth {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
}
.auth p {
    align-self: center;
    font-size: 13px;
}
.cont i {
    position: absolute;
    top: 8px; right: 8px;
    font-size: 18px;
}
.cont p {
    align-self: flex-start;
    font-size: 13px;
    padding: 5px 0;
}
.cont img {
    width: 200px;
}
.auth img {
    width: 120px;
    height: 120px;
    border: none;
    border-radius: 50%;
}
.box p {
    font-size: 100px;
    color: #8a8a8a;
    margin: 0 -8px 0 0;
}
.vdos .box img {
    width: 100px;
    height: 100px;
}


.offer {
    margin: 20px;
}
.offer img {
    width: 310px;
    height: 150px;
    border: none;
    border-radius: 15px;
}

.languages {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0;
}
.languages .language-item {
    display: inline-block;
    align-items: center;
    gap: 10px;
    width:100%;
    margin: 0 0 20px 0;
    background-color: #f2f2f2;
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
}
.languages .language-item p {
    font-size: 14px;
    margin: 0;
    text-align: center;
    white-space: nowrap; /* Prevent wrapping */
}

.molis-book {
    background-color: #f2f2f2;
    padding: 10px;
    border: none;
    border-radius: 10px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.molis-book .left-image img {
    width: 500px;
    height: 500px;
}
.molis-book .right-part {
    margin-left: 15px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 0px;
}
.molis-book .right-part .right-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.molis-book .right-part .right-top h5 {
    font-size: 16px;
}
.molis-book .right-part .right-top p {
    font-size: 10px;
}
.molis-book .right-part .right-bottom i {
    font-size: 12px;
    color: orangered;
}
.molis-book .right-part .right-bottom p {
    font-size: 10px;
}



@media (max-width: 700px) {
    /* .slider img {
        width: 400px;
    } */
    .molis-book .left-image img {
        width: 100px;
        height: 100px;
    }
}
@media (max-width: 400px) {
    /* .slider img {
        width: 430px;
    } */
    .molis-book .left-image img {
        width: 110px;
        height: 110px;
    }
}