.p1 {
    height: 60vh;
    width: 100%;
}

.p1 img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.p2 {
    padding: 40px 0;
    width: 100%;
}

.p2 .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 5%;
}

.p2 .info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.p2 .title {
    font-size: 30px;
    font-weight: bolder;
    color: #1f3961;
}

.p2 p {
    letter-spacing: 2px;
    line-height: 1.2;
}

.p2 .contact-info {
    display: flex;
    justify-content: space-between;
}

.p2 .google-map {
    height: 40vh;
    width: 42vw;
}

.p2 .google-map iframe {
    height: inherit;
    width: inherit;
}

.p2 .contact-info-detail {
    height: 40vh;
    width: 42vw;
}

.p2 .contact-info-detail {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.p2 .contact-info-detail p {
    letter-spacing: 2px;
    line-height: 2;
}

.p2 ul {
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 0;
    justify-content: space-between;
}

.p2 li {
    position: relative;
}

.p2 .serve .serve-photo {
    height: 40vh;
    width: 28vw;
    object-fit: cover;
}

.p2 .serve .serve-name {
    background-color: #1f3961;
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 5px;
    padding: 10px 20px;
    position: absolute;
    left: 0;
    bottom: 0;
}

@media (max-width: 768px) {
    .p1 {
        height: 40vh;
    }

    .p2 {
        padding: 20px 0;
    }

    .p2 .container {
        padding: 0 12px;
        gap: 20px;
    }
    
    .p2 .contact-info {
        flex-direction: column;
        justify-content: flex-start;
        gap: 20px;
    }

    .p2 .google-map {
        width: 100%;
    }

    .p2 .contact-info-detail {
        width: 100%;
        height: auto;
    }

    .p2 .contact-info-detail p {
        letter-spacing: 0px;
    }

    .p2 ul {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .p2 .serve .serve-photo {
        width: 100%;
    }
}