@font-face {
    font-family: 'regular';
    src: url(../font/Poppins-Regular.ttf);
}
@font-face {
    font-family: 'titre';
    src: url(../font/Poppins-SemiBold.ttf);
}
@font-face {
    font-family: 'med';
    src: url(../font/Poppins-Medium.ttf);
}
* {
    box-sizing: border-box;
}
body {
    background-color: #161623;
    margin: 0;
}
/* --MODULE 1-- */

.module1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#f00, #f0f);
    clip-path: circle(30% at right 70%);
}
.module1::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#2196f3, #e91e63);
    clip-path: circle(20% at 10% 10%);
}
.bottom {
    padding: 72px 0;
}
.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    z-index: 1;
}
.card {
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 400px;
    height: 600px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    border-top: solid 1px rgba(255, 255, 255, 0.1);
    border-left: solid 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}
.inCard {
    padding: 30px;
    transition: 0.3s;
    text-align: center;
    transform: translateY(100px);
    opacity: 0;
}
.card:hover .inCard {
    transform: translateY(0);
    opacity: 1;
}
.cardTitle {
    font-family: 'titre';
    font-size: 8em;
    position: absolute;
    top: -80px;
    right: 30px;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}
.ssTitre {
    font-family: 'titre';
    font-size: 1.8em;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}
.txtCard {
    text-align: center;
    font-family: 'regular';
    color: #fff; 
    font-size: 1em;
}
.titre {
    text-align: center;
    color: #fff;
    font-size: 5em;
    font-family: 'titre';
    padding-bottom: 20px;
    position: relative;
    z-index: 1;
}
.titre2 {
    text-align: center;
    color: #fff;
    font-size: 1.5em;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 10px;
    font-family: 'titre';
    padding-bottom: 60px;
}
.more {
    padding: 16px 32px;
    font-size: 1.2em;
    position: relative;
    top: 25px;
    font-family: 'med';
    background: #fff;
    color: #212121;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
a {
    text-decoration: none;
}

/* --MODULE 2-- */

.module2 {
    background: linear-gradient(#4ba9e9, #4ba9e9 50%, #fff 50%, #fff 100%);
}
.module2 .titre2 {
    padding-top: 60px;
}
.allProduct {
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.product {
    position: relative;
    border-radius: 12px;
    width: 300px;
    height: 380px;
    background: #212121;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
    transition: 0.5s ease-in-out;
    margin: 20px;
}
.product:hover {
    width: 600px;
}
.product .imgBx {
    position: relative;
    min-width: 300px;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 2;
}
.product .imgBx img {
    max-width: 250px;
    transition: 0.5s ease-in-out;
}
.product:hover .imgBx img {
    transform: rotate(-35deg) translateX(-20px);
}
.product .details {
    position: absolute;
    left: 0;
    min-width: 300px;
    height: 100%;
    background: #4ba9e9;
    display: flex;
    justify-content: center;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1;
    transition: 0.5s ease-in-out;
}
.product:hover .details {
    left: 300px;
}
.product .details::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 0;
    border-top:  10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #fff;
}
.product .details .ssTitre {
    color: #fff;
    text-transform: uppercase;
    font-family: 'med';
    line-height: 1em;
}
.product .details .txtCard {
    color: #fff;
    text-transform: none;
    font-family: 'med';
    font-size: 0.9em;
    opacity: 0.85;
    line-height: 1em;
}
.prodDetails {
    color: #fff;
    font-family: 'med';
    text-transform: uppercase;
    font-size: 1.1em;
    padding: 10px 0;
}
.details p {
    color: #fff;
    opacity: 0.85;
    font-family: 'regular';
    font-size: 0.9em;
    margin: 0;
    padding-bottom: 10px;
}
.size {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0 !important;
}
.ssTitreProd {
    text-transform: uppercase;
    color: #fff;
    font-family: 'med';
    font-size: 1.1em;
}
.size li {
    list-style: none;
    color: #fff;
    font-size: 0.9em;
    font-family: 'titre';
    width: 40px;
    height: 40px;
    border: solid 2px #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.65;
    cursor: pointer;
    transition: 0.5s;
}
.size li:hover {
    color: #4ba9e9;
    background: #fff;
    opacity: 1;
}
.price {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    width: 100%;
}
.price .ssTitre {
    color: #fff;
    font-family: 'med';
    font-size: 2em;
}
.price .ssTitre sup {
    font-family: 'regular';
}
.price .ssTitre small {
    font-size: 0.75em;
    font-family: 'regular';
}
.price a {
    display: inline-flex;
    background: #fff;
    font-family: 'med';
    padding: 12px 24px;
    text-transform: uppercase;
    color: #4ba9e9;
}

/* --MODULE 3-- */

.module3 {
    background: #212121;
    padding: 100px 0;
}
.allTeam {
    display: flex;
    align-items: center;
    justify-content: center;
}
.teamCont {
    width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}
.teamCard {
    position: relative;
    width: 300px;
    height: 350px;
    background: #fff;
    border-radius: 10px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.inTCard {
    position: relative;
    width: 100%;
    height: 350px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.inTCard::after, .inTCard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: rgba(255, 255, 255, 1);
    transition: 0.5s;
    z-index: -1;
}
.inTCard:hover::before {
    transform: rotate(20deg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.inTCard:hover::after {
    transform: rotate(10deg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.imgTeam {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: #212121;
    border-radius: 6px;
    transition: 0.5s;
    z-index: 1;
}
.inTCard:hover .imgTeam {
    bottom: 80px;
}
.imgTeam img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.teamDetails {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: 60px;
    text-align: center;
}
.titreTeam {
    margin: 0;
    padding: 0;
    font-family: 'titre';
    color: #212121;
    opacity: 0.75;
    font-size: 1.5em;
    text-transform: uppercase;
}
.fonctionTeam {
    font-family: 'med';
    font-size: 1.2em;
    color: #f38695;
    display: block;
    margin-top: -10px;
}