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

iframe {
    /* border: none; */
}




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

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

h2 a {
    /* color:       inherit; */
    font-weight: inherit;
}

button {
    cursor: pointer;
}

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




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

body {
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    /* background-color: darkviolet; */
    /* background-color: darkorchid; */
    /* background: linear-gradient(45deg, hsl(282, 100%, 41%, 12%), hsl(282, 100%, 41%, 0%)); */
    background: linear-gradient(45deg, hsl(280, 61%, 50%, 12%), hsl(280, 61%, 50%, 0%));
}




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

    /* background-color: blueviolet; */
    /* background-color: darkslateblue; */
    /* background-color: purple; */
    /* background-color: orchid; */
    /* background-color: mediumvioletred; */
    /* background-color: mediumorchid; */
    /* background-color: mediumpurple; */
    /* background-color: mediumslateblue; */
    /* background-color: slateblue; */
    /* background-color: royalblue; */
    
    /* background-color: darkmagenta; */
    /* background-color: indigo; */
    /* background-color: slateblue; */
    /* background-color: rebeccapurple; */
    
    /* background-color: darkviolet; */
    /* background-color: darkorchid; */

    background: linear-gradient(hsl(282, 100%, 41%), hsl(282, 100%, 29%));
    /* background: linear-gradient(hsl(280, 61%, 50%), hsl(280, 61%, 35%)); */
    height: 70px;
}

header h1 {
    /* overflow: hidden; */
    /* white-space: nowrap; */

    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center; */
    color: white;
    margin-top: -5px;
    text-shadow: hsl(0, 0%, 0%, 25%) 0 0 12px;
}

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



/* ================ Navbar ================ */
nav {
    position: sticky;
    top: 0;
    z-index: 2;
    background: white;
    /* background: hsl(0, 0%, 92%); */
    background: linear-gradient(to right, hsl(0, 0%, 94%), hsl(0, 0%, 99%));
    box-shadow: hsl(0, 0%, 0%, 7%) 0 5px 5px;
}

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

nav a {
    white-space: nowrap;
    /* color: white; */
    margin-right: 13px;
    /* font-weight: 500; */
}

nav a:hover {
    color: goldenrod;
}



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

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

    color: white;
    background-color: hsl(280, 40%, 50%);
    box-shadow: rgba(0,0,0, 15%) 0 0 8px;
}

.carrousel:hover {
    background-color: hsl(280, 50%, 40%);
}

.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: 6px;
    
    /* background: white; */
    /* background: hsl(0, 0%, 96%); */
    background: linear-gradient(45deg, hsl(0, 0%, 100%, 90%), hsl(0, 0%, 100%, 50%));
    box-shadow: rgb(0,0,0, 2%) 0 0 12px;
}


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




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



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

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


.posts ul {
    display: grid;
    border-radius: 10px;
    row-gap: 15px;
}

.posts li {
    display: flex;
    column-gap: 3px;
}

/* .posts li:first-child {
    overflow: hidden;
    border-top-left-radius:  8px;
    border-top-right-radius: 8px;
} */



.posts li a {
    position: relative;
    display: grid;
    column-gap: 3px;
    transition: 85ms;
}

.posts li a.all {
    grid-template-columns: repeat(3, 1fr);
}

.posts li a:hover {
    box-shadow: hsl(0, 0%, 0%, 12%) 0 0 12px;
}

.posts li a:hover img {
    filter: brightness(1.10);
}



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

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





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

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

    border-radius: 15px;
    width:  30px;
    height: 30px;

    background-color: hsl(280, 40%, 45%);
    box-shadow: rgba(0,0,0, 15%) 0 0 8px;
}

#gohead:hover {
    background-color: hsl(280, 50%, 40%);
}

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



/* ================ Footer ================ */
footer div {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(hsl(282, 100%, 41%), hsl(282, 100%, 29%));
    height: 90px;
    box-shadow: hsl(0, 0%, 0%, 50%) 0 0 15px;
}

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


footer span {
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    /* min-height: 25px; */
    /* background-color: black; */
}

footer span a {
    /* color: white; */
    /* padding-bottom: 2px; */
}

footer span a:hover {
    /* color: dodgerblue; */
}