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

body {
    max-width: 100%;
}

#user-interface {
    color: #FFFFFF;
    background-color: #1F1F1F;
    height: auto;
    max-width: 100%;
    font-family: sans-serif;
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
}

.interface-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
    width: 100%;
}

#results-field {
    border: 2px solid #E2B740;
    width: 100%;
    height: 40px;
    display: inline-block;
}

#results-list li {
    background-color: #313131;
    padding: 5px;
    cursor: pointer;
    list-style-type: none;
}

#info-wrapper {

    background-color: #313131;
    width: 80%;
    margin: auto;
    min-height: 70%;
    padding: 10px;
}

#info-section {
    display: flex;
}

#info-section:first-child {
    width: 45%;
}

#movie-plot {
    width: 45%;
    padding: 20px;
}


#search-wrapper {
    width: 100%;
    background-color: #121212;
}

#movie-genre li {
    list-style-type: none;
    display: inline-block;
    padding: 15px;
    border: 3px solid #AEAEAE;
    margin: 5px;
    border-radius: 20%;
}

.dropdown-content {
    min-width: 80%;
}

input {
    color: white;
    max-width: 80%;
}

#search-field:focus {
    border-bottom: 2px solid #E2B740;
    box-shadow: none;
} 

a.btn {
    background-color: #E2B740;
}

h1.logo {
    display: inline-block;
    background-color: #FBD74A;
    color: black;
    font-size: 1rem;
    font-weight: bold;
    margin: 10px 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
}

#dropdown1 {
    height: 50vh;
}

#trailer-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

.container-background {
    background-image: url(./assets/film.jpeg);
    background-size: cover;
}

.slogan {
    font-family:'Courier New', Courier, monospace;
    font-size: 3rem;
    font-style: italic;
    font-weight: bolder;
    color: #000000;
}
/* #######loader */

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ellipsis div {
    text-align: center;
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    /* background: #fff; */
    background-color: #ffd600;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
}


.dropdown-content .list-center {
    text-align: center;
}

.dropdown-content .error-message, .error-message{
    font-size: 2rem;
    padding: 10px;
    color: #f4511e;
    font-weight: bold;
    text-align: center;
}

#trailer-element {

}

#trailer-container {
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding-bottom: 40px;
}

footer.footer-container {
    display: block;
    width: 100%;
    background-color: #ffd600;
    height: 30px;
    color: #1F1F1F;
    margin: 0;
    padding-top: 20px;
    padding-bottom: 40px;
    text-align: center;
    font-family: sans-serif;
    font-size: 1rem;
    font-weight: bold;
}

@media screen and (max-width: 992px) {
    #info-section {
        width: 100%;
        flex-direction: column;
    }

    #info-section img {
        width: 100%;
        height: auto;
    }

    #movie-plot {
        width: 100%;
    }

    #trailer-container {
        width: 100%;
        display: flex;
        justify-content: space-around;
        padding-bottom: 40px;
    }

    #trailer-container iframe {
        width: 100%;
    }

    #movie-genre li {
        padding: 10px;
        margin: 10px;
    }

    #search-field {
        max-width: 65%;
        margin-left: 5px;
    }
}

@media screen and (max-width: 480px){
    #trailer-container {
        width: 100%;
        display: flex;
        justify-content: space-around;
        padding-bottom: 40px;
    }

    #trailer-container iframe {
        width: 100%;
    }

    #info-section {
        width: 100%;
        flex-direction: column;
    }

    #info-section img {
        width: 100%;
        height: auto;
    }

    #movie-plot {
        width: 100%;
    }

    #movie-genre li {
        padding: 5px;
        margin: 5px;
    }

    #search-field {
        max-width: 65%;
        margin-left: 5px;
    }

    h1.logo {
        display: block;
        margin-top: 0;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }
}
