:root {
    --bright-blue: #0063e5;
    --light-blue: #a4c6f4;
    --dark-blue: #13151c;
    --dark-grey: #32343d;
    --white: #f9f9f9;
    --text-grey: #757575;
    --font-primary: 'Titillium Web', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    font: inherit;
}

html {
    background-color: #040713;
    color: var(--white);
    font-family: var(--font-primary);
}

li {
    list-style: none;
}

.center {
    align-items: center;
}

.container {
    padding: 50px 100px 0 100px;
    display: flex;
    flex-direction: column;
}

section {
    width: 100%;
}

#hero {
    height: 100vh;
}

button {
    background-color: #0063e5;
    color: var(--white);
    border: none;
    cursor: pointer;
    padding: 10px;
}

h1 {
    font-size: 3rem;
    font-weight: 900;
}


p,
h2 {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 30px;
}

h3 {
    font-size: 1.25rem;
    font-weight: 400;
}

/* hero page */

.logo {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--bright-blue);
    font-style: italic;
}

.navbar {
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.navbar-right {
    gap: 10px;
    display: flex;
    align-items: center;

}

.btn-sign-in {
    border-radius: 5px;
    border: solid 1px white;
    background-color: #080b14cd;
    display: flex;
    width: 7rem;
    justify-content: center;
}

button:hover {
    background-color: white;
    color: black;
}

.header-container {
    width: 100%;
    height: 100vh;
    background: url('https://i.ibb.co/vXqDmnh/background.jpg') no-repeat center center/cover;
}

.header-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    background: rgba(2, 6, 41, 0.6);
    box-shadow: inset 120px 100px 250px #040713, inset -120px -100px 250px #040713;
}

.hero-container {
    width: auto;
    z-index: 2;
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.hero-sign-up {
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.input-email {
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    width: 40%;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    height: 100%;
}

::placeholder {
    color: var(--white);
    opacity: 0.7;
    padding-left: 5px;
}

.sign-up-btn {
    width: 20%;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.hero-text h3{
    color: rgb(210, 199, 199);
}

@media (max-width:768px) {
    .input-email,
    .sign-up-btn {
        border-radius: 5px;
        margin-top: 5px;
        width: 100%;
    }
}

@media (max-width:768px) {
    .input-email {
        padding: 10px;
    }
}


/* second section */

.info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-container img {
    display: block;
    width: 100%;
    position: relative;
    background-position: no-repeat center center/cover;
    height: 50vh;
}

.hero-info {
    width: 100%;
    display: flex;
}

.hero-text-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    position: absolute;
}

.hero-text {
    gap: 1rem;
    display: flex;
    flex-direction: column;
}

.movie-container {
    display: grid;
    grid-template-columns: repeat(6, 1.0fr);
    grid-gap: 5px;
    overflow: hidden;
    justify-content: center;
}

@media (max-width:768px) {
    .movie-container {
        width: 300px;
        grid-template-columns: repeat(3, 0.6fr);
    }
}

.movie img {
    width: 100%;
    max-height: 100%;
    height: 200px;
    border-radius: 3px;
}


/* devices section */

.devices-image {
    width: 1000px;
    margin-bottom: 100px;
}

.grid-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

@media (min-width:768px) {
    .grid-item {
        width: 29%
    }
}


.grid-item>img {
    max-width: 100%;
    height: auto;
}

.grid-item {
    display: flex;
    flex-direction: column;

}

.grid-item h3 {
    margin-top: 20px;
}



.p-grid {
    font-size: 1.0rem;
    flex-wrap: wrap;

}


/* FAQ Section */

.accordion {
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
}

.accordion-container {
    background-color: var(--dark-blue);
    color: var(--white);
    margin: 1rem 0;
}

.accordion-header {
    padding: 0.5rem 3rem 0.5rem 1rem;
    min-height: 3.5rem;
    line-height: 1.25rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.accordion-header::after {
    content: "\002B";
    font-size: 2rem;
    position: absolute;
    right: 1rem;
}

.accordion-header.active::after {
    content: "\2212";
}

.accordion-content-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.accordion-content {
    padding: 1rem;
    line-height: 1.5rem;
}

/* Footer */

.footer-container {
    background-color: #080b14;
    padding: 20px 150px 0 150px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-grid>ul {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.75rem;
    padding-left: 0;
}

.footer-grid>ul:hover {
    color: var(--white);
    cursor: pointer;
}

.footer-container>p {
    font-size: 0.75rem;
}

span {
    margin-bottom: 20px;
}

/* Media Queries */


@media (max-width:1267px) {
    .devices-image,
    img {
        width: 100%;
        display: block;
    }
}

@media (max-width:768px) {
    .logo,
    h1 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1rem;
    }
    h2 {
        font-size: 1.25rem;
    }
    p {
        font-size: 1rem;
    }
    .container {
        padding: 20px;
    }
    .movie img {
        height: 160px;
    }
    .hero-info img {
        height: 35vh;
    }
    .navbar select,
    .btn-sign-in {
        max-width: 100%;
        width: 5rem;
        margin: auto;
        align-items: center;
        justify-content: center;
    }
    .hero-sign-up {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
}






