@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');
@media screen and (max-width:600px) {
    #about-content{
        text-align: center;
        display: block!important;
    }
    #joh-image {
        width: 75vw!important;
        height: auto!important;
        margin: auto!important;
    }
    #joh-description{
        width: auto!important;
    }
}
#about-content{
    display: flex;
    display: -webkit-box;
    width: 100%;
    flex-wrap: nowrap;
    animation: forwards 2s;
}

#joh-image{
    width: 40vh;
    height: 60vh;
    margin: 2%;
}
#joh-image img{
    border-radius: 5%;
    width: 100%;
    height: 100%;
}

#joh-description{
    width: 40%;
    height: auto;
}

#name{
    margin-top: 4%;
    margin-bottom: 10%;
    font-size: 3rem;
    font-family: 'Caveat', cursive;
    font-weight: bolder;
}

#subtitle{
    font-family: YakuHanJP_Noto, "Noto Sans JP", sans-serif;
    font-weight: 700;
    text-decoration: dashed;
    color: gray;
}

#joh-description p{
    font-family: YakuHanJP_Noto, "Noto Sans JP", sans-serif;
    font-size: 1rem;
}

.slider {
    position: relative;
    width: 80%;
    height: auto;
    margin: auto;
    overflow: hidden;
}

.slider-images {
    display: flex;
    transition: transform 0.5s ease;
}


.slide {
    min-width: 100%;
    height: auto;
    transition: opacity 0.5s ease;
}


.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}