/*Hero*/
.hero{
    padding-top: 152px;
}
h1{
    text-align: center;
}
.hero .tag-row{
    width: 100%;
    justify-content: center;
}
.hero > p{
    width: 56%;
    text-align: center;
    margin: 24px auto 40px;
}
.hero p span{
    text-decoration: underline;
}

/*CD*/
.CD .row{
    justify-content: space-between;
    margin-top: 160px;
}
.CD .row > div:first-child{
    width: 52%;
}
.CD h3{
    margin-bottom: 24px;
}
.CD .row > div:first-child > p:nth-child(2){
    margin-bottom: 8px;
}
.CD .reversed{
    margin-top: 240px;
}
.CD .reversed > div:first-child{
    width: 40%;
}
.CD .reversed > img{
    width: 40%;
}
.target-frame{
    width:36%;
    aspect-ratio: 1/1;
    position: relative;
    z-index: -1;
 }
 .framed-target{
     width: 136%;
     aspect-ratio: 1/1;
     border-radius: 80px;
     overflow: hidden;
     position: absolute;
     top: 50%;
     transform-origin: center;
     transform: translateX(0%) translateY(-50%) rotate(20deg);
 }
 .framed-target img{
     height: 140%;
     transform-origin: center;
     transform: rotate(-20deg) translate(-26% , -32%) ;
 }
 .reversed .framed-target{
    transform: translateX(-24%) translateY(-50%) rotate(20deg);
    overflow: visible;
 }

/*Lessons*/
.lessons{
    margin-top: 160px;
}
.lessons h2{
    text-align: center;
    margin-bottom: 80px;
}
.lessons .row {
    width: 100%;
    column-gap: 20px;
    justify-content: space-between;
}
.lessons .card{
    width: 32%;
    padding: 20px;
}
.lessons h4{
    text-align: center;
}

.picto{
    height: 108px;
    display: block;
    margin: 0 auto 24px;
}

/*Responsive*/

@media screen and (max-width: 800px) {

    /*Hero*/
    .hero > p{
        width: 100%;
    }

    /*CD*/
    .CD .row{
        flex-wrap: wrap-reverse;
    }
    .CD .reversed{
        margin-top: 160px;
    }
    .CD .row > div:first-child{
        width: 100%;
    }
    .target-frame{
        margin-bottom: 128px;
        width: 64%;
        transform: translate(20%, 0);
    }
    .reversed .target-frame{
        width: 80%;
        transform: translate(-28%, 0);
    }

    /*Lessons*/
    .lessons .row{
        flex-wrap: wrap;
        row-gap: 24px;
    }
    .lessons .card{
        width: auto;
        flex-grow: 0;
        display: flex;
        column-gap: 20px;
        padding: 20px;
        align-items: center;
    }
    .lessons .picto{
        height: 64px;
        margin: 0;
    }
}