/* ==================================================
   LE LOGIS DE LIMALONGES
   NEWHOME
   ================================================== */


/* ==================================================
   BASIC PAGE
   ================================================== */

html,
body {
    margin: 0;
    padding: 0;

    width: 100%;

    background: #10201d;
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, "Times New Roman", serif;
}


/* ==================================================
   MAIN PAGE
   ================================================== */

#newhome {
    width: 100%;

    min-height: 100vh;

    box-sizing: border-box;

    background: #10201d;
}


/* ==================================================
   LANDING IMAGE
   ================================================== */

#landing_image {
    width: 100%;

    display: flex;

    justify-content: center;
    align-items: center;

    background: #10201d;
}


/* Picture */

#landing_image picture {
    display: block;

    width: 100%;

    text-align: center;
}


/* Image */

#landing_image img {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;

    margin: 0 auto;
}


/* ==================================================
   MENU HINT
   ================================================== */

#menu_hint {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    margin: 12px auto 8px;

    color: #e0bd72;

    font-size: 13px;

    letter-spacing: 2px;

    text-align: center;

    cursor: default;
}


/* Arrow */

#menu_hint .menu_arrow {
    display: block;

    margin-top: -100px;

    color: #c79b45;

    font-size: 24px;

    line-height: 1;

    animation: menuPulse 1.5s ease-in-out infinite;
}


/* Arrow animation */

@keyframes menuPulse {

    0%,
    100% {
        opacity: 0.35;

        transform: translateY(0);
    }

    50% {
        opacity: 1;

        transform: translateY(6px);
    }
}


/* ==================================================
   HORIZONTAL MENU
   ================================================== */

#page_menu {
    width: calc(100% - 40px);

    max-width: 1400px;

    margin: 0 auto 30px;

    padding: 10px;

    box-sizing: border-box;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 7px;

    background: rgba(20, 38, 34, 0.95);

    border: 2px solid #c79b45;

    outline: 1px solid rgba(199, 155, 69, 0.35);

    outline-offset: 4px;

    border-radius: 3px;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}


/* ==================================================
   MENU LINKS
   ================================================== */

#page_menu > a {
    display: block;

    box-sizing: border-box;

    padding: 9px 13px;

    background: transparent;

    border: 1px solid rgba(199, 155, 69, 0.65);

    color: #e0bd72;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 14px;

    line-height: 1.2;

    letter-spacing: 0.3px;

    text-align: center;

    text-decoration: none;

    border-radius: 2px;

    white-space: nowrap;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


/* Decorative star */

#page_menu > a::before {
    content: "✦";

    margin-right: 6px;

    color: #c79b45;

    font-size: 9px;
}


/* Hover */

#page_menu > a:hover {
    background: rgba(199, 155, 69, 0.92);

    color: #162722;

    border-color: #e0bd72;

    transform: translateY(-2px);
}


/* ==================================================
   ICONS
   ================================================== */

#page_icons {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-left: 5px;

    padding-left: 10px;

    border-left: 1px solid rgba(199, 155, 69, 0.45);
}


#page_icons a {
    display: block;
}


#page_icons img {
    display: block;

    width: auto;

    max-width: 32px;

    height: auto;

    opacity: 0.9;

    transition: opacity 0.2s ease;
}


#page_icons img:hover {
    opacity: 1;
}


/* ==================================================
   TABLETS
   ================================================== */

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

    #page_menu {
        width: calc(100% - 24px);

        padding: 8px;

        gap: 5px;
    }


    #page_menu > a {
        padding: 8px 9px;

        font-size: 13px;
    }

}


/* ==================================================
   MOBILE
   ================================================== */

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

    #landing_image img {
        width: 100%;

        height: auto;

        max-width: none;
    }


    #menu_hint {
        margin-top: 12px;

        font-size: 12px;
    }


    #menu_hint .menu_arrow {
        font-size: 22px;
    }


    #page_menu {
        width: calc(100% - 20px);

        padding: 8px;

        gap: 5px;

        margin-bottom: 20px;
    }


    #page_menu > a {
        flex: 1 1 calc(50% - 5px);

        padding: 9px 5px;

        font-size: 12px;

        white-space: normal;
    }


    #page_icons {
        flex: 1 1 100%;

        margin: 3px 0 0;

        padding: 7px 0 0;

        border-left: 0;

        border-top: 1px solid rgba(199, 155, 69, 0.45);
    }

}


/* ==================================================
   VERY SMALL PHONES
   ================================================== */

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

    #page_menu {
        width: calc(100% - 14px);

        padding: 6px;
    }


    #page_menu > a {
        padding: 8px 3px;

        font-size: 11px;
    }


    #page_icons img {
        max-width: 28px;
    }

}