﻿body {
    font-family: 'Roboto', sans-serif;
}

.logo {
    width: 130px;
}

.list-group-custom {
    background: white;
    border-radius: 0;
}

.card-list-group {
    width: 500px;
}

.carousel-custom {
    width: 800px;
}

.dashboard-items {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: auto;
}

.dasboard-item {
    width: 300px;
    height: 250px;
}

    .dasboard-item:hover {
        transform: scale(1.02);
        transition: 0.5s;
        cursor: pointer;
    }

        .dasboard-item:hover h5 {
            color: #D0B86F;
        }

.card-title-custom {
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.short-post-title {
    text-align: center;
}

p br {
    height: 0;
}

.carousel-img {
    height: 450px;
}

.top-image {
    height: 450px;
}

.btn-custom {
    background: #c4a548;
    box-shadow: none !important;
}

    .btn-custom:hover {
        background: rgb(208,184,111) !important;
        box-shadow: none;
        transform: scale(1.05);
        transition: 0.5s;
    }

.add-post-div {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.top-items {
    display: flex;
    width: 100%;
    gap: 30px;
    justify-content: center;
}

h4 {
    text-align: center;
}

.list-group-item {
    cursor: pointer;
    border: none;
    border-bottom: 1px solid rgb(243,244,246);
    border-radius: 0;
}

    .list-group-item:last-child {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .list-group-item:hover {
        background-color: #c4a548;
        color: white;
    }

.card-login-custom {
    width: 500px;
    margin: auto;
}

.form-group-custom {
    margin-bottom: 10px;
}

.center-items {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    min-height: calc(100vh - 160px);
}

.carousel-movies {
    width: 100%;
}

.movie-cards {
    width: 100%;
    display: flex;
    gap: 20px;
    flex-direction: row;
    margin-top: 10px;
    margin-bottom: 10px;
}

.card-movie {
    width: calc((100% - 100px) / 6);
    height: 280px;
    cursor: pointer;
    position: relative;
}

.movie-image-container i {
    position: absolute;
    bottom: calc(50% - 20px);
    left: calc(50% - 20px);
    cursor: pointer;
}

.card-movie-description {
    width: calc((100% - 30px) / 3);
    height: 380px;
    cursor: pointer;
    position: relative;
}

    .card-movie-description .btn-play {
        position: absolute;
        bottom: 10px;
        left: calc(50% - 15px);
    }

    .card-movie:hover, .card-movie-description:hover {
        transform: scale(1.02);
        z-index: 10;
        transition: 0.5s;
    }

.carousel-movies {
    clear: left;
}

.card-movie-empty {
    background-color: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.movie-items {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.card-movie-item {
    width: calc((100% - 150px) / 4);
    max-height: 430px;
    height: 430px;
    overflow: auto;
    position: relative;
}

    .card-movie-item:hover {
        transform: scale(1.05);
        transition: 0.5s;
        cursor: pointer;
    }

    .card-movie-item .btn-play {
        position: absolute;
        left: calc(50% - 20px);
        top: calc(50% - 20px);
    }

.h-200-hidden {
    height: 170px;
    overflow-y: hidden;
    margin: 0;
}

.card-img-top {
    min-height: 150px;
    max-height: 150px;
    width: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.header-img {
    max-height: 500px;
    width: 100%;
    overflow: hidden;
}

    .header-img img {
        width: 100%;
    }

.posts {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.article p {
    margin: 0;
}

.article {
    width: 90%;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.movie-container {
    min-height: calc(100vh - 120px);
    display: flex;
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
}

.gallery-item-buttons {
    position: absolute;
    left: 7.5px;
    right: 7.5px;
    bottom: 5px;
}

.movie-article {
    width: 40%;
    margin: auto;
}

    .movie-article img {
        max-width: 100%;
        max-height: 350px;
    }

.custom-btn-danger {
    background: red;
    box-shadow: none !important;
    color: white;
}

    .custom-btn-danger:hover,
    .custom-btn-danger:focus,
    .custom-btn-danger:active,
    .custom-btn-danger:focus-within,
    .custom-btn-danger:visited {
        background-color: orangered;
        box-shadow: none !important;
        color: white;
        transform: scale(1.05);
        transition: 0.5s;
    }

.custom-btn-light {
    background: #e6e6e6;
    box-shadow: none !important;
    color: black;
}

    .custom-btn-light:hover,
    .custom-btn-light:focus,
    .custom-btn-light:active,
    .custom-btn-light:focus-within,
    .custom-btn-light:visited {
        background: #e6e6e6 !important;
        box-shadow: none;
        color: dimgray;
        transform: scale(1.05);
        transition: 0.5s;
    }

.custom-btn {
    background: #c4a548;
    box-shadow: none !important;
}

    .custom-btn:hover,
    .custom-btn:focus,
    .custom-btn:active,
    .custom-btn:focus-within,
    .custom-btn:visited {
        background: rgb(208,184,111) !important;
        box-shadow: none;
        transform: scale(1.05);
        transition: 0.5s;
    }

.all-posts-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.post-item {
    width: calc((100% - 40px) / 3);
    margin-bottom: 20px;
    cursor: pointer;
    overflow-x: auto;
    height: fit-content;
}

    .post-item:hover {
        transform: scale(1.01);
        transition: 0.5s;
    }

    .post-item p {
        margin: 0;
    }

.header-text {
    position: absolute;
    left: calc(50% - 100px);
    top: 0;
    transition: 1s;
}

.center-content {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.footer-custom {
    clear: left;
    background-color: white;
}

.fas.fa-play-circle.fa-2x:hover {
    transform: scale(1.2);
    transition: 0.5s;
}

.card-movie .fas.fa-play-circle.fa-2x {
    position: absolute;
    bottom: 20px;
    left: calc(50% - 15px);
}

.fas.fa-play-circle.fa-2x {
    color: #c4a548;
}

.margin-div {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.cursor-pointer {
    cursor: pointer;
}

.form-select {
    border: 1px solid var(--mdb-form-control-border-color) !important;
}

    .form-select:focus {
        border: 2px solid #c4a548 !important;
        box-shadow: none !important;
        outline: none !important;
    }

.carousel-control-next-icon, .carousel-control-prev-icon {
    color: #c4a548;
}

.color-primary {
    color: #c4a548;
}

.page-link.active, .active > .page-link {
    color: #c4a548 !important;
    background-color: rgba(196, 165, 72,0.1);
}

.pagination {
    --mdb-pagination-focus-color: #c4a548;
}

.textarea-custom {
    height: 100px;
}

.w-80 {
    width: 80%;
}

.edit-icon:hover {
    cursor: pointer;
    transform: scale(1.2);
    transition: 0.5s;
}

.end-20 {
    right: 20px;
}

#carouselBigScreens {
    display: block;
}

#carouselMiddleScreens, #carouselSmallScreens {
    display: none;
}

.extra-small {
    font-size: 11.5px;
    color: lightgrey;
}

.page-content-container * {
    background-color: transparent !important;
}

.post-item *, .page-content-container *, .article * {
    max-width: 100% !important;
}

.clear-left {
    clear: left;
}

.card-text {
    display: flow-root;
}

.linked-text {
    font-size: 14px;
    color: #c4a548;
    text-decoration: underline;
}

.linked-header {
    color: #c4a548;
}

    .linked-header:hover {
        color: #D0B86F;
    }

hr {
    border: none;
    height: 2px;
    background: linear-gradient( to right, #a67c2d, #c4a548 );
}

.nav-link {
    padding: 7.5px;
}

.nav-link-current {
    color: white !important;
    background-color: #c4a548;
    border-radius: 10px;
    width: fit-content;
}

h5 {
    font-size: 18px;
}

.card-movie-link {
    color: var(--mdb-card-title-color) !important;
}

.form-group-custom label {
    color: #c4a548;
}

.form-outline .form-control:focus ~ .form-notch .form-notch-leading {
    border-top: .125rem solid #c4a548;
    border-bottom: .125rem solid #c4a548;
    border-left: .125rem solid #c4a548;
    border-right: none !important;
    box-shadow: none !important;
}

.form-outline .form-control:focus ~ .form-notch .form-notch-middle {
    box-shadow: none !important;
    border-bottom: .125rem solid #c4a548;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important; /* Ensures the middle part remains transparent at the top */
}

.form-outline .form-control:focus ~ .form-notch .form-notch-trailing {
    box-shadow: none !important;
    border-top: .125rem solid #c4a548;
    border-right: .125rem solid #c4a548;
    border-bottom: .125rem solid #c4a548;
    border-left: none !important;
}

.form-outline label, .footer-link {
    color: #c4a548 !important;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.short-page-item {
    border: 1px solid rgb(196, 165, 72);
    color: rgb(196, 165, 72);
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 12px;
    padding-right: 12px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
}

    .short-page-item:hover {
        background-color: rgba(196, 165, 72,0.1);
    }

.short-pagination {
    display: none !important;
}

@media only screen and (max-width:1900px) {
    .card-movie {
        width: calc((100% - 80px) / 5);
    }

    #carouselBigScreens {
        display: none;
    }

    #carouselMiddleScreens {
        display: block;
    }

    #carouselSmallScreens {
        display: none;
    }

    .movie-article {
        width: 60%;
    }
}

@media only screen and (max-width:1500px) {
    .card-movie {
        width: calc((100% - 80px) / 3 - 100px);
    }

    .card-movie-empty {
        width: 150px !important;
    }

    .card-movie-item {
        width: calc((100% - 100px) / 3);
    }

    .post-item iframe, .article iframe, .page-content-container iframe {
        max-height: 300px;
    }
}

@media only screen and (max-width:1300px) {
    .post-item {
        width: calc((100% - 20px) / 2);
    }

    .card-movie {
        width: calc((100% - 80px) / 3 - 66.66px);
    }

    .card-movie-empty {
        width: 100px !important;
    }

    .movie-article {
        width: 80%;
    }
}

@media only screen and (max-width:1100px) {
    .header-text {
        display: none;
    }

    #carouselBigScreens {
        display: none;
    }

    #carouselMiddleScreens {
        display: none;
    }

    #carouselSmallScreens {
        display: block;
    }

    .card-movie, .card-movie-empty {
        width: calc((100% - 40px) / 3) !important;
    }

    .card-movie-item {
        width: calc((100% - 50px) / 2);
    }
}

@media only screen and (max-width:990px) {
    .render {
        min-height: calc(100vh - 55px);
        padding-top: 55px;
    }

    .long-pagination {
        display: none;
    }

    .short-pagination {
        display: flex !important;
    }

    #navbarDropdownMenuAvatar:hover, .nav-item:hover, .navbar-brand:hover {
        transform: scale(1.01);
        transition: 0.5s;
    }

    .nav-link {
        width: 100%;
    }
}

@media only screen and (max-width:920px) {
    .card-movie {
        width: 50% !important;
    }

    .card-movie-empty {
        width: 25% !important;
    }
}

@media only screen and (max-width:767px) {
    .carousel-img {
        height: 300px;
    }

    .post-item {
        width: 100%;
    }

    .card-movie-item {
        width: 400px;
    }

    .movie-items {
        justify-content: center;
    }
}

@media only screen and (max-width:650px) {
    .card-movie {
        width: 80% !important;
    }

    .card-movie-empty {
        width: 10% !important;
    }

    .carousel-control-next-icon {
        display: none;
    }

    .carousel-control-prev-icon {
        display: none;
    }

    .movie-article {
        width: 90%;
    }

    .post-item iframe, .article iframe, .page-content-container iframe {
        max-height: 300px;
    }
}

@media only screen and (min-width:2000px) {
    .margin-div {
        width: 1800px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }
}
