@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html,body{
    font-family: 'Rubik', sans-serif;
    background-color: black;
    color: white;
    line-height: 1.7;
    overflow-x: hidden;
}
a{
    color: white;
    text-decoration: none;
}
a:hover{
    color:grey
}
ul{
    list-style-type: none;
}
img{
    width: 100%;
}
h4{
    color: #00ed82;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}
h3{
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
}
.btn{
    display: inline-block;
    background-color: white;
    color: black;
    padding: 20px 30px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    min-width: 130px;
    cursor: pointer;
    line-height: 10px;
}
.btn-outline{
    background-color: transparent;
    color: white;
    padding: 20px 30px;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
    line-height: 10px;
    border: 1px solid white;
}
.btn-outline:hover{
    background-color: white;
    color: black;
}
.btn-cta:hover{
    background-color: transparent;
    color: white;
    border: 1px solid white;
}
.btn-dark{
    background: #000;
    color: #fff;
}
.legal-text{
    font-size: 10px;
    margin-top: 20px;
    color:white
}

/* HEADER */
.header{
    height: 530px;
    background:url('../img/header.jpg') no-repeat center center/cover;
}
.header .logo{
    width: 270px;
    margin: 20px 0;
}
.header nav{
    display: flex;
    justify-content: flex-end;
    padding: 20px 40px;
    z-index: 2;
    position: relative;
}
.header nav .login-btn{
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.header .header-content{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 30px;;
}
.header::after{
    content: '';
    position: absolute;
    left: 0%;
    top: 0%;
    z-index: 1;
    width: 100%;
    height: 60px;
  background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.76) 14.58%, rgba(0, 0, 0, 0.192) 60.61%),
        linear-gradient(24.5deg, rgba(0, 0, 0, 0.4) 4.71%, rgba(0, 0, 0, 0.2) 71.49%);
}
.header .header-text-1{
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}
.header .header-text-2{
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    margin: 20px 0;
}
.sub-header{
   display: grid;
   grid-template-columns: 2fr 4fr 2fr;
   gap: 40px;
   padding: 30px 40px;
   align-items: center;
   background:linear-gradient(318.66deg,#0f495c 0%,#0d3640 49.72%,#08141f 100%)
}
.sub-header > div:last-of-type{
    justify-self: end;
    align-self: end;
}
.sub-header > div:last-of-type .sub-link{
    text-align: center;
}
.sub-link{
    display:block;
    color: white;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    text-decoration: underline;
}

/* CATEGORIES */
.categories{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 90px 40px;
    justify-content: center;
}
.categories .covers{
    display: grid;
    grid-template-columns:repeat(4,1fr);
    gap: 20px;
    margin-top: 40px;
}
.categories .covers > div{
    height: 500px;
    width: 300px;
    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-text{
    position: absolute;
    top: 20px;
    left: 20px;
    text-align: left;
}
.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;
}
.text-xl{
    font-size: 66px;
    font-weight: bold;
}
.subtest{
    max-width: 850px;
    margin-bottom: 10px;
    font-size: 24px;
}
/* LIVE TV*/
.live{
    background-color: #151516;
    padding: 40px;
}
.live-border{
    border: 4px solid #1ce783;
    border-radius: 16px;
    padding: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.live a{
    font-size: 18px;
    margin-top: 20px;
    text-transform: uppercase;
    text-decoration: underline;
}

/* LIVE SPORTS*/
.live-sports {
    background: url('../img/live-sports.jpg') no-repeat center center / cover;
    height: 800px;
    display: flex;
    position: relative;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 60px;
    padding-left: 10%;
}
.live-sports-content {
    top: 180px;
    left: 100px;
    max-width: 550px;
    position: absolute;
    color: #fff;
}
.live-sports-logos {
    width: 300px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.live-sports-logos > 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-logos img{
    width: 50px;
}

/* FOOTER*/
.footer{
    background: #ebedf2;
    color: #333;
}
.footer a{
    color: #333;
}
.footer-container{
    max-width: 1100px;
    margin: auto;
    padding: 40px;
}
.footer-list{
    display: flex;
    justify-content: space-between;
}
.footer-list .list-head{
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 5px;
}
.divider{
    width: 100%;
    border-top: 1px solid #ccc;
    height: 3px;
    margin: 30px 0;
}
.social-icons img{
    width: 25px;
    height: 25px;
    margin-right: 25px;
}
.footer-credits p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* MODAL */
.modal{
    display: none;
    position: fixed;
    top: 0%;
    left: 0%;
    z-index: 1;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.modal-box{
    margin: 10% auto;
    width: 400px;
    background: #fff;
    color: #333;
    position: relative;
    animation: modalopen 1s;
}
@keyframes modalopen{
    from{ opacity: 0;}
    to{ opacity: 1; }
}
.modal-body{
    padding: 50px;
}
.modal-body h3{
    font-weight: bold;
    text-transform: uppercase;
}
.modal-body .btn{
    width: 100%;
    margin-top: 30px;
}
.modal .close{
    line-height: 23px;
    cursor: pointer;
    width: 23px;
    position: absolute;
    top: 20px;
    right: 20px;
}
.modal .modal-footer{
    background: #f7f7f7;
    color: #333;
    padding:20px 0;
    border-top: 1px solid #eee;
    text-align: center;
}
.modal .modal-footer a{
    color: steelblue;
}

/* FORMS */
.form-control{
    margin:20px 0;
}
.form-control label{
    display: block;
    text-transform: uppercase;
}
.form-control input{
    width: 100%;
    border: 2px solid #ccc;
    border-radius: 5px;
    height: 50px;
    padding:5px;
}



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

@media (max-width: 768px) {
    .header .logo{
        width: 200px;
    }

    .header .header-content{
        text-align: center;
        padding: 0 20px;
    }
    .sub-header{
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    .sub--header img{
        width: 200%;
        margin:auto;
    }
    .sub-header > div:last-of-type{
        justify-self: center;
        align-self: center;
    }
    .text-xl{
        line-height: 1.2;
        font-size: 35px;
        margin-top: 10px;
    }
    .subtext{
        font-size: 16px;
        margin-top: 10px;
    }
    .categories .covers{
        grid-template-columns: 1fr;
    }
    .live-border{
        padding: 30px 10px;
        margin-top: 10px;
    }
    .live .text-xl{
        margin-top: 10px;
    }
    .live .legal-text{
        margin-top: 10px;
    }
    .live .sub-text{
        margin-top: 10px;
    }
    .live-sports{
        background: url('../img/live-sports-small.jpg') no-repeat center center / cover;
    }
    .live-sports-content{
        left: 30px;
    }
    .footer-list{
        flex-direction: column;
        line-height: 1.5;
    }
    .modal-box{
        width: 300px;
    }
    .social-icons{
        width: 40px;
        gap: 20px;
    }
}