body {
    margin: 0;
    padding: 0;
}

.seulgi {
    align-items: center;
    text-align: center;
    color: #740000;
    padding: 0px 100px;
}

.image {
    display: flex;
    min-height: 700px;
    width: 100%;
    gap: 20px;
}

.h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 40px;
}

.container1 {
    background-image: url(../image/seulgi1.jpg);
    min-height: 700px;
    width: 33.3%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease-in-out;
    transform-origin: center;
}

.container1:hover {
    transform: scale(0.95);
    cursor: pointer;
}

.container2 {
    display: flex;
    flex-direction: column;
    min-height: 700px;
    width: 33.3%;
    gap: 20px;
}

.sub-container1 {
    background-image: url(../image/seulgi2.jpg);
    min-height: 350px;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease-in-out;
    transform-origin: center;
}

.sub-container1:hover {
    transform: scale(0.95);
    cursor: pointer;
}

.sub-container2 {
    background-image: url(../image/seulgi3.jpg);
    min-height: 350px;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease-in-out;
    transform-origin: center;
}

.sub-container2:hover {
    transform: scale(0.95);
    cursor: pointer;
}

.container3 {
    background-image: url(../image/seulgi4.jpg);
    min-height: 700px;
    width: 33.3%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease-in-out;
    transform-origin: center;
}

.container3:hover {
    transform: scale(0.95);
    cursor: pointer;
}

@media screen and (max-width: 768px) {

    .seulgi {
        align-items: center;
        text-align: center;
        color: #740000;
        padding: 10px 60px;
    }

    .image {
        flex-direction: column;
        min-height: 700px;
        width: 100%;
        gap: 20px;
    }

    .container1 {
        min-height: 700px;
        width: 100%
    }

    .container2 {
        min-height: 700px;
        width: 100%
    }

    .container3 {
        min-height: 700px;
        width: 100%
    }
}