@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap');

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

html, body{
    font-family: 'Rubik', sans-serif;
    background-color: black;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.7;
}

a{
    color: white;
    text-decoration: none;
}

a:hover{
    color: grey;
}

ul{
    list-style: none;
}

img{
    width:100%;
}

/* Buttons*/
.btn{
    display: inline-block;
    background-color: white;
    color: black;
    min-width: 135px;
    padding: 15px 24px;
    border-radius: 3px;
    border: none;
    font-family: 'Rubik', sans-serif;
    font-weight: bold;
    line-height: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 23px;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-cta:hover{
    opacity: 0.9;
}

.terms{
    color: #8b94a7;
    font-size: 10px;
    margin-top: 15px;
}

.sign-up{
    margin-top: 5px;
}

/* Header */

.header {
    height: 90vh;
    background: url(../img/header.jpg) no-repeat center center / cover;
}

.header nav{
    display: flex;
    justify-content: flex-end;
    padding: 0.8rem 1.5rem;
    position: relative;
    z-index: 2;
}

.header nav .login-btn{
    background: none;
    color: white;
    font-size: 15px;
    font-family: 'Rubik', sans-serif;
    border: none;
    cursor: pointer;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    top: 30px;
    right: 40px;
}

.header .logo{
    width: 600px;
    margin: 20px 0px 17px 0px;
}

.header .header-content{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top:100px;
}

h5{
    color: #1ce783;
    font-weight: 450;
    font-size: 12px;
    letter-spacing: 1px;
}

.header .header-text-1{
    font-size: 24px;
    font-weight: 430;
    letter-spacing: 0.5px;
    margin: 0px 400px;
    text-align: center;
    line-height: 1.2;
}

.header::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.76) 15.54%,
        rgba(0, 0, 0, 0.192) 60.23%,
        rgba(0, 0, 0, 8e-5) 100%
      );
}

/* Library Section */

.categories{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px 100px 40px;
}

h4{
    color: #1ce783;
    font-weight: 450;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.text-xl{
    font-size: 65px;
    font-weight: bold;
}

.subtext{
    max-width: 700px;
    margin-top: 15px;
}

.categories .covers{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 45px;
    gap: 20px;
}

.categories .covers > div{
    height: 450px;
    width: 294px;
    position: relative;
}

.categories .cover-grad{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        156.82deg,
        rgba(0, 0, 0, 0.6) 4.58%,
        rgba(0, 0, 0, 0) 69.61%
      ),
      linear-gradient(24.5deg, rgba(0, 0, 0, 0.2) 4.71%, rgba(0, 0, 0, 0) 71.49%);
}

.categories .cover-1{
    background: url(../img/cover-1.jpg) no-repeat center center / cover;
}

.categories .cover-2{
    background: url(../img/cover-2.jpg) no-repeat center center / cover;
}

.categories .cover-3{
    background: url(../img/cover-3.jpg) no-repeat center center / cover;
}

.categories .cover-4{
    background: url(../img/cover-4.jpg) no-repeat center center / cover;
}

.categories .cover-text{
    position: absolute;
    text-align: left;
    padding: 25px;
}

.categories .sub-title{
    font-weight: 500;
}

h3{
    letter-spacing: 1px;
    font-size: 24px;
}

/* LIVE SECTION */
.live{
    height: 690px;
    background-color: #151516;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.live .subtext-xl{
    max-width: 740px;
    font-size: 24px;
    margin-top: 10px;
}

.live a{
    text-transform: uppercase;
    font-size: 16px;
    text-decoration: underline;
    margin-top: 20px;
}

.live .arrow{
    background: url(https://www.hulu.com/static/hitch/static/icons/dropdown_arrow.svg) no-repeat center;
    height: 16px;
    margin-top: 55px;
    cursor: pointer;
    width: 18px;
    padding: 0;
    border: none;
    text-align: center;
    justify-content: center;
    display: flex;
    /* -webkit-animation: move-up-and-down 1s infinite alternate;
    animation: move-up-and-down 1s infinite alternate;
        animation-duration: 1s;
        animation-timing-function: ease;
        animation-delay: 0s;
        animation-iteration-count: infinite;
        animation-direction: alternate;
        animation-fill-mode: none;
        animation-play-state: running;
        animation-name: move-up-and-down; */
}

/* LIVE SPORTS */
.live-sports{
    background: url('/img/live-sports.jpg') no-repeat center center / cover;
    height: 800px;
    position: relative;
}

.live-sports .live-sports-content{
    position: absolute;
    top: 265px;
    left: 235px;
    max-width: 550px;
}

.live-sports .subtext-xl{
    font-size: 24px;
}

.live-sports .live-sports-logo{
    width: 300px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.live-sports .live-sports-logo > div{
    background: url(/img/network-logo-bg.png) no-repeat center center / cover;
    height: 60px;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.live-sports .live-sports-logo img{
    width: 40px;
}

/* FOOTER */
.footer{
    background: #ebedf2;
    color: #333;
}

.footer a{
    color: #656B7B;
    font-size: 14px;
}

.footer-container{
    max-width: 1200px;
    margin: auto;
    padding: 40px;
}

.footer-lists{
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.footer-lists .list-head{
    font-weight: bold;
    margin-bottom: 5px;
}

.divider{
    width: 105%;
    height: 3px;
    border-top: 1px #ccc solid;
    margin: 30px 0px;
}

.social-icons{
    margin-top: 40px;
}

.social-icons img{
    width: 20px;
    height: 20px;
    margin-right: 25px;
}

/* MODAL */
.modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-box{
    margin: 10% auto;
    width: 432px;
    background:#fff;
    color: #333;
    position: relative;
}

.modal-body{
    padding: 80px 50px 80px 50px;
}

.modal-body h3{
    font-weight: 450;
}

.btn-dark{
    background-color: grey;
    color: white;
}

.modal-body .btn{
    width: 100%;
    margin-top: 30px;
}

.modal .close{
    cursor: pointer;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.modal .modal-footer{
    padding: 30px 0;
    text-align: center;
}

.modal .modal-footer a{
    color: steelblue;
}

.form-control{
    margin: 20px 0;
    
}

.form-control label{
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    font-weight:500;
    letter-spacing: 1px;
    color: #636E85;
    margin-bottom: 5px;
}

.form-control input{
    width: 100%;
    border: 1px solid black;
    border-radius: 2px;
    height: 45px;
    padding: 5px 0;
}

form a{
    color: steelblue;
}

/* Media Queries */
@media (max-width: 1024px) {
    .categories .covers{
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:768px) {
    .header{
        height: 100vh;
    }
    
    .header .header-content{
        text-align: center;
        padding: 0 20px;
    }

    .header .logo{
        width:300px;
    }
    .header .header-text-1{
        margin: 0px 20px;
        font-size: 20px;
    }

    .btn-cta{
    padding: 15px 40px;
    }

    .terms{
        font-size: 11px;
    }

    .sign-up{
        font-size: 17px;
    }

    .categories{
        padding: 50px 40px;
    }

    .text-xl{
        font-size:48px;
        line-height: 1.3;
        margin-top: 16px;
    }

    .subtext{
        font-size: 18px;
    }

    .categories .covers{
        grid-template-columns: 1fr;
    }

    .categories .covers > div{
        height:450px;
        width: 330px;
        position: relative;
    }

    .live-sports{
        background: url(/img/live-sports-small.jpg) no-repeat center center / cover;
    }

    .live-sports .live-sports-content{
        top: 30px;
        left: 1px;
        margin: 80px 20px 0px 20px;
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .live-sports .subtext-xl{
        font-size: 18px;
    }

    .live-sports .terms{
        margin-top: 30px;
    }

    .footer-lists{
        flex-direction: column;
    }

    .modal .modal-box{
        width: 350px;
    }
}