/* --------- Default -------- */

:root {
    --principale: #F7FFF7;
    --secondaire: #A9E5BB;
    --accent: #E84855;
    --transparent: #00000080;
    --background: #2A2D34;
    --shadow-green: 5px 5px 0px var(--secondaire);
    --shadow-red: 5px 5px 0px var(--accent);
    --shadow-transparent: 5px 5px 0px var(--transparent);
    --transition: all 0.15s ease;
}

h1, h2, h3, h4, h5, p, a {
    color: var(--principale);
}

h2 {
    font-family: 'Anonymous Pro';
    font-weight: bold;
    font-size: 36px;
    width: fit-content;
    margin: 0;
    text-transform: uppercase;
    text-decoration: underline 5px var(--accent);
    text-underline-offset: .5px;
}

h4 {
    font-family: 'Anonymous Pro';
    font-weight: bold;
    font-size: 24px;
    text-transform: uppercase;
    margin: 0;
}

h5 {
    font-family: 'Outfit';
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

h6 {
    font-family: 'Anonymous Pro';
    color: var(--secondaire);
    font-size: 20px;
    font-weight: normal;
    margin: 0;
}

::selection {
    background-color: var(--transparent);
    color: var(--secondaire);
}

p {
    font-family: 'Anonymous Pro';
    font-weight: normal;
    font-size: 18px;
    margin: 0;
    max-width: 800px;
}

a {
    font-family: 'Anonymous Pro';
    font-weight: bold;
    font-size: 22px;
    text-decoration: none;
    background-color: var(--transparent);
    box-shadow: var(--shadow-transparent);
    padding: 15px;
    border: 3px solid var(--accent);
    margin: 0;
    position: relative;
    top: -5px;
    left: -5px;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
}
a:hover {
    background-color: var(--accent);
    box-shadow: 0px 0px 0px 0px var(--shadow-transparent);
    border: 3px solid var(--accent);
    top: 0px;
    left: 0px;
}

a#link {
    font-family: 'Anonymous Pro';
    font-weight: bold;
    font-size: 22px;
    text-decoration: none;
    background-color: transparent;
    padding: 0;
    width: fit-content;
    border: none;
    transition: var(--transition);
    display: block;
    position: relative;
    text-decoration: underline 3px var(--secondaire);
    text-underline-offset: .5px;
    box-shadow: 0px 0px 0px 0px var(--shadow-transparent);
    top: 0;
    left: 0;
}
a#link:hover {
    background-color: transparent;
    box-shadow: 0px 0px 0px 0px var(--shadow-transparent);
    text-decoration: underline 3px var(--accent);
    top: 0;
    left: 0;
}

a#img {
    font-family: 'Anonymous Pro';
    text-decoration: none;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    border: none;
    margin: 0;
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
}

/* ---------- CONTAINER ----------- */

html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--background);
    background-image: url(/images/Background\ logo.svg);
    object-fit: cover;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    width: 100%;
    padding: 150px 150px 200px 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 250px;
}


/* ---------- HEADER ----------- */


.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 150px;
}

.header .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    width: 50%;
}

.header .last-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 50%;
}

.header .last-video iframe {
    border: 3px solid var(--principale);
    box-shadow: var(--shadow-red);
    background-color: var(--transparent);
}


.group-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
}


/* ---------- LES MEILLEURS VIDEOS ----------- */

.best-vids {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100px;
    width: 100%;
}

/*  Carousel */

.carousel-container {
    width: 100%;
    min-width: 625px;
    max-width: 625px;
    height: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.carousel-track {
    display: flex;
    align-items: center;
    transition: var(--transition);
    touch-action: pan-y;
    gap: 25px;
}

.carousel-slide {
    min-width: 600px;
    height: auto;
    aspect-ratio: 16 / 9;
    user-select: none;
    border: 3px solid var(--principale);
    box-shadow: var(--shadow-green);
    background-color: var(--transparent);
}

.carousel-slide iframe {
    min-width: 100%;
    min-height: 100%;
    aspect-ratio: 16 / 9;
    user-select: none;
}

.dots {
    text-align: center;
    margin-top: 25px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 10px;
    background: var(--principale);
    cursor: pointer;
    transition: var(--transition);
}
.dot:hover {
    background: var(--secondaire);
}
.dot.active {
    background: var(--accent);
}


/* ---------- MES COPAINS ----------- */

.mes-copains {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100px;
    width: 100%;
}

/*  Carousel */

.mes-copains .carousel-slide {
    padding: 25px;
    min-width: 450px;
    max-width: 450px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: flex-start;
    gap: 15px;
}

.mes-copains .carousel-slide .head-profil {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.mes-copains .carousel-slide .head-profil .pseudo_alias {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: flex-start;
}

.carousel-slide img {
    width: 100px;
    height: 100px;
    aspect-ratio: 1 / 1;
    background-color: var(--background);
    border: 3px solid var(--secondaire);
    object-fit: cover;
}

/* --------- SETUP -------------- */

.setup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100px;
    width: 100%;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: 100%;
    max-width: 1200px;
}

.product {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 15px;
    background-color: var(--transparent);
    border: 3px solid var(--principale);
    box-shadow: var(--shadow-green);
    gap: 25px;
    width: 44%;
}

.product img {
    width: 150px;
    height: 150px;
    aspect-ratio: 1 / 1;
    background-color: var(--transparent);
    border: 1px solid var(--principale);
    object-fit: cover;
}
.product .text {
    display: flex;
    flex-direction: column;
    justify-content: start;
    height: 100%;
    width: 100%;
    gap: 15px;
}
.product p#green {
    color: var(--secondaire);
}


/* ---------- FOOTER ----------- */

footer {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    margin: 0;
    background-color: var(--transparent);
}

.footer-content {
    padding: 100px 150px 50px 150px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
    max-width: 1200px;
}

.footer-content .reseaux, .footer-content .support {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    width: 350px;
}

.footer-content .reseaux p, .footer-content .support p {
    font-weight: bold;
    font-size: 22px;
}


footer .footer-legal {
    padding: 50px 150px 50px 150px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
    max-width: 1200px;
}

/*-------------- MENTIONS LEGALES ---------- */

.mentions {
    width: fit-content;
}

.mentions .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    align-content: center;
}

.mentions_legales {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
    justify-content: center;
    align-content: flex-start;
    align-items: flex-start;
}

.mentions_legales .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    justify-content: center;
    align-content: flex-start;
    align-items: flex-start;
}

/* --------- RESPONSIVE TABLETTE ---------- */

@media only screen and (max-width: 850px) {

h2 {
    font-size: 26px;
}

.container {
   width: 80%;
}

.header {
    flex-direction: column;
    width: 100%;
    gap: 100px;
}
.header .content {
    width: 100%;
}
.header .content img {
    width: 100%;
}

.header .last-video {
    width: 100%;
}
.header .last-video iframe {
    width: 100%;
    height: auto;
}


.group-button {
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
}

.carousel-container, .carousel-track, .carousel-slide {
    width: 100%;
    min-width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}
.carousel-slide iframe {
    width: inherit;
}


.mes-copains .carousel-slide {
    width: 90%;
    min-width: 90%;
    min-height: auto;
    height: auto;
}
.mes-copains .carousel-track {
    width: 100%;
    height: auto;
    align-items: stretch;
}
.mes-copains .carousel-container, .mes-copains .carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
    aspect-ratio: auto;
}
.mes-copains .carousel-slide .head-profil {
    flex-direction: column;
    width: 100%;
}


.product {
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.product img {
    width: 100%;
    height: 100%;
    max-width: 80px;
    aspect-ratio: 1 / 1;
    background-color: var(--transparent);
    border: 1px solid var(--principale);
    object-fit: cover;
}

.footer-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.footer-content .reseaux, .footer-content .support {
    width: 100%;
}

footer .footer-legal {
    padding: 0px 0px 75px 0px;
    flex-direction: column;
    gap: 25px;
}

footer .logo img{
    width: 100%;
}

}

@media only screen and (max-width: 460px) {

}


/* Erreur 404 */

.error_container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    gap: 50px;
}

.error_container * {
    font-family: 'Outfit';
}

.error_container .text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0px;
}

.error_container h1 {
    font-size: clamp(6rem, 15vw, 146px);
    font-weight: 800;
    margin: 0;
}
