* {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

/* Navbar */

.navbar {
    background-color: rgb(233, 233, 233);
    height: 70px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    /* position: fixed;
    top: 0; */
}

.nav-logo {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    width: 60%;
}

.nav-links ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 70px;
    list-style: none;
}

.nav-links ul li a {
    text-decoration: none;
    color: hsl(236, 13%, 42%);
}

.nav-links ul li a:hover {
    color: hsl(5, 85%, 63%);
    border-bottom: 2px solid  hsl(5, 85%, 63%);
}


.navbar div{
     animation: slideInDown 1s  linear ;
}

@keyframes slideInDown{
   from{
      transform: translateY(-100px);
   }
   to{

   }
}


/* Main-Home */

/* Home */

.main-home {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.home {
    width: 55%;
    margin: 0 1.2rem;

}

.home-img img {
    width: 100%;
}

.home-content {
    display: flex;
}

.home-head {
    color: hsl(240, 100%, 5%);
    font-size: 1.5rem;
    font-weight: 800;
    padding: 1.4rem 1.4rem 0 0;
}

.home-para {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.home-para p {
    color: hsl(236, 13%, 42%);
    font-size: 0.9375rem;
    line-height: 1.6rem;
}


.home-btn {
    display: block;
    align-self: flex-start;
    padding: 0.9rem 2rem;
    color: hsl(240, 100%, 5%);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    background-color: hsl(5, 85%, 63%);
    transition: all 0.5s ease-in-out;
}

.home-btn:hover {
    background-color: hsl(240, 100%, 5%);
    color: hsl(36, 100%, 99%);
    padding: 0.9rem 3rem;
}

/* Home New */

.home-new {
    width: 25%;
    margin: 0 1.2rem;
    background-color: hsl(240, 100%, 5%);
    padding: 0 1rem;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.new-head {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(35, 77%, 62%);
}

.home-new h4 {
    font-size: 1.2rem;
    color: hsl(36, 100%, 99%);
}

.home-new h4:hover {
    color: hsl(35, 77%, 62%);
}

.home-new p {
    color: hsl(236, 13%, 42%);
    line-height: 1.6rem;
    justify-content: center;
}

.home-new hr {
    border: none;
    background-color: hsl(236, 13%, 42%);
    height: 2px;
}

/* Trending */

.trending {
    display: flex;
    justify-content: center;
    margin: 5rem auto 7rem auto;
    width: 90%;

}

.trending-options {
    display: flex;
    gap: 1rem;
    width: 27%;
    margin: 0.8rem 0.7rem;
    transition: all 0.5s ease-in-out;
}

.trending-options:hover {
    transform: translateY(10px);
}

.ops-img img {
    width: 120px;
    height: 130px;
}

.ops-content {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ops-content h3 {
    color: hsl(5, 85%, 63%);
    font-size: 2rem;
}

.ops-content h5 {
    font-size: 1rem;
    color: hsl(240, 100%, 5%);
    font-weight: 800;
}

.ops-content h5:hover {
    color: hsl(5, 85%, 63%);
}

.ops-content p {
    color: hsl(236, 13%, 42%);
    line-height: 1.5rem;
    font-size: 0.9375rem;
}


/* Footer */

footer {
    background-color: hsl(240, 100%, 5%);
    height: 70px;
    display: flex;
    color: hsl(236, 13%, 42%);
    justify-content: center;
    align-items: center;
}

footer p {
    padding: 0 1rem;
    font-size: 0.9rem;
}

footer p a {
    text-decoration: none;
    color: hsl(36, 100%, 99%);
}

footer p a:hover {
    color: hsl(35, 77%, 62%);
}



/* Responsiveness */

@media screen and (max-width:1440px) {
    
    .trending-options {
        width: 33%;
    }

}


@media screen and (max-width:1145px) {
    .main-home {
        flex-direction: column;
    }

    .home {
        width: 90%;
        margin: 0 auto;
    }

    .home-new {
        width: 90%;
        margin: 3rem auto 0rem auto;
        padding: 1rem 0;
        border: border-box;
    }

    .new-head {
        padding: 1rem;
    }

    .home-new h4 {
        padding: 1rem;
    }

    .home-new p {
        padding: 1rem;
    }

    .home-new hr {
        margin: 0 1rem;
    }

    .trending {
        margin: 0rem auto 7rem auto;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .trending-options {
        width: 45%; 
        margin: 5rem 0rem 0rem 0rem;
    }
}


@media screen and (max-width:792px) {

    .nav-links ul li {
        display: none;
    }

    .nav-links {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 20%;
    }

    .nav-links ul {
        background-image: url("./images/icon-menu.svg");
        background-size: cover;
        height: 25px;
        width: 55px;
    }

    .trending {
        flex-direction: column;
    }

    .trending-options {
        width: 100%;
    }

    footer {
        flex-direction: column;
        justify-content: space-evenly;
    }

    footer p {
        font-size: 0.75rem;
    }
}


@media screen and (max-width:480px) {

    .nav-links ul {
        height: 25px;
        width: 35px;
    }

    .home-img img {
        display: none;
    }

    .home-img {
        background-image: url("./images/image-web-3-mobile.jpg");
        background-size: cover;
        width: 100%;
        height: 400px;
    }

    .home-content {
        flex-direction: column;
    }

    .home-head {
        padding: 1.4rem 0;
    }

    .home-btn {
        margin-top: 1.4rem;
    }

    .ops-content h3{
        font-size: 1.5rem;
    }

    .ops-content p{
        font-size: 0.85rem;
        line-height: 1.2rem;
    }

}