#traveler-favourite {
    background-color: #DBDBDBB8;
    padding: 50px;
}

#traveler-favourite h3 {
    font-weight: bold;
    font-size: 15px;
    color: #00000099;
}

#traveler-favourite h1 {
    margin-top: 20px;
    font-weight: bold;
    font-size: 48px;
    color: #000000;
    line-height: 1.1;
}

#traveler-favourite p {
    margin-top: 20px;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.1;
    color: #00000099;
}

#traveler-favourite img:hover {
    transform: scale(1.1);
}

#traveler-favourite img {
    transition: transform 0.3s ease-in-out;
    display: block;
}

#china-container,
#egypt-container,
#paris-container {
    border-radius: 50px;
    overflow: hidden;
}

#china {
    width: 100%;
    height: 643px;
    object-fit: cover;
}

#location {
    margin-top: 30px;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

#china-container {
    flex: 1;
}

#paris-egypt-container {
    flex: 1;
}

#paris-egypt-container img {
    width: 100%;
    height: 306px;
    object-fit: cover;
}

#paris-egypt-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 643px;
}

#china-container,
#egypt-container,
#paris-container {
    position: relative;
}

#china-container span {
    position: absolute;
    bottom: 0px;
    left: 20px;
    color: #FFFFFF;
    font-family: 'Kumar One', cursive;
    font-weight: 400;
    font-size: 64px;
}

#egypt-container span {
    position: absolute;
    bottom: 0px;
    right: 20px;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 64px;
}

@media (max-width: 768px) {
    #traveler-favourite {
        padding: 20px;
    }

    #location {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    #paris-egypt-container {
        gap: 10px;
        width: 100%;
    }

    #paris-egypt-container img {
        height: 200px;
    }

    #china {
        height: 200px;
    }

    #china-container,
    #egypt-container,
    #paris-container {
        border-radius: 20px;
        width: 100%;
    }

    #traveler-favourite span {
        font-size: 40px;
    }

    #traveler-favourite h1 {
        font-size: 35px;
        line-height: 1.1;
    }

    #traveler-favourite p {
        font-size: 15px;
        line-height: 1.1;
    }

    #traveler-favourite p br {
        display: none;
    }
}