h3 {
    margin-bottom: 0;
}

p {
    margin-top: 0;
}

.treasure_section {
    background-image: url(../image/treasure\ background.jpg);
    background-size: cover;
    background-position: center;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.treasure_section div {
    width: 40%;
}

.treasure_info_header {
    padding: 8%;
}

.treasure_item,
.treasure_item2 {
    display: flex;
    align-items: flex-end;
    padding: 8%;
    justify-content: space-between;
}

.treasure_photo {
    padding: 20px;
}

.treasure_info {
    text-align: right;
    width: 50%;
}

.treasure_info2 {
    width: 50%;
}

.treasure_content {
    background-image: url(../image/treasure\ background\ 2.jpg);
    background-size: cover;
    background-position: center;
    min-height: 800px;
    margin-bottom: 10%;
}

.treasure_info.mobile {
    display: none;
}

.treasure_info.mobile div {
    width: 50%;
}

.next-page {
    position: absolute;
    right: 4%;
}

/*Tablet Treasure*/
@media screen and (max-width:1070px) {

    .treasure_info.mobile {
        display: none;
    }

    .treasure_section {
        min-height: 500px;
    }

    .treasure_info h3,
    .treasure_info2 h3 {
        font-size: 45px;
    }

    .treasure_info p,
    .treasure_info2 p {
        font-size: 15px;
    }
}

@media screen and (max-width: 797px) {
    .previous-page {
        margin-left: 4%;
    }
}

/*Mobile Treasure*/
@media screen and (max-width:414px) {

    .treasure_info h3,
    .treasure_info2 h3 {
        font-size: 24px;
        text-align: left;
    }

    .treasure_info p,
    .treasure_info2 p {
        font-size: 10px;
    }

    .treasure_info,
    .treasure_info2 {
        display: none;
    }

    .treasure_info.mobile {
        display: block;
    }

    .treasure_content {
        display: flex;
        flex-direction: column;
    }

    .treasure_item,
    .treasure_item2 {
        display: flex;
        flex-direction: column;
        align-self: center;
    }

    .treasure_section {
        background-image: url(../image/treasure_background\ m.jpg);
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    .treasure_info_header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .treasure_info_header p {
        text-align: center;
    }

    .treasure_section div {
        width: 80%;
    }

    .treasure_photo {
        width: auto;
    }

    .treasure_item,
    .treasure_item2 {
        padding: 5%;
    }

    .treasure_info.mobile {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .treasure_text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        width: 50%;
        padding-left: 5%;
    }

    .treasure_image {
        width: 50%;
    }
}