@charset "UTF-8";
/*****************************************************************************************************************************************************
 *
 * Home page CSS
 *
 * (c) O. Cart 2021
 *
 *
 * STAT CRUX DUM VOLVITUR ORBIS
 ****************************************************************************************************************************************************/
@font-face {
    font-family: BangleNormal;
    src: url(../fonts/BangleNormal.ttf);
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

:root {
    --shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    --shadow2:  rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    --elevation: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
}

.home body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background-image: url("images/GC-liqueur.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home #container {
    display: flex;
    flex-direction: column;
    min-width: 300px;
    height: 100vh;
    padding: 1rem;
    align-items: center;
    justify-content: center;
}

.home div {
    position: relative;
    text-align: center;
}

.home a {
    text-decoration: none;
    color: #444444;
}

.home a.bouton {
    color: #ffffff;
}

#site-header, #site-footer, #main {
    max-width: 1140px;
    align-self: center;
}

/*******************************************************************************
 * Header
 */

#site-header {
    /* position: absolute;
        top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
     */
    display: flex;
    flex-direction: column;
    align-content: center;
}

/*******************************************************************************
 * Languages
 */
#lang-menu {
    display: flex;
    list-style-type: none;
    justify-content: center;
    align-content: center;
    padding-left: 0;
    margin-top: 1rem;
    align-self: flex-start;
}

#lang-menu li {

    padding: 0.25rem;
    border-radius: 5px;
    margin: 0
}

#lang-menu li:hover {
    background-color: #ffffff55;
    box-shadow: var(--elevation);
}
#lang-menu a {
    display: flex;
    flex-direction: column;
    color: #044771;
    font-size: 0.8rem;
}

#lang-menu li img {
    height: 14px;
    margin: 5px;
    width: auto;
    border-radius: 2px;
}

#lang-menu li span {
    display: none;
    font-size: 0.7rem;
    font-family: 'Open Sans', sans-serif !important;
}

@media only screen and (min-width: 767px) {
    #lang-menu li {
        width: 5rem;
    }

    #lang-menu li span {
        display: inline;
    }
}

/********************************************************************************
 * main
 */

#main {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#main div {
    display: flex;
    flex-direction: column;
    align-content: center;
    padding: 0;
}

#main #photos {
    flex-direction: row;
}

#main [id^="mo"] {
    justify-content: center;
}
#main [id^="mo"] img{
    box-shadow: var(--shadow2);
}
#main img {
    height: auto;
    max-height: 50vh;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 5px;
    align-self: center;
}

.home h1, .home h2, .home h3 {
    margin: 0 auto;
    text-transform: uppercase;
    color: #744771;
    font-family: "BangleNormal";
    font-size: 1.6rem;
}

.home.h1 {
    margin: 0.5rem 0 0;
}

.home h2 {
    color: #044771 !important;
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
}

.home h3 {
    color: #ffffff !important;
    font-size: 0.8rem;
    padding: 0 0.7rem;
    text-shadow: var(--shadow);
}

@media only screen and (min-width: 768px) {
    .home.h1 {
        font-size: 2rem;
        margin: 0 0 1rem;
    }

    .home h2 {
        font-size: 1.6rem;
    }

    .home h3 {
        font-size: 1rem;
    }
}

@media only screen and (min-width: 576px) {
    h3 {
        font-size: 1.3rem
    }
}

#croix {
    display: flex;
    padding: 0 2rem;
}

#croix img {
    margin-top: -10%;
    width: 100%;
}

.bouton {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    background-color: #444;
    border: 1px solid #444444;
    padding: 0 0.8rem;
    font-size: 0.8rem;
    line-height: 1;
    height: 3rem;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    width: 100%;
    text-decoration: none;
}

.bouton span {
    display: none;
    margin: 0;
}

.bouton span:not(.space-before):after {
    content:" ";
    display: inline-block;
}
.bouton span.space-before:before {
    content:" ";
    display: inline-block;
}
.bouton span.apostrophe:after {
    content: "";
}

.bouton::first-letter {
    text-transform: uppercase;
}

.bouton:hover {
    background-color: #888888;
    box-shadow: var(--elevation);
}

@media only screen and (min-width: 576px) {
    #main #croix {
        padding: 0 4rem;
    }
}

@media only screen and (min-width: 768px) {
    #main #croix {
        padding: 0 2rem;
    }

    .bouton {
        font-size: 0.9rem;
    }

    .bouton span {
        display: inline;
    }
}

@media only screen and (min-width: 1140px) {
    #main #croix {
        padding: 1rem 3rem 0;
    }
}

/********************************************************************************
 * footer
 */

#site-footer .bouton {
    margin-top: 1rem;
    width: 8rem;
}

#site-footer .bouton span {
    display: none;
}

@media only screen and (min-width: 767px) {
    #site-footer .bouton {
        width: 12rem;
    }

    #site-footer .bouton span {
        display: inline;
    }
}

.home .footer-wrapper {
    max-width: calc(100% - 2rem);
    background: url(images/fond-clair-1024.jpg);
    color: #444444;
    font-size: 0.7rem;
    padding: 5px 1rem;
    border-radius: 3px;
    opacity: 0.8;
    width: 80vh; /* should be enough ??? */
    margin: 0 1rem;
    position: absolute;
    bottom: 0.3rem;
}


.home .footer_hold {
    width: 100%;
    padding: 0;
    font-size: 0.8rem;
}

.home .footer_hold .menu {
    font-size: 0.7rem;
}

.home .footer-wrapper .copyright {
    opacity: 1;
    line-height: 1.2;
}

.home .legal-menu ul.menu {
    padding-left: 0;
    display: flex;
    flex-direction: row;
    line-height: 1.2;
}

.footer-wrapper ul li {
    padding: 0 0.5rem;
    line-height: 1.2;
}

.footer-wrapper ul li:before { /** remove arrows */
    content: "";
    padding: 0;
}

.home .legal-menu ul.menu a {
    color: #444444;
    font-weight: 700;
}

.home .legal-menu ul.menu a:hover {
    color: #000000;
    text-decoration: unset;
}

@media only screen and (max-width: 767px) {
    .home .footer_hold {
        padding: 0 1rem;
        flex-direction: column;
    }

    .home .legal-menu ul.menu {
        flex-direction: row;
        margin-bottom: 5px;
        justify-content: space-evenly;
    }

    .home .legal-menu ul.menu li {
        margin: 0 1rem;
    }
}

/********************************************************************************
 * Message
 */

#message {
    display: block;
    position: absolute;
    color: #444444;
    top: 50%;
    left: 50%;
    transform: translateX(calc(-50% - 1rem)) translateY(calc(-50% - 1rem));
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    margin: 1rem;
    max-width: 75vw;
    z-index: 100;
    border-radius: 5px;
    background: url('images/fond-clair-1024.jpg');
    background-color: antiquewhite;
    border: 1px solid #8d7969;
    box-shadow: var(--shadow)
}

#message span {
    display: block;
    text-align: left;
    padding: 1rem;
    font-size: 0.9rem;
}

#message a {
    position: absolute;
    text-transform: uppercase;
    margin: 0.3rem;
    top: 0;
    right: 0;
    font-size: 0.7rem;
}

@media only screen and (min-width: 576px) {
    #message {
        top: 66%;
        max-width: 50vw;
    }
}
@media only screen and (min-width: 968px) {
    #message {
        top: 66%;
        max-width: 33vw;
    }
}
/*******************************************************************************
 *  Overload
 */

.home #layout_wrapper {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
}

.home.admin-bar #layout_wrapper {
    height: calc(100vh - 32px);
}

/*******************************************************************************
 * Language specific CSS
 */

@media only screen and (max-width: 575px) {
    /** alter height to fit korean language size on XS devices */
    [data-lang="kr"] .nuns.bouton, [data-lang="kr"] .monks.bouton {
        height: 3rem;
    }
}

