@import url('https://fonts.googleapis.com/css2?family=Quintessential&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background: linear-gradient(
        179deg,
        rgb(255, 223, 186) 5%,     /* svítání – jemná oranžová */
        rgb(186, 235, 255) 12%,     /* dopoledne – světlá modrá */
        rgb(135, 206, 250) 17%,     /* poledne – čistá modrá */
        rgb(255, 153, 102) 25%,     /* západ – oranžovo-růžová */
        rgb(75, 0, 130) 45%,        /* večer – indigo */
        rgb(10, 10, 30) 71%,        /* noc – tmavě modrá */
        rgb(0, 0, 0) 90%           /* hluboká noc */
      );
    font-family: 'Quintessential', serif;
    font-weight: 400;
    font-style: normal;
    color: white;
    background-repeat: repeat;
    position: relative;
}
body::-webkit-scrollbar {
  display: none;
}
.rano-img{
    width: 30vh;
}
h1{
    font-size: 120px;
}
h2{
    font-size: 80px;
}
h3{
    font-size: 60px;
}
li{
    padding-bottom: 50px;
    padding-right: 30px;
}
ul{
    padding: 20px 0px 0px 50px;
    width: 70%;
}
.blue{
    background-color: rgba(131, 131, 219, 0.384);
    border: rgba(77, 77, 150, 0.384) 3px solid;
    border-radius: 30px;
}
.blue-work{
    background-color: rgba(131, 131, 219, 0.384);
    border: rgba(77, 77, 150, 0.384) 3px solid;
    border-radius: 30px;
    width: 80%;
}
.d-blue{
    background-color: rgba(93, 93, 174, 0.384);
    border: rgba(53, 53, 119, 0.384) 3px solid;
    border-radius: 30px;
}
.d-purple{
    background-color: rgba(50, 50, 112, 0.384);
    border: rgba(30, 30, 80, 0.384) 3px solid;
    border-radius: 30px;
}
.black{
    background-color: rgba(35, 35, 85, 0.384);
    border: rgba(26, 26, 71, 0.384) 3px solid;
    border-radius: 30px;
}
.morning{
    padding-left: 50px;
    padding-bottom: 70px;
}
.nadpis{
    background-image: url('osvětim.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: center;
    padding-top: 100px;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, rgba(0,0,0,0.5) 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, rgba(0,0,0,0.5) 80%, transparent 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
.nadpis2{
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 25px 0px 70px 0px;
}
.morning-rutine{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.padding-left{
    padding-left: 350px;
    padding-bottom: 50px;
}
.padding-right{
    justify-content: center;
    display: flex;
    padding-left: 500px;
    width: 100%;
    padding-bottom: 50px;
}
.text-left{
    margin-left: 220px;
    font-size: 30px;
    padding-bottom: 150px;
}
.text-left ul{
    text-align: left;
    list-style-position: outside;
    direction: ltr;
    margin-left: 0;
    max-width: 60%;
    margin-right: auto;
}
.text-right{
    font-size: 30px;
    padding-bottom: 150px;
    display: flex;
    margin-right: 100px;
}
.text-right ul{
    text-align: right;
    direction: rtl;
    list-style-position: inside;
    padding-right: 1em;
    max-width: 80%;
    margin: 0 auto 1em auto;
    margin-left: auto;
    margin-right: 0;
}
.text-right li{
    direction: ltr;
}
.work{
    display: flex;
    padding-top: 100px;
    flex-direction: column;
    justify-content: space-around;
    font-size: 30px;
}
.work-text{
    display: flex;
    justify-content: space-around;
    padding-top: 100px;
    margin-left: 100px;
}
.rano{
    display: flex;
    max-width: 70%;
}
.odpoledne{
    display: flex;
}
.work-nadpis{
    display: flex;
    justify-content: center;
}
.lunch-nadpis{
    padding-top: 200px;
    display: flex;
    justify-content: center;
}
.lunch{
    padding-top: 100px;
    display: flex;
    flex-direction: column;
}
.noon-nadpis{
    display: flex;
    justify-content: center;
}
.noon{
    padding-top: 100px;
    display: flex;
    flex-direction: column;
}
.night-nadpis{
    width: 100%;
    display: flex;
    justify-content: center;
}
.night{
    padding-top: 150px;
    display: flex;
    flex-direction: column;
}
.tresty-nadpis{
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 200px;
}
.tresty{
    padding-top: 150px;
    display: flex;
    flex-direction: column;
}
.visual-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}
.sun {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFD700 0%, #FFA500 70%, rgba(255,165,0,0) 100%);
    box-shadow: 0 0 50px 20px rgba(255, 165, 0, 0.7);
    top: 10%;
    left: 10%;
    transform: translate(-50%, -50%);
    z-index: 0;

    transition:
      background 2.5s ease,
      box-shadow 2.5s ease,
      filter 2.5s ease;
    

      --night-opacity: 0;
      background: 
        radial-gradient(circle, 
          /* mix dvou barev podle opacity */
          rgba(255, 215, 0, calc(1 - var(--night-opacity))) 0%, 
          rgba(255, 165, 0, calc(1 - var(--night-opacity))) 70%, 
          rgba(255, 165, 0, 0) 100%),
        radial-gradient(circle at 30% 30%, 
          rgba(240, 238, 222, var(--night-opacity)) 60%, 
          rgba(163, 169, 184, var(--night-opacity)) 90%);
      
      box-shadow: 
        /* mix box-shadowů přes opacity */
        rgba(255, 165, 0, calc(0.7 * (1 - var(--night-opacity)))) 0 0 50px 20px,
        inset 15px 15px 20px rgba(176, 181, 193, var(--night-opacity)),
        inset -15px -15px 30px rgba(229, 231, 235, var(--night-opacity));
      
      filter: drop-shadow(0 0 4px rgba(255,255,255, calc(0.4 * var(--night-opacity))));
}
.sun.night-mode {
    background: radial-gradient(circle at 30% 30%, #f0eede 60%, #a3a9b8 90%);
    box-shadow: inset 15px 15px 20px #b0b5c1, inset -15px -15px 30px #e5e7eb;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.4));
}
.scroll-bar-container {
    position: fixed;
    bottom: 20px;
    left: 0px;
    width: 100%;
    height: 40px;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab;
    z-index: 1000;
    overflow: hidden;
    border-radius: 30px;
    transition: background-color 2.5s ease;
}
.scroll-bar-container.night-mode {
    background-color: #1e1e2f;
    box-shadow: 0 0 10px 2px rgba(240, 238, 222, 0.7);
}
.sun-in-bar.night-mode {
    background: radial-gradient(circle at 30% 30%, #f0eede 60%, #a3a9b8 90%);
    box-shadow:
      inset 5px 5px 10px #b0b5c1,
      inset -5px -5px 15px #e5e7eb;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
  }
.sun-dragger {
    position: absolute;
    height: 100%;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
}
.sun-in-bar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFD700 0%, #FFA500 70%, rgba(255,165,0,0) 100%);
    box-shadow: 0 0 15px 5px rgba(255, 165, 0, 0.7);
}
@media screen and (max-width: 768px) {
    .text-left{
        margin-left: 100px;
    }
    ul{
        font-size: 25px;
    }
    .padding-right{
        padding-left: 200px;
    }
    .padding-left{
        padding-left: 200px;
    }
    h1{
        font-size: 90px;
    }
    h2{
        font-size: 70px;
    }
    h3{
        font-size: 50px;
    }
}
@media screen and (max-width: 1024px) {
    .text-left{
        margin-left: 150px;
    }
    ul{
        font-size: 28px;
    }
    .padding-right{
        padding-left: 270px;
    }
    .padding-left{
        padding-left: 200px;
    }
    h1{
        font-size: 110px;
    }
    h2{
        font-size: 90px;
    }
    h3{
        font-size: 60px;
    }
}