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

body {
    font-family: brother-1816, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
    background-color: #000;
    color: #fff;
}

.grid-container {
    max-width: 1200px;
    padding: 0;
}

.splash-container {
    padding-left: 6.25%;
    padding-right: 6.25%;
}

.splash-container article {
    justify-content: center;
}

#app {
    margin-top: 60px;
}

/****** Header ******/
.header-container {
    padding: 27px 6.25% 10px 6.25%;
}

.top-header {
    border-bottom: 10px solid #d9c743;
}

.bottom-header {
    padding-left: 6.25%;
    padding-right: 6.25%;
    margin-top: 10px;
}

#header-right{
    padding: 0;
}

#logo{
    margin-bottom: 20px;
}

#login {
    /* text-align: right; */
    display: flex;
    justify-content: flex-end;
}

.login-btn {
    color: #d9c743;
    /* font-family: brother-1816, sans-serif; */
    font-weight: 500;
    font-size: 19px;
    padding: 0.4em 0.5em;
    text-align: right;
}

.login-btn:hover {
    color: #d46ca2;
    cursor: pointer;
}

#search {
    min-height: 40px;
    margin-top: 10px;
    /* text-align: right; */
    display: flex;
    justify-content: flex-end;
}

#search-icon {
    height: 100%;
    width: auto;
    margin-right: 5px;
}

[type="text"] {
    max-width: 70%;
    /* width: 50px; */
    display: inline-block;
    margin: 0;
    height: 32px;
    background-color: transparent;
    color: #d46ca2;
    border-top: none;
    border-left: none;
    border-right: none;
    border-color: #d46ca2;
    box-shadow: none;
}

[type="text"]:focus {
    background-color: #010101;
    box-shadow: 0 0 5px #d46ca2;
    border: 1px solid #d46ca2;
}

.search-results {
    position: absolute;
    margin-top: 40px;
    z-index: 99;
    background-color: #000;
    padding: 10px;
    min-width: 20%;
    border: 1px solid #d46ca2;
    max-height: 350px;
    overflow: auto;
}

.result-img {
    float: left;
    width: 10%;
}

.result-txt {
    float: right;
    width: 85%;
    color:#d9c743;
}

.search-box {
    padding: 5px 0;
    border-top: 2px solid #d46ca24f;
    cursor: pointer;
}

/****** Body ******/
.page-title {
    min-height: 50px;
    border-bottom: 4px solid #d9c743;
}

.splash-container .page-title {
    border-bottom: none;
    margin-top: 20px;
}

.splash-container .page-title h1 {
    font-size: 40px;
}

h1 {
    font-family: brother-1816, sans-serif;
    font-size: 34px;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.2;
}

h3 {
    font-family: brother-1816, sans-serif;
    font-size: 21px;
    font-weight: 500;
    color: #d9c743;
}

h2 {
    font-family: brother-1816, sans-serif;
    font-weight: 500;
    font-size: 28px;
    color: #d9c743;
}

.card-img-rating {
    display: grid;
    grid-template-columns: 1fr 24px 20px;
    grid-template-rows: 17px 27px 1fr;
}

.movie.callout {
    max-width: 420px;
}

.rating-circle {
    height: 44px;
    width: 44px;
    border-radius: 25px;
    background-color: #d46ca2;
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding-top: 6px;

    grid-row: 1/3;
    grid-column: 2/-1;
    z-index: 5;
}

.card-section {
    padding: 0 0 5px 0;
}

.card-img-rating img {
    grid-row: 2/-1;
    grid-column: 1/3;
    width: 100%;
}

.card-title-year {
    margin-top: 5px;
    display: grid;
    grid-template-columns: 1fr 40px 20px;

}

.movie-title h3 {
    line-height: 1.3;
}

.movie-year p {
    font-size: 16px;
    color: #fff;
    text-align: right;
    grid-column: 2/3;
    padding-top: 5px;
}

.movie, .genre {
    cursor: pointer;
}

#splash-content {
    margin-top: 20px;
}

/****** Movie & People Page ******/
.movie-container {
    padding-left: 6.25%;
    padding-right: 6.25%;
}

table {
    font-family: brother-1816, sans-serif;
}

.main-info table {
    margin-bottom: 1.3rem;
}

thead {
    background: transparent;
    border: none;
    font-size: 22px;
}

tbody {
    border: none;
}

table.unstriped tbody {
    background: transparent;
}

table.unstriped tbody tr{
    background: transparent;
    border-bottom: none;
}

.table-col-1 {
    width: 150px;
}

.main-info tbody td {
    padding-top: 0rem;
    padding-bottom: 0.2rem;
    vertical-align: top;
}

.main-info p {
    padding-left: 0.635rem;
}

.desc-bio-header {
    margin-bottom: 0.3rem;
}

.main-info .rating-circle p {
    padding-left: 0;
}

.main-info .pink {
    font-weight: 500;
}

.main-info-right {
    overflow: auto;
    /* https://www.digitalocean.com/community/tutorials/css-scrollbars */
    scrollbar-width: thin;
    /* scrollbar-color: #000 #d9c743; */
    max-height: 500px;
}

/* https://www.digitalocean.com/community/tutorials/css-scrollbars */
.main-info-right::-webkit-scrollbar {
    width: 8px;
}

.main-info-right::-webkit-scrollbar-track {
    background: #000;
}

.main-info-right::-webkit-scrollbar-thumb {
    /* background-color: #d9c743; */
    background-color: grey;
}

.cast-card {
    padding: 0 9px;
    text-align: center;
    cursor: pointer;
}

.cast-card p {
    font-size: 16px;
}

.cast-card h3 {
    font-size: 18px;
    margin-top: 8px;
    margin-bottom: 0;
}

.slick-slider img {
    width: 100%;
}

.slick-dots {
    bottom: -15px;
}

.slick-dotted.slick-slider {
    margin-bottom: 20px;
}

.slick-dots li button::before {
    font-size: 8px;
    opacity: 1;
    color:rgba(255, 255, 255, 0.575);
}

.slick-dots li.slick-active button::before {
    font-size: 8px;
    opacity: 1;
    color: #d9c743;
}

.people-container {
    padding-left: 6.25%;
    padding-right: 6.25%;
}

.main-info {
    min-height: 500px;
    margin-top: 25px;
}

.sub-title {
    height: 44px;
    margin-top: 35px;
    margin-bottom: 22px;
    border-bottom: 1px solid #d9c743
}

#trailer {
    width: 100%;
    margin-bottom: 55px;
    position: relative;
    padding-top: 56.25%;
}

.responsive-video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.screenshots {
    padding: 10px;
}

#know {
    max-height: 200px;
    overflow: auto;
    scrollbar-width: thin;
}

#know::-webkit-scrollbar {
    width: 8px;
}

#know::-webkit-scrollbar-track {
    background: #000;
}

#know::-webkit-scrollbar-thumb {
    /* background-color: #d9c743; */
    background-color: grey;
}

.hideAll {
    display: none;
}

.splash {
    display: block;
    cursor: pointer;
}

.gold {
    color: #d9c743;
}

.pink {
    color: #d46ca2;
}

.people-container .main-info {
    min-height: 300px;
}

.sub-title.for-spacing-correction {
    margin-top: 55px;
}

.screenshot-slider .slick-dots {
    bottom: -25px;
}

.related-movie-slider .slick-dots {
    bottom: -25px;
}

.screenshot-person-slider .slick-dots {
    bottom: -25px;
}

.screenshot-slider img, .screenshot-person-slider img {
    height: 240px;
}

.filler-div {
    height: 5px;
}

.related {
    margin: 0 20px;
}

.related h3 {
    font-size: 18px;
}

.related .movie-year p {
    padding-top: 0;
}

/****** Footer ******/
footer {
    margin-top: 70px;
    color: #000;
}

.footer-container {
    padding-left: 3.5%;
    padding-right: 3.5%;
}

.footer-1 .footer-container {
    height: 120px;
    display: grid;
}

footer table {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
    margin-left: 15px;
}

#genre-title {
    font-size: 24px;
    font-family: brother-1816, sans-serif;
    font-weight: 500;
    margin-bottom: 0;
}

footer tbody td {
    padding: 5px 0;
    width: 100px;
}

footer h3 {
    font-size: 60px;
    text-align: right;
    color: #000;
}

.footer-1 {
    min-height: 120px;
    background-color: #d9c743;
}

.footer-2 {
    background-color: #d9c743;
    height: 54px;
    margin-top: 7px;
    text-align: center;
    padding-top: 0.5rem;
}

#contact-us {
    display: flex;
    gap: 20px;
    padding: 0;
    height: inherit;
    justify-content: flex-end;
    align-items: center;
    background-color: transparent;
}

#contact-us p {
    margin-bottom: 0;
    font-size: 29px;
    font-weight: 500;
}

.callout {
    margin-bottom: 0;
	border: none;
    background-color: inherit;
    padding: 0;
} 

.footer-3 {
    height: 30px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    padding-top: 0.8em;
}

@media only screen and (max-width: 1023px){
    .login-btn, .login-btn p {
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    #logo{
        margin-bottom: 10px;
    }

    #splash-content div.movie-poster:nth-child(7), #splash-content div.movie-poster:nth-child(8) {
        display: none;
    }
}

@media only screen and (max-width: 620px){
    body {
        font-size: 18px;
    }
    h1 {
        font-size: 25px;
    }

    h2 {
        font-size: 25px;
    }

    .sub-title {
        height: 35px;
    }

    .movie-container {
        margin-top: 50px;
    }

    .main-info tbody td {
        padding-bottom: 0.6rem;
    }

    #trailer {
        margin-bottom: 40px;
    }
    .login-btn {
        padding-top: 10px;
    }

    #search {
        justify-content: flex-start;
    }

    [type="text"] {
        max-width: calc(100% - 40px);
    }

    .login-btn {
        font-size: 16px;
    }

    .splash-container {
        padding-right: 3.25%;
    }

    #splash-content div.movie-poster:nth-child(7), #splash-content div.movie-poster:nth-child(8) {
        display: none;
    }

    .splash-container .page-title h1 {
        font-size: 34px;
    }

    #splash-content {
        margin-top: 0;
    }

    .splash-container .page-title {
        margin-top: 0;
    }

    .page-title h1 {
        font-size: 30px;
    }

    .main-info-right {
        overflow: auto;
        max-height: none;
    }

    #genre-title {
        text-align: center;
        border-bottom: 2px solid #000;
        padding-bottom: 2px;
        margin-bottom: 2px;
    }

    footer table {
        font-size: 15px;
        margin-left: 0;
    }
    
    .table-container {
        border-left: none;
    }

    footer td {
        text-align: center;
    }

    #contact-us {
        justify-content: center;
    }

    .footer-3 {
        font-size: 14px;
    }
}

.clear-float {
    float: none;
    clear: both;
}
