/* ! HOME */

.home{
    display: flex;
    transform: translateY(30px);
    position: relative;
    min-height: 450px;
}

.left-bloc-title{
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: calc(2vw + 80px);
    background:linear-gradient(#223C68, #2f4772);
    flex-basis: 50%;
    clip-path: polygon(0% 0%, 100% 0, 100% 100%, 0 100%);
}

.left-bloc-title h1{
    font-family: 'Roboto Slab', serif;
    font-size: calc(2vw + 2rem);
    color:#fefefe;
    text-shadow: 0 -1px #0b2961, -1px 0 #0b2961, 1px 1px #0b2961, -1px -1px #0b2961, 1px 0 #0b2961, 0 1px #0b2961;
    margin-bottom: calc(20px + 2vw);
}
.left-bloc-title span{
    color:#fefefe;
    font-style: italic;
    font-size: calc(0.8vw + 0.6rem);
}

.logo-links{
    display: flex;
    font-size: calc(0.5vw + 1rem);
}
.logo-links img{
    width: 30%;
    height: 80%;
    margin-right:calc(1vw + 20px);
}
.links span{
    color:#fefefe;
    text-transform: uppercase;
    display: block;
    width: 90%;
}
.links a{
    display: block;
    margin-top: 15px;
    padding:12px 20px;
    width: 105%;
    text-align: center;
    color:#222;
    text-decoration: none;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}
.links a:nth-child(2){
    background-color:#ffd453;
}
.links a:nth-child(3){
    background-color:#fd9c63;
}
.links a:nth-child(2)::after, .links a:nth-child(3)::after{
    content: '';
    position: absolute;
    top:0;
    left:0;
    height: 100%;
    width: 0%;
    transform: scale(1.2);
    background-color: #223C68;
    transition: width 0.4s ease-out;
    clip-path: polygon(0% 0%, 80% 0%, 100% 50%, 80% 100%, 0% 100%);
}
.links a:nth-child(2):hover::after, .links a:nth-child(3):hover::after{
    width: 10%;
}

.links a i{
    margin-left: 10px;
}

.right-bloc-title{
    background:linear-gradient(rgba(34, 60, 104,0.15), rgba(47, 71, 114,0.15)), url('./assets/home-bg.jpg') 50% 50% / cover;
    flex-basis: 50%;
    clip-path: polygon(0% 0%, 100% 0, 100% 100%, 10% 100%);
    transform: translate(-5%, 2%);
    position: relative;
}

/* ! CONTENT */

#content-container{
    margin-top: calc(50px + 2vw);
}

.description{
    display: flex;
    width: 85%;
    margin: calc(50px + 1vw) auto;
}

/* ! GENERAL INTRO */

.general-introduction{
    padding:calc(100px + 4vw) 0 calc(100px + 3vw);
    display: flex;
    justify-content: center;
    align-items: center;
}
.general-introduction h2{
    flex-basis: 50%;
    text-align: center;
    font-size: calc(2vw + 3rem);
    text-transform: uppercase;
    margin-right: calc(2vw + 20px);
    position: relative;
    color:#223C68;
}

.general-introduction h2 span{
    color:#222;
}

.deco-circle-bg{
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(20vw + 200px);
    width: calc(20vw + 200px);
    background:linear-gradient(#223C68, #2f4772);
    border-radius: 50%;
    font-size: calc(2vw + 1rem);
    position: relative;
    margin-right: calc(5vw + 100px);
    flex-shrink:0;
}

.intro-item{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0,0,0,0.15);
}
.intro-item h4{
    font-size: calc(1vw + 1rem);
    font-family: 'Roboto Slab', serif;
}
.intro-item h5{
    font-size: calc(0.5vw + 1rem);
    font-weight: 400;
}
.intro-item.duration{
    top:20%;
    right: -15%;
    width: calc(6vw + 80px);
    height: calc(6vw + 80px);
    background-color: #fefefe;
}
.intro-item.tout-public{
    bottom:25%;
    left:-10%;
    width: calc(5vw + 80px);
    height: calc(5vw + 80px);
    background-color: #fafafa;
    font-size: calc(0.5vw + 1rem);
}

/* ! ASIDE */

.aside-container{
    flex-basis: 35%;
    align-items: center;
    margin-right: calc(50px + 2vw);
}

.aside-content{
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    padding:calc(1vw + 30px);
    position: relative;
    background-color: #223C68;
    color:#ececec;
}

.aside-container .bg-deco{
    position: absolute;
    top:10%;
    left:70%;
    opacity: 0.05;
}

.aside-item{
    position: relative;
    border:1px solid #2C7BD5;
    padding: calc(1vw + 20px) calc(1vw + 20px) calc(1vw + 10px);
}

.aside-item:not(:nth-last-child(2)){
    margin-bottom: calc(30px + 5vw);
}

.aside-item h3{
    position: absolute;
    top:0;
    left:10%;
    font-size: calc(1vw + 0.8rem);
    text-align: center;
    transform:translateY(-50%);
    padding: 0 10px;
    background-color: #223C68;
    font-family: 'Roboto Slab', serif;
    transition: left 0.4s ease-out, transform 0.4s ease-out;
    white-space:nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
}
.aside-item:hover h3{
    left:50%;
    transform:translateY(-50%) translateX(-50%);
    color:#2C7BD5;
}

.aside-item p span{
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.aside-item ul li{
    margin-bottom: 7px;
}

a.link-contact{
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: calc(0.5vw + 1rem);
    margin-top:calc(20px + 1.5vw);
    padding: calc(0.6vw + 10px) calc(0.5vw + 10px) calc(0.6vw + 10px);
    color:#fefefe;
    background-color: #2C7BD5;
    text-decoration:none;
    font-weight: bold;
    transition: all 0.2s ease-out;
}
.link-contact:hover{
    box-shadow: 0 0 10px rgba(44, 123, 213,0.9);
}

.link-contact span{
    text-transform: uppercase;
    letter-spacing: 2px;
}

.link-contact img{
    width: 10%;
    filter: invert(97%) sepia(99%) saturate(4%) hue-rotate(211deg) brightness(106%) contrast(99%);
}

/* ! ARTICLES */

.details-container{
    padding:0 calc(10px + 1vw);
    flex-basis: 65%;
    position: relative;
    overflow: hidden;
}
.details-container .bg-deco{
    position: absolute;
    bottom:30%;
    right:0%;
    opacity: 0.05;
}

.details-container > h2{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: calc(2vw + 1.5rem);
    padding-bottom: 10px;
    border-bottom:1px solid #333;
}
.details-container h2 img{
    margin-right: 10px;
    width: 15%;
}

.handicap{
    padding: calc(0.5vw + 7px);
    background-color: #ececec;
    margin-bottom: calc(1vw + 5px);
}
.handicap a{
    color:#2C7BD5;
}

.long-list{
    padding: calc(1vw + 15px) 0 calc(2vw + 15px) calc(1vw + 15px);
    color:#222;
    list-style: none;
}
.long-list .number{
    font-size: calc(1.8vw + 1.7rem);
    padding:0 10px;
}
.long-list .detail-title{
    font-size: calc(0.8vw + 1rem);
    position: relative;
    text-transform: uppercase;
}

.long-list-item:not(:last-child){
    margin-bottom: calc(1vw + 15px);
}

.short-list{
    padding:calc(0.5vw + 10px) calc(1vw + 15px);
    font-size: calc(0.7rem + 0.8vw);
    list-style-type: disc;
}
.short-list li{
    margin:5px 0;
}

.attestation{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #222;
    padding:10px;
}
.attestation-title{
    font-family: 'Niconne', Arial, Helvetica, sans-serif;
    color:#dddddd;
    font-weight: 400;
    font-size: calc(2vw + 1.5rem);
}
.attestation-logos img{
    width: calc(50px + 3vw);
    height: calc(50px + 3vw);
    margin:0 -5px;
}

@media screen and (max-width:1200px){
    .left-bloc-title{
        padding: calc(2vw + 40px);
    }

    .right-bloc-title{
        clip-path:inherit;
        transform: none;
        background: url('./assets/home-bg.jpg') 65% 50% / cover;
    }

    .right-bloc-title p{
        left:10%;
        width:50%;
        padding: 15px 20px;
    }
    .right-bloc-title p i{
        font-size: calc(1vw + 2rem);
    }

    .deco-circle-bg{
        margin-right: calc(5vw + 40px);
        margin-left: 2rem;
    }

    .description{
        width: 95%;
    }
    .aside-container{
        margin-right:0;
    }
    .short-list{
        font-size: 1.6rem;
    }

    .aside-container .bg-deco{
        width:200px;
    }
    .details-container .bg-deco{
        width:200px;
    }
    .details-container .bg-deco-2{
        width:200px;
    }
}

@media screen and (max-width:900px){
    .left-bloc-title{
        padding: calc(2vw + 20px);
    }
    .links a:nth-child(2):hover::after, .links a:nth-child(3):hover::after, .links a:nth-child(4):hover::after{
        width: 10%;
    }

    .right-bloc-title{
        background: url('./assets/home-bg.jpg') 80% 50% / cover;
    }

    .logo-links{
        font-size: calc(0.5vw + 1rem);
    }

    .right-bloc-title p{
        font-size: 1.4rem;
        left:5%;
        width:55%;
        padding: 15px 20px;
    }

    .deco-circle-bg{
        margin-right: calc(5vw + 30px);
        margin-left: 1rem;
    }

    .description{
        width:100%;
    }
    .aside-container{
        flex-basis: 45%;
    }
    .aside-content{
        padding:4rem calc(1vw + 15px);
    }

    .handicap{
        padding: calc(0.5vw + 15px);
        margin-bottom:1.5rem;
    }
}

@media screen and (max-width:750px){
    .right-bloc-title{
        min-height: 350px;
    }

    .home{
        flex-direction: column;
        transform: translateY(20px);
    }

    .logo-links img{
        width: 18%;
    }
    .logo-links a{
        width:100%;
        padding: 10px 0;
    }

    .left-bloc-title p{
        font-size: 1.6rem;
    }

    .logo-links{
        font-size: calc(0.5vw + 1.2rem);
    }

    .general-introduction{
        padding:calc(70px + 4vw) 0 calc(70px + 3vw);
        flex-direction: column;
    }
    .general-introduction h2{
        margin-right:0;
        padding: 0 1rem;
    }
    .deco-circle-bg{
        margin-right:0;
        margin-left:0;
        margin-top:calc(5rem + 1vw);
    }

    .description{
        flex-direction: column;
        margin-bottom: 0;
    }
    .aside-item {
        padding: calc(3vw + 20px) calc(5vw + 20px) calc(2vw + 10px);
    }
    .aside-item p, .aside-item ul li{
        font-size: 1.6rem;
    }
    .aside-item h3{
        left:50%;
        transform: translate(-50%, -50%);
        transition: none;
        font-size:2rem;
        padding: 0 10px;
    }
    .aside-item:hover h3{
        color:inherit;
        left:50%;
        transform: translate(-50%, -50%);
    }
    a.link-contact {
        display: flex;
        font-size:1.8rem;
        margin-top: calc(20px + 1.5vw);
        padding: calc(0.6vw + 10px) calc(0.5vw + 10px) calc(0.6vw + 10px);
    }

    .details-container {
        padding:0;
        margin-top:5rem;
    }
    .long-list {
        padding: calc(1vw + 15px) calc(4vw + 15px) calc(2vw + 15px) calc(4vw + 15px);
    }

    .long-list .number {
        font-size: calc(1.8vw + 2rem);
    }
    .long-list .detail-title {
        font-size: calc(1vw + 1.2rem);
    }

    .aside-container .bg-deco{
        display: none;
    }
    .details-container .bg-deco-2{
        width:250px;
    }
}

@media screen and (max-width:500px){
    .long-list {
        padding:calc(1vw + 15px) calc(2vw + 15px) calc(2vw + 15px) calc(2vw + 15px);
    }
    .long-list .detail-title {
        font-size: calc(1vw + 1.1rem);
    }

    .links a{
        display: block;
        margin-top: 15px;
        padding:10px 20px;
        width: 100%;
        text-align: center;
        color:#222;
        text-decoration: none;
        border-radius: 5px;
        position: relative;
        overflow: hidden;
    }
}

@media screen and (max-width:300px){
    .right-bloc-title p{
        font-size: 1.2rem;
        width:60%;
    }

    .general-introduction h2 {
        font-size: calc(2vw + 2.5rem);
    }

    a.link-contact {
        font-size:1.5rem;
    }

    .deco-circle-bg{
        height: calc(20vw + 150px);
        width: calc(20vw + 150px);
    }

    .intro-item{
        transform: scale(0.8) translateX(-20%) !important;
    }

    .active-page{
        font-size:1.1rem;
    }
}