@font-face {
  font-family: 'Roboto';
  src: url('fonts/subset-Roboto-Regular.woff2') format('woff2'),
       url('fonts/subset-Roboto-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
    font-family: 'Play';
    src: url('fonts/Play-Bold.woff2') format('woff2'),
        url('fonts/Play-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/*css reset*/
* {
  margin: 0;
  padding: 0;
  text-decoration: none;
}

:root {
  --main-color: #ffffff;
  --text-color: #171427;
  --bg-color: #fff;
  --pink: #AD3C9B;
  --blue:#00A39A;
  --normal-text: 3vw;
}

html
{
  scroll-behavior: smooth;
}

body{
  font-family: 'Roboto', sans-serif;
  background-color: #333333;
  color: #ffffff;
  scroll-behavior: smooth;
}

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #00A39A;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 12;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);
  transition: 0.3s;
}


img
{
  width: 100%;
}


/*header start*/

header {
display: flex;
flex-direction: column;
width: 100%;
background-image:url(images/main-pic.webp) ;
background-position: center;
background-size: cover; /*pokryje cely header*/
justify-content: center;
align-items: center;
height: 100vh;
}

h1
{
    font-size: 2.5rem;
    margin-top: 140%;
    font-family: 'Play', sans-serif;
    background: linear-gradient(to right, #AD3C9B  35%, #00A39A  65%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.3s;
}

.menu
{ 
display: flex;
flex-direction: column;
gap: 15px;
font-size: 1rem;
justify-content: center;
text-align: center;
padding: 8px 0;
}

.menu-item
{
height: 100%;
list-style: none;
}

.menu-item a
{
cursor: pointer;
height: 100%;
font-size: 1.25rem;
border: 1.5px;
border-radius: 0.75rem;
padding: 0.25rem 0.5rem 0.25rem  0.5rem;
}

.ruzovy:hover
{
background: #AD3C9B;
transition: 0.3s; 
}

.modry:hover
{
background: #00A39A;
transition: 0.3s; 
}

/*header end*/


#o-mne/*<h2> nadpisy pro sekce*/
{
  text-align: center;
  margin-top: 0.7rem;
  padding-top: 1rem;
  box-shadow: 0 -10px 5px #AD3C9B;
}

#o-mne-stin
{
  box-shadow: 0 10px 5px #AD3C9B;
  color: transparent;
}

#nadchazejici-akce/*<h2> nadpisy pro sekce*/
{
  text-align: center;
  padding-top: 1rem;
  box-shadow: 0 -10px 5px #00A39A;
}

#nadchazejici-akce-stin
{
  box-shadow: 0 10px 5px #00A39A;
  color: transparent;
}

#nabizene-sluzby 
{
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  box-shadow: 0 -10px 5px #AD3C9B;
}
#shadow-d
{
  box-shadow: 0 10px 5px #AD3C9B;
  color: transparent;
}


/*O mně (start)*/

.container
{
display: grid;
width: 90%;
padding: 5%;
grid-template-columns: 100%;
font-size: 1rem;
line-height: 30px;
text-align: center;
}


.controls {
  text-align: center;  
  margin: 1rem 0;

}

.controls button {
    font-size:1rem;
    margin: 0 0.5rem;
    padding: 8px 12px;
  background: transparent;
  color: #ffffff;
  border: 2px solid white;
  border-radius: 0.75rem;
  cursor:pointer;
  font-family: 'Roboto', sans-serif;
}

.predchozi:hover
{
    
    transition:0.3s;
    border:2px solid transparent;
    background: #AD3C9B;
}
.dalsi:hover
{
    transition:0.3s;
    border:2px solid transparent;
    background:#00A39A;
}




.youtube-container {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            cursor: pointer;
            background-color: black;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 5px;
            overflow: hidden;
        }
        .youtube-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
       .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    user-select: none; /* nelze označit šipku */
}

.play-button:hover {
    background: rgba(255, 0, 0, 0.9); /* červená YouTube styl */
    transform: translate(-50%, -50%) scale(1.1); /* mírné zvětšení */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6); /* výraznější stín */
}

/*newsletter start*/

#newsletter {
  font-size: 1rem;
  padding: 0.5rem 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(to right, #AD3C9B 35%, #00A39A 65%);
  margin: auto;
}

#newsletter-email {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

#email-input {
  border-radius: 0.75rem;
  border: 1px solid #ccc;
  padding: 8px;
  flex: 1;
  max-width: 460px;
}

#odeslat-newsletter {
  padding: 8px 12px;
  background: transparent;
  color: #ffffff;
  border: 2px solid white;
  font-weight: bold;
  border-radius: 0.75rem;
}

#odeslat-newsletter:hover {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}


/*newsletter end*/

/*footer start*/

footer {
  position: static;
  /* box-shadow: 0 -10px 15px rgba(222, 95, 207, 1); */
}


.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
#footer-logo-posun
{
    margin-top:1rem;
}

.logo
{
  font-size: 2rem;
  font-family: 'Play', sans-serif;
  color: #ffffff;

}

.logo:hover
{
    transition: 0.3s;
    background: linear-gradient(to right, #AD3C9B  35%, #00A39A  65%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-bottom p {
  line-height: 28px;
  font-size: 1rem;
}

.socials {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 1rem 0 1rem 0;
}

.socials li {
  margin: 0 5px;
}

.socials li img {
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 1px;
  width: 3rem;
}

.socials li img:hover {
  border: 2px solid #FFFFFF;
  cursor: pointer;
  transition: 0.3s;
}

li a {
  text-decoration: none;
  color: white;
}

.footer-menu {
  margin-bottom: 20px;
}

.footer-menu ul {
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-menu ul li {
  display: block;
}

.footer-menu ul li a
{
  color: #ffffff;
  font-size: 1.125rem;
  border: 1.5px;
  border-radius: 0.75rem;
  padding: 0.25rem 0.5rem 0.25rem  0.5rem;
}

.footer-menu ul li a.modry:hover {
  color: #ffffff;
  background: #00A39A;
  border: none;
  transition: 0.3s;
}

.footer-menu ul li a.ruzovy:hover {
  color: #ffffff;
  background: #AD3C9B;
  border: none;
  transition: 0.3s;
}

.footer-bottom {
  text-align: center;
  background: #000000;
}

/*footer end*/



/*responsivita*/


@media screen and (min-width:474px)
{
 

  /*O mně (start)*/
  .container
  {
    font-size: 1rem;
    line-height: 35px;
  }

  .footer-menu ul 
  {
    flex-direction: row;
    gap: 0.5rem;
  }


}

@media screen and (min-width:822px)
{


.container
  {
    line-height: 30px;
  }
   /*O mně (start)*/

  .container
  {
    grid-template-columns: 47% 47%;
    gap: 6%;
    grid-template-rows: 100%;
  }

 
  .container:nth-child(2):nth-child(2)
  {
    grid-column: 1/2;
    grid-row: 1/3;
  }

  .container:nth-child(2)
  {
    grid-column: 2/3;
    grid-row: 1/3;
    align-items: center;
    display: flex;
  }

  #newsletter {
    flex-direction: row;
    gap: 3rem;
    padding: 1rem 10% 1rem 10%;
    
  }

  #newsletter-email {
    justify-content: flex-start;
    width: auto;
    flex: 1;
  }


}

@media screen and (min-width:1008px)
{


  .container
  {
    line-height: 35px;
  }

  .container
  {
    grid-template-columns: 43.5% 47%;
    gap: 9.5%;
  }


  #email-input {
    max-width: 350px;
    flex: 1;
  }

}
@media screen and (min-width:1282px)
{

  .container
  {
    font-size: 1.125rem;
    line-height: 45px;
  }
  .container:nth-child(2)
  {
    grid-template-columns: 40% 47%;
    gap: 13%;
    
  }

  #newsletter {
    padding: 1rem 15% 1rem 15%
  }

  #newsletter-email
  {
    justify-content: center;
  }

}