* {
    margin: 0;
    padding: 0;

}
body{
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: radial-gradient(circle, #2c3e50 0%, #000000 100%);
}
#name {
    height: max-content;
    scale: .5;
    font-size: 80px;
    span {
        color: #f5c518;
    }
    
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 90vh;
}
.main {
    padding: 10px;
    border: 2px solid black;
    width: 500px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    scale: 0.9;
}
.searchArea {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    height: 70px;
    position: relative;

}
.suggestions-list {
    position: absolute;
    top: 65px;
    left: 0;
    width: calc(100% - 80px);
    background: rgba(20, 20, 20, 0.95); 
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 15px 15px; 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
    list-style: none; 
    padding: 0;
    max-height: 250px; 
    overflow-y: auto; 
    z-index: 10;
    display: none; 
}
.suggestions-list li {
    padding: 12px 15px;
    color: #ddd;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 1px solid #333;
    transition: background 0.2s, color 0.2s;
}

.suggestions-list li:last-child {
    border-bottom: none;
}

.suggestions-list li:hover {
    background: #f5c518;
    color: #000;
    font-weight: bold;
}


.suggestions-list::-webkit-scrollbar {
    width: 8px;
}
.suggestions-list::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}
#userInput {
    border-radius: 16px 0 0 16px;
    flex: 1;
    height: 50px;
    border: none;
    padding-left: 15px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 16px;

}
#search-button {
    border-radius: 0 16px 16px 0;
    height: 50px;
    width: 80px;
    border: none;
    background-color: #f5c518; 
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;

}
#search-button:hover {
    background-color: #dfb314;
    transform: scale(1.05);
}
.movieWindow {
    background: linear-gradient(145deg, #1a1a1a, #000000);
    display: none;
    flex-direction: column;
    border-radius: 15px;
    margin-top: 20px;
    padding: 15px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05), 0 10px 30px rgba(0,0,0,0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);

}
.moviePoster {
    width: 230px;
    padding: 10px;
    height: 330px;
}
.movieInfo {
    flex: 1;
}
.movieInfo p {
    font-size: 14px;
    color: #aaa; /* Dimmer labels */
    margin-bottom: 12px;
    line-height: 1.4;
}
.movieInfo span {
    display: block; /* Moves the data below the label */
    color: #ffffff;
    font-size: 16px;
    margin-top: 2px;
}
#movieName {
    padding: 10px 0;
    text-align: center;
    width: 100%;
    height: auto;
    border-bottom: 1px solid #333;
  
    margin-bottom: 15px;
}
#moviename {
    color: #f5c518; /* IMDb Yellow for the Title */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 28px;
}
#movieyear {
    color: #888;
    font-size: 30px;
    margin-left: 10px;
}
.moviePoster img {
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}
#moviePoster {
    width: 224px;
    border-radius: 10px;
    
}
.moviePoster img:hover {
    transform: scale(1.02); 
}
#movieSummary {
    height: 100px;
   
}
p {
    
    font-size: 15px;
    font-weight: bold;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin-bottom: 15px;
    color: rgb(93, 91, 91);
}

#movieplot {
    color: #ddd;
    line-height: 1.6;
    font-weight: normal;
    font-style: italic;
}
#movieSummary {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #333;
}


h2 {
    color: #f5c518;
    font-size: 18px;
    margin-bottom: 8px;
}