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

hr {
    border: none;
}

li {
    list-style: none;
}

a {
    color: black;
    text-decoration: none;
}

button {
    border: none;
    background: none;
}

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




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

li, p, a {
    /* color: hsl(0, 0%, 5%); */
    color: white;
    font-family: system-ui;
    font-weight: 500;
}

button {
    cursor: pointer;
}

img, video {
    max-width: 100%;
    /* background: black; */
    background: linear-gradient(45deg, hsl(0, 0%, 2%), hsl(0, 0%, 7%));
}




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

body {
    min-height: 100vh;
}

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




/* ======================================== */
/* ================ Header ================ */
/* ======================================== */
header div {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: darkgreen; */
    background: linear-gradient(hsl(120, 100%, 25%), hsl(120, 100%, 15%));
    height: 70px;
}

header h1 {
    /* color: white; */
    margin-top: -5px;
    text-shadow: hsl(0, 0%, 0%, 25%) 0 0 15px;
}

header hr {
    /* height: 1px; */
    /* background: white; */
}



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

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

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

nav a:hover {
    color: hsl(51, 90%, 50%);
}



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

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

    color: white;
    /* background: rgb(192, 156, 64); */
    background: hsl(120, 100%, 15%);
    box-shadow: rgba(0,0,0, 0.25) 0 0 12px;
}

.carrousel:hover {
    background: darkgreen;
}

.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: 50px;
}




/* ================ Sections ================ */
section {
    /* border-radius: 5px; */
    /* background: hsl(0, 0%, 95%); */
    /* background: linear-gradient(45deg, hsl(0, 0%, 95%), hsl(0, 0%, 99%)); */
    background: hsl(0, 0%, 50%, 10%);
    /* box-shadow: hsl(0, 0%, 0%, 3%) 0 0 13px; */
}

section h2, section h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    /* text-align: center; */
    padding-top:    10px;
    padding-left:   15px;
    padding-bottom: 12px;
    /* min-height: 50px; */
    text-shadow: hsl(0, 0%, 0%, 25%) 0 0 13px;
}




/* ================ Containers ================ */
section div, section ul {
    /* padding-top:    5px; */
    padding-left:   12px;
    padding-right:  12px;
    padding-bottom: 20px;
}



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

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

#posts ul {
    margin-top: 10px;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    column-gap: 10px;
    row-gap:    20px;
}

#posts a {
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    display: block;
    background: black;
}

#posts a:hover {
    box-shadow: hsl(0, 0%, 35%, 35%) 0 0 10px;
}

#posts a:hover span {
    opacity: 0.00;
}

#posts video {
    display: block;
}

#posts span {
    position: absolute;
    right: 0;
    opacity:       0.75;
    margin-top:   -24px;
    padding-top:    1px;
    padding-left:   3px;
    padding-right:  5px;
    padding-bottom: 2px;
    background: black;
    transition: 75ms;
}

#posts p {
    margin-top:     -4px;
    padding-top:     5px;
    padding-left:    9px;
    padding-right:   3px;
    padding-bottom: 10px;
    background: linear-gradient(45deg, black, hsl(0, 0%, 10%));
}




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

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

    border-radius: 15px;
    width:  30px;
    height: 30px;
    background: hsl(120, 100%, 15%);
    box-shadow: rgba(0,0,0, 0.25) 0 0 12px;
}

#gohead:hover {
    background: darkgreen;
}

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


/* ================ Footer ================ */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: darkgreen; */
    background: linear-gradient(hsl(120, 100%, 25%), hsl(120, 100%, 12%));
    height: 90px;
    box-shadow: hsl(0, 0%, 0%, 80%) 0 0 15px;
}

footer h1 {
    /* color: white; */
    text-shadow: hsl(0, 0%, 0%, 25%) 0 0 15px;
}