body {
    color: rgb(5, 5, 5);
    text-align: center;
    /* width: 1400px; */
    background-image: url("./back4.jpeg");
    background-position: center;
    background-size: cover; 
    font-family: 'Yanone Kaffeesatz', sans-serif;
    position: relative;
} 
main {
  height: 100vh;
  display: flex;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  flex-direction: column;
}
.mainnav {
    background-color: rgba(244, 228, 225, 0.4);
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 10px;
    padding: 0;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 5px;
    position: relative;
    height: 100px;
}
nav {
  /* background-color: rgba(244, 228, 225, 0.4); */
  height: 50px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;

}
a {
  font-family: 'DynaPuff', cursive;
  font-size: 20px;
  color: black;
  background-color: rgba(244, 228, 225, 0.4);
 }


.welcome {
    font-family: 'DynaPuff', cursive;
    font-size: 55px;
    color: black;
  }

.styleregister {
    display: flex;
    flex-direction: row;
    justify-content: center;

}
.welcomefield {
    width: 500px;

  }

input[type=text],[type=password] {
    padding:8px  35px;
    margin: 8px 0;
    box-sizing: border-box;
}

input[type=text]:focus {
    border: 3px solid #555;
  }
input[type=password]:focus {
    border: 3px solid #555;
  }
  input[type=submit] {
    background-color: white;
    border-radius: 8px;
    color: black;
    padding: 10px 32px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
  }
 /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    display: flex;
    background-color: #fefefe;
    margin: auto;
    /* padding: 20px; */
    border: 1px solid #888;
    width: 50%;
  }
  
  /* The Close Button */
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  .parent {
    position: relative;
  }
.message {
    background-color: rgba(244, 228, 225, 0.6);
    width: 300px;
    height: 150px;
    border-radius: 10px 20px;
    animation: wiggle 2s linear infinite;
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    right: 0;
    font-family: 'DynaPuff', cursive;
}

#myBtn {
    padding:12px;
    border-radius: 12px;
}
@keyframes wiggle {
    0%, 7% {
      transform: rotateZ(0);
    }
    15% {
      transform: rotateZ(-15deg);
    }
    20% {
      transform: rotateZ(10deg);
    }
    25% {
      transform: rotateZ(-10deg);
    }
    30% {
      transform: rotateZ(6deg);
    }
    35% {
      transform: rotateZ(-4deg);
    }
    40%, 100% {
      transform: rotateZ(0);
    }
  }
  

/* Big screen devices (889px and above) */
@media only screen and (max-width: 950px) {
  .welcome {
    font-size: 45px;
  }
}

/* Medium screen devices (768px and above) */
@media only screen and (max-width: 780px) {
  .welcome {
    font-size: 35px;
  }
  nav {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* Small screen devices (600px and above) */
@media only screen and (max-width: 500px) {
  .welcome {
    font-size: 35px;
  }
  nav {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}




