
@font-face {
    font-family: dmserif;
    src: url(/fonts/DM_Serif_Text/DMSerifText-Regular.ttf);
}

body {
    margin: 0;
    padding: 0;
    font-family: dmserif;
}

.travel_page_body {
    background-image: url('https://raw.githubusercontent.com/HydreigonGuy/my_website/refs/heads/images/images/travels/france/toulouse/IMG20240711104504.jpg');
    background-color: rgba(0, 0, 0, 0.25);
    background-blend-mode: overlay;
    background-size: cover;
    background-position-x: 0;
    background-position-y: 65%;
    margin: 0;
    padding-top: 45vh;
    height: 55vh;
    overflow: scroll;
    background-attachment: fixed;
}

.travel_page_title {
    position: absolute;
    top: 5vh;
    left: 5%;
    margin: 0;
}

.travel_page_lang_btn_container {
    position: absolute;
    top: 5vh;
    right: 5%;
    font-size: 20px;
}

.travel_page_lang_btn_container button {
    background: none;
    border: none;
    font-size: 20px;
    font-family: dmserif;
}

.travel_url {
    display: inline-block;
    margin: 2.5%;
    width: 20%;
    text-align: center;
    text-decoration: none;
    position: relative;
}

.travel_url img {
    width: 100%;
}

.travel_url p {
    position: absolute;
    width: 100%;
    text-align: center;
    background-color: rgba(12, 12, 12, 0.7);
    top: 0;
    color: #d4f4fe;
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: bold;
}

.footer_subcontainer {
    margin-top: 8vh;
    text-align: center;
    margin-top: 2vh;
}

.footer_link {
    color: #d4f4fe;
    text-decoration: none;
    display: inline-block;
    width: 25%;
    text-align: center;
    font-size: 20px;
}

@media (max-width: 600px) {

    .travel_page_body {
        background-position-x: 100%;
        background-position-y: 0;
        padding-top: 50vh;
        height: 100vh;
    }

    .travel_url {
        margin: 3%;
        width: 27.33%;
    }

    .travel_page_lang_btn_container {
        background-color: rgba(250, 250, 250, 0.35);
    }

    .travel_page_title {
        top: 10vh;
    }

}
