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

button {
    border: none;
    background: none;
}




/* ================ Global ================ */
h1, h2, h3 {
    color: hsl(0, 0%, 10%);
    font-family: system-ui;
}

li, a, p {
    /* color: white; */
    font-family: system-ui;
    font-weight: 500;
}

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

img, video {
    max-width: 100%;
}



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

body {
    min-height: 100vh;
    /* background-attachment: fixed; */
    /* background: linear-gradient(60deg, rgb(10, 0, 0), rgb(20, 0, 0)); */
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(45deg, hsl(0, 0%, 94%), hsl(0, 0%, 99%));
}



/* ======================================== */
/* ================ Header ================ */
/* ======================================== */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70px;
    /* background-color: orangered; */
    /* background: linear-gradient(hsl(16, 100%, 50%), hsl(16, 100%, 40%)); */
    
    /* background-color: blueviolet; */
    /* background-color: darkmagenta; */
    /* background-color: darkorchid; */
    /* background-color: mediumpurple; */
    /* background-color: orchid; */
    /* background-color: royalblue; */
    /* background-color: indigo; */
    /* background-color: purple; */
    background: linear-gradient(hsl(300, 100%, 25%), hsl(300, 100%, 20%));
}

header h1 {
    color: white;
    margin-top: -5px;
    /* text-align: center; */
    text-shadow: hsl(0, 0%, 0%, 35%) 0 0 12px;
}


/* ================ Navbar ================ */
nav {
    position: sticky;
    top: 0;
    z-index: 2;
    
    background-color: black;
    box-shadow: hsl(0, 0%, 0%, 18%) 0 6px 6px;
}

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

nav a {
    white-space: nowrap;
    color: white;
    margin-right: 13px;
}

nav a:hover {
    color: darkorchid;
}



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

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

    color: white;
    background: rgb(126, 58, 126); 
}

.carrousel:hover {
    background: rgb(121, 8, 121); 
}

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




/* ====================================== */
/* ================ Main ================ */
/* ====================================== */
main {
    margin: auto;
    max-width:    1080px;
    min-height:    100vh;

    padding-top:    30px;
    padding-left:   10px;
    padding-right:  10px;
    padding-bottom: 50px;
}



/* ================ Sections ================ */
section {
    overflow: hidden;
    border-radius:   5px;
    background: linear-gradient(45deg, hsl(300, 50%, 25%, 15%), hsl(300, 0%, 25%, 2%));
    box-shadow: hsl(0, 0%, 33%, 12%) 0 0 10px
}

section h2, section h3 {
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    text-align: center;

    /* color: white; */
    /* color: black; */
    /* color: purple; */
    /* height: 34px; */
    /* background-color: purple; */
    /* background: linear-gradient(to right, hsl(300, 75%, 25%, 75%), hsl(300, 15%, 25%, 10%)); */
    text-shadow: hsl(0, 0%, 0%, 9%) 0 0 12px;
}



/* ================ Containers ================ */
section div, section ul {
    /* overflow: hidden; */

    padding-top:    10px;
    padding-left:   12px;
    padding-right:  12px;
    padding-bottom: 20px;
}




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

/* ================ overview ================ */
#overview h2 a {
    font-weight: inherit;
}



#overview li a {
    color: indigo;
}

#overview li a:hover {
    color: darkmagenta;
    /* color: purple; */
}



#overview hr {
    height: 2px;
    margin-top:      0px;
    margin-left:    12px;
    margin-right:   12px;
    margin-bottom:   8px;
    background: hsl(0, 0%, 50%);
}



#overview div {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    column-gap: 3px;
    row-gap:    3px;
    margin-top: 5px;
}

#overview div a:hover {
    box-shadow: white 0 0 10px;
    transition: 75ms;
}

#overview div a:hover img {
    filter: brightness(1.08);
}

#overview div img {
    object-fit: cover;
    border-radius: 3px;
    aspect-ratio: 2/3;
    transition: 75ms;
}




/* ================ shorts ================ */
#shorts {
    margin-top: 30px;
}

#shorts div {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    column-gap: 10px;
    row-gap:    12px;
}

#shorts video {
    border-radius: 5px;
}




/* ================ posts ================ */
#posts {
    margin-top: 50px;
}


#posts ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    column-gap: 10px;
    row-gap:    12px;
}


#posts a {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    transition: 75ms;
}

#posts a:hover {
    box-shadow: white 0 0 12px;
}


#posts p {
    position: absolute;
    z-index: 1;
    color: white;
    opacity: 80%;
    background: black;
    padding-top:    1px;
    padding-left:   5px;
    padding-right:  8px;
    padding-bottom: 3px;
}

#posts video {
    object-fit: cover;
    height: 100%;
}





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

/* ================ Navigation ================ */
#gohead {
    position: fixed;
    z-index: 1;
    bottom: 25px;
    right:  25px;

    border-radius: 15px;
    width:  30px;
    height: 30px;
    background: rgb(126, 58, 126); 
}

#gohead:hover {
    background: rgb(121, 8, 121); 
}

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



/* ================ Footer ================ */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    /* background: linear-gradient(hsl(16, 100%, 50%), hsl(16, 100%, 35%)); */
    background: linear-gradient(hsl(300, 100%, 25%), hsl(300, 100%, 18%));
    box-shadow: hsl(0, 0%, 0%, 66%) 0 0 15px;
}

footer h1 {
    color: white;
    text-shadow: hsl(0, 0%, 0%, 35%) 0 0 12px;
}
