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

li {
    list-style: none;
}

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

hr {
    border: none;
}

button {
    border: none;
    background: none;
}




/* ================ Global ================ */
h1, h2, h3 {
    font-family: system-ui;
}

li, a, p {
    font-family: system-ui;
    font-weight: 500;
}

img {
    /* background: rgb(200, 200, 200); */
    background: linear-gradient(45deg, rgb(210,210,210), white);
}

button {
    cursor: pointer;
}



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

body {
    min-height: 100vh;
}




/* ======================================== */
/* ================ Header ================ */
/* ======================================== */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75px;
    /* background: lightskyblue; */
    background: linear-gradient(lightskyblue, rgb(108, 168, 206));
}

header h1 {
    margin-top: -10px;
    color: white;
    text-shadow: rgba(0,0,0, 0.20)  0 0 15px;
}



/* ================ Navbar ================ */
nav {
    position: sticky;
    top: 0;
    z-index: 2;
    background: black;
    box-shadow: rgba(0,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: 15px;
}

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

nav a:hover {
    color: lightskyblue;
}



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

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

    color: white;
    background-color: rgb(121, 178, 197);
    box-shadow: rgba(0,0,0, 0.12) 0 0 12px;
}

.carrousel:hover {
    background-color: rgb(60, 167, 202);
}

.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 {
    border-radius: 5px;
    background: linear-gradient(45deg, rgba(135, 206, 250, 0.25), rgba(135, 206, 250, 0.08));
    box-shadow: rgba(0, 0, 0, 0.05) 0 0 15px;
}

section h2, section h3 {
    text-align: center;
    padding-top:    8px;
    padding-bottom: 5px;
    text-shadow: rgb(0, 0, 0, 0.10) 0 0 15px;
}



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



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

/* ================ Pictures ================ */
#description a:hover {
    color: darkgoldenrod;
}

#description li {
    white-space: nowrap;
}



/* ================ Pictures ================ */
#pictures {
    margin-top: 35px;
}

#pictures ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 3px;
}

#pictures ul a:hover img {
    filter: brightness(1.08);
    box-shadow: rgba(0,0,0, 0.12) 0 0 13px;
}

#pictures ul img {
    border-radius: 3px;
    max-width: 100%;
    transition: 75ms;
}

#pictures hr {
    height:          4px;
    margin-top:      8px;
    margin-left:    12px;
    margin-right:   12px;
    margin-bottom:  15px;
    background: rgb(25,25,25);
}

#pictures div {
    /* column-count: 2; */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    padding-left:   8px;
    padding-right:  8px;
    column-gap:    10px;
    row-gap:       10px;
}


#pictures div img {
    object-fit: cover;
    border-radius: 3px;
    max-width:  100%;
    height:     100%;
}



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

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

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

#related a:hover {
    box-shadow: rgba(0,0,0, 0.25) 0 0 13px;
}

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

#related p {
    white-space: nowrap;
    position: absolute;
    z-index: 1;
    border-top-left-radius: 5px;
    opacity: 0.80;
    color: white;
    padding-left:   5px;
    padding-right:  8px;
    padding-bottom: 2px;
    background: black;
}

#related img {
    object-fit: cover;
    max-width:  100%;
    height:     100%;
    aspect-ratio: 2/3;
    transition: 75ms;
}



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

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

    border-radius: 15px;
    width:  30px;
    height: 30px;
    background-color: rgb(121, 178, 197);
    box-shadow: rgba(0,0,0, 0.25) 0 0 12px;
}

#gohead:hover {
    background-color: rgb(60, 167, 202);
}

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



/* ================ Footer ================ */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    
    min-height: 90px;
    /* background: lightskyblue; */
    /* background: linear-gradient(lightskyblue, rgb(85, 148, 187)); */
    background: linear-gradient(lightskyblue, rgb(108, 168, 206));
    box-shadow: rgba(0,0,0, 0.25) 0 0 15px;
}

footer h1 {
    color: white;
    text-shadow: rgba(0,0,0, 0.33)  0 0 15px;
}