@font-face {
    font-family: GreatVibes;
    src: url(GreatVibes-Regular.otf);
}

@font-face {
    font-family: "Faune";
    src: url(faune/Faune-Text_Regular.woff2);
    font-weight: normal;
}

@font-face {
    font-family: "Faune";
    src: url(faune/Faune-Text_Italic.woff2);
    font-style: italic;
}

@font-face {
    font-family: "Faune";
    src: url(faune/Faune-Display_Black.woff2);
    font-weight: bold;
}

html {
    height: 100%;
    font-size: 18px;
}
body {
    height: 100%;
    margin: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    background-color: #fefee2;
    font-family: "Faune";
}
a, a:visited {
    color: #72a0f3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


h1, h3 {
    color: #72a0f3;
}

h1 {
    margin-top: 0;
    font-size: 5rem;
    font-weight: normal;
    font-family: "GreatVibes";
    text-align: center;
    margin-bottom: 1rem;
}
#ampersand {
    display: inline-block;
    height: 7rem;
    vertical-align: baseline;
    position: relative;
    bottom: -1.5rem;
}
@media screen and (max-width: 720px) {
    #ampersand {
        bottom: 0.3rem;
        max-height: 3rem;
        margin: auto;
        display: block;
    }
}
#title2 {
    text-align: center;
    font-size: 1.5rem;
}
#title3 {
    text-align: center;
    font-size: 3rem;
    font-weight: normal;
    font-family: "GreatVibes";
}

h2, h4 {
    color: #ab66e6;
}


nav {
    background-color: #ffffc9;
    width: 100%;
    font-size: 1.5rem;
    border-top: 2px solid #a150e7;
    border-bottom: 2px solid #a150e7;

    display: flex;
    justify-content: center;
}

nav a, nav a:visited {
    color: #a150e7;
    text-decoration: none;
    padding-left: 1rem;
    padding-right: 1rem;
}
nav a:last-of-type {
    /* padding-right: 0; */
}

nav a:hover {
    background-color: #a150e7;
    color: #eee;
    text-decoration: none;
}
main {
    flex-grow: 1;
    padding: 2rem;
}

main h2 {
    font-size: 2rem;
}
main h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.timetable {
    margin: 0.5rem 0;
}

.time {
    color: #a150e7;
    font-weight: bold;
    margin-right: 1rem;
}

.timedesc {
    /* font-style: italic; */
}

footer {
    background-color: #ffffc9;
    border-top: 1px solid #72a0f3;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
    color: #555;
}

.mail {
    font-family: monospace;
}


nav {
    position: relative;
}
#cat-left {
    position: absolute;
    top: -70px;
    left: 50px;
}
#cat-right {
    position: absolute;
    top: -70px;
    right: 50px;
}
footer {
    position: relative;
    margin-top: 100px; /* pour faire rentrer le chat */
    padding-bottom: 0;
}
#cat-bottom-left {
    position: absolute;
    top: -93px;
    left: 50px;
}
#cat-bottom-right {
    position: absolute;
    top: -90px;
    right: 50px;
}


#inner-footer {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1rem 0;
    padding-bottom: 0;
}

#contact {
    padding-bottom: 1rem;
}
#contact h3 {
    margin-top: 0;
}

footer table {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
footer td {
    padding-right: 1rem;
}
footer a, footer a:visited {
    color: #a150e7;
    text-decoration: none;
}


address {
    font-style: normal;
}

textarea {
    width: 50%;
    height: 3rem;
}

form div {
    margin: 1rem 1rem ;
}

@media screen and (min-width: 720px) {
    #cases {
        display: grid;
        grid-template-columns: 40% minmax(2rem, 10%);
        grid-row-gap: 1rem;
    }
}
@media screen and (max-width: 720px) {
    #cases {
        display: flex;
        flex-direction: column;
        grid-row-gap: 1rem;
    }
}

#cases div label {
    display: block;
}

/* Center the main on big screens */
@media screen and (min-width: 720px) {
    main {
        max-width: 800px;
        margin: auto;
    }
}


@media screen and (max-width: 720px) {
    h1 {
        font-size: 3rem;
    }
    nav {
        flex-direction: column;
        font-size: 1rem;
    }
    nav a {
        margin: 0.5rem;
    }
    main {
        padding: 1rem;
    }
    img {
        display: none;
    }
}

p {
    text-align: justify;
}

.map {
    width: 600px;
    max-width: 100%;
    height: 250px;
}

p.alert {
    color: #a150e7;
    border: 2px solid #a150e7;
    font-weight: bold;
    font-size: 1.3rem;
    padding: 1em;
    font-style: italic;
}


label.field-with-error {
    text-shadow: 0 0 10px #a150e7;
    color: #a150e7;
    font-weight: bold;
}
input.field-with-error {
    box-shadow: 0 0 10px #a150e7;
}
