html {
    height: 100vh;
    width: 100vw;
    font-size: 100%;
}

body {
    background-image: url("../images/fond.png"); /* Background pattern from subtlepatterns.com */
    font-family: 'Shanti', sans-serif;
    ‑webkit‑text‑size‑adjust: auto;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
     

/*    Header*/

header {
    height: 10vh;
    display: flex;
    justify-content: space-between;
    border-bottom: 1vh solid #0074e6;
    color: #0074e6;
    background-color: white;
    padding: 0.5vh 5vw;
}

header a {
    padding: 0 0.5vw;
}
        
header p:first-child {
    font-family: 'Tangerine', cursive;
    font-size: 5vw;
}

header p:first-child a {
    color: #0074e6;
    text-decoration: none;
}
        
header p:last-child {
    display: inline-flex;
    width: 5vw;
    justify-content: space-between;
    font-size: 1.5vw;
    padding-top: 2vh;
}
        
header p:last-child a {
    color: #0074e6;
    text-decoration: none;
}

header span {
    border-bottom: 1px dotted #0074e6;
}



/*    H1*/

h1 {
    border: 0.3vh solid #0074e6;
    padding: 0.5vh 0.5vw;
    background-color: white;
    width: auto;
    position: absolute;
    left: 38.5vw;
    top: 15vh;
    display: flex;
    font-size: 2vw;
    align-items: center;
}




/*    Body*/
        
#content {
    display: flex;
    justify-content: space-between;
    padding: 5vh 5vw;
    height: 90vh;
}
        
section {
    width: 25vw;
    height: 81vh;
    padding: 1vh 1vw;
}
 



/*    Menu*/
#nav {
    background-color: white;
    border: 0.3vh solid #0074e6;
    overflow: auto;
}

.mail {
    padding: 0 1vw;
    height: auto;
    font-size: 1vw;
}

.mail img { 
    width: 50px;
    height: 40px;
}

.separator {
    border: 0.1vh solid #0074e6;
    margin: 2vh 0;
}
        
.menu p {
    width: 70px;
    margin: 2vh 1vw;
    display: flex;
    align-items: center;
    font-family: 'Shanti', cursive;
    font-size: 1.5vw;
    border-radius: 1vh;
}
.menu p img {
    width: 50px;
    height: 50px;
    margin-left: 5px;
    border-radius: 5px;
}
.menu p a {
    text-decoration: none;
    white-space: nowrap;
    padding-left: 1.5vw;
    margin-bottom: 1vh;
    height: 100%;
    width: 100%;
}
         
.i1 {
    border: medium solid rgb(255, 165, 0);
}
.i2 {
    border: medium solid #008000;
}
.i3 {
    border: medium solid rgb(0, 191, 255);
}
.i4 {
    border: medium solid #981698;
}
.i5 {
    border: medium solid #fa3636;
}
.i1 a {
    color: rgb(255, 165, 0);
}
.i2 a {
    color: #008000;
}
.i3 a {
    color: rgb(0, 191, 255);
}
.i4 a {
    color: #981698;
}
.i5 a {
    color: #fa3636;
}
    
.btn { 
    display: none; 
    width: auto;
    height: 5vh;
    background-color: dodgerblue;
    color: antiquewhite;
}

.more {
    display: none;
    padding: 0.5vw;
}

.cvNav {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 20%;
}

@media (max-width: 1050px) {
    
    .menu img {
        width: 30px;
        height: 24px;
    }
    
    .menu p {
        margin: 4vh 1vw;
        font-size: 1.5vw;
    }

    .mail {
        font-size: 1.5vw;
    }

    h1 {
        font-size: 1.5vw;
    }

    header p:first-child {
        font-size: 5.5vw;
    }
            
    header p:last-child {
        font-size: 2vw;
    }
}


@media (max-width: 850px) {
    #nav {
        display: none;
    }
    
    .mail {
        font-size: 4vw;
    }

    .menu p {
        margin: 4vh 1vw;
        font-size: 4vw;
        width: 90%;
    }
            
    .btn { 
        display: block; 
    }

    header {
        padding: 2vh 5vw;
    }

    h1 {
        font-size: 4vw;
    }

    header p:first-child {
        font-size: 6vw;
    }
            
    header p:last-child {
        font-size: 2.5vw;
        padding-right: 5vw;
    }
}

@media (max-width: 600px) {
    header p:first-child {
        font-size: 7vw;
    }
}

@media (max-width: 425px) {
	.menu p {
        margin: 5vh 3vw;
    }

    header p:first-child {
        font-size: 10vw;
    }
            
    header p:last-child {
        font-size: 3.5vw;
        padding-right: 10vw;
    }
}

@media (max-height: 600px) {
    h1 img {
        width: 40px;
        height: 40px;
    }

	h1 {
        padding: 0 0.5vw;
    }
}

@media (max-height: 380px) {
    h1 img {
        width: 30px;
        height: 30px;
    }
}