/* Main */
* {
    user-select: none;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    
}

.app {
    min-height: 100vh;
    padding: 70px 5px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), 
        url("./images/poster4.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    justify-content: space-between;
    padding-bottom: 20px;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 525px;
    max-width: 800px;
    width: 60%;
}

.inverted-icon {
    -webkit-filter: invert(100%);
}

input:focus {
    outline: 0;
}
/* Main */


/* Pages */
    /* Search Page */
    .search-page {
        background-color: white;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 0 5px black;
        padding: 20px;
        box-sizing: border-box;
        width: 100%;
    }
    
        /* Search Page Explore*/
        .search-page-explore {
            margin: auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .search-page-explore img{
            margin-bottom: 15px;
        }
        .search-page-explore p, .failed-search {
            margin: 0;
            color: #DFDDDD;
            text-align: center;
        }
        
        
        /* Search Page Explore*/
    /* Search Page */
    
    /* Watchlist Page */
    .watchlist-page {
        background-color: white;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 0 5px black;
        padding: 20px;
        box-sizing: border-box;
        width: 100%;
    }
    
    .empty-watchlist {
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .empty-watchlist p {
        margin: 0;
        margin-top: 10px;
        color: #DFDDDD;
    }
    
    .add-some-movies {
        display: flex;
        align-items: center;
        border: solid;
        
    }
    
    .add-some-movies p {
        color: black;
        font-weight: bold;
        margin: none;
        
    }
    
    .add-some-movies img {
        margin-right: 10px;
    }
    /* Watchlist Page */
/* Pages */


/* Components */
    /* Header */
    .header {
        background-color: white;
        border-radius: 10px;
        display: flex;
        padding: 10px;
        margin-bottom: 25px;
        box-shadow: 0 0 5px black;
        box-sizing: border-box;
        align-items: center;
        overflow: hidden;
        justify-content: space-between;
        width: 100%;
    }
    
    .header-grouping {
        display: flex;
    }
        /* Search Bar */
        .search-bar {
            display: flex;
            width: 400px;
            overflow: hidden;
            margin-right: 15px;
        }
        
        .search-input {
            border: none;
            color: #6B7280;
            width: 85%;
            font-size: 20px;
            border: solid 2px #D1D5DB;
            border-radius: 10px 0 0 10px;
            padding: 5px;
            padding-left: 20px;
            letter-spacing: 1px;
        }
        
        ::placeholder {
            color: #6B7280;
        }
        
        .search-button {
            width: 15%;
            border: none;
            border: solid 2px #D1D5DB;
            border-left: none;
            background-color: white;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 0 10px 10px 0;
        }
        
        .search-icon {
            object-fit: cover;
        }
        /* Search Bar */
        
        /* Watchlist Button */
        .watchlist-icon {
            height: 40px;
            width: 40px;
            object-fit: cover;
        }
        /* Watchlist Button */
        .color-mode-toggler {
            box-shadow: 0 0 2px black;
            height: 30px;
            width: 30px;
            border-radius: 5px;
            border: solid;
            cursor: pointer;
        }
        
        /* Color Mode Toggler */
            /* Color Mode Icon */
            .color-mode-icon {
                height: 40px;
                object-position: -8px -5px;
            }
            /* Color Mode Icon */
        /* Color Mode Toggler */
    /* Header */
    
    /* Movie Results */
        /* Movie Result */
        .movie-result {
            justify-content: center;
            width: 100%;
            display: flex;
            justify-content: start;
            box-sizing: border-box;
            padding: 20px 0;
            border-bottom: solid 1px #E5E7EB;
        }
        
        .movie-result:first-child {
            padding-top: 0;
        }
        
        .movie-result:last-child {
            border: none;
            padding-bottom: 0;
        }
        
        .movie-result-poster {
            width: 100%;
            max-width: 150px;
            height: auto;
            margin-right: 25px;
        }
        
        .movie-result-info {
            display: flex;
            flex-direction: column;
            width: 100%;
        }
        
        .movie-result-info-header,
        .movie-result-info-rating,
        .movie-result-info-subheader,
        .movie-result-info-watchlist-button,
        .movie-result-info-section {
            display: flex;
        }
        
        .movie-result-info-header {
            justify-content: start;
            
        }
        
        .movie-title {
            font-weight: bold;
            font-size: 20px;
            margin-right: 15px;
        }
        
        .movie-rating {
            color: #111827;
        }
        
        .movie-result-info-rating {
            align-items: center;
        }
        
        .movie-result-info-subheader {
            justify-content: space-between;
            
        }
        
        .movie-result-info-main {
            display: flex;
        }
        
        .movie-runtime {
            margin-right: 25px;
            color: #111827;
        }
        
        .movie-genre {
            color: #111827;
            margin-right: 10px;
        }
        
        .movie-result-info-section {
            color: #6B7280;
        }
        
        .movie-result-info-watchlist-button {
            align-items: center;
            color: #111827;
            cursor: pointer;
        }
        
        .add-icon, .star-icon {
            object-fit: cover;
            width: 15px;
            height: 15px;
            margin-right: 5px;
        }
        /* Movie Result */
    /* Movie Results */
/* Components */


/* Animateds */
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: black;
  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);
  }
}
/* Animateds */


/* custom credits */
    #dev-credit {
        border-radius: 10px;
        display: flex;
        align-items: center;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        padding: 10px;
        background-color: white;
        width: 60%;
        box-sizing: border-box;
        min-width: 525px;
        max-width: 800px;
        justify-content: space-around;
        margin-top: 20px;
    }
    
    #developed-by {
        color: black;
        font-size: 10px;
        margin: 0;
        margin-right: 5px;
        letter-spacing: 1px;
        font-weight: bold;
        text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
        font-family: 'Carlito', sans-serif;
    }
    
    #dev-name {
        
    }
    
    #ngonal {
        font-size: 18px;
        color: rgba(0, 0, 0, 0);
        -webkit-text-stroke: 1px black;
        margin: 0;
        font-family: sans-serif;
        letter-spacing: 5px;
    }
    
    .dev-logo {
        margin-left: 5px;
        width: 40px;
        height: 40px;
        display: flex;
        padding: 4px;
        border-radius: 5px;
        cursor: pointer;
        transition: 0.3s;
    }
    
    .dev-logo:hover {
        filter: invert(30%);
    }
    
    .dev-logo img {
        
    }
    
    .dev-credit-section {
        display: flex;
        align-items: center;
    }
    
    #github {
    }
    
    #linkedin {
    }
/* custom credits */