/* ================ 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 {
    -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;
    font-weight: 500;
}

a:hover {
    color: orange;
}

img {
    /* background: black; */
    background: linear-gradient(45deg, rgb(10,10,10), rgb(30,30,30));
}


button {
    cursor: pointer;
}




/* ======================================== */
/* ================ Header ================ */
/* ======================================== */
header div {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 75px;
    background: linear-gradient(rgb(21,21,21), black);
    /* background: black; */
}

header h1 {
    margin-top: -8px;
}

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



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

    background: black;
    box-shadow: rgba(0,0,0, 0.25) 0 6px 6px;
}

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

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



/* ================ Carrousel ================ */
.carrousel {
    position: fixed;
    top: 50%;

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

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

.carrousel:hover {
    background: rgb(189, 138, 11);
}

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





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

body {
    min-height: 100vh;
    /* background: rgb(32,32,32); */
    background: linear-gradient(45deg, rgb(22,22,22), rgb(30,30,30));
}




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

    padding-top:    30px;
    padding-left:   12px;
    padding-right:  12px;
    padding-bottom: 55px;
}



/* ================ Sections ================ */
section {
    border-radius: 5px;
    /* padding: 10px; */
    /* background: rgba(0,0,0, 0.12); */
    background: linear-gradient(45deg, rgba(0,0,0, 0.24), rgba(0,0,0, 0.06));
    box-shadow: rgba(0,0,0, 0.12) 0 0 15px;
}

section h2, section h3 {
    text-align: center;
    padding-top: 5px;
    text-shadow: rgba(0,0,0, 0.66) 0 0 15px;
}



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




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

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


#posts div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap:    10px;
    column-gap:  8px;
}

#posts a {
    overflow: hidden;
    border-radius: 5px;
}


#posts a:hover {
    box-shadow: rgba(150,150,150, 0.25) 0 0 12px;
}

#posts a:hover img {
    filter: brightness(1.10);

}

#posts p {
    position: absolute;
    z-index: 1;
    opacity: 0.75;
    padding-left:   3px;
    padding-right:  6px;
    padding-bottom: 4px;
    background: black;
}

#posts img {
    object-fit: cover;
    max-width:  100%;
    height:     100%;
    transition: 100ms;
}





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

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

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

#gohead:hover {
    background: rgb(189, 138, 11);
}

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



/* ================ Footer ================ */
footer {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 90px;
    /* background: black; */
    background: linear-gradient(rgb(19, 19, 19), black);
    box-shadow: rgba(0,0,0, 0.75) 0 0 15px;
}

/* footer h1 {} */