* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: "Ubuntu Mono", serif;
    padding: 0;
}

a{
    color: #3390b3;
}

nav {
    top: 0;
    width:  100%;
    display: flex;
    flex-direction: column;
    position: fixed;
}

.content-need-upper-margin{
    padding-top: 92px;
}

.timer-canva{
    z-index: -1;
}

#logo-container{
    background: #3390b3;
    width: 100vw;
    text-align: center;
    padding: 10px 0;
}

label.logo {
    color: white;
    font-size: 35px;
    margin: auto;
    font-weight: bold;
}

#menu-container{
    width: 100vw;
    padding-bottom: 10px;
    padding-top: 5px;
}

/*fix for the "full" menu*/
.nav-shown{
    background: #3390b3;
    height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

nav ul {
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin: 0 5px;
}

nav ul li a{
    color: white;
    font-size: 20px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
}

@media (max-width: 1050px) {
    nav ul li a{
        color: white;
        font-size: 18px;
        padding: 7px 10px;
        border-radius: 3px;
        text-transform: uppercase;
    }
}

a.active,a:hover{
    text-decoration: underline;
    text-decoration-thickness: 15%;
    text-underline-offset : 5px;
    font-weight: bold;
    transition: .8s;
}

nav{
    z-index: 1;
}

.checkbtn {
    color: white;
    float: right;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
button {
    background: none;
    border: none;
}

@media (max-width: 952px) {
    label.logo{
        font-size: 30px;
    }

    nav ul li a {
        font-size: 16px;
    }
}

@media (max-width: 562px) {
    .content-need-upper-margin {
        padding-top: 92px;
    }
}

@media (max-width: 858px) {
    .checkbtn{
        display: block;
    }

    #menu-container{
        /*will be overriden by a call to toggleMenu*/
        display: none;
        background-color: #3390b3;
        left: -100%;
        text-align: center;
        position: fixed;
    }

    nav ul{
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: all .5s ;
    }
    nav ul li {
        display: block;
        margin: 20px 0;
    }

    nav ul li a {
        font-size: 20px;
    }
    .logo{
        font-size: 25px;
    }
}

section{
    background-size: cover;
    height: calc(100vh - 80px);
}

@media (min-width: 858px) {
    ul {
        display: block;
    }
}

.div-timer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

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

#main-countdown{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#main-countdown p{
    font-size: 1.5em;
}

#planning-link{
    display: none;
}
#planning-iframe-mobile{
    display: none;
}
#planning-iframe-desktop{
    display: block;
}


@media (min-width: 600px) {
    #main-countdown canvas{
        transform:scale(1.5)
    }

    .div-timer{
        width: 30vw;
    }

    #main-countdown{
        margin: auto;
    }
}

@media (max-width: 1300px) {
    .timer-canva{
        transform:scale(.7)
    }
    #main-countdown canvas{
        transform:scale(.9)
    }
    .div-timer{
        width: 50vw;
    }
    .count-timer{
        font-size: .9em;
    }
}

@media (max-width: 600px) {
    .timer-canva{
        transform:scale(.45)
    }
    #main-countdown canvas{
        transform:scale(.8)
    }
}



#countdown{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.count-timer{
    text-align: center;
}

.div-timer p span{
    font-weight: bolder;
}

#main-plan, #main-info-pratique{
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 750px) {
    #planning-iframe-mobile{
        display: block;
        transform: scale(.75);
        transform-origin: 0 0;
    }
    #planning-iframe-desktop{
        display: none;
    }

    #planning-link{
        display: block;
        text-align: center;
        padding: 10px;
        margin : 10px;
        background-color: #2c3e50;
        border-radius: 5px;
    }
    #planning-link a{
        color: lightgoldenrodyellow;
    }
}


/* For things that should not be displayed on phones */

@media (max-width: 600px) {
    .dash-remove-when-on-phone{
        display: none;
    }
}
