/**** Importation de la police Open Sans ****/

@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

/**** Reset ****/

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

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

/**** body ****/

body {
    width: 100%;
    height: 100vh;
    background-color: #02cccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Open Sans", sans-serif;
}

/**** div phone ****/

.phone {
    position: relative;
    overflow: hidden;
    border: 3px solid #eeeeee;
    border-radius: 15px;
    height: 600px;
    width: 340px;
}

.phone .content {
    opacity: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: calc(100% - 60px);
    width: 100%;
    transition: opacity 0.3s ease-in-out;
}

.phone .content.show {
    opacity: 1;
}

/**** navigation ****/

nav {
    position: absolute;
    bottom: 0;
    left: 0;
    margin-top: -5px;
    width: 100%;
}

nav ul {
    background-color: #ffffff;
    display: flex;
    padding: 0;
    margin: 0;
    height: 60px;
}

nav li {
    color: #333333;
    cursor: pointer;
    flex: 1;
    padding: 10px;
    text-align: center;
    transition: color 0.3s ease-in-out;
}

nav ul li a {
    font-size: 12px;
    margin: 2px 0;
    color: #333333;
    transition: color 0.3s ease-in-out;
}

/*nav ul li:hover,
nav ul li a:hover,*/
nav ul li.active,
nav ul li.active a {
    color: #02cccc;
}