
html {
  scroll-behavior: smooth;
  scroll-padding: 0px 0 -50px;
}

body {
  max-width: 1300px;
  margin: auto;
  background: rgb(0,57,145);
  background: linear-gradient(180deg, rgba(87,0,145,1) 8%, rgba(0,118,156,1) 93%);
  background-attachment: fixed;
}

header {
  text-align: center;
  margin: 11vh 5%;
}

#otoc {
  color: #ffffff;
  background-color: #ee0044;
  font-size: 500%;
  font-weight: bold;
  padding: 40px 70px;
  border-radius: 100px;
  text-shadow: 0px -4px 20px black;
  box-shadow: 0px 5px 20px 0px #ff6868;
  border: 2px solid #00178a;
  display: block;
  margin: auto;
}

#otoc:hover {
  background-color: #a458ff;
  box-shadow: 0px 5px 20px 0px #c786ff;
}

#otoc:active {
  background-color: #5ed405;
  box-shadow: 0px 0px 20px 13px #8fffac;
  border: 2px solid #70f374;
}

footer {
  height: 50px;
}

h1 {
  text-align: center;
  background-color: #00769c;  
  font-size: medium;
  color: white;
  padding: 10px;
  margin: 0;
}

#h1div {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

#munifi {
  margin: 0;
  position: fixed;
  bottom: 0;
  right: 0;
  color: #afafaf;
  font-size: small;
}

#munifi a {
  color: #a5d6ff;
}

#anketa {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}

#otazkaDiv, #odpovedeDiv {
  width: 50%;
  text-align: center;
}

#otazka {
  width: 70%;
  /* height: 25px; */
  margin: auto auto 30px;
  padding: 15px 40px;
  font-size: 200%;
  text-align: center;
  border-radius: 50px;
  background-image: linear-gradient(180deg, #ffffff, #c8c8c8);
  font-weight: bolder;
  color: #000000;
  border: none;
  letter-spacing: 3px;
}
#otaznik {
  text-align: center;
  font-weight: bolder;
  color: #000000;
  font-size: 200%;
  position: absolute;
}

.odpoved {
  background-color: #ffffff00;
  width: 70%;
  height: 25px;
  margin: 15px;
  padding: 20px;
  font-size: 200%;
  text-align: center;
  border-radius: 5px;
  /* background-image: linear-gradient(0deg, #adf5f9, #ffffff); */
  font-weight: bolder;
  color: #ffffff;
  border: none;
  border-bottom: 5px white solid;
  /* border-color: white; */
  letter-spacing: 1.5px;
}

.odpoved:focus-visible {
  outline: none;
  border: 3px white solid;
  border-radius: 10px;
  margin-top: 14px;
}

#plus {
  width: 60px;
  margin: 50px;
  border-radius: 9px;
  cursor: pointer;
}
#plus:hover {
  background-color: black;
}
#plus:active {
  background-color: white;
}

#odoslat {
  width: 50%;
  height: 65px;
  margin: 0 0 110px;
  font-size: 200%;
  text-align: center;
  border-radius: 50px;
  background-image: linear-gradient(180deg, #ffffff, #c8c8c8);
  font-weight: bolder;
  color: #000000;
  border: none;
  letter-spacing: 3px;
  cursor: pointer;
}
#odoslat:active {
  box-shadow: inset 0 0 3px 5px #0051f9;
}

#vytvorene {
  border: 2px solid;
  background: #fffaca;
  padding: 25px 45px;
  border-radius: 25px;
  text-align: center;
  font-size: 160%;
  max-width: fit-content;
  margin: auto;
}

#vytvorene a {
  color: #532f00;
  overflow-wrap: anywhere;
}

#nacitavamKruhDiv {
  max-width: 30%;
  margin: auto;
}
#nacitavamKruhDiv2 {
  max-width: 200px;
  margin: auto;
}
#nacitavamKruh {
  width: 100%;
  animation: spin 1.5s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


@media only screen and (max-width: 900px) {
  
  /* * {
    box-sizing: border-box;
  } */  
  
  header {
    margin: 15vh 5%;
  }
  
  .odpoved {
    margin: 0;
  }
  
  #odoslat {
    padding: 20px;
    font-size: x-large;
    height: fit-content;
    min-height: 40px;
  }
  
  h1 {
    font-size: small;
    margin: 0 0 0 20px;
  }
  
  #munifi {
    left: 0;
    right: unset;
    transform: rotate(-90deg);
    transform-origin: 0 0;
    bottom: -5px;
    /* position: unset; */
  }
  
  #otazkaDiv, #odpovedeDiv {
    width: 100%;
  }
  
  #anketa {
    flex-direction: column;
  }
  
  #nastaveniaMobil {
    width: fit-content;
  }
  
  #otoc {
    font-size: 200%;
    padding: 40px 40px;
  }
  
  #otazka {
    padding: 15px 40px 15px 20px;
    margin: auto auto 30px !important;
  }
  
  #vytvorene {
    font-size: 120%;
    padding: 25px 35px;
    margin: auto;
    max-width: calc(95% - 70px);
  }
  
  #nastavenia {
    width: 65%;
  }
}

