.logo{
    color: black;
}
.logo a{
    color: blue;
}
.navbar{
    z-index: 1;
    background-color: rgb(243, 240, 240);
}
.main-title{
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: 100vh;
    background-color: rgb(243, 240, 240) ;
    background-image: url(news-bg.png);
}
.heading{
    display: grid;
    margin-top: 12%;
    float: right;
    width: 50%;
    height: 50%;
    bottom: 50px;
    
}
.heading section{
    font-family: 'Fredoka One', cursive;
    justify-content: center;
    top: 20%;
    width: 80%;
    height: 50%;
    margin: auto;
}
.heading section h1{
    font-weight: normal;
    width: 90%;
    padding-bottom: 10px;
    margin: auto;
    text-align: center;
    font-size: 4rem;
    color: royalblue;
}
.heading section h3{
    font-weight: 100;
    width: 80%;
    margin: auto;
    text-align: center;
    font-size: 20px;
}



.arrow-1{
    position: absolute;
    top: 65%;
    left: 75%;
    transform: translate(-50%,-50%);
}
.arrow-1 span{
    display: block;
    width: 30px;
    height: 30px;
    border-bottom: 5px solid royalblue;
    border-right: 5px solid royalblue;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}

.arrow-1 span:nth-child(2){
    animation-delay: -0.2s;
}
.arrow-1 span:nth-child(3){
    animation-delay: -0.4s;
}
.arrow-1:hover{
  cursor: pointer;
}

.daily-news{
    height: 100vh;
    width: 100%;
    justify-content: center;
}

.daily-news h2{
    background-image: url("brushstroke.png");
    background-repeat: no-repeat;
    background-size: cover;
    margin: auto;
    font-family: 'Shadows Into Light', cursive;
    display: flex;
    justify-content: center;
    font-size: 3rem;
    padding-top: 10px;
    width: 220px;
    overflow: hidden;
}

.news-section{
    padding: 3% 12%;
    width: 100%;
    height: 90vh;
    display: grid;
    
}
.news-list{
    display: grid;
    grid-template-columns:  25% 25% 25% 25%;
    justify-content: center;
    list-style: none;
    gap: 30px;
    
}


.news-section ul li{
    border-radius: 25px;
    justify-content: center;
    align-items: center;
    border: 1px solid grey;
    box-shadow: 5px 5px 18px gray;
    
}

.news-section ul li:hover{
    transform: scale(1.1,1.1);
}
.news-section-active{
    transform: translateX(0%);
}
.news-list li a{
    width: 100%;
    height: 206px;
    cursor: pointer;
    z-index: 1;
}
.news-headlines{
    display: flex;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    margin: auto;
    font-size: 10px;
    padding: 10px;
    padding-top: 5px;

}   
.news-list li a img{
    z-index: -1;
    cursor: pointer;
    height: 206px;
    width: 100%;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

@media screen and (max-width:1650px){
    .news-list{
        grid-template-columns:  30% 30% 30%;
    }
}

@media screen and (max-width:1020px){
    .heading section h1{
        left: -10px;
        width: 100%;
        font-size: 3rem;
    }
    .arrow-1{
        top: 75%;
    }
    .main-title{
        background-image: url(news-bg-2.png);
    }
    .news-list{
        grid-template-columns:   50% 50%;
    }
}

@media screen and (max-height:550px){
    .heading section h1{
        font-size: 2vw;
    }
    .heading section h3{
        padding-top: 5%;
        font-size: 1.5vw;
    }
}
@media screen and (max-width:700px){
    .heading section h1{
        font-size: 4vw;
    }
    .main-title{
        background-image: url();
    }
    .heading{
        margin: auto;
        float: none;
        justify-content: center;
        width: 80%;
        height: 80%;
    }
    .heading section{
        width: 100%;
    }
    .heading section h3{
        padding-top: 5%;
        font-size: 3.5vw;
    }
    .arrow-1{
        left: 50%;
    }
    .news-list{
        padding-left: 2% ;
        padding-right: 2%;
        grid-template-columns:   90%;
        grid-template-rows: auto;
    }
    .daily-news h2{
        width: 40%;
        font-size: 6.5vw;
    }
    .arrow-1 span{
        width: 15px;
        height: 15px;
      }
    
}
@media screen and (max-height:700px){
    .heading section h1{
        font-size: 3vh;
    }
    .main-title{
        background-image: none;
    }
    .heading{
        margin: auto;
        float: none;
        justify-content: center;
        width: 80%;
        height: 80%;
    }
    .heading section{
        width: 100%;
    }
    .heading section h3{
        padding-top: 5%;
        font-size: 2.5vh;
    }
    .arrow-1{
        left: 50%;
    }
    
    .daily-news h2{
        width: 40%;
        font-size: 6.5vw;
    }
    .arrow-1 span{
        width: 15px;
        height: 15px;
      }
}