@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cabin&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hind+Madurai&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #343a40;
}

.nav {
    z-index: 2;
    width: 100vw;
    position: fixed;
    padding: 0;
    margin: 0px;
    background-color: #212529;
    color: rgb(160, 160, 160);
    list-style: none;
    height: 85px;
}

.container {
    display: flex;
    float: left;
}

li {
    transition: 00.3s;
    font-size: 0.8em;
    width: 80px;
    height: 70px;
    text-align: center;
    line-height: 85px;
}

li:hover {
    color: white;
    cursor: pointer;
}

#menu {
    display: none;
}

#title {
    cursor: context-menu;
    width: 200px;
    font-size: 2em;
    position: absolute;
    font-family: 'Kaushan Script', cursive;
    color: white;
    left: 50%;
    transform: translateX(-50%);
}

#container2 {
    color: white;
    padding-top: 115px;
    padding-bottom: 30px;
    position: relative;
    display: grid;
    gap: 30px;
    grid-template-columns: auto 40vw 20vw 20vw auto;
    grid-template-rows: 50vh 50vh;
    grid-template-areas:
        '. p1 p2 p3 .'
        '. p1 p4 p5 .';
}

.card {
    position: relative;
    background-color: #495057;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.4);
}

#one {
    grid-area: p1;
}

#two {
    grid-area: p2;
}

#thr {
    grid-area: p3;
}

#four {
    grid-area: p4;
}

#five {
    grid-area: p5;
}

footer {
    height: 70px;
    background-color: #212529;
    color: gray;
    line-height: 70px;
    text-align: center;
}

#two > img {
    width: 100%;
}

#thr > img {
    width: 100%;
}
#four > img {
    width: 100%;
}
#five > img {
    width: 100%;
}

.cardDescription {
    font-family: 'Shippori Mincho', serif;
    position: relative;
    padding-right: 15px;
    padding-left: 15px;
}

#p5Title {
    margin-top: 20px;
    margin-bottom: 0px;
    font-style: normal;
    font-size: 2vw;
}

#p1Title {
    margin-top: 10px;
    margin-bottom: 0px;
    font-style: normal;
    font-size: 1.4vw;
}

.date {
    margin: 5px;
    color: gainsboro;
    font-family: 'Cabin', sans-serif;
}

#text1 {
    font-size: 1.1em;
    line-height: 1.5em;
    margin: 0px;
    font-family: 'Hind Madurai', sans-serif;
}
#textone {
    font-family: 'Hind Madurai', sans-serif;
    font-size: 1.3em;
    line-height: 1.5em;
}

#more,
#moreBig {
    font-family: Montserrat;
    transition: 0.3s;
    color: white;
    text-decoration-line: none;
    border: 1px solid white;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 20px;
}

#more {
    position: absolute;
    right: 15px;
    bottom: 15px;
}

#more:hover,
#moreBig:hover {
    color: black;
    background-color: white;
}

.active {
    color: white;
    text-decoration-line: underline;
    text-underline-offset: 10px;
    text-decoration-thickness: 2px;
}

#latest {
    width: 100%;
}

.cardTitle {
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 1150px) {
    #container2 {
        grid-template-columns: auto 25vw 25vw 25vw auto;
        grid-template-rows: 38vw 38vw;
        grid-template-areas:
            '. p1 p1 p5 .'
            '. p2 p3 p4 .';
    }
    #one {
        position: relative;
    }

    #latest {
        width: 100%;
        opacity: 20%;
    }
    #test {
        position: absolute;
        top: 10%;
    }
}
@media (max-width: 950px) {
    #latest {
        opacity: 100%;
    }
    #test {
        position: relative;
    }
    #container2 {
        grid-template-columns: auto 75vw auto;
        grid-template-rows: 90vh repeat(4, 50vh);
        grid-template-areas:
            '. p1  .'
            '. p2 .'
            '. p3 .'
            '. p4 .'
            '. p5 .';
    }
}
