/* =========================================
   ZÁKLAD STRÁNKY
========================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;

    min-height: 100%;

    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    min-height: 100vh;

    font-family: "Quicksand", sans-serif;

    color: #651b2a;

    background-image: url("/background.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    overflow-x: hidden;
}


/* =========================================
   HLAVNÍ STRÁNKA
========================================= */

.site {
    width: min(900px, 94vw);

    margin: 0 auto;

    padding-top: 45px;
}


/* homepage na počítači nebude scrollovat */

.home-page {
    height: 100vh;
    overflow: hidden;
}

.home-page .site {
    height: 100vh;
}


/* =========================================
   SLUCHI LOGO
========================================= */

.header {
    text-align: center;

    margin-bottom: 35px;
}

.logo {
    margin: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(70px, 8vw, 100px);

    font-weight: 600;

    line-height: 0.9;

    letter-spacing: -2px;

    color: #6a1729;

    text-shadow:
        0 2px 8px rgba(255, 255, 255, 0.8),
        0 3px 12px rgba(70, 20, 30, 0.12);
}


/* =========================================
   INSTAGRAM + SPOTIFY
========================================= */

.socials {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 16px;

    margin-top: 18px;
}

.socials a {
    color: #6a1729;

    font-size: 24px;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.socials a:hover {
    color: #b45d70;

    transform: translateY(-2px) scale(1.08);
}


/* =========================================
   OBA MENU NA HOMEPAGE
========================================= */

.menus {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: start;

    justify-content: center;
}

.menu-section h2 {
    margin: 0 0 10px 8px;

    font-size: 29px;

    font-weight: 600;
}


/* MAIN MENU nadpis */

.main-title {
    color: #6a1729;
}


/* THINGS I LIKE nadpis */

.likes-title {
    color: white;

    text-shadow:
        0 1px 3px rgba(40, 67, 100, 0.85),
        0 2px 8px rgba(40, 67, 100, 0.35);
}


/* =========================================
   MAIN MENU
========================================= */

.main-grid {
    display: grid;

    grid-template-columns: 165px 110px;

    grid-template-rows: 95px 145px;

    gap: 7px;
}

.tile {
    display: flex;

    justify-content: center;
    align-items: center;

    text-align: center;

    text-decoration: none;

    color: white;

    border-radius: 11px;

    border:
        1px solid rgba(255, 255, 255, 0.45);

    background:
        linear-gradient(
            135deg,
            rgba(105, 24, 43, 0.88),
            rgba(157, 68, 87, 0.78)
        );

    box-shadow:
        0 4px 12px rgba(70, 20, 35, 0.17);

    transition:
        transform 0.2s ease,
        filter 0.2s ease,
        box-shadow 0.2s ease;
}

.tile span {
    font-size: 18px;

    text-shadow:
        0 1px 3px rgba(40, 0, 10, 0.45);
}


/* ABOUT */

.about {
    grid-column: 1;
    grid-row: 1;
}


/* NON DIGITAL ART */

.traditional {
    grid-column: 1;
    grid-row: 2;
}


/* DIGITAL ART */

.digital {
    grid-column: 2;
    grid-row: 2;
}


/* odstranění starého prázdného boxu */

.main-grid::before {
    display: none;
}


/* =========================================
   THINGS I LIKE
========================================= */

.likes-grid {
    display: grid;

    grid-template-columns: 175px 195px;

    grid-template-rows: 110px 95px;

    gap: 7px;
}

.like-tile {
    display: flex;

    justify-content: center;
    align-items: center;

    text-align: center;

    text-decoration: none;

    color: #405d84;

    font-size: 19px;

    font-weight: 500;

    border-radius: 11px;

    border:
        1px solid rgba(77, 110, 150, 0.28);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.91),
            rgba(235, 244, 253, 0.78)
        );

    box-shadow:
        0 4px 12px rgba(60, 85, 115, 0.13);

    backdrop-filter: blur(4px);

    transition:
        transform 0.2s ease,
        filter 0.2s ease,
        box-shadow 0.2s ease;
}


/* VIDEOGAMES */

.videogames {
    grid-column: 1;
    grid-row: 1;
}


/* MUSIC */

.music {
    grid-column: 2;
    grid-row: 1 / 3;
}


/* MANGA */

.manga {
    grid-column: 1;
    grid-row: 2;
}


/* hover efekt */

.tile:hover,
.like-tile:hover {
    transform: translateY(-3px);

    filter: brightness(1.05);

    box-shadow:
        0 7px 17px rgba(50, 40, 60, 0.18);
}


/* =========================================
   PODSTRÁNKY
========================================= */

.page-header {
    width: min(1000px, 92vw);

    margin: 0 auto;

    padding-top: 30px;

    text-align: center;

    position: relative;

    z-index: 10;
}


/* klikací SLUCHI */

.page-logo {
    display: inline-block;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(55px, 7vw, 78px);

    font-weight: 600;

    line-height: 1;

    color: #6a1729;

    text-decoration: none;

    text-shadow:
        0 2px 8px rgba(255, 255, 255, 0.8);
}


/* =========================================
   HORNÍ NAVIGACE PODSTRÁNEK
========================================= */

.subnav {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 34px;

    margin-top: 20px;
    margin-bottom: 20px;
}

.subnav a {
    color: #681a2b;

    font-size: 19px;

    font-weight: 500;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.subnav a:hover {
    color: #a84e63;

    transform: translateY(-1px);
}


/* právě otevřená stránka */

.subnav a[aria-current="page"] {
    color: #c7788b;

    font-weight: 600;
}


/* čára pod menu */

.nav-line {
    width: min(750px, 85vw);

    height: 1px;

    margin: 0 auto 35px;

    background:
        rgba(105, 24, 43, 0.30);
}


/* =========================================
   OBSAH PODSTRÁNEK
========================================= */

.page-content {
    width: min(950px, 90vw);

    margin: 0 auto;

    padding: 10px 0 80px;

    position: relative;

    z-index: 5;
}

.page-title {
    margin: 0 0 30px;

    text-align: center;

    font-family: "Cormorant Garamond", serif;

    font-size: 44px;

    font-weight: 600;

    color: #681a2b;
}


/* =========================================
   ABOUT
========================================= */

.about-role {
    margin-top: -22px;

    margin-bottom: 30px;

    text-align: center;

    color: #bd7183;

    font-size: 19px;

    font-weight: 500;

    letter-spacing: 1px;
}


/* světlý box */

.content-card {
    padding: 30px;

    border-radius: 15px;

    background:
        rgba(255, 255, 255, 0.74);

    border:
        1px solid rgba(105, 24, 43, 0.15);

    box-shadow:
        0 8px 28px rgba(60, 60, 80, 0.1);

    backdrop-filter: blur(7px);

    color: #51333a;

    line-height: 1.7;
}


/* =========================================
   DIGITAL / NON DIGITAL ART GALERIE
========================================= */

.art-gallery {
    columns: 3;

    column-gap: 15px;
}

.art-gallery img {
    display: block;

    width: 100%;

    margin-bottom: 15px;

    border-radius: 10px;

    box-shadow:
        0 5px 15px rgba(50, 50, 70, 0.16);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.art-gallery img:hover {
    transform: scale(1.015);

    box-shadow:
        0 8px 20px rgba(50, 50, 70, 0.22);
}


/* =========================================
   MUSIC STRÁNKA
========================================= */

.music-page {
    width: min(1050px, 92vw);

    margin: 0 auto;

    position: relative;

    z-index: 5;
}


/*
   Každé album má skoro celou obrazovku.
   Další album je níže -> návštěvník scrolluje.
*/

.album-entry {
    min-height: calc(100vh - 170px);

    display: grid;

    grid-template-columns:
        minmax(260px, 420px)
        1fr;

    align-items: center;

    gap: 55px;

    padding: 45px 0;
}


/* OBAL ALBA */

.album-cover {
    display: block;

    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    border-radius: 12px;

    box-shadow:
        0 12px 35px rgba(65, 27, 40, 0.20);
}


/* TEXT VEDLE ALBA */

.album-info {
    padding: 30px;

    border-radius: 15px;

    background:
        rgba(255, 255, 255, 0.76);

    border:
        1px solid rgba(105, 24, 43, 0.15);

    box-shadow:
        0 8px 25px rgba(50, 50, 70, 0.09);

    backdrop-filter: blur(8px);
}

.album-info h2 {
    margin: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: 42px;

    color: #681a2b;
}

.album-artist {
    margin-top: 4px;

    margin-bottom: 24px;

    color: #ad5267;

    font-size: 18px;
}

.album-text {
    margin: 0;

    color: #513139;

    font-size: 17px;

    line-height: 1.8;
}


/* oddělení dalšího alba */

.album-entry + .album-entry {
    border-top:
        1px solid rgba(105, 24, 43, 0.22);
}


/* =========================================
   VIDEOGAMES / MANGA
========================================= */

.simple-list {
    display: grid;

    gap: 25px;
}

.simple-item {
    padding: 25px;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.74);

    border:
        1px solid rgba(105, 24, 43, 0.15);

    backdrop-filter: blur(7px);
}

.simple-item h2 {
    margin-top: 0;

    color: #681a2b;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 32px;
}


/* =========================================
   PADAJÍCÍ SNÍH
========================================= */

/*
   Má dvě vrstvy.

   Některé vločky jsou bílé,
   některé modrošedé, aby byly vidět
   i přes bílé části květin.
*/

html::before,
html::after {
    content: "";

    position: fixed;

    left: 0;

    top: -100%;

    width: 100%;

    height: 200%;

    pointer-events: none;

    z-index: 9999;

    background-repeat: repeat;

    animation-name: snowfall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}


/* větší, pomalejší sníh */

html::before {

    background-image:

        radial-gradient(
            circle,
            rgba(76, 105, 139, 0.55) 0 2px,
            transparent 2.8px
        ),

        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.95) 0 2px,
            transparent 2.8px
        ),

        radial-gradient(
            circle,
            rgba(83, 112, 145, 0.42) 0 1.6px,
            transparent 2.2px
        );

    background-size:
        120px 120px,
        170px 170px,
        210px 210px;

    background-position:
        20px 20px,
        80px 60px,
        140px 100px;

    animation-duration: 14s;
}


/* malé vzdálenější vločky */

html::after {

    opacity: 0.85;

    background-image:

        radial-gradient(
            circle,
            rgba(74, 104, 140, 0.40) 0 1.3px,
            transparent 1.9px
        ),

        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.90) 0 1.2px,
            transparent 1.8px
        ),

        radial-gradient(
            circle,
            rgba(90, 119, 151, 0.35) 0 1px,
            transparent 1.6px
        );

    background-size:
        80px 80px,
        105px 105px,
        145px 145px;

    background-position:
        40px 10px,
        10px 50px,
        80px 70px;

    animation-duration: 20s;
}


/* sníh padá dolů a lehce doprava */

@keyframes snowfall {

    from {
        transform:
            translate3d(
                -30px,
                -50%,
                0
            );
    }

    to {
        transform:
            translate3d(
                60px,
                0,
                0
            );
    }
}


/* =========================================
   MOBIL / MENŠÍ OBRAZOVKY
========================================= */

@media (max-width: 800px) {

    body {
        background-attachment: scroll;
    }


    /*
       Na telefonu dovolíme homepage scroll,
       jinak by se menu mohlo uříznout.
    */

    .home-page {
        height: auto;

        min-height: 100vh;

        overflow-y: auto;
    }

    .home-page .site {
        height: auto;

        min-height: 100vh;

        padding-bottom: 60px;
    }


    .menus {
        grid-template-columns: 1fr;

        justify-items: center;

        gap: 35px;
    }

    .menu-section {
        width: fit-content;
    }


    /* MUSIC */

    .album-entry {
        min-height: auto;

        grid-template-columns: 1fr;

        gap: 25px;

        padding: 45px 0 70px;
    }

    .album-cover {
        max-width: 450px;

        margin: 0 auto;
    }


    /* ART */

    .art-gallery {
        columns: 2;
    }
}


/* =========================================
   TELEFONY
========================================= */

@media (max-width: 480px) {

    .site {
        padding-top: 30px;
    }

    .logo {
        font-size: 68px;
    }


    /* HOMEPAGE */

    .main-grid {
        grid-template-columns:
            145px
            100px;
    }

    .likes-grid {
        grid-template-columns:
            145px
            160px;
    }


    /* NAVIGACE */

    .subnav {
        gap: 18px;
    }

    .subnav a {
        font-size: 16px;
    }


    /* ART */

    .art-gallery {
        columns: 1;
    }


    /* MUSIC */

    .album-info {
        padding: 23px;
    }

    .album-info h2 {
        font-size: 34px;
    }

    .album-text {
        font-size: 16px;
    }

}

/* =========================================
   PRO LIDI S VYPNUTÝMI ANIMACEMI
========================================= */

@media (prefers-reduced-motion: reduce) {
    html::before,
    html::after {
        animation: none;
    }
}


/* =========================================
   HOMEPAGE - ABOUT BOX VÍCE VLEVO
========================================= */

.home-page .about {
    transform: translateX(-40px);
}


/* =========================================
   ABOUT - TEXTY POD SEBOU
========================================= */

.about-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    gap: 8px;
}

.about-card .about-name {
    margin: 0;

    color: #681a2b;

    font-family: "Cormorant Garamond", serif;
    font-size: 32px;
    font-weight: 600;

    text-align: center;
}

.about-card .about-role {
    margin: 0;

    color: #c7788b;

    font-size: 19px;
    font-weight: 500;
    letter-spacing: 1px;

    text-align: center;
}

.about-card .about-text {
    margin: 12px 0 0;

    max-width: 650px;

    color: #51333a;

    font-size: 16px;
    line-height: 1.7;

    text-align: center;
}
/* =========================================
   MANGA PAGE
========================================= */

.manga-page {
    width: min(900px, 90vw);
    margin: 0 auto;
    padding-bottom: 80px;

    position: relative;
    z-index: 5;
}


/* =========================================
   MANGA NADPIS + OBRAZEK
========================================= */

.manga-banner {
    position: relative;

    min-height: 180px;

    margin-bottom: 30px;

    padding: 30px 35px;

    display: flex;
    align-items: center;

    border-radius: 15px;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.78);

    border:
        1px solid rgba(105, 24, 43, 0.16);

    box-shadow:
        0 8px 28px rgba(60, 60, 80, 0.10);

    backdrop-filter: blur(7px);
}


/* obrázek */

.manga-banner-image {
    position: absolute;

    left: 15px;
    bottom: -15px;

    width: 190px;
    height: 190px;

    object-fit: cover;
    object-position: center;

    opacity: 0.68;

    border-radius: 12px;

    transform: rotate(-4deg);
}


/* velký manga text */

.manga-banner-title {
    position: relative;

    z-index: 2;

    margin: 0 0 0 140px;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(65px, 10vw, 110px);

    line-height: 0.8;

    color: #681a2b;

    text-shadow:
        0 2px 0 rgba(255,255,255,0.9),
        0 4px 10px rgba(80,20,35,0.15);
}


/* malý text napravo */

.manga-intro {
    position: relative;

    z-index: 2;

    max-width: 260px;

    margin-left: auto;

    color: #63444b;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================
   MANGA SEZNAM
========================================= */

.manga-list {
    display: flex;
    flex-direction: column;

    gap: 8px;
}


/* jeden řádek */

.manga-entry {
    overflow: hidden;

    border-radius: 9px;

    background:
        rgba(255, 255, 255, 0.78);

    border:
        1px solid rgba(105, 24, 43, 0.18);

    box-shadow:
        0 4px 12px rgba(50, 50, 70, 0.08);

    backdrop-filter: blur(6px);
}


/* klikací část */

.manga-entry summary {
    padding: 18px 22px;

    cursor: pointer;

    list-style: none;

    color: #681a2b;

    font-size: 17px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


/* odstraní default šipku */

.manga-entry summary::-webkit-details-marker {
    display: none;
}


/* vlastní šipka */

.manga-entry summary::before {
    content: "▷";

    display: inline-block;

    margin-right: 10px;

    color: #c7788b;

    transition: transform 0.2s ease;
}


/* když je manga otevřená */

.manga-entry[open] summary::before {
    transform: rotate(90deg);
}


/* hover */

.manga-entry summary:hover {
    background:
        rgba(190, 113, 132, 0.13);
}


/* text po rozkliknutí */

.manga-entry-content {
    padding:
        5px
        50px
        22px;

    color: #51333a;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .manga-banner {
        min-height: 210px;

        flex-direction: column;

        justify-content: flex-end;

        text-align: center;
    }

    .manga-banner-image {
        left: 50%;
        top: 10px;

        transform:
            translateX(-50%)
            rotate(-3deg);

        width: 150px;
        height: 150px;
    }

    .manga-banner-title {
        margin: 100px 0 0;

        font-size: 70px;
    }

    .manga-intro {
        margin:
            12px
            auto
            0;
    }

}
/* =========================================
   NOVÝ MANGA HEADER
========================================= */

.manga-hero {
    width: min(900px, 90vw);
    min-height: 220px;

    margin: 10px auto 30px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.75);

    border: 1px solid rgba(105, 24, 43, 0.16);

    box-shadow:
        0 8px 28px rgba(60, 60, 80, 0.10);

    backdrop-filter: blur(7px);
}


/* OBRÁZEK */

.manga-hero-image {
    width: 42%;
    height: 220px;

    flex-shrink: 0;

    overflow: hidden;
}

.manga-hero-image img {
    width: 100% !important;
    height: 100% !important;

    display: block;

    object-fit: cover;

    object-position: center;
}


/* TEXT */

.manga-hero-text {
    position: relative;

    margin-left: -35px;

    padding: 25px 40px;

    z-index: 2;
}


/* MANGA NADPIS */

.manga-hero-text h1 {
    margin: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: 85px;

    font-weight: 600;

    line-height: 0.9;

    color: #681a2b;

    text-shadow:
        2px 2px 0 rgba(255,255,255,0.9),
        0 4px 12px rgba(80,20,35,0.15);
}


/* MALÝ TEXT */

.manga-hero-text p {
    margin: 12px 0 0 40px;

    color: #62444b;

    font-size: 14px;

    line-height: 1.5;
}


/* TELEFON */

@media (max-width: 650px) {

    .manga-hero {
        flex-direction: column;
    }

    .manga-hero-image {
        width: 100%;
        height: 180px;
    }

    .manga-hero-text {
        margin-left: 0;

        text-align: center;
    }

    .manga-hero-text h1 {
        font-size: 65px;
    }

    .manga-hero-text p {
        margin-left: 0;
    }
}
/* =========================================
   MANGA - OTEVŘENÁ FOTKA CELÁ
========================================= */

/* po rozkliknutí se obrázek zvětší */
.manga-image-entry[open] summary {
    min-height: 420px;

    background-size:
        100% 100%,
        contain;

    background-position:
        center,
        center;

    background-repeat:
        no-repeat,
        no-repeat;

    background-color: #421923;

    color: white;

    align-items: flex-end;

    padding: 25px;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.9);
}


/* spodní část s textem */

.manga-image-entry[open] .manga-entry-content {
    background: rgba(78, 24, 38, 0.92);

    color: white;

    padding: 28px 35px;

    border-radius: 0 0 10px 10px;
}


/* nadpis uvnitř */

.manga-image-entry[open] .manga-entry-content h2 {
    color: white;

    margin-top: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: 34px;
}


/* normální text */

.manga-image-entry[open] .manga-entry-content p {
    color: white;

    line-height: 1.8;

    font-size: 16px;
}
/* =========================================
   VIDEOGAME CARD
   ========================================= */

.game-card {
    display: flex;
    align-items: center;
    gap: 25px;

    width: 100%;
    box-sizing: border-box;

    padding: 25px;

    background: rgba(255, 255, 255, 0.78);

    border-radius: 15px;

    border: 1px solid rgba(105, 24, 43, 0.16);

    box-shadow:
        0 8px 28px rgba(60, 60, 80, 0.10);

    backdrop-filter: blur(7px);

    overflow: hidden;
}


/* =========================================
   OBRÁZEK
   ========================================= */

.game-card-image {
    width: 180px;
    height: 180px;

    flex-shrink: 0;

    object-fit: cover;
    object-position: center;

    border-radius: 12px;
}


/* =========================================
   TEXT
   ========================================= */

.game-card-text {
    flex: 1;
}

.game-card-text h2 {
    margin: 0 0 20px 0;

    font-family: "Cormorant Garamond", serif;
    font-size: 32px;

    color: #681a2b;
}

.game-card-text p {
    margin: 0;

    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.25;

    color: #681a2b;
}


/* =========================================
   MOBIL
   ========================================= */

@media (max-width: 600px) {

    .game-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .game-card-image {
        width: 100%;
        height: 220px;
    }

/* =========================================
   GAME CARD
   ========================================= */

.simple-item .game-card {
    display: flex;
    align-items: center;
    gap: 25px;

    width: 100%;
    box-sizing: border-box;

    padding: 25px;

    background: rgba(255, 255, 255, 0.78);

    border-radius: 15px;

    border: 1px solid rgba(105, 24, 43, 0.16);

    box-shadow: 0 8px 28px rgba(60, 60, 80, 0.10);

    backdrop-filter: blur(7px);

    overflow: hidden;
}


/* FOTKA */

.simple-item .game-card-image {
    display: block;

    width: 180px;
    height: 180px;

    flex-shrink: 0;

    object-fit: cover;
    object-position: center;

    border-radius: 12px;
}


/* TEXT */

.simple-item .game-card-text {
    flex: 1;
}

.simple-item .game-card-text h2 {
    margin: 0 0 20px 0;

    font-family: "Cormorant Garamond", serif;
    font-size: 32px;

    color: #681a2b;
}

.simple-item .game-card-text p {
    margin: 0;

    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.25;

    color: #681a2b;
}


/* MOBIL */

@media (max-width: 600px) {

    .simple-item .game-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .simple-item .game-card-image {
        width: 100%;
        height: 220px;
    }

}
