@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100..900&display=swap');

* {
    box-sizing: border-box;
    font-family: 'M plus 1';
}
body {
    padding: 0px;
}
.news-item {
    cursor: pointer;
    padding: 10px;
    text-align: left;
    background: #e9fffb;
    border-left: 10px solid #1EC3A5;
    border-radius: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    .title {
        font-weight: 500;

    }
    .type {
        background: #1EC3A5;
        font-size: 13px;
        padding: 0 10px;
        color: #fff;
        border-radius: 100px;
    }
    .date {
        font-size: 13px;
    }
}

.news-detail {
    text-align: left;
    h2 {
        font-size: 18px;
        font-weight: 700;
        &:nth-child(1) {
            color: #1EC3A5;
            font-weight: 900;
        }
    }
    .news-meta {
        display: flex;
        background: #fff;
        margin: 0;
        font-size: 13px;
        gap: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #1EC3A5;
        p {
            margin: 0;
            padding: 0;
        }
        .type {
            background: #fff;
            padding: 0 10px;
            background: #e9fffb;
            border-radius: 100px;
        }
    }
    .news-contents {
        background: #f5f5f5;
        border-radius: 20px;
        padding: 10px;
        margin: 0;
        margin-top: 10px;
        font-size: 14px;
        img {
            width: 100%;
            height: auto;
        }
    }
}
.pagination {
    margin-top: 20px;
    width: fit-content;
    display: block;
    margin-left: auto;
    margin-right: auto;
    button {
        background: #1EC3A5;
        border: none;
        height: 30px;
        width: 30px;
        color: #fff;
        border-radius: 100px;
    }
}
.hidden {
    display: none;
}
button.back-btn {
    margin-top: 20px;
    background: #1EC3A5;
    border: none;
    height: 50px;
    width: 230px;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    border-radius: 100px;
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background-color: transparent;
  width: 1px;
  position: relative;
}
::-webkit-scrollbar-thumb {
  background-color: #a4a4a4;
  border-radius: 150px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #1EC3A5;
}
hr {
    border: none;
    border-top: 1px solid #1EC3A5;
}