@import url('https://fonts.googleapis.com/css2?family=Andika+New+Basic&display=swap');
body {
    margin: 0;
    padding: 0;
    font-family: 'Andika New Basic', sans-serif;
    background-color: #fad390;
}
nav {
    background-color: #b71540;
    display: flex;
    padding: 25px;
}
nav .box {
    background-color: #f8c291;
    width: 30%;
    height: 100px;
    padding: 25px;
    margin: 0 10px;             /* marges gauche et droite */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
nav .box div {
    background-color: #ffa042;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;        /* centrer l'icone */
    align-items: center;            /* icone au milieu*/
    border-radius: 50%;             /* boite ronde*/
    cursor: pointer;
    transition: 0.4s;
}
nav .box:hover div {
    background: none;
    transition: 0.4s;
}
nav .box div i {
    font-size: 30px;
}
nav .box:hover div i {
    font-size: 50px;
    transition: 0.4s;
}
nav .box span {
    margin-top: 10px;
    font-size: 18px;
    letter-spacing: 2px;
    opacity: 0;
    transition: 0.4s;
}
nav .box:hover span {
    opacity: 1;
    transition: 0.4s;
}
section h1 {
    text-align: center;
    font-size: 40px;
}
section h1 span {
    display: block;
    font-size: 20px;
    letter-spacing: 4px;
}
section iframe {
    width: 100%;
    height: 550px;
}


@media screen and (max-width: 800px) {
    nav {
        flex-direction: column;
        align-items: center;            /*axe secondaire*/
    }
    nav .box {
        width: 75%;
        margin: 10px 0;                 /* marges haut et bas*/
    }
}