/* Container classes */
.app-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    height: 100%;
    width: 100%;
}
.head-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    background-color: #2b2b2b;
    border-radius: 0.25rem 0.25rem 0 0;
    min-width: 22rem;
}
.head-container>h2 {
    margin: 0;
    font-weight: 400;
    font-size: 1.5rem;
    padding: 0.2rem;
}
.head-container>h3 {
    margin: 0;
    font-weight: 300;
    font-size: 1.1rem;
    color: #646464;
}
.movie-list-container {
    height: 100%;
    border: 2px solid #2b2b2b;
    padding: 1rem;
    overflow-y: auto;
    min-width: 22rem;
    max-height: 90vh;
}
.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.sign {
    margin-bottom: 0.6rem;
    width: fit-content;
}
footer i {
    font-size: 24px !important;
}

/* Reusable/Common classes */
.ellipsis-block {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.icon-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.filter-neutral {
    filter: invert(35%) sepia(68%) saturate(10%) hue-rotate(318deg) brightness(94%) contrast(92%);
}
.custom-link {
    color: black;
    text-decoration: none;
}
.custom-link:hover {
    color: black;
    text-decoration: underline;
}

/* Movie Card classes */
.movie-container {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #2b2b2b;
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 0.5rem;
    min-width: 20rem;
}
.logo-box-container {
    position: relative;
    display: inline-block;
    margin: 0 1.5rem 0 0;
    width: fit-content;
    height: fit-content;
}
.logo-box-container:after {
    content: '';
    position: absolute;
    top: 0; left: 1px;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(43,43,43,0) 50%, rgba(43,43,43,1) 100%);
    z-index: 1;
}
.logo-box {
    display:block;
    height:100px;
    width:auto;
    border-radius: 4px;
}
.link-button-over-image {
    position: absolute;
    bottom: 0.2rem; right: 0.3rem;
    z-index: 2;
}
.movie-info-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.movie-rank-indicator {
    position: absolute;
    top: 0; left: 0;
    background-color: rgba(43, 43, 43, 0.75);
    border-radius: 0px 0px 5px 0px;
    font-size: 1rem;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0px 4px;
    color: #afafaf;
    font-family: Arial;
    font-weight: 700;
    text-align: center;
}
.title-year-container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    margin-top: 0.2rem;
    width: 100%;
}
.title-year-container > span {
    margin: 0;
    font-family: 'Arial';
    font-style: normal;
    font-size: 1.5rem;
    line-height: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    text-align: start;
}
.title-year-container > h3 {
    margin: 0;
    font-family: 'Arial';
    font-style: normal;
    font-size: 1.3rem;
    font-weight: 400;
    color: #646464;
}
.avg-score {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: #f5d423;
    color: #2b2b2b;
    width: 6rem;
    height: 2.8rem;
    font-family: 'Arial';
    font-style: normal;
    font-weight: 700;
    font-size: 2rem;
}
.delete-button {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
}
.icon-text-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 1.8rem;
    width: 5.5rem;
    padding: 0.15rem 0.7rem;
    background-color: white;
    border-radius: 1rem;
    margin-right: 0.3rem;
}
.icon-text-pill > img {
    height: 1rem;
    width: auto;
}
.icon-text-pill > p {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

/* Selectors */
#input-container {
    padding: 1rem;
    text-align: center;
    max-height: 90vh;
}
#output-container {
    flex: 1;
    padding: 1rem;
    text-align: center;
    /* min-width: 25rem; */
    height: 95vh;
}
#text_area_input  {
    margin-top: 1rem;
    min-height: 7rem;
    max-height: 83vh;
    overflow: auto;
}

/* Media Queries */
@media (min-width: 768px) {
    .movie-container {
        flex-direction: row;
    }
    .logo-box {
        height: 150px;
    }
    .movie-info-container {
        height: auto;
        justify-content: space-between;
        align-items: start;
    }
    .title-year-container > span {
        font-size: 1.6rem;
        line-height: 1.9rem;
        padding-right: 6.75rem;
    }
    .head-container>h2 {
        font-size: 1.7rem;
    }
    .head-container>h3 {
        font-size: 1.3rem;
    }
}
@media (min-width: 992px) {
    .app-container {
        flex-direction: row;
        justify-content: stretch;
        margin-bottom: 3rem;
    }
    #input-container {
        flex: 4
    }
    #output-container {
        flex: 6
    }
    .logo-box {
        height: 100px;
    }
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
    .icons {
        justify-content: flex-end;
    }
}
@media (min-width: 1200px) {
    .logo-box {
        height: 150px;
    }
    .title-year-container > h3 {
        font-size: 1.5rem;
    }
}
