@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;
  }

  html, body {
    width: 100%;
    overflow-x: hidden;
}

  input, textarea, select, button {
    font-family: 'Roboto', sans-serif;
}

.no-scroll
{
    overflow: hidden;
    height: 100vh;
}

 html
  {
    scroll-behavior: smooth;
  }
  
  body{
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
    background-color: #333333;
    color: #FFFFFF;
    
  }
  
  
  #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;
}
  

/*header start*/
  
header {
  align-items: center;
  background: linear-gradient(to right, #AD3C9B 35%, #00A39A 65%);
  padding: 10px 20px;
}

h1
{
  font-size:1.25rem;
}

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

}

.menu-header
{
  width: 90%;
  margin-left: 5%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.prvek
{
  flex: 1;
}
.prvek:nth-child(1)
{
  text-align: left;
}

.prvek:nth-child(2)
{
  text-align: center;
}

.prvek:nth-child(3)
{
  text-align: right;
}

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

}


/*menu*/

.logo-menu
{
  font-size: 2.25rem;
  font-family: 'Play', sans-serif;
  color: #818181;

}

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

.overlay {
    height: 0;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.3s;
}

.overlay-content {
    position: relative;
    top: 35%;
    width: 100%;
    text-align: center;
}

.overlay a {
    padding: 8px;
    font-size: 1.5rem;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay #aktualni-stranka
{
    font-weight:bold;
    color: #ffffff;
}

.overlay a.ruzova:hover, .overlay a.ruzova:focus {
    color:  #AD3C9B;
}

.overlay a.modra:hover, .overlay a.modra:focus {
    color:  #00A39A;
}

.overlay .closebtn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
}

.menu-icon {
    font-size: 2.5rem;
    cursor: pointer;
}

/*header end*/

/*form start*/

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
  padding: 1rem;
  /* border: 2px solid #FFFFFF;
  border-radius: 0.75rem; */
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
#nadpis
{
  text-align: center;
}

.phone-container {
  display: flex;
  width: 100%;
  align-items: flex-end;
   gap: 1rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 12px;
}

#phonePrefix {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid skyblue;
  width: 100%;
  box-sizing: border-box;
}


#phone {
    
        width: 50vw;
    max-width: 285px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid skyblue;
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}


input, textarea {
  background: white;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid skyblue;
}

input:focus, textarea:focus, #phonePrefix:focus {
  border-color: rgba(222, 95, 207, 1);
}

#submit-button {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 0.75rem;
  font-weight: bold;
  font-size: 1.125rem;
  padding: 14px 28px;
  cursor: pointer;

}

#submit-button:hover
{
  transition: 0.3s;
  background: linear-gradient(to right, #AD3C9B 35%, #00A39A 65%);
}


 /*form end*/       

/*footer start*/

footer {
  position: static;
  box-shadow: 0 -10px 5px #AD3C9B;
}


.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*/

@media screen and (min-width: 474px) {
  .phone-container {
    gap: 15px;
  }

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


@media screen and (min-width: 822px) {
  form {
    max-width: 500px;
  }

  #submit-button {
    width: 50%;
    align-self: center;
  }
}


@media screen and (min-width: 1008px) {
  form {
    max-width: 600px;
  }

  .phone-container {
    gap: 20px;
  }
}