@font-face {
    font-family: 'smg1';
    src: url('SamsungSharpSans-Bold.woff2') format('woff2'),
        url('SamsungSharpSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'smg2';
    src: url('SamsungSharpSansRegular-Regular.woff2') format('woff2'),
        url('SamsungSharpSansRegular-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

footer{
  text-align: center;
}

input{
  font-family: "ssr",arial;
  border: 1px solid black;
  height: 40px;
  width: 300px;
  text-align: center;
  transition: 0.25s;
}

input[type = 'submit']{
  width: 80px;
}

input[type = 'submit']:hover{
  width: 70px;
  background-color: black;
  color: white;
}

input[type = 'text']:focus,input[type = 'password']:focus{
  width: 320px;
}

input[type = 'submit']:focus{
  width: 70px;
  background-color: black;
  color: white;
}

/* body{
  background-image: url('icon.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: top  ;
  background-size: 200px;
} */

h1{
  font-family: "smg1",arial;
  text-align: center;
  font-size: 64px;
  margin-bottom: 0px;
  -webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
  animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

h2{
  font-family: "smg1",arial;
  text-align: center;
  font-size: 30px;
  -webkit-animation: slide-in-top 0.7s ease-in-out both;
  animation: slide-in-top 0.7s ease-in-out both;
}

nav{
  align-items: center;
}

.navlinkbox{
  font-family: "smg1",arial;
  background-color: black;
  color: white;
  min-width: 100px;
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 20px;
  display: inline-block;
  margin: 1px;
  cursor: pointer;
  -webkit-animation: scale-in-center 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: scale-in-center 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

main{
  font-family: "smg2",arial;
  width: 800px;
}

.zda{
  background-color: #00CDCD;
}

.zda:hover{
  color: #00CDCD;
  background-color: white;
  /* border: 2px solid blue; */
  /* height: 21px; */
}

.minihead{
  font-family: "smg1",arial;
  font-size: 25px;
  -webkit-animation: text-focus-in 0.7s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
  animation: text-focus-in 0.7s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

p{
  line-height: 150%;
  -webkit-animation: scale-in-center 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: scale-in-center 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

a{
  font-family: "smg2",arial;
}

/* Hovers: (deactivate on touch)*/

@media (hover: none) {
  .navlinkbox:hover{
    font-family: "smg1",arial;
    background-color: white;
    color: black;
    min-width: 100px;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 20px;
    display: inline-block;
    margin: 1px;
  }
}

/* Animationen: */

@-webkit-keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}

@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}

@-webkit-keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}

@keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}

@-webkit-keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}

@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}

@-webkit-keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}


@-webkit-keyframes slide-in-top {
  0% {
    -webkit-transform: translateY(-50px);
            transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slide-in-top {
  0% {
    -webkit-transform: translateY(-50px);
            transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

/* Viewport Regeln: */

@media screen and (max-width: 800px) {
  main{
    width: auto;
    margin: 0 auto;
  }
}

@media screen and (max-width: 442px) {
  nav{
    width: 200px;
    margin: 0 auto;
  }
}
