@media screen and (min-width: 1100px) {
    .imgpost {
        float: left;
        padding: 0 10px 5px 0;
        width: 300px;
        border-radius: 10px;
    }
    nav {
        font-size: 17px;
        margin-top: 5px;
    }
    .nav:hover {
        background-color: #5c4548;
        border-radius: 10px;
    }
    .slider{
        max-width: 100%;
        position: relative;
        background-image: url('https://github.com/EryaKhun/EryaKhun.github.io/blob/master/slider.png');
        height: 350px;
        margin-bottom: 130px;
        margin: auto;
        border-radius: 10px;
    }
    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: 17%;
        height: 215px;
        margin-top: -175px;
        padding-top: 135px;
        transition: 1s;
        background-color: #0b0b0e;
        opacity: 0.5;
        border-radius: 10px 0px 0px 10px;
        text-align: center;
    }
    .fa-chevron-left, .fa-chevron-right {
        position: relative;
        top: 10%;
    }
    .read {
        width: 100px;
        height: 30px;
    }
    .people, .pr, .al, .alb {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-column-gap: 5px;
    }
    .img-album:hover {
        width: 100px;
        height: 100px;
        transition: 0.5s all;
    }
    a:hover {
        color:rgb(185, 199, 199);
    }
}

@media screen and (max-width: 420px) {
    .imgpost {
        padding: 0 10px 5px 0;
        width: 100%;
    }
    .nav {
        font-size: 14px;
        margin-top: 6px;
    }
    .slider{
        max-width: 100%;
        position: relative;
        background-color: #6e5558;
        height: 420px;
        margin-bottom: 130px;
        margin: auto;
        border-radius: 10px;
    }
    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: 17%;
        height: 420px;
        top: 175px;
        margin-top: -175px;
        transition: 1s;
        background-color: #3d2d2f;
        opacity: 0.5;
        border-radius: 10px 0px 0px 10px;
        text-align: center;
    }
    .fa-chevron-left, .fa-chevron-right {
        position: relative;
        top: 45%;
    }
    .read {
        width: 130px;
        height: 40px;
    }
    .read:hover {
        background-color: #5c4548;
    }
    .popup1, .popup2, .popup3 {
        height: 400px;
        overflow-y:scroll;
    }
    .alb {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-column-gap: 5px;
    }
}
@media screen and (min-width: 421px) and (max-width: 1099px) {
    .imgpost {
        float: left;
        padding: 0 10px 5px 0;
        width: 300px;
        border-radius: 10px;
    }
    nav {
        font-size: 17px;
        margin-top: 5px;
    }
    .nav:hover {
        background-color: #5c4548;
        border-radius: 10px;
    }
    .slider{
        max-width: 100%;
        position: relative;
        background-color: #6e5558;
        height: 350px;
        margin-bottom: 130px;
        margin: auto;
        border-radius: 10px;
    }
    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: 17%;
        height: 215px;
        margin-top: -175px;
        padding-top: 135px;
        transition: 1s;
        background-color: #3d2d2f;
        opacity: 0.5;
        border-radius: 10px 0px 0px 10px;
        text-align: center;
    }
    .fa-chevron-left, .fa-chevron-right {
        position: relative;
        top: 10%;
    }
    .read {
        width: 100px;
        height: 30px;
    }
    .people, .pr, .al, .alb {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-column-gap: 5px;
    }
    .img-album:hover {
        width: 100px;
        height: 100px;
        transition: 0.5s all;
    }
    a:hover {
        color:rgb(185, 199, 199);
    }
}
body {
    font-family: Georgia, Serif;
    background-color: #000000;
}
#imglogo {
    border-radius: 10px;
    width: 100%;
}
nav {
    display: grid;
    grid-template-columns: 33% 34% 33%;
    background-color:#6e5558;
    height: 43px;
    border-radius: 10px;
    color:rgb(234, 255, 255);
    cursor: pointer;
    margin-bottom: 5px;
}
.nav {
    text-align: center;
    height: 35px;
    padding-top: 8px;
}
.post1, .post2 {
    width: 94%;
    height: max-content;
    background-color: #33343c;
    border-radius: 10px;
    margin-top: 5px;
    display: inline-block;
    margin-bottom: 5px;
    padding: 3%;
}
h1 {
    font-size: 20px;
}
p {
    text-align: justify;
}
main {
    color: rgb(185, 199, 199);
}
#more1 {
    display: none;
}
#more2 {
    display: none;
}
.read {
    float: right;
    cursor: pointer;
    background-color: #6e5558;
    border-radius: 5px;
    border: 1px solid black;
    color: rgb(234, 255, 255);
    font-weight: bold;
}
.prev {
    border-radius: 10px 0px 0px 10px;
}
.next {
    border-radius: 0px 10px 10px 0px;
}
.next {
    right: 0;
}
.prev:hover, .next:hover {
    opacity: 1;
}
.text {
    position: absolute;
    color: rgb(234, 255, 255);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
h2 {
    text-align: center;
}
.slide {
    animation-name: fade;
    animation-duration: 1s;
}
@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}
.popup__bg1, .popup__bg2, .popup__bg3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0; 
    pointer-events: none;
    transition: 0.5s all;
}
.popup__bg1.active, .popup__bg2.active, .popup__bg3.active {
    opacity: 1; 
    pointer-events: all; 
    transition: 0.5s all;
}
.popup1, .popup2, .popup3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    width: 80%;
    padding: 25px;
    transition: 0.5s all;
    border-radius: 10px;
    background-color: #b18e92;
}
.popup1.active, .popup2.active, .popup3.active {
    transform: translate(-50%, -50%) scale(1); 
    transition: 0.5s all;
}
.close-popup1:hover, .close-popup2:hover, .close-popup3:hover {
    cursor: pointer;
}
.fa-close {
    float: right;
    color: #54545c;
    margin-top: -27px;
    margin-right: -7px;
}

.pop {
    color: #33343c;
    font-size: 12px;
}
.card {
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 10px;
    background-color: #e1c1c4;
}
.img-album {
    border-radius: 10px;
    width: 65px;
    height: 65px;
}

.name {
    font-size: 15px;
    margin-top: 10px;
    text-align: center;
}
.data {
    margin-top: -10px;
    text-align: center;
}
a {
    color: white;
    text-decoration: none;
    line-height: normal;
}
