/* ================ 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; 
}

button {
    border: none;
    background: none;
}

img, video {
    -webkit-user-drag: 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%));
}





/* ============================================ */
/* ================ 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 div {
    background: rgb(16, 16, 16);
}

header div h1 {
    overflow: hidden;
    
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    
    height: 75px;
    /* text-shadow: rgba(0, 0, 0, 0.50) 0px 0px 15px; */
}

header hr {
    background-color: darkorange;
    height: 2px;
    width: 100%;
}



/* ================ Navbar ================ */
nav {
    position: sticky;
    top: -1px;
    z-index: 3;

    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: 3;
    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; }





/* =========================================== */
/* ================ Fullframe ================ */
/* =========================================== */
#fullframe {
    overflow: hidden;
    position: relative;
    padding-bottom: 15px;
}


@media (min-width: 640px) { #fullframe #wallpaper { aspect-ratio: 27/9; } }
@media (max-width: 640px) { #fullframe #wallpaper { aspect-ratio: 16/9; } }
#fullframe #wallpaper {
    display: block;
    object-fit: cover;
    /* object-position: 50% 33%;  */
    /* object-position: 50% 25%;  */
    width: 100%;
}

#fullframe::after {
    content: '';
    position: absolute;
    inset: 0 0 70px 0;
    background: linear-gradient(to right, hsl(0 0% 0% / 33%), transparent, transparent, transparent, transparent, transparent, transparent, hsl(0 0% 0% / 33%));
    pointer-events: none;
}




#fullframe div {
    position: relative;
    margin: auto;
    max-width: 1080px;
}


#fullframe #avatar {
    position: absolute;
    z-index:         2;
    margin-left:  12px;
    bottom:      -40px;
    
    object-fit:     cover;
    border-radius:  100px;

    box-shadow: hsl(0, 0%, 0%, 33%) 0 0 12px;
}

@media (min-width: 640px) { #fullframe #avatar { width:  200px; } }
@media (min-width: 640px) { #fullframe #avatar { height: 200px; } }
@media (max-width: 640px) { #fullframe #avatar { width:  130px; } }
@media (max-width: 640px) { #fullframe #avatar { height: 130px; } }
@media (min-width: 640px) { #fullframe #avatar { border: solid darkgoldenrod 5px; } }
@media (max-width: 640px) { #fullframe #avatar { border: solid darkgoldenrod 3px; } }



#fullframe h1 {
    white-space:  nowrap;
    position:   absolute;
    z-index: 1;
    bottom:  0;
    
    padding-left:   30px;
    padding-right:  20px;
    padding-bottom:  3px;
    background: linear-gradient(to right, hsl(0, 0%, 0%, 85%), hsl(0, 0%, 0%, 5%));
}

@media (min-width: 640px) { #fullframe h1 { margin-left: 190px; } }
@media (max-width: 640px) { #fullframe h1 { margin-left: 120px; } }



#fullframe span {
    position: relative;
    display: block;
    background: linear-gradient(hsl(0, 0%, 9%), hsl(0, 0%, 5%));
    box-shadow: hsl(0, 0%, 0%, 50%) 0 0 10px;
}

@media (min-width: 640px) { #fullframe span { height: 55px; } }
@media (max-width: 640px) { #fullframe span { height: 45px; } }





/* ====================================== */
/* ================ Main ================ */
/* ====================================== */
main {
    /* position: relative; */
    /* margin-top: -85px; */

    margin-left:    auto;
    margin-right:   auto;
    max-width:    1080px;
    min-height:    100vh;
    
    /* padding-top:    35px; */
    padding-left:   10px;
    padding-right:  10px;
    padding-bottom: 50px;
}



/* ================ 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: hsla(0, 0%, 0%, 35%) 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:    16px;
    padding-left:   10px;
    padding-right:  10px;
    padding-bottom: 18px;
}

section div {
    text-align: center;
}

section hr {
    height:  2px;
    margin:  15px;
    background-color: hsl(0, 0%, 75%);
}





/* ========================================= */
/* ================ 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 ================ */
/* ========================================= */

/* ================ Details ================ */
#details {
    margin-top: 15px;
}


#details ul {
    padding-left: 18px;
}


#details li {
    white-space: nowrap;
    margin-bottom: 2px;
}

#details li b {
    color: darkorange; 
    font-weight: 500;
}



#details li a {
    color: darkorange; 
}

/* #details li a:hover {
    color: orange; 
} */



#details button {
    /* color: limegreen; */
    color: white;
    background-color: green;
    font-weight:    600;
    font-size:     15px;
    border-radius:  3px;
    padding:        2px;
    padding-left:   3px;
    padding-right:  5px;
}

#details button:hover {
    background-color: rgb(15, 150, 15);
}





/* ================ Contact ================ */
.contact {
    display: block;
    margin: auto;

    width:         375px;
    height:         55px;
    border-radius:  28px;
    margin-top:     45px;
    margin-bottom:  45px;

    background: linear-gradient(rgb(4, 146, 4), rgb(0, 119, 0));
    box-shadow: rgba(0,0,0,0.25) 0 0 15px;
}

.contact h2 {
    text-shadow: rgba(0,0,0, 0.66) 0 0 15px;
}


.contact:hover {
    background: linear-gradient(rgb(18, 167, 18), rgb(7, 139, 7));
}





/* ================ Medias ================ */
.medias {
    margin-top: 35px;
}


.images ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 8px;
    row-gap:    6px;
}

.images ul a:hover img {
    filter: brightness(1.09);
    box-shadow: hsl(0, 0%, 100%, 15%) 0 0 10px;
}

.images ul img {
    object-fit: cover;
    aspect-ratio: 1/1;   
    width: 100%;
    border-radius: 5px;
    transition: 120ms;
}



.images div img, 
.medias div video {
    border-radius:  5px;
    margin-left:    4px;
    margin-right:   4px;
    margin-bottom: 12px;
    box-shadow: hsla(0, 0%, 0%, 75%) 0 0 12px;
}





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


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


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

.profiles li:hover {
    box-shadow: hsla(0, 0%, 13%, 66%) 0 0 12px;
}
.profiles a:hover img { filter: brightness(1.12); }
.profiles a:hover p   { color: darkorange;      }



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

.profiles p {
    overflow: hidden;
    white-space: nowrap;

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