body {
    background: #D3CCE3;  /* fallback for old browsers */
    background: -webkit-linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: black;
    margin: 3%;
    font-family: 'Nunito', sans-serif;
    font-size: 1.2em;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.box {
    background: rgba( 255, 255, 255, 0.15 );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    width: 100%;
    margin: 0 auto 20px;
    padding: 20px;
    height: auto;
    text-align: center;
}

.nav-pills .nav-link.active{
    background: rgba( 255, 255, 255, 0.4 );
    text-decoration: underline;
    color: black;
}

.nav-pills .nav-link:hover{
    background: rgba( 255, 255, 255, 0.4 );
}

.nav-pills .nav-link {
    margin: 10px;
    font-weight: bold;
    color: black;
    background: rgba( 255, 255, 255, 0.07 );
    box-shadow: 0 6px 12px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 5px );
    -webkit-backdrop-filter: blur( 5px );
    border-radius: 10px;
}

.photoProfil {
    width: 8em;
    height: 8em;
    border-radius: 8em;
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    vertical-align: center;
    margin-bottom: 15px;
}

.titre {
    font-weight: bold;
}

a {
    cursor: pointer;
}

#reals {
    margin: 30px auto;
    height: auto;
    padding: 0 5%;
    text-align: left;
}

.card-img-overlay {
    position: relative;
    height: auto;
    padding: 1.25rem;
    background-color: rgba( 255, 255, 255, 0.5 );
}

.card {
    box-shadow: 0 6px 12px 0 rgba( 31, 38, 135, 0.37 );
    border: none;
    height: auto;
    background-color: transparent;
    margin-top: 20px;
    margin-bottom: 20px;
}

.link {
    width: 4em;
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    vertical-align: center;
    border-radius: 4em;
    cursor: pointer;
    margin-right: 2%;
}

.Identite a {
    color: black;
    font-weight: bolder;
}

.Identite a:hover {
    text-decoration: underline;
}

.btn-light {
    background: rgba( 255, 255, 255, 0.07 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.27 );
    backdrop-filter: blur( 5px );
    -webkit-backdrop-filter: blur( 5px );
    border: none;
}

.btn-light:hover {
    background: rgba( 255, 255, 255, 0.45 );
}

.card-title {
    font-weight: bolder;
}

.rainbow-text {
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 24%, rgba(3,146,212,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.forme1, .forme2, .forme3, .forme4 {
    width: 2em;
    height: 2em;
    border-radius: 30px;
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    cursor: pointer;
    margin-right: 4%;
}

.netflix {
    width: 2em;
    height: auto;
    cursor : pointer;
    margin-right: 4%;
}

.perso {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.forme1 {
    background: linear-gradient(to right, #E9E4F0, #D3CCE3);
}

.forme2 {
    background: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
}

.forme3 {
    background: linear-gradient(135deg, #8BC6EC 0%, #9599E2 100%);
}

.forme4 {
    background: linear-gradient(0deg, #FFDEE9 0%, #B5FFFC 100%);
}

#comp span {
    background-color: rgba(255,255,255,.2);
    padding: 3px 15px;
    border-radius: 10px;
    line-height: 55px;
}

.jumbotron-fluid {
    background-color: rgba(223, 230, 233,0.5);
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    backdrop-filter: blur( 5px );
    margin: 0 40px 40px 40px;
}

#moment {
    text-align: center;
}

.taille {
    width: 130px;
    margin-top: -50px;
}

@media screen and (max-device-width: 480px) {
    body {
        font-size: 3em;
        margin: 5%;
        background: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
    }
    .titre {
        font-size: 2em;
    }
    #reals {
        height: auto;
        max-height: none;
        overflow: hidden;
    }
    .box {
        padding: 6%;
        border-radius: 40px;
        margin-top: 5%;
    }
    .container {
        padding: 6%;
    }
    .perso {
        display: none;
    }
    .card-title {
        font-size:1.2em;
    }
    .card-img-overlay {
        padding: 7%;
    }
    h3 {
        font-size: 1.4em;
        line-height: 1.7em;
    }
    .jumbotron-fluid {
        background-color: rgba(223, 230, 233, 0.3);
        box-shadow: 0 4px 12px 0 rgba(31, 38, 135, 0.37);
        border: 1px solid rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(5px);
        margin: 0 20px 20px 20px;
    }
}

.modal, .modal2 {
    display: none;
}
.modal-back {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba( 0, 0, 0, .25 )
}
.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 25px;
    background: white;
    transform: translate(-50%, -50%)
}
