@charset "utf-8";

img, input[type=submit] {
    border: 0;
}

ul {
    margin: 0;
    padding: 0;
}

#site {
    text-align: center;
    font-family: Arial, Tahoma, Geneva, sans-serif;
    width: 800px;
    margin: 0 auto;
    position: relative;
    font-size:14px;
}

#logo {
    padding-top: 30px;
}

.presentation {
    /*	border: 1px solid #68771b; */
    margin: 0 auto;
}

#greatzone {
    margin-bottom: 0;
    height: 30px;
    font-size: 14px;
    padding-left: 20px;
    border: 2px solid #68771b;
    font-weight: bold;
    color: #68771b;
    background-color: #FCFFEA;
    border-radius: 0;
}

.guide {
    color: #333;
    font-weight: bold;
}

#bracadabra, #contact input[type=submit] {
    width: 100px;
    height: 44px;
    font-size: 14px;
    border-radius: 5px;
    background: #95A83C;
    border: 2px solid #838B52;
    font-weight: bold;
    color: white;
}

#bracadabra {
    margin-top: 30px;
    width: 120px;
    background: linear-gradient(180deg, #798631, #46510C);
    border: 1px solid #999;
    font-size: 13px;
    border-radius: 0;
}

#bracadabra:hover {
    background: linear-gradient(0deg, #798631, #46510C);
    border: 1px solid white;
}

.copypasteit /* cadre qui donne l'url a recopier */
{
    width: 100%;
    border: 1px solid #68771b;
    height: 30px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
    display: block;
    font-size: 22px;
    color: #c75916;
}

#footer {
    padding-top: 20px;
}

#footer li, #footer li A {
    display: inline-block;
    padding-right: 7px;
}

#footer A, #contenu A, A {
    color: #68771b;
}

#footer li A:hover, #footer p, A:hover {
    color: #666;
}

#footer p {
    padding-top: 0;
    position: relative;
}

#contenu {
    border: 1px solid #68771b;
    word-wrap: break-word;
    padding: 10px 10px 20px;
    margin: 10px auto 0;
    text-align: left;
}

#contenu h1 {
    padding: 0;
    color: #68771b;
    font-size: 18px;
    text-align: center;
}

#contenu h2 {
    font-size: 12px;
    color: #68771b;
}

#contenu li {
    padding-left: 20px;
    list-style-position: inside;
}

/* spécifique à contact */
#frmContact table {
    width: 100%;
}

.frm_col1 {
    width: 200px;
    text-align: right;
    font-weight: bold;
    font-size: 11px;
    vertical-align: text-top;
    padding-right: 5px;
}

.frm_col2 {
    width: 280px;
    text-align: left;
    font-size: 11px;
    height: 30Px;
    vertical-align: top;
}

#contact input[type=text], #contact input[type=email], #contact textarea, #contact select {
    color: #68771b;
    border: 1px solid #d0db97;
    width: 18em;
    background-color: #FFFFF5;
    height: 1.8em;
}

#contact textarea {
    height: 10em;
    width: 20em;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* partie spécifique */

li {
    text-align: left;
}

h3 {
    font-size: 14px;
    margin: 15px 0 5px;
    color: #68771b;
}

.tabAll {
    border: 1px solid #ccc;
    font-size: 12px;
}

.tabAll th {
    background: #68771b;
    font-weight: bold;
    color: #ffffff;
}

.tabAll td {
    border: 1px solid #ccc;
    padding: 0;
    vertical-align: top;
    text-align: left;
    max-width: 450px;
}

.msgErreur {
    color: #e70033;
    font-weight: bold;
    margin: 0 0 25px 20px;
}

.msgErreur {
    font-size: 14px !important;
}

/* Tous les mobiles */
@media only screen and (min-width: 0px) and (max-width: 750px)
    /*@media only screen and (max-device-width: 1024px;) */ {
    body {
        margin: 0 auto;
        padding: 20px;
    }

    #site, #contenu {
        padding: 0;
        margin: 0 auto;
        width: 95%;
        font-size: 14px;
    }

    #contenu {
        font-size: 14px;
    }

    .presentation {
        font-size: 14px;
        line-height: 1.4em;
        margin: 0 auto;
    }

    #guide /* Entrez l'url */
    {
        font-size: 14px;
    }

    #greatzone /* Le input de saisi */
    {
        width: 100%;
        padding: 0;
        height: 50px;
        margin: 10px 0 0;
        font-size: 22px;
    }

    #bracadabra {
        margin-top: 30px;
        width: 120px;
        background: linear-gradient(180deg, #798631, #46510C);
        border: 1px solid #999;
        font-size: 13px;
        border-radius: 0;
    }

    #bracadabra:hover {
        background: linear-gradient(0deg, #798631, #46510C);
        border: 1px solid white;
    }

    #contenu h1 {
        font-size: 22px;
    }

    #contenu h2 {
        font-size: 14px;
    }

    #contact td {
        font-size: 12px;
        padding-right: 20px;
        padding-bottom: 8px;
    }

    #contact input, #contact select {
        height: 30px;
        font-size: 18px;
    }

    #contact input[type=text], #contact textarea, #contact select {
        font-size: 15px;
        border: 1px solid #68771b;
    }

    #contact input[type=text], #contact textarea, #contact select {
        width: 100%;
    }

    #footer li {
        display: inline-block;
        line-height: 2em;
        font-size: 14px;
        padding-right: 10px;
    }
}

/* Les petits mobiles */
@media only screen and (min-width: 0) and (max-device-width: 400px) {
    #site {
        width: 100%;
    }

    #contenu, #footer {
        width: 95%;
    }

    #contact input[type=text], #contact textarea, #contact select {
        font-size: 14px;
        border: 1px solid #68771b;
        width: 100%;
        padding: 0;
        margin: 0;
    }
}

/* Les grands écrans */
@media only screen and (min-width: 750px) {
    .presentation {
        width: 600px;
        line-height: 1.5em;
    }

    #greatzone {
        width: 484px;
    }

    #footer {
       /* width: 600px;*/
        margin: 50px auto 75px;
        line-height: 1.8em;
    }

    #contenu h1 {
        font-size: 22px;
    }

    #contenu h2 {
        font-size: 14px;
    }

    #contenu p, #contenu li {
    }
}

/* Theme Switches */
.theme-switches div {
    display: inline;
}

.theme-switches {
    font-size: 14px;
}

.switch {
    text-decoration: underline;
}

.switch:hover {
    text-decoration: none;
}

#switch-1 {
    background-color: var(--light);
}

#switch-2 {
    background-color: var(--dark);
}

#switch-3 {
    background-color: var(--cerise);
}

.copy-btn {
    background-color: #798631;
    padding: 8px 15px;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.copy-btn:active {
    transform: translateY(1px);
}

.copy-btn:hover {
    background-color: #46510C;
}

/* Amélioration responsive pour le bouton copier */
@media only screen and (max-width: 750px) {
    .copy-btn {
        margin-top: 10px;
        width: 100%;
        font-size: 16px;
        padding: 12px 15px;
    }
}