/* ================ Reset ================ */
* {
    margin:  0;
    padding: 0;
    gap:     0;
    box-sizing: border-box;
    user-select: none;
}

hr { border: none; }

li { list-style: none; }

a { text-decoration: none; }

img, video { -webkit-user-drag: none; }

button {
    border: none;
    background: none;
}




/* ================ Global ================ */
h1, h2, h3 {
    color: white;
    font-family: system-ui; 
}

li, a, p {
    color: white;
    font-family: system-ui; 
}

button {
    cursor: pointer;
    color: white;
    font-family: system-ui; 
}


img, video {
    max-width: 100%;
    /* max-height: 500px; */
    /* background-color: rgb(32,32,32); */
    background: linear-gradient(45deg, hsl(0, 0%, 5%), hsl(0, 0%, 15%));
}

img {
    transition: 120ms;
}




/* ============================================ */
/* ================ Background ================ */
/* ============================================ */
html { 
    scroll-behavior: smooth;
    background-color: black; 
}

body {
    min-height: 100vh;
}

body {
    --s: 80px; 
    --c1: #000000;
    --c2: #090909;

    --_g: 
    #0000 calc(-650%/13) calc(50%/13),var(--c1) 0 calc(100%/13),
    #0000 0 calc(150%/13),var(--c1) 0 calc(200%/13),
    #0000 0 calc(250%/13),var(--c1) 0 calc(300%/13);
    --_g0: repeating-linear-gradient( 45deg,var(--_g));
    --_g1: repeating-linear-gradient(-45deg,var(--_g));
    background:
    var(--_g0),var(--_g0) var(--s) var(--s),
    var(--_g1),var(--_g1) var(--s) var(--s) var(--c2);
    background-size: calc(2*var(--s)) calc(2*var(--s));
}




/* ======================================== */
/* ================ Header ================ */
/* ======================================== */
header {
    display: flex;
    flex-direction: column;
    align-items: center;

    background:  linear-gradient(rgb(24,24,24), rgb(15,15,15));
    /* box-shadow: black 0 0 15px; */
}

header a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    width: fit-content;
    height: 80px;
}



header hr {
    width: 100%;
    height: 2px;
    background: orange;
}



/* ================ Navbar ================ */
nav {
    position: sticky;
    top: 0;
    z-index: 2;

    background: rgb(24,24,24);
    box-shadow: rgba(0,0,0, 0.33) 0 8px 8px;
}

nav ul {
    overflow: hidden;
    display: flex;
    align-items: center;
    margin: auto;
    
    max-width: 1080px;
    height: 27px;
    padding-left: 15px;
}

nav a {
    white-space: nowrap;
    font-weight: 500;
    margin-right: 15px;
}

nav a:hover {
    color: darkorange;
}




/* ================ Carrousel ================ */
.carrousel {
    position: fixed;
    z-index: 2;
    top: 50%;

    font-weight: bolder;
    border-radius: 15px;
    width:  30px;
    height: 30px;

    color: white;
    background-color: rgb(80, 0, 80);
    box-shadow: rgba(0,0,0, 0.50) 0 0 12px;
}

.carrousel:hover {
    background-color: rgb(115, 0, 115);
}

.carrousel#prev { left:  10px; }
.carrousel#next { right: 10px; }




/* ====================================== */
/* ================ Main ================ */
/* ====================================== */
main {
    margin: auto;
    max-width: 1080px;
    min-height: 100vh;
    
    /* padding-top:    35px; */
    padding-left:   10px;
    padding-right:  10px;
    padding-bottom: 40px;
}



/* ================ Sections ================ */
section, article {
    margin-top: 35px;

    overflow: hidden;
    border-top-left-radius:  10px;
    border-top-right-radius: 10px;

    background-color: rgba(15, 15, 15, 0.79);
    box-shadow: rgba(0, 0, 0, 0.50) 0 0 15px;
}


section h2, article h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    
    text-align: center;
    white-space: nowrap;

    height: 40px;
    text-shadow: rgba(0, 0, 0, 0.75) 0 0 10px;
    background: linear-gradient(rgb(49, 2, 49), rgb(39, 2, 39));
}

section h2 a {
    transition: 75ms;
}

section h2 a:hover {
    color: darkorange;
}




/* ================ Containers ================ */
section div, section ul {
    padding-top:    18px;
    padding-left:   10px;
    padding-right:  10px;
    padding-bottom: 18px;
}

section div {
    text-align: center;
}

section hr {
    background-color: white;
    height:  2px;
    margin:  15px;
}




/* ========================================= */
/* ================ Article ================ */
/* ========================================= */
article h3 {
    white-space: normal;
}

article ul {
    padding: 18px;
}

article li {
    margin-top:     5px;
    margin-bottom: 15px;
}

article p {
    white-space: normal;
    margin-top: 5px;
}





/* ========================================= */
/* ================ Customs ================ */
/* ========================================= */

/* ================ Relateds ================ */
.profiles {
    /* margin-top: 90px; */
}

.profiles ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.profiles li {
    overflow: hidden;
    border-radius: 5px;
    background-color: black;
    box-shadow: rgba(0,0,0, 0.50) 0 0 12px;
}

.profiles img {
    object-fit: cover;
    aspect-ratio: 2/3;   
    width: 100%;
}

.profiles p {
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
    
    font-weight: 500;
    height: 34px;
    margin-top: -4px;
    background: linear-gradient(rgb(20,20,20), black);
}


.profiles li:hover {
    border-radius: 5px;
    box-shadow: rgba(32,32,32, 0.66) 0 0 12px;
}
.profiles a:hover img { filter: brightness(1.12); }
.profiles a:hover p   { color: darkorange;      }

.profiles img, .profiles p {
    transition: 120ms;
}





/* ======================================== */
/* ================ Footer ================ */
/* ======================================== */

/* ================ Navigation ================ */
#gohead {
    position: fixed;
    bottom: 25px;
    right:  25px;

    border-radius: 15px;
    width:  30px;
    height: 30px;
    background-color: rgb(80, 0, 80);
    box-shadow: rgba(0,0,0, 0.50) 0 0 12px;
}

#gohead:hover {
    background-color: rgb(115, 0, 115);
}

#gohead p {
    color: white;
    font-size: 15px;
    margin-top: -5px;
}



/* ================ Footer ================ */
footer {
    display: flex;
    align-items: center;
    justify-content: center;
    
    height: 100px;
    /* background-color: rgb(15, 15, 15); */
    background: linear-gradient(rgb(20,20,20), rgb(8,8,8));
    box-shadow: rgba(0, 0, 0, 0.20) 0 0 12px;
}

footer h1 {
    text-shadow: black 0px 0px 15px;
}