@import url(https://fonts.googleapis.com/css?family=Sniglet|Raleway:900);


body, html{
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Sniglet', cursive;
}
h1{
    font-weight: normal;
    font-size: 3em;
    font-family: 'Raleway', sans-serif;
    margin: 0 auto;
    margin-top: 30px;
    width: 400px;
    color: #F90;
    text-align: center;

}

h2{
    font-weight: normal;
    font-size: 2em;
    font-family: 'Raleway', sans-serif;
    margin: 0 auto;
    margin-top: 10px;
    color: #ffffff;
    text-align: center;

}

h3{
    font-weight: normal;
    font-size: 1.5em;
    font-family: 'Raleway', sans-serif;
    margin: 0 auto;
    margin-top: 10px;
    color: #000000;
    text-align: center;

}
/* Animation webkit */
@-webkit-keyframes myfirst
{
    0% {margin-left: -235px}
    90% {margin-left: 100%;}
    100% {margin-left: 100%;}
}

/* Animation */
@keyframes myfirst
{
    0% {margin-left: -235px}
    70% {margin-left: 100%;}
    100% {margin-left: 100%;}
}

.fish{
    background-image: url('../../logo/fish.png');
    width: 235px;
    height: 104px;
    margin-left: -235px;
    position: absolute;
    animation: myfirst 24s;
    -webkit-animation: myfirst 24s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    animation-timing-function: linear;
    -webkit-animation-timing-function: linear;
}

#fish{
    top: 120px;
}

#fish2{
    top: 260px;
    animation-delay: 12s;
    -webkit-animation-delay: 12s;
}


header{
    height: 160px;
    background: url('../../logo/golf.png') repeat-x bottom;
}

#form{
    height: 100%;
    background-color: #98d4f3;
    overflow: hidden;
    position: relative;

}
form{
    margin: 0 auto;
    width: 300px;
    padding-top: 20px;
    color: white;
    position: relative;


}
label, input, textarea{
    display: block;
}
select {
    width: 300px;
    border: none;
    border-radius: 20px;
    outline: none;
    padding: 10px;
    font-family: 'Sniglet', cursive;
    font-size: 1em;
    color: #676767;
    transition: border 0.5s;
    appearance: auto;
    -webkit-transition: border 0.5s;
    -moz-transition: border 0.5s;
    -o-transition: border 0.5s;
    border: solid 3px #98d4f3;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;

}
input, textarea{
    width: 300px;
    border: none;
    border-radius: 20px;
    outline: none;
    padding: 10px;
    font-family: 'Sniglet', cursive;
    font-size: 1em;
    color: #676767;
    transition: border 0.5s;
    appearance: auto;
    -webkit-transition: border 0.5s;
    -moz-transition: border 0.5s;
    -o-transition: border 0.5s;
    border: solid 3px #98d4f3;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;

}
input:focus, textarea:focus{
    border: solid 3px #77bde0;
}

textarea{
    height: 100px;
    resize: none;
    overflow: auto;
}
input[type="submit"]{
    background-color: #F90;
    color: white;
    height: 50px;
    cursor: pointer;
    margin-top: 30px;
    font-size: 1.29em;
    font-family: 'Sniglet', cursive;
    -webkit-transition: background-color 0.5s;
    -moz-transition: background-color 0.5s;
    -o-transition: background-color 0.5s;
    transition: background-color 0.5s;
}

button[type="button"]{
    background-color: #F90;
    color: white;
    height: 50px;
    cursor: pointer;
    margin-top: 30px;
    font-size: 1.29em;
    font-family: 'Sniglet', cursive;
    -webkit-transition: background-color 0.5s;
    -moz-transition: background-color 0.5s;
    -o-transition: background-color 0.5s;
    transition: background-color 0.5s;
}
button{
    width: 300px;
    border: none;
    border-radius: 20px;
    outline: none;
    font-family: 'Sniglet', cursive;
    font-size: 1em;
    color: #676767;
    transition: border 0.5s;
    -webkit-transition: border 0.5s;
    -moz-transition: border 0.5s;
    -o-transition: border 0.5s;
    border: solid 3px #98d4f3;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;

}


input[type="submit"]:hover{
    background-color: #e58f0e;

}
label{
    font-size: 1.5em;
    padding-left: 20px;
}
.formgroup, .formgroup-active, .formgroup-error{
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 10.5%;
    transition: background-image 0.7s;
    -webkit-transition: background-image 0.7s;
    -moz-transition: background-image 0.7s;
    -o-transition: background-image 0.7s;
    width: 566px;
    padding-top: 2px;
}

.formgroup{
    background-image: url('../../logo/pixel.gif');
}
.formgroup-active{
    background-image: url('../../logo/octo.png');
}
.formgroup-error{
    background-image: url('../../logo/octo-error.png');
    color: red;
}

.transaction-container {
    border: 1px solid #000; /* Couleur et épaisseur du contour */
    padding: 10px; /* Espacement interne pour que le contenu ne touche pas le bord */
    margin-bottom: 10px; /* Espacement entre les blocs */
    border-radius: 5px; /* Arrondir les coins du contour */
    background-color: #f9f9f9; /* Couleur de fond pour distinguer le bloc */
    color: #000; /* Couleur du texte en noir */
    display: flex; /* Utilisation de flexbox pour aligner les éléments */
    align-items: center; /* Centrer verticalement les éléments */
}

.transaction-container label {
    display: flex; /* Utilisation de flexbox pour aligner les éléments */
    align-items: center; /* Centrer verticalement les éléments */
    margin-bottom: 0; /* Ajuster l'espacement en bas si nécessaire */
}

.transaction-container input[type="radio"] {
    margin-right: 15px; /* Espacement entre le bouton radio et le texte */
    flex-shrink: 0; /* Empêcher le bouton radio de rétrécir */
    width: auto; /* Taille automatique pour s'adapter au contenu */
    height: auto; /* Hauteur automatique pour s'adapter au contenu */
    padding: 0; /* Supprimer le padding par défaut */
    margin-top: 0; /* Ajuster la marge supérieure si nécessaire */
    margin-bottom: 0; /* Ajuster la marge inférieure si nécessaire */
}

.transaction-container span {
    flex-grow: 1; /* Permettre au texte de prendre tout l'espace restant */
}
.no-transaction-found {
    color: red; /* Couleur du texte en rouge */
}

/* Style pour la bannière de consentement aux cookies */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* Ombre légère en bas */
    z-index: 9999; /* Assure que la bannière soit au-dessus de tout le contenu */
}

#cookie-banner p {
    margin: 0;
    padding: 10px;
}

#accept-cookies-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 5px;
}

#accept-cookies-btn:hover {
    background-color: #45a049;
}