nav{
    background: #0082e6;
    height: 80px;
    width: 100%;
}
label.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;
    text-transform: uppercase;
}
a.active,a:hover{
    background: lightblue;
    transition: .5s;
}
.checkbtn{
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
}
#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;

    }
}
section{
    background: white;
    background-size: cover;
    height: calc(100vh - 80px);
}
.judul{
    font-family: 'Times New Roman', Times, serif;
    text-align: left;
    padding-top: 40px;
}
.tanggal{
    font-family: 'Times New Roman', Times, serif;
    text-align: left;
    padding-top: 40px;
    padding-left: 100px;
}
.gambarberita img{
    align-items: center;
}
body, h1, h2, p {
    margin: 0;
    padding: 0;
}

/* Basic styling */
body {
    font-family: Arial, sans-serif;
}

header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
}

.news-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.news {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    padding-top: 30%;
    max-width: 100%;
    height: 1000px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news img {
    max-width: 100%;
    height: auto;
    padding-left: 25%;
}

.author {
    font-style: italic;
    margin-top: 10px;
}

.date {
    color: #777;
    margin-top: 5px;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: white;
}
.news p{
    text-align: left;
    padding-left: 5%;
    padding-bottom: 40px;
}
.tombol{
    font-family: 'Times New Roman', Times, serif;
    text-decoration: none;
    background-color: black;
    width: auto;
    border-radius: 5px;
    text-align: center;

}
.tombol h4{
    color: white;

}
