@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.5;
    user-select: none;
}

.container {
    width: 100%;
    margin: auto;
}

/* Navigator */
.top {
    background: url(https://lordsrealm.in/read/love.jpg) no-repeat;
    background-attachment: fixed;
    background-position: center; 
    background-size: cover;
    width: 100%;
} 

.topList {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.brand h1 {
    color: #fff;
    font-weight: 300;
    font-size: 1.5rem;
    letter-spacing: 0.7rem;
    margin: 25px;
}

ul { 
    font-family: 'Open Sans', sans-serif;
    list-style-type: none;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    row-gap: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-right: 30px;
    margin-top: 20px;
    margin-bottom: 50px;

    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.main-nav a {
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    padding-bottom: 5px;
    margin: 10px 30px;

    transition: border-bottom 0.5s;
	transition: opacity 0.5s;
}

.main-nav a:hover {
    cursor: pointer;
    font-weight: 700;
    color: #fff;
 
    opacity: 0.7;
    border-bottom: 1px solid #fff;
    text-decoration: none;
 }

.dark {
    font-weight: 700;
    border-bottom: 2px solid #fff;
}

/* Cards */
.wrapper {
    width: 60%;
    margin: auto;
}

.cardTitle {
    font-size: 0.5rem;
    letter-spacing: 4px;
    font-weight: 300;
    display: inline-block;

    color: #fff;
    background: seagreen;
    border-radius: 5px;
    margin: 10px;
    padding: 5px;
}

.cards {
    padding-bottom: 130px;
}

.card {
    font-weight: 300;
    background: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(4px);
    border-radius: 5px;
    color: #fff;
    text-align: left;
    padding: 20px;
}

.article-img {
    float: left;
    height: 320px;
    margin-right: 16px;
    border-radius: 8px;
}

.card h2 {
    word-spacing: 10px;
    font-weight: 600;
}

.card p {
    margin: 10px 0;
    word-spacing: 8px;
    line-height: 2.3rem;
}

.flexGrp {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.flexGrp p {
    line-height: 1rem;
    background: rgba(106, 90, 205, 0.3);
    padding: 5px;
    border-radius: 5px;
}


/* Social */ 
.social {
    background: #3a4052;
    padding: 30px;
    color: #fff;
    text-align: center;

    margin: auto;
}

.social h2 {
    font-size: 20px;;
    margin-bottom: 10px;
}

.social a {
    font-size: 10px;
    color: #fff;
}

.social a:hover {
    opacity: 0.7;
}


#starvation-table {
  width: 100%;
}

#starvation-table td {
  width: 50%;
}

/* Media Query */
@media(max-width: 1280px) {
    .wrapper {
        width: 100%;
        padding-inline: 8px;
    }    
}

@media(max-width: 797px) {
    .topList {
        display: flex;
        flex-direction: column;
    }

    .brand h1 {
        text-align: center;
    }

    .main-nav {
        display: inline-block;
    }

    ul {
        display: flex;
        justify-content: center;

        background: rgba(0, 0, 0, 0.5);
        border-radius: 5px;
         
        padding: 5px -50px 7px -50px;
        margin-left: 30px;
    }

    .flexGrp p {
        line-height: 1rem;
 
    }
    
    .article-img {
        float: none;
        height: auto;
        width: 100%;
        /* margin-right: 16px;
        border-radius: 8px; */
    }

}