@import url(https://fonts.googleapis.com/css?family=Lato|Montserrat:400,700,900&display=swap);

* {
    padding: 0;
    margin: 0;
}

html {
    height: 100%;
    overflow-y: scroll;
}

body {
    font-family: 'Lato', sans-serif;
    /*
    background-image: linear-gradient(to right top, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
	*/
}

.white {
    color: white;
}

.black {
    color: black;
}

.opacity {
    opacity: 0.5;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    background-color: dodgerblue;
    color: white;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.5em;
    margin-left: 30px;
}

header p {
    font-size: 1.4em;
    margin-right: 30px;
}

#container {
    width: 1050px;
    margin: 0 auto;
    display: flex;
}

/*************************ASIDE********************************/

#aside {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    flex-direction: column;
}

#aside a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin-bottom: 15px;
    width: 50px;
    height: 50px;
    background: dodgerblue;
    color: white;
    font-size: 1.6em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;

}

#aside a:hover {
    color: dodgerblue;
    background: white;
    cursor: pointer;
}

/*******************CALENDRIER****************************/

#calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 1000px;
}

/* Entête calendrier */
#calendarHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 980px;
    height: 45px;
    margin: 0 auto;
    margin-bottom: 15px;
    color: white;
    font-size: 1.5em;
    background: dodgerblue;
    letter-spacing: 2px;
}

#calendarHeader div {
    display: flex;
}

#month {
    text-transform: uppercase;
    margin-left: 10px;
    margin-right: 15px;
}

#month,
#year {
    font-size: 1.3em;
    font-weight: 900;
}

#month:hover,
#year:hover,
#calendarHeader button:hover {
    color: black;
}

#month,
#year,
#calendarHeader button {
    cursor: pointer;
}

#calendarHeader button {
    width: 40px;
    border: 0;
    font-size: 1.1em;
    color: white;
    background: dodgerblue;
}

/* Jours de la semaine */
#daysToString {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

#daysToString div {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    text-transform: uppercase;
    width: 131px;
    height: 30px;
    margin: 0 4px;
    background: blueviolet;
    border: 1px solid blueviolet;
}

/* Jours du mois */
#daysOfMonth {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.days {
    display: flex;
    flex-direction: column;
    height: 100px;
    width: 131px;
    margin: 4px;
    background: lightcyan;
    border: 1px solid lightcyan;
    position: relative;
}

.days div {
    display: flex;
    justify-content: space-between;
}

.days p.dayNumber {
    font-weight: 800;
    padding: 4px 0 0 4px;
}

.days p.dayEphemeris {
    text-align: right;
    padding: 4px 4px 0 0;
    font-size: 0.8em;
    color: grey;
}

.days p.numberOfWeek {
    position: absolute;
    bottom: 4px;
    right: 4px;
    font-size: 0.7em;
}

.days:hover {
    cursor: pointer;
    background: dodgerblue;
    border: 1px solid dodgerblue;
    color: white;
}

.currentMonth {
    background: lightblue;
    border: 1px solid lightblue;
}


/********************  Modal  *************************/
#modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

#modalContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    background-color: deepskyblue;
    display: flex;
    flex-direction: column;
	justify-content: space-between;
}

#modalHeader {
    display: flex;
	padding: 10px 0;
	margin-bottom: 20px;
    justify-content: space-between;
    align-items: center;
    color: white;
    border-bottom: 1px solid white;
    font-weight: 900;
}

#modalHeader h2 {
    font-weight: 900;
	padding-left: 10px;
    text-transform: uppercase;
    font-size: 1.9em;
}

#modalBody {
    display: flex;
    flex-wrap: wrap;
	justify-content: space-around;
}

.bodyUser {
	font-size: 0.6em;
}

#modalHeader button {
	padding-right: 10px;
    cursor: pointer;
    border: none;
    font-size: 2em;
    font-weight: 900;
    color: white;
    background-color: deepskyblue;
}

#modalHeader button:hover {
    color: black;
}

#modalContent a {
    cursor: pointer;
    padding: 5px;
    width: 30%;
    color: white;
    font-size: 1.4em;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-align: center;
}

#modalContent a:hover {
    color: black;
}

#footerModal {
    display: flex;
    width: 200px;
    margin: 0 auto;
	margin-bottom: 10px;
    padding-top: 10px;
    justify-content: center;
}

#footerModal button {
    border: none;
    background-color: deepskyblue;
    color: white;
    font-weight: 900;
    font-size: 1.5em;
    margin: 0 10px;
}

#footerModal button:hover {
    cursor: pointer;
    color: black;
}

/************************* Footer ********************************/
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
}

footer div {
    margin-bottom: 10px;
}

footer div i {
    margin: 0 5px;
    color: red;
}

footer div i:nth-child(3) {
    color: blue;
}

footer div i:nth-child(2) {
    color: green;
}