@font-face {
    font-family: Nunito, Helvetica, sans-serif;
    src: url(Nunito/Nunito\ classique);
}

body {
    margin: 0px;
    padding: 0px;
    background-color: #F7F9FA;
    color: #374649;
}

html {
    margin: 0px;
    padding: 0px;
    font-family: Nunito, Helvetica;
}

h1, h3 {
    text-align: center;
    padding: 0 10px;
}

a {
    text-decoration: none;
    color: #374649;
    background-image: linear-gradient(rgba(176, 251, 188, 0), rgba(176, 251, 188, 0)),
        linear-gradient(#374649, #374649);
    background-size: 100% 2px, 0 2px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s linear;
}

a:hover {
  background-size: 0 2px, 100% 2px;
}

.logo {
    height: 8em;
    width: auto;
    padding-top: 1em;
}

/*.logintitle {
    font-size: 2em;
}*/
/*
input {
    margin-top: 0.5vh;
}*/

.pass, .email {
    margin-top: 15px;
/*    margin-bottom: 5px;*/
}

.form {
    border: 1.5px solid #374649;
    border-radius: 15px;
    background-color: rgba(55, 70, 73, 0.1);
    height: 40px;
    width: 300px;
    padding: 0 15px;
}

.buttondiv {
    font-size: 1.1em;
    margin: 30px auto 40px auto;
    padding: 6px 10px 6px 10px;
    box-sizing: border-box;
    display: inline-block;
    border: 1.5px solid #374649;
    border-radius: 10px !important;
    text-align: center;
    transition: .3s;
}

.buttondiv:hover{
    background-color: rgba(55, 70, 73, 0.5);
}

input.buttondiv{
    color: #374649;
    transition: .3s;
}

input.buttondiv:hover{
    color: #fff;
    cursor: pointer;
}

p {
    text-align: center;
    margin-top: 0;
    margin-bottom: 2vh;
}

form {
    text-align: center;
}

label {
    font-size: 1.1em;
}

.flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lasta {
    margin-bottom: 2vh;
}

.line {
    width: 250px;
    padding-top: 2vh;
    border-top: 1px solid #374649;
}

.teaser {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 4vh;
    width: 75vw;
}

.teaser p{
    font-weight: bold;
    font-size: 1.1em;
}

video {
    border-radius: 35px;
    width: 35vw;
    cursor: pointer;
}

.compteur{
    border: 1.5px solid #374649;
    border-radius: 15px;
    width: 40vw;
    padding: 0 10px;

}

.duree_projet{
    padding: 0;
    margin: 0;
}

.info_compteur{
    width: 50vw;
    margin-top: 4vh;
}

.nota_bene{
    font-size: 14px;
    font-style: italic;
}

.texte_compteur{
    text-align: left;
}


.copyright {
    margin-top: 4vh;
    margin-bottom: 2vh;
}

@media screen and (max-width: 1020px) {
    .teaser {
        flex-direction: column;
        margin-top: 1vh;
    }

    video {
        width: 75vw;
    }
    .text_teaser{
        margin-top: 2vh;
    }

    .info_compteur{
        width: 80vw;
    }
}

@media screen and (max-width: 426px) {
    .form {
    height: 40px;
    width: 200px;
    }

    .compteur {
    width: 80vw;
    }

    .info_compteur{
        width: 80vw;
    }

}