body {
    padding: 0;
    margin: 0;
}

.wrapper {
    color: #3f3f3f;
    font-family: Arial, Helvetica, sans-serif;
}


/* header */
figure {
    margin: 0;
    position: relative;
}
header img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
div.title {
    background: rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100px;
    margin: 0 10%;
    color: #eee;
    border-radius: 10px;
}
div.title h1, p {
    margin: 5px 10px;
}
header figcaption {
    margin: 0 3%;
}


/* contents */
div.contents {
    margin: 50px 3% 0;
    text-align: justify;
}
.contents img {
    max-width: 100%;
    border-radius: 8px;
}
div.contents section {
    margin: 50px 0;
}
div.contents p {
    margin: 0;
}
div.contents figcaption {
    font-size: 0.9em;
    color: #505050;
}


/* other blogs */
.otherblogs {
    margin: 80px 0 !important;
}
.otherblogs a {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}
.otherblogs h3 {
    text-align: center;
    margin: 50px 0 35px;
}
.otherblogs div.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    row-gap: 15px;
}
.otherblogs .img {
    max-width: 430px;
    aspect-ratio: 3 / 2;
    background-size: cover !important;
    position: relative;
}
.otherblogs .img div {
    width: 100%;
    background: #fff;
    color: #000;
    padding: 2px;
    position: absolute;
    bottom: -5px;
    border: 0.3px solid #9f9f9f;
    border-radius: 4px;
}
.otherblogs h6 {
    margin: 0;
}
.otherblogs a:hover h6 {
    color: #0088ff;
    text-decoration: underline;
}
.otherblogs a.img:hover {
    background-size: 110% !important;
    background-position: center !important;
}



/* responsive */
@media screen and (min-width: 680px) {
    
    div.contents {
        margin: 50px auto 0;
        padding: 0 10%;
        max-width: 900px;
        font-size: 18px;
    }
    div.title {
        font-size: 18px;
        top: 125px;
    }
    header img {
        height: 400px;
    }

}
@media screen and (min-width: 980px) {

    div.contents {
        max-width: 900px;
        font-size: 20px;
    }
    div.title {
        top: 155px;
        font-size: 20px;
    }
    header img {
        height: 450px;
    }

}
@media screen and (min-width: 1350px) {

    div.title {
        left: 50%;
        transform: translateX(-50%);
        max-width: 1079.25px;
        width: 100%;
        margin: 0 auto;
    }

}
