/*index*/
/*body*/
/*HEAD*/ 

@font-face {font-family: Eastman Trial;
            src: url(EastmanTrial-Extrabold.otf)}
  
@font-face {font-family: Eastman Trial Bold;
            src: url(EastmanTrial-Bold.otf)}
            
@font-face {
    font-family: Rosmatika;
    src: url(rosmatika.ttf)}
    
@font-face {
    font-family: Roboto, sans-serif;
    src: url(OpenSans-Regular.ttf)}
    

html        {scroll-behavior: smooth;
            font-family: OpenSans;}

body        {background-color: #00261c;
            padding: 0;
            margin: 0;}

a:link      {text-decoration: none;}

a:hover     {text-decoration: none;}

button      {padding-top: 22px;
            border: none;
            text-decoration: none;
            font-size: 1.2rem;
            background-color: transparent;
            color: white;
            text-transform: uppercase;
            font-family: Eastman Trial Bold;
            cursor: pointer;}

h1          {color: #004734;
            text-transform: uppercase;
            font-family: Eastman Trial Bold;
            font-size: 2rem;
            cursor: default;}
            
h2          {
            font-family: Eastman Trial Bold;
            color: black;
            font-size: 1.4rem;
            margin: 0;
            }
            
h3          {font-family: Rosmatika;
            font-weight: normal;
            font-size: 1.8rem;
            color: white;}
            
h4          {color: white;
            text-transform: uppercase;
            font-family: Eastman Trial Bold;
            text-align: left;
            font-size: 1.6rem;
            margin: 1.4rem auto 0.6rem 4.6rem;
            width: 13.6rem;
            cursor: auto;           
            }
            


#nav        {color: #e2447b;
            text-transform: uppercase;
            font-family: Eastman Trial;
            font-size: 1.6rem;
            }
            
#nav:hover  {color: #e9486d;
            filter: drop-shadow(0 0 0.18rem rgba(226, 68, 123, 1));
            }
            
p           {font-family: Open Sans, sans-serif;
            color: white;}

section     {display: grid;
            place-items: center;
            align-content: center;
            
            height: auto;}
            
#arrow      {display: none;
            position: fixed; 
            top: 90%; 
            right: 20%; 
            width: 3.6rem; 
            z-index: 1;
            transition: 0.3s;
            filter: brightness(4) invert(0) drop-shadow(0 0.4rem 8px rgba(0, 0, 0, 0.3));}
            
#arrow:hover {
            filter: brightness(1) invert(0) drop-shadow(0 0.4rem 8px rgba(0, 0, 0, 0.3));}

#first      {background-image: url("bg3.jpg") !important;
            background-size:  cover;
            background-position: bottom;
            cursor: default;}
        
#first img  {width: 25vh;
            height: auto;
            min-width: 125px;
            min-height: 125px;
            align-content: center;
            margin-top: 10vh;
            text-shadow: 0 0 3px black;
            -webkit-filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));
            filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));}
            

#first p    {
            font-size: 1rem;
            font-style: italic;
            letter-spacing: 3.8px;}

            
.f1         {padding-top: 3vh;}

.f2         {padding-top: 3vh;}

.f3         {padding-top: 3vh;}

.f4         {padding-top: 3vh;}

.f5         {text-align: center;
            place-items: center;
            align-content: top;
            grid-column-start: 1;
            grid-column-end: 5;
            margin-top: 2.7vh;}
            
.f5 h1      {font-family: Eastman Trial Bold;
            font-size: 1.4rem;
            color: white;
            text-shadow: 0 0 3px black;
            margin-top: -3.6vh;
            margin-bottom: 2.3vh;}


/*CASE*/           
            
#second     {display: flex;}

.space      {margin: 1.4rem auto 8rem auto;
            width: 100%;
            max-width: 900px;}

.gallery    {background-color: white;
            height: 100%;
            display: flex;
            flex-wrap: wrap; 
            background-color: #00261c;}
            
.gallery p {text-transform: uppercase;
            font-family: Eastman Trial Bold;
            margin-top: 0;
            font-size: 1.1rem;
            color: white;
            transition: 0.7s;}

#menu1      {width: 24.9%;
            height: 60px;
            border-radius: 20px 20px 0 20px ;
            background-color: #001912;
            text-align: center;
            transition: 0.3s;}
            
#menu1 button {
            width: 100%;
            height: 100%;
            display: block;}
            
#menu1:hover p {
            font-size: 1.14rem;
            filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.8));}
                      
#menu2      {width: 24.9%;
            height: 60px;
            border-radius: 20px 20px 0 0;
            background-color: #002018;
            text-align: center;
            transition: 0.3s;}
            
#menu2 button {
            width: 100%;
            height: 100%;
            display: block;}
            
#menu2:hover p {
            font-size: 1.14rem;
            filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.8));}
            
#menu3      {width: 24.9%;
            height: 60px;
            border-radius: 20px 20px 0 0;
            background-color: #002018;
            text-align: center;
            transition: 0.3s;}
            
#menu3 button {
            width: 100%;
            height: 100%;
            display: block;}
            
#menu3:hover p {
            font-size: 1.14rem;
            filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.8));}

#menu4      {width: 24.9%;
            height: 60px;
            border-radius: 20px 20px 20px 0;
            background-color: #002018;
            text-align: center;
            transition: 0.3s;}
            
#menu4 button {
            width: 100%;
            height: 100%;
            display: block;}
            
#menu4:hover p {
            font-size: 1.14rem;
            filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.8));}


#frame1     {background-color: #00261c;
            margin-left: 2px;
            margin-right: -16px;
            max-width: 900px;
            width: auto;
            display: none;}



.f1min      {margin: -0.9px;
            border-radius: 20px;
            width: 33%;
            height: auto;
            display: inline-block;
            transition: 0.3s;
            cursor: pointer;}
            
.f1min:hover {z-index: 9;
            filter: brightness(1.1) contrast(0.9) drop-shadow(0 7px 3px rgba(0, 0, 0, 0.4));}
    
            
#frame2     {background-color: #00261c;
            margin-left: 2px;
            margin-right: -16px;
            max-width: 900px;
            width: auto;
            display: none;}

.f2min      {margin: -0.9px;
            border-radius: 20px;
            width: 33%;
            height: auto;
            display: inline-block;
            transition: 0.3s;
            cursor: pointer;}
            
.f2min:hover {z-index: 9;
            filter: brightness(1.1) contrast(0.9) drop-shadow(0 7px 3px rgba(0, 0, 0, 0.4));}
            
#frame3     {background-color: #00261c;
            margin-left: 2px;
            margin-right: -16px;
            max-width: 900px;
            width: auto;
            display: none;}

.f3min      {margin: -0.9px;
            border-radius: 20px;
            width: 33%;
            height: auto;
            display: inline-block;
            transition: 0.3s;
            cursor: pointer;} 
            
.f3min:hover {z-index: 9;
            filter: brightness(1.1) contrast(0.9) drop-shadow(0 7px 3px rgba(0, 0, 0, 0.4));}
            
#frame4     {background-color: #00261c;
            margin-left: 2px;
            margin-right: -16px;
            max-width: 900px;
            width: auto;
            display: none;}

.f4min      {margin: -0.9px;
            border-radius: 20px;
            width: 33%;
            height: auto;
            display: inline-block;
            transition: 0.3s;
            cursor: pointer;}
            
.f4min:hover {z-index: 9;
            filter: brightness(1.1) contrast(0.9) drop-shadow(0 7px 3px rgba(0, 0, 0, 0.4));}
            
/* Lightbox styling */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

.lightbox-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    min-height: 100%;
    padding: 80px 20px 60px;
    box-sizing: border-box;
    gap: 0;
}

.lightbox-content {
    max-width: 45%;
    max-height: 80vh;
    object-fit: contain;
    flex-shrink: 0;
}

.lightbox-text {
    background-color: white;
    width: 30rem;
    max-width: 45%;
    height: 80vh;
    min-height: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

.lightbox-text-content {
    padding: 1.6rem 2rem 3rem 2rem;
    text-align: left;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.lightbox-text-content p {
    color: black;
    font-size: 0.8rem;
}

.lightbox-text-content img {
    display: flex;
    width: 16rem;
    margin: 1.4rem auto 1.4rem auto;
}

.lightbox-text:has(.lightbox-text-content:empty) {
    display: none;
}

.close {
    position: fixed;
    top: 15px;
    right: 35px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 11;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.prev, .next {
    cursor: pointer;
    color: white;
    font-size: 40px;
    background-color: transparent;
    border: none;
    margin: 0 20px;
    padding: 10px;
    pointer-events: all;
}

@media (max-width: 768px) {
    .lightbox-inner {
        flex-direction: column;
        align-items: center;
        padding: 70px 10px 60px;
    }

    .lightbox-content {
        max-width: 90%;
        max-height: 40vh;
        width: auto;
    }

    .lightbox-text {
        width: 90%;
        max-width: 90%;
        height: auto;
        min-height: unset;
        margin-bottom: 2rem;
    }

    .lightbox-text-content img {
        width: 80%;
    }

    .lightbox-nav {
        display: none;
    }
}


/*BIO*/ 
           
#third      {background-color: #023024;
            display: flex;}
            
#third img  {width: 170px;
            border-radius: 68px;}
            
#bio        {display: grid;
            width: 100%;
            grid-template-columns: 170px auto auto;
            column-gap: 2.5vw;
            row-gap: 1vw;}
            
.face       {filter: drop-shadow(0 0 18px rgba(92, 168, 115, 0));
            transition: 1s;}

.face:hover {filter: drop-shadow(0 0 18px rgba(92, 168, 115, 0.2));}

            
.descript   {border-radius: 68px;
            background-color: #00261c;
            place-items: center;
            align-content: center;
            text-align: center;
            grid-column-start: 2;
            grid-column-end: 4;
            filter: drop-shadow(0 0 38px rgba(0, 38, 28, 0));
            transition: 1s;}
            
.descript:hover
            {filter: drop-shadow(0 0 38x rgba(0, 114, 84, ));
            }
            
.skills     {grid-column-start: 1;
            grid-column-end: 4;
            min-height: 150px;
            width: 100%;
            display: flex;
            flex-wrap: wrap;}
            
.s1         {width: 134px;
            height: 150px;
            border-radius: 54px;
            background-color: #00261c;
            display: block;
            place-items: center;
            align-content: center;
            text-align: center;
            margin-left: auto;
            margin-right: auto;
            margin-top: 5px;
            margin-bottom: 5px;}
            
.s1 p       {font-size: 0.68rem;
            font-weight: bold;
            margin-bottom: -10px;
            cursor: default;
            color: #007254;
            }
            
.scircle    {display: block;
            background-color: #00503b;
            width: 100px;
            height: 100px;
            margin: calc(50% - 100px / 2) auto;
            border-radius: 50%;}


.expbody    {display: block;
            justify-content: center;
            margin: 0;}

.exp        {display: flex;
            flex-wrap: wrap;
            width: 100%;}
            
.plastat    {
            display: flex;         
            max-width: 100%;
            min-width: 96.5%;
            height: 2.6rem;
            border-radius: 54px;
            background-color: #00261c;
            align-items: centre;
            margin: 0.4rem 0rem 0rem 0rem;
            }
            
.statnam    {
            min-width: 10rem;
            max-width: 50%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            padding: 0.1rem 0.4rem 0 1.2rem;
            }
            
.statbox    {width: auto;
            height: 1;
            overflow: hidden;
            display: flex;
            flex: 1;
            margin-right: 1.6rem;
            align-items: center;
            }
            
.statline   {
            white-space: nowrap;
            display: flex; 
            line-height: 1;
            will-change: transform;
            }

.pla1       {text-align: center;
            width: 48%;
            max-height: 42rem;
            height: auto;
            border-radius: 54px;
            background-color: #00261c;
            margin: 1rem 1  rem 0 0;
            padding: 0 2rem 0 2rem;}
            


.pla2       {text-align: center;
            max-height: 42rem;
            height: auto;
            flex-grow: 1;
            border-radius: 54px;
            background-color: #00261c;
            margin-top: 1rem;
            margin-bottom: 0rem;
            padding: 0 2rem 1rem 2.4rem;}
            
.pla3       {text-align: center;
            display: none;          /****NEVIDITELNOST REFERENCÍ****/
            height: 20rem;
            width: 100%;
            border-radius: 54px;
            background-color: #00261c;
            }


@media (max-width: 600px) {.statnam
                {min-width: 7rem;
                max-width: 40%;
                padding: 0 0.6rem;}
                        .statnam h1
                        {font-size: 0.85rem;}
                        .statline p {
                        font-size: 0.75rem;}}

@media (min-width: 901px) {.pla1
                {display: inline;
                max-width: 48%;
                margin: 1rem 1rem 0 1.6rem;}}
                
@media (min-width: 901px) {.pla2
                {display: inline;
                max-width: 28%;
                margin: 1rem 1.2rem 0 1rem;}}
                
@media (min-width: 901px) {.pla3
                {margin: 2rem 1rem 0 1rem;}}
                
@media (max-width: 900px) {.pla1
                {width: 100%;
                margin: 2rem 0;}}
                
@media (max-width: 900px) {.pla2
                {width: 100%;
                margin: 0rem 0;}}
                
@media (max-width: 900px) {.pla3
                {margin: 2rem 0 0 0;}}
                
.plastat h1 {font-size: 1.1rem;
            margin-top: 0.6rem;
            }
            
.statline p  {font-size: 0.842rem;
            width: 100%;
            color: #007254;
            animation: ticker 46s linear infinite; 
            flex-shrink: 1;
            padding-bottom: -2rem;}
           
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.pla1 h1    {font-size: 1.6rem;
            margin-top: 2rem;
            }
            
.pla2 h1    {font-size: 1.6rem;
            margin-top: 2rem;
            }
            
.pla3 h1    {font-size: 1.6rem;
            margin-top: 2rem;
            }                      
                
.platab     {text-align: left;
            margin-top: -0.6rem;
            margin-left: 0.2rem;
            margin-right: 0px;
            table-layout: fixed;
            }
            
.platab tr td
            {position: static;
            width: 24%;}

.platab tr td:nth-child(1)
            {position: static;
            width: 12%;}
            
.platab tr td:nth-child(2)
            {position: static;
            width: 38%;}
            
.platab p   {margin: 0px 0px 6px 0px;
            
            font-size: 0.86rem;
            font-weight: bold;
            color: #fffffff;}
            
.platab2    {margin-top: -2px;
            margin-left: 0px;
            margin-right: 0px;
            width: 100%;
            table-layout: fixed;}
            
.platab2 p  {text-align: left;
            margin: 0px 0px 0.6rem 0px;
            font-size: 0.86rem;
            color: #ffffff;}
            
    /* Společné styly */
    .container {
      display: flex;
      flex-direction: column; /* Přehrávače pod sebou */
      gap: 10px; /* Mezera mezi přehrávači */
      margin-bottom: 20px;
    }

    .player {
      width: 100%;
      height : 20px;
      display: flex;
      align-items: center;
      padding: 0;
    }
    
    .player p {
        margin-top: 0.3rem;
        font-size: 0.7rem;
        width: 4.4rem;
        }

    .play-pause-btn {
      width: 20px;
      height: 20px;
      margin: auto -0.3rem auto 0;
      background-size: contain;
      border: none;
      cursor: pointer;
      background-repeat: no-repeat;
    }

    .timeline {
      position: relative;
      flex-grow: 1;
      height: 5px;
      border-radius: 2.5px;
      background-color: #00503b;
      margin: 0 10px;
      cursor: pointer;
    }

    .dot {
      position: absolute;
      top: -8px; /* Upraveno pro menší velikost tečky */
      left: 0px;
      width: 20px;
      height: 20px;
      background-size: contain;
      cursor: pointer;
    }
    
#link       {
            transition: 0.3s;
            filter: brightness(4) invert(0);
            }
            
#link:hover {
            filter: brightness(1) invert(0);
            }


/*LINKS*/ 

#fourth     {
            display: flex;
            background-color: #00261c;
            }

.idcard     {
            border-radius: 48px;
            background-color: #023024;
            max-width: 35rem;
            height: auto;
            padding: 3.6rem 0rem 7rem 0rem;
            margin: 1rem auto 1rem auto;
            display: block;
            cursor: pointer;
            transition: 0.3s;
            background-image: url("cardbg.jpg");
            background-size:  contain;
            background-repeat: no-repeat;
            background-position: center;}
            
.idcard:hover {
            background-image: url("cardbg2.jpg");
            filter: drop-shadow(0 9px 5px rgba(0, 0, 0, 0.2)); 
            }

.idframe    {
            width: 100%;}

.idframein  {
            width: 100%;}

.idtable    {width: 13.6rem;
            
            margin: 0 auto 0 4.6rem;
            border-collapse: collapse;}

.idtable th {
            font-weight: normal;
            text-align: left;
            padding: 0.3rem 0;}

.idtable p  {
            font-weight: bold;
            font-size: 0.86rem;
            text-align: center;
            margin: 0 0 -0.48rem 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: auto;
            }

.idtable img {
            width: 0.86rem;
            margin: -0.04rem 0 0.04rem 0;
            cursor: auto;}

.linkframe  {
            margin: 0 auto 9.8rem auto;
            width: 100%;
            max-width: 35rem;
            display: flex;
            flex-wrap: wrap;
            }

.linkframe a {
            margin: 1rem auto 2rem auto;
            display: inline flow-root;
            opacity: 100%;
            }

            
.linkbutton  {
            border-radius: 26px;
            width: 5.4rem;
            height: 5.8rem;
            background-color: #023024;
            padding: 0.1rem 0 0.1rem 0;
            transition: 0.2s;
                    
            }
            
.linkbutton:hover   {
            background-color: #023527;
            filter: drop-shadow(0 7px 3.2px rgba(0, 0, 0, 0.15));
            }
            
.linkbutton p   {
            font-size: 0.6rem;
            font-weight: bold;
            dislay: flex;
            color: #005f46;
            transition: 0.6s;
            }
            
.linkbutton:hover p {
            font-size: 0.6rem;
            color: #007254;
            margin-bottom: 0.59rem;
            }
                        
.linkbutton svg {
            margin: 0;
            display: grid;
            width: 2.64rem;
            margin: auto;
            fill: #005f46;
            transition: 0.6s;
            }

            
.linkbutton:hover svg {
            width: 2.68rem;
            fill: #007254;
            }

            
           

    


