* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    font-size: 62.50%;
}
body {
    background: url('../img/Background_.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    font-size: 2rem;
    font-family: 'Yellowtail', cursive;
}


.container {
    width: 80%;
    margin: 0 auto;
}

.clear {
    clear: both;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

header {
    background: rgba(40, 0, 14, 0.17);
    text-align: center;
    padding: 1%;
    margin-bottom: 1%;
}


/* Style the navbar */
.topnav {
    overflow: hidden;
}

/* Navbar links */
.topnav a {
    float: left;
    display: block;
    color: #3ad8c0;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Navbar links on mouse-over */
.topnav a:hover {
    background-color: rgba(221, 221, 221, 0.3);
    color: black;
    -moz-box-shadow: 1px 10px 100px 1px #34ff34;
    -webkit-box-shadow: 1px 10px 100px 1px #34ff34;
    -o-box-shadow: 1px 10px 100px 1px #34ff34;
    box-shadow: 1px 10px 100px 1px #34ff34;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#34ff34, Direction=174, Strength=100);
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    color: #FFFFFF;
    background: #333333;
    text-shadow: #FFF 0px 0px 5px, #FFF 0px 0px 10px, #FFF 0px 0px 15px, #FF2D95 0px 0px 20px, #FF2D95 0px 0px 30px, #FF2D95 0px 0px 40px, #FF2D95 0px 0px 50px, #FF2D95 0px 0px 75px;

}

/* Active/current link */
.topnav a.active {
    background-color: rgba(33, 150, 243, 0.43);
    color: white;
}

.topnav a.active:hover {
    border-radius: 0px;
}
/* Style the input container */
.topnav .login-container {
    float: right;
    width: 30vw;
}

/* Style the input field inside the navbar */
.topnav input[type=text], .topnav input[type=password] {
    padding: 6px;
    margin-top: 8px;
    font-size: 17px;
    border: none;
    width: 150px; /* adjust as needed (as long as it doesn't break the topnav) */
}

/* Style the button inside the input container */
.topnav .login-container button {
    float: right;
    padding: 6px;
    margin-top: 8px;
    margin-right: 16px;
    background: rgb(64, 230, 97);
    font-size: 17px;
    border: none;
    cursor: pointer;
}

.topnav .login-container button:hover {
    background: rgba(0, 230, 0, 0.75);
}

/* Add responsiveness - On small screens, display the navbar vertically instead of horizontally */
@media screen and (max-width: 600px) {
    .topnav .login-container {
        float: none;
    }

    .topnav a, .topnav input[type=text], .topnav .login-container button {
        float: none;
        display: block;
        text-align: left;
        width: 100%;
        margin: 0;
        padding: 14px;
    }

    .topnav input[type=text] {
        border: 1px solid #ccc;
    }
}

h1, h2, h3, a {
    color: #379c9c;
    text-decoration: none;
}
main {
    background-color: rgba(249, 249, 249, 0.53);
    padding: 1%;
    position: relative;
    margin-top: 10%;
    border-radius:5px;
    transition: 0.3s ;
    min-height: 30vw;
    animation: mainAnimation 1s forwards;
    animation-iteration-count: 1;
}
main:hover {
    border: 4px solid rgba(0, 0, 0, 0.7);
    box-shadow: 2px 2px 2px 2px rgba(255, 255, 255, 0.3);

}

@keyframes mainAnimation {
    from {
        transform: translate(-50%, -100%) scale(0, 0)  ;
        opacity: 0;
    }
    to {
        transform: translate(0, 0%) scale(1, 1)  ;
        opacity: 1;
    }
}


@keyframes PostAnimation {
    from {
        transform: translate(620px, 100%) ;
        opacity: 0;
    }
    to {
        transform: translate(0, 0%) ;
        opacity: 1;
    }
}

.Post{
    padding: 1%;
    animation: PostAnimation 3s ease-in-out forwards;
    animation-iteration-count: 1;

    /* Safari and Chrome */
    -webkit-animation: PostAnimation 3s;
    -webkit-animation-iteration-count: 1;

    transition: 1s ease-in-out;
}
.Post:hover {
    border: 2px solid rgba(255, 255, 255, 0.45);
    box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 1);
}

footer{
    color:white;
}

/*Style for  page comments*/
form {
    text-align: center;
}

td {
    padding: 1%;
    vertical-align: top;
    text-align: left;
}

fieldset {
    border-color: #2effe7;
    color: #3ad8c0;
    border-radius: 5px;
}
legend{
    text-align: left;
}
label {
    color: black;
    font-weight: bold;
}
input,textarea{
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
button {
    padding: 1%;
    border-radius: 5px;
    color:white;
    font-weight:bold;
}

button[id="Ajouter"]{
    background: rgba(0, 230, 0, 0.73);
}
button[id="Annuler"]{
    background: rgba(255, 62, 63, 0.92);
}
button[id="Editer"]{
    background: rgba(230, 223, 24, 0.73);
}

#Validation {
    display: none;
    width: 50vw;
    margin: 0 auto;
    padding: 0.5%;
    text-align: center;
    background: rgba(0, 230, 0, 0.45);
    border-radius: 5px;
    color: black;
    transion: all 0.3s;
}

.DisplayBlock {
    display: block;
}

#Validation:hover {
    background: rgba(0, 230, 0, 0.75);
}
/* administration*/
.bouton_edition{
    background-color: transparent;
    color:#379c9c;
    border:none;
    cursor:pointer;
}
.navigation{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

footer {
    color: black;
    margin-top: 3vw;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    font-style: italic;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}