/* Responsive styles for Home */

@media only screen and (max-width:1200px) {

    /* ? Navbar */
    .left {
        width: 54px;
    }

    .logo-div {
        margin-bottom: 60px;
    }

    .icon {
        margin-bottom: 60px;
    }


    /* ? Navbar */


    .right {
        padding-bottom: 90px;
    }

    .carousel-container {
        height: clamp(420px, 70svh, 630px);
    }

    .text-overlay {
        left: clamp(80px, 12vw, 160px);
        right: 32px;
        margin-left: 0;
        max-width: 600px;
    }

    h1 {
        font-size: 40px;
        line-height: 40px;
        margin-bottom: 14px;
    }

    p {
        font-size: 14px;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .watch-btn {
        width: 180px;
        height: 52px;
        font-size: 14px;
    }

    .carousel-buttons {
        bottom: 18px;
        gap: 8px;
    }

    .carousel-buttons button {
        width: 10px;
        height: 10px;
    }

    .category-section {
        padding-left: 54px;
    }

    .category-card {
        gap: 20px;
        padding-left: 46px;
    }

    .movie-card {
        width: 230px;
        flex-basis: 230px;
        height: 340px;
    }

    .category-header {
        margin: 24px 0px 14px 46px;
    }

    .category-P {
        font-size: 20px;
        line-height: 28px;
    }

    .chevron-icon {
        margin-left: 12px;
        width: 14px;
        height: 14px;
    }

    .movie-details {
        padding: 22px;
    }

    .movie-category {
        font-size: 13px;
    }

    .movie-title {
        font-size: 20px;
        line-height: 28px;
        padding-top: 10px;
    }

    .star {
        font-size: 16px;
        padding-top: 10px;
    }
}

@media only screen and (max-width:768px) {

    /* ? Navbar */
    .left {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-around;
        padding: 10px 0;
        background: #1d1d1d;
    }

    .logo-div {
        display: none;
    }

    .sidebar {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        padding: 0;
    }

    .icon {
        margin-bottom: 0;
    }

    .logout-button {
        width: 24px;
        height: 24px;
        margin-bottom: 0;
    }

    .logout-button img {
        width: 25px;
        height: 25px;
    }

    /* ? Navbar */


    .right {
        padding-bottom: 80px;
    }

    .carousel-container {
        height: clamp(340px, 62svh, 480px);
    }

    .slide::after {
        height: 100px;
    }

    .text-overlay {
        left: 20px;
        right: 20px;
        margin-left: 0;
        max-width: none;
    }

    h1 {
        font-size: 24px;
        line-height: 1.1;
        margin-bottom: 14px;
    }

    p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .watch-btn {
        width: 120px;
        height: 40px;
        font-size: 12px;
    }

    .carousel-buttons {
        bottom: 14px;
        gap: 6px;
    }

    .category-section {
        padding-left: 5px;
    }

    .category-card {
        gap: 20px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .movie-card {
        width: 130px;
        flex-basis: 130px;
        height: 175px;
    }

    .category-header {
        margin: 20px 0px 10px 30px;
    }

    .category-scroll-button {
        width: 32px;
        height: 32px;
    }

    .category-P {
        font-size: 18px;
        line-height: 24px;
    }

    .chevron-icon {
        margin-left: 10px;
        width: 12px;
        height: 12px;
    }

    .movie-details {
        padding: 15px;
        box-sizing: border-box;
    }

    .movie-category {
        font-size: 10px;
    }

    .movie-title {
        font-size: 14px;
        line-height: 22px;
        padding-top: 8px;
    }

    .star {
        font-size: 12px;
        padding-top: 8px;
    }


    .site-footer {
        margin: 56px 16px 0;
        padding: 22px 0 88px;
    }

    .footer-brand img {
        width: 30px;
        height: 30px;
    }

    .site-footer p {
        font-size: 12px;
    }

}