*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
  font-size: 62,5%;
}

body {
  font-family: 'Roboto', sans-serif;
  height: 100vh;
  width: 100%;
  background: #0f2027; /* fallback for old browsers */
  background: linear-gradient(to right,#2c5364, #203a43, #0f2027);
  /*
  display: flex;
  justify-content: center;
  align-items: center;
  */
  color: #fff;
}

.topbar {
    text-align: center;
    font-size:40px;
    padding: 40px;
}

.header {
    text-align: center;
    font-size: 30px;
    margin-bottom: 70px;
}

.header.signaturepreview {
    margin-bottom: 280px;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  margin-left: 2rem;
  margin-top: 0.3rem;
  display: block;
  transition: all 0.3s;
  transform: translateY(0rem);
}

.form__input {
  font-family: 'Roboto', sans-serif;
  color: #333;
  font-size: 1.2rem;
	margin: 0 auto;
  padding: 0.9rem 1.2rem;
  border-radius: 0.2rem;
  background-color: rgb(255, 255, 255);
  border: none;
  width: 90%;
  display: block;
  /*border-bottom: 0.3rem solid transparent;*/
  transition: all 0.3s;
}

.form__input:placeholder-shown + .form__label {
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(-4rem);
  transform: translateY(-4rem);
}

.formside {
    width: calc(50% - 100px);
    float: left;
    padding: 50px;
}

.signatureside {
    background: white;
    color: black;
    width: calc(50% - 100px);
    float: right;
    padding: 50px;
    height: calc(100vh - 225px);
    position: fixed;
    margin-left: 50%;
}

#nametext {
    font-weight: bold;
}

#copysignature {
    margin-top: 100px;
}

@media only screen and (max-width: 1024px) {
   .formside {
        width: calc(100% - 100px);
        padding: 50px;
        float: none;
    }

    .signatureside {
        width: calc(100% - 100px);
        padding: 50px;
        float: none;
        height: fit-content;
        position: relative;
        margin-left: 0;
        margin-top: 0;
    }
    
    .topbar {
        text-decoration: underline;
        font-size:30px;
    }
    
    .header.signaturepreview {
        margin-bottom: 70px;
    }
}