*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}
/*nav start*/
nav{
    font-family: 'Montserrat', sans-serif;
background: #0082e6;
height: 80px;
width: 100%;
}

.logo{
    color: white;
    font-size: 35px;
    line-height: 80px;
    padding: 0 100px;
    font-weight: bold;
}
nav ul{
    float: right;
    margin-right: 20px;
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}
nav ul li a{
    color: white;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
}

a.active,a:hover{
background: #1b9bff;
transition: .5s;
}
.checkbtn{
font-size: 30px;
color: white;
float: right;
line-height: 80px;
margin-right: 40px;
cursor: pointer;
display: none;
}
#check{
    display: none;
}

@media(max-width:952px ){
    label.logo{
        font-size: 30px;
        padding-left: 50px;
    }
    nav ul li a{
        font-size: 16px;
    }
}

@media(max-width:858px){
    .checkbtn{
        display: block;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 20px;
    }
    a:hover,a.active{
        background: none;
        color: #0082e6;
    }
    #check:checked ~ ul{
        left: 0;
    }
}

/*nav end*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
.body{
    font-family: 'Montserrat', sans-serif;
}
a{
    transition: .5s;
    text-decoration: none;
    color:#fff;

}

img{
    width: 100%;
    transition: .5s;
}


.section{
    padding: 70px 0;
    margin-top: 50px;
    background: rgba(116,185, 255,0.00);
    text-align: center;
}

.container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.main{
  display: grid;
  grid-template-columns: repeat(4, 1fr);  
  gap: 30px;
  margin: 30px 15px 0 15px;
}
header{
    width: 70%;
    margin: 0 auto;
}
header h1{
    margin: 0;
    font-size: 50px;
    text-transform: capitalize;
    color: rgba(52, 73, 94, 1.0);
    font-weight: 500;
}
.singleblog{
    position: relative;
    overflow: hidden;
    max-height: 500px;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 10px #ccc;
    transition: all .5s;
}
.singleblog:hover{
    box-shadow: 0 2px 13px #ccc;
    transition: all .5s;
}
.singleblog:hover img{
    transform: scale(1.1);
    transition: all .4s;
}
.singleblogcontent{
    position: absolute;
    left: 0;
    bottom: 45px;
    width: 100%;
    color: #fff;
    padding: 10px 5px;
    background: linear-gradient(45deg, rgba(21,82,153,10%),rgba(144,192,229,.4));
    transition: all .5s;
}
.singleblog:hover .blogcontent{
    bottom: 0;
    transition: all .5s;
}
.singleblogcontent h3{
font-size: 20px;
font-weight: 500;
margin: 0;
}
.singleblogcontent h3 span{
    display: block;
    font-size: 60%;
    margin-top: 5px;
    font-weight: 600;
    color: rgba(52, 73, 94, 1.0);
}
.singleblogcontent a{
font-size: 14px;
font-weight: 500;
}
.singleblogcontent .btn{
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #fff;
    border-radius: 3px;
    font-weight: 400;
}
.singleblogcontent .btn:hover{
    background: rgba(52, 152, 219, 1.0);
    transition: all .5s;
    text-decoration: none;
}
.singleblogcontent a:hover{
    text-decoration: underline;
}


@media  (max-width:992px){
    .main{
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}
@media(max-width:767px){
.main{
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
header{
    width: 95%;
}
.blogcontent{
    bottom: 0;
}
@media  (max-width:(500px){
    .main{
        grid-template-columns: repeat(1, 1fr);
    }
    
}