/* ......................................................hearder */
body{
    padding: 0;
    margin: 0;
    /* background-image: url(./images/body-background.png);
    /* background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center; */ 
    height: auto;
    font-size: 16px;
    background-color: rgba(240, 240, 240, 0.35);
    /* position: relative; */
}
header {
    position: fixed;
    width: 100vw;
    top: 0;
    /* display: flex;
    align-items: center; */

}
.nav-area {
    display: flex;
    flex-direction: row;
    min-width: 320px;
    height: 50px;
    justify-content: space-between;
    /* background-color: aqua; */
    align-items: center;
    padding: 0 5px;
    background-color: white;

}
.nav-area > a {
    /* width: 100%; */
    /* background-color: rgb(233, 124, 0); */
}
.nav-left{
    width: 40px;
    /* background-color: blueviolet; */
}
.nav-right{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* width: 400px; */
    gap: 40px;
}
.nav-right-words{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: auto;
    font-size: 20px;

}
#nav-toggle{
    cursor: pointer;
    /* position: relative; */
}
#nav-switch{
    display: none;
}
#nav-toggle > img{
    width: 40px;
}
.drawer {
    position: fixed;
    width: 100vw;
    inset: 0 0 0 -110%;
    background-color: white;
    box-shadow: -1px 1px 0px 0px rgba(128, 128, 128, 0.247);
    /* padding: 20px; */
    top:0px;
    right: 0px;
    transition: all 0.3s ease;
    z-index: 5;
}
.drawer ul{
    list-style: none;
    padding: 10px;
    margin: 0px;
    font-size: 18px;
}
.drawer li+li{
    margin-top: 16px;
}
.drawer a {
    text-decoration: none;
    color: rgb(128, 128, 128,0.9);
}
.close-btn{
    top: 10px;
    right: 10px;
    position:absolute;
    cursor: pointer;
}
#nav-switch:checked ~ .drawer{
    inset: 0 0 0 0;
    /* z-index: -1; */
}

/* .......................................................banner */
.logobg{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    /* background-color: white; */
    border-top:1px solid rgba(128, 128, 128, 0.3) ;
}

/* .......................................................main content */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding: 20px; */
}
.news-card-link {
    text-decoration: none;
    color: black;
    font-weight: 900;
    display: flex;
    flex-direction: column;
    justify-content: start;
    border-top: 2px solid rgb(128, 128, 128,0.3);
    border-bottom: 2px solid rgb(128, 128, 128,0.3);
    padding: 20px 0px;
    gap: 20px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: 1px solid black;
}
.news-card-top {
    display: flex;
    align-items: start;
    gap: 5px;
}
.news-card-top > span {
    font-size: 18px;
}

.news-card-middle{
    width: 90vw;
    padding-left: 10px;
}
.news-card-bottom {
    display: flex;
    justify-content: center;
}
.news-card-bottom > img {
    border: 1px solid black;
    border-radius: 20px;
}

.news-card-last {
    margin-bottom: 80px;
}

.title-h2 {
    margin-top: 50px;
    /* padding: 0 20px; */
}
.content-news {
    padding: 0 20px;
    margin-bottom: 80px;
    text-indent: 2em;
}

/* .......................................................footer */
.nav-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    width: 100vw;
    height: 70px;
    position: fixed;
    background-color: white;
    bottom: 0px;
    border-top: 1px solid rgb(128, 128, 128,0.3);
    /* margin-top:50px ; */
    /* z-index: 1; */
}
footer  a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: black;
    width: 100%;
}
.footer-btn {
    width: 40px;
}






