@import url("https://fonts.googleapis.com/css?family=IBM+Plex+Sans&display=swap");
@import url("https://fonts.googleapis.com/css?family=Martel+Sans&display=swap");
@import url("https://fonts.googleapis.com/css?family=Roboto&display=swap");




*{
    font-family: "IBM Plex Sans";
    color: white;
}

body {
    background-color: black;
}

.pageContainer{
    display: flex;
    flex-direction: column;
    align-items: center;
}
/** for first page**/

.first-page {
    
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,1)), url("https://cdn.wallpapersafari.com/24/74/zgeTuV.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
    height: 100%;
    display:flex;
    flex-direction: column;
    align-items: center;
}

.header-page{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 70px;
    flex-wrap: wrap;
}

#logo {
    margin-left: 140px;
}

#buttons-side {
    display: flex;
    align-items: center;
    gap:10px;
    margin-right: 150px;
}

#signInBtn{
    padding: .5em 1.2em .5em 1.2em;
    border: 1px solid rgb(219, 0, 0);
    border-radius: 5px;
    background-color: rgb(219, 0, 0);
    color: white;

}

#languages-box {
    padding: .3em 1.9em .3em .3em;
    border-radius: 5px;
    font-size: 1em;
    background: transparent;
    color: white;
    border: 1px solid #5f5f5f; 
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.5em center;
}

#languages-box option {
    color: black;
}

.main-page {
    display: flex;
    flex-direction: column;
    align-content: center;
    color: white;
    padding: 12em;
    width: 50%;
    max-width: 60%;
}


.main-page h1 {
    font-size: 4em;
    font-weight: bold;
    text-align: center;
    margin: 0.4em 190px;
    background-color: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.main-page p {
    font-size: 1.2em;
    text-align: center;
    font-weight: normal;
    margin: 0 0 1em 0;
    font-family: sans-serif;
}

.main-page .inputs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: .5em;
}
.main-page .inputs  input{
    flex: 1 1 200px;
    min-width: 180px;
    max-width: 400px;
    height: 1.6em;
    padding: 1em;
    background-color: rgba(12, 12, 12, 0.815);
    border: 1px solid gray;
    border-radius: 5px;
    color: white;
    font-size: 0.9em;
}

.main-page .inputs  button{
    flex: 0 1 220px;
    min-width: 120px;
    width: 20%;
    height: 2.2em;
    background-color: rgb(212, 0, 0);
    border: 1px solid rgb(212, 0, 0);
    border-radius: 5px;
    color: white;
    font-size: 1.5em;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

#buttons-side button, .email-page button {
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.main-page button:hover, #buttons-side button:hover, .email-page button:hover{
    background-color: rgb(133, 0, 0);
}

/** second page ask page and movies **/

.movies-page {
    min-width: 80%;
    max-width: 90%;
    margin: 0em 8em;
}

.movies-page #topMovies {
    display: flex;
    flex-direction: column;
    padding: .5em 0em;
    font-family: 'Times New Roman';
}

.movies-page #movieList{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.movies-page #topMovies img {
    border-radius: 20px;
    width: 200px; 
    height: auto;
}

#movieList img {
    transition: transform 0.3s, box-shadow 0.2s;
}

#movieList img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.507);
}



.movies-page #reasonsPanels {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: stretch;
    gap: 15px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    
}

#enjoyTV{
    background: linear-gradient(135deg, #3e3783 0%, #1b133f 100%);
    border-radius: 20px;
    border: 1px solid rgb(0, 0, 0);
    padding: 1em;
    width: 30%;
}

#downloadShows{
    background: linear-gradient(135deg, #3e3783 0%, #1b133f 100%);
    border-radius: 20px;
    border: 1px solid rgb(0, 0, 0);
    padding: 1em;
    width: 30%;
}

#watchEverywhere{
    background: linear-gradient(135deg, #3e3783 0%, #1b133f 100%);
    border-radius: 20px;
    border: 1px solid rgb(0, 0, 0);
    padding: 1em;
    width: 30%;
}

#createProfiles{
    background: linear-gradient(135deg, #3e3783 0%, #1b133f 100%);
    border-radius: 20px;
    border: 1px solid rgb(0, 0, 0);
    padding: 1em;
    width: 30%;
}

/** ASKED QUESTIONS **/

.ask-page {
    display: flex;
    flex-direction: column;
    min-width: 80%;
    max-width: 90%;
    margin: 0em 8em;
    gap: 8px;
    padding-bottom: 3em;
    
}

.ask-page button{
    background: #232323;
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    border-bottom: 1px solid #333;
    cursor: pointer;
    transition: background 0.2s;
}

.ask-page button:hover {
    background: #333;
    color: #ffffff;
}

button:hover {

    cursor: pointer;

}

.faq-icon {
  font-size: 32px;
  margin-left: auto;
}


.email-page {
    text-align: center;
    width: 1000px;
    padding-bottom: 2em;
}

.email-page input{
    width: 50%;
    height: 2em;
    padding: .5em;
    background-color: rgba(12, 12, 12, 0.815);
    border: 1px solid gray;
    border-radius: 5px;
    color: white;
    font-size: 0.9em;
}

.email-page button{
    
    height: 2.2em;
    background-color: rgb(212, 0, 0);
    border: 1px solid rgb(212, 0, 0);
    border-radius: 5px;
    color: white;
    font-size: 1.3em;
    
}

.email-page #inputs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5px;
}

/** footer **/

.footer-page p, a{
    color: gray;
}


.movies-page,
.ask-page, .footer-page {
    width: 80%;
    margin: 0em 1em;
    box-sizing: border-box;
}


/** mobile view **/
@media (max-width: 600px) {
    html, body {
        width: 100vw;
        overflow-x: hidden;
        overscroll-behavior-x: none;
    }
    .header-page {
        flex-direction: column;
        height: auto;
        align-items: flex-start;
        padding: 1em 0;
    }

    #logo {
        margin: 0 auto 10px auto;
        display: block;
    }

    #buttons-side {
        margin: 10px auto;
        gap: 5px;
        justify-content: center;
        display: flex;
    }

    .main-page {
        padding: 2em 1em;
        width: 100%;
        max-width: 100%;
    }

    .main-page h1 {
        font-size: 2em;
        margin: 0.4em 0;
    }

    .main-page .inputs {
        flex-direction: column;
        gap: 0.5em;
    }

    .main-page .inputs input{
        width: 92%;
        min-width: 10;
        max-width: 100%;
        flex: 1 1 100%;
        font-size: 1em;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .main-page .inputs button{
        width: 100%;
        min-width: 10;
        max-width: 100%;
        flex: 1 1 100%;
        font-size: 1em;
    }

    .movies-page,
    .ask-page,
    .footer-page {
        width: 100%;
        margin: 0;
        padding: 0 0.5em;
    }

    .movies-page #movieList,
    .movies-page #reasonsPanels {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .movies-page #topMovies img,
    #movieList img {
        width: 100%;
        max-width: 300px;
    }

    #enjoyTV,
    #downloadShows,
    #watchEverywhere,
    #createProfiles {
        width: 100%;
        margin-bottom: 10px;
    }

    .email-page {
        width: 100%;
        padding: 0 0.5em 2em 0.5em;
    }

    .email-page input {
        width: 100%;
        margin-bottom: 0.5em;
    }

    .email-page #inputs {
        flex-direction: column;
        gap: 0.5em;
    }

    .ask-page button {
        font-size: 1em;
        padding: 16px;
    }

    .reasons h3, .movies-page h3{
        text-align: center; 
    }
}




