* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding-top: 0px;
}

@font-face {
  font-family: 'Allura';
  src: url('../fonts/Allura.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


body {
    background-color: rgba(250, 244, 232);
  }

/********** hviezdičky *********/

.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 999;
}

.star {
  position: absolute;
  opacity: 0;
  animation: floatStar linear infinite;
  z-index: 999;
}

.star svg {
  filter: drop-shadow(0 0 6px white);
}

/* animácia */
@keyframes floatStar {
  0% {
    transform: translate(0, 0) scale(0.5);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) scale(1.2);
    opacity: 0;
  }
}
/*
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* aby sa nedalo kliknúť */  /*
  overflow: hidden;
  z-index: 999;
}

.star {
  position: absolute;
  background: rgb(11, 30, 104);
  box-shadow: 0 0 6px white;
  border-radius: 50%;
  opacity: 0;
  animation: floatStar linear infinite;
  z-index: 999;
}  

/* animácia */   /*
@keyframes floatStar {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-200px) translateX(50px);
    opacity: 0;
  }
} */

/********** Hlavná stránka dizajn *********/

/*** 1. sekcia - úvodná stránka ***/
.parallax {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.parallax::before {
    content: "";
    position: absolute;
    inset: -20% 0;

    background: url('../img/logo.png') center/contain no-repeat;

    transform: translateY(var(--offset, 0px));
}

#UVOD {
  height: 100vh;
}

.text_01 {
    position: absolute;
    display: block;
    top: 300px;
    left: 0px;
    font-family: 'Allura';
    font-size: 40px;
    width: 800px;
    text-align: center;
    font-weight: bold;
}

.text_01:before {
    content: ""; 
    display: block;
    width: 700px;
    border-bottom: 1px solid #4d3636;
    /*box-shadow: 0px 0px 3px black;*/
    margin: 12px auto;
}

.text_01:after {
    content: ""; 
    display: block;
    width: 700px;
    border-bottom: 1px solid #4d3636;
    /*box-shadow: 0px 0px 3px black;*/
    margin: 12px auto;
}

.text_02 {
    position: absolute;
    display: block;
    top: 500px;
    left: 100px;
    font-family: 'Allura';
    font-size: 30px;
    width: 600px;
    text-align: left;
    
}

.blob-svg {
    position: absolute;
    top: 0;
    left: 0;
    height: 280px;
}

.cls-1 {
        fill: #dbccb6;
}

.logo {
    position: absolute;
    top: 20px;
    left: 90px;
    width: 200px;
}

.obrazok {
    position: absolute;
    display: block;
    width: 500px;
    right: 0px;
    top: 200px;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 0 3px black;
}

.blur-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    z-index: 25;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/*** 2. sekcia - O nás ***/

#ONAS::before {
    content: ""; 
    display: block;
    width: 70vw;
    border-bottom: 2px solid #4d3636;
    /*box-shadow: 0px 0px 3px black;*/
    margin: 0px auto;
}

#ONAS {
  background-color: #dbccb6;
}

.Onas_foto_text {
    display: flex;
    flex-direction: row;
    padding: 0 0 50px 50px;
    align-items: center;
}

.Onas_foto {
  width: 250px;
  border-radius: 50px 0 50px 0;
  box-shadow: 0 0 15px black;
  
}

h1 {
  padding: 20px 0px 20px 50px;
  font-family: 'Allura';
}

#ONAS p {
  padding: 0 50px 0px 50px;
  text-align: justify;
}

/* Kto sme */

.Grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    align-items: center;
    width: 90%;
    margin: 0 auto;
    gap: 30px;
    padding-bottom: 30px;
}

 #KTOSME::before{
    content: ""; 
    display: block;
    width: 70vw;
    border-bottom: 2px solid #4d3636;
    /*box-shadow: 0px 0px 3px black;*/
    margin: 0px auto;
}

#KTOSME {
  background-color: #c6def6;
}

 #KTOSME::after{
    content: ""; 
    display: block;
    width: 70vw;
    border-bottom: 2px solid #4d3636;
    /*box-shadow: 0px 0px 3px black;*/
    margin: 0px auto;
}

#KTOSME p {
 /* padding: 0 50px 30px 50px;*/
  text-align: justify;
}

.jana {
  width: 200px;
  filter: drop-shadow(0 0 10px black);
  
}

.Mena {
  font-weight: bold;
  font-size: 20px;
}

/* Podpora */
#PODPORA::before{
    content: ""; 
    display: block;
    width: 70vw;
    border-bottom: 2px solid #4d3636;
    /*box-shadow: 0px 0px 3px black;*/
    margin: 0px auto;
}

#PODPORA {
  background-color: #dbccb6;
}

#PODPORA p {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 0 20px 0 20px;
}

.zmluva {
  text-decoration: none;
  text-align: center;
  display: block;
  background-color: rgba(250, 244, 232);
  width: 250px;
  padding: 10px 0 10px 0;
  position: relative;
  margin: 0 auto;
  border-radius: 30px;
  color: black;
  box-shadow: 0 0 10px black;
  transition: 0.5s;
}

.zmluva:hover {
  box-shadow: 0 0 10px #425dbd;
}

.texty {
  padding-bottom: 20px;
}

#PODPORA img {
  width: 200px;
  position: relative;
  left: 50%;
  transform: translate(-50%);
  padding-top: 10px;
}


/* Kontakty */

#KONTAKTY::before{
    content: ""; 
    display: block;
    width: 70vw;
    border-bottom: 2px solid #4d3636;
    /*box-shadow: 0px 0px 3px black;*/
    margin: 0px auto;
}

.Kontakty_email_cislo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 20px 1fr;
    padding: 0 50px 50px 50px;
    justify-items: center;
    align-items: center;
    gap: 50px;
    
}
 .email {
  text-decoration: none;
  color: black;
  font-size: 20px;
  transition: 0.5s;
}
.email:hover {
  color: #4d3636;
}

.tel_cislo {
  font-size: 20px;
}

.sidlo {
  font-size: 20px;
  text-align: center;
}

.nas-tim {
  font-size: 20px;
  text-align: center;
  margin-top: 50px;
  padding-bottom: 50px;
}

.tim_fotka {
  display: block;
  margin: 0 auto;
  padding-bottom: 30px;
  width: 70vw;
  filter: drop-shadow(0 0 5px black);
}
