* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Exotc";
    src: url('../fonts/exotc.woff') format('woff');
}

@font-face {
    font-family: "Five Cents";
    src: url('../fonts/fivecents.woff') format('woff');
}

body {
    background-color: black;
}

button a, button a:visited {
    color: black;
    text-decoration: none;
}

a, a:visited {
    color: yellow;
    text-decoration: none;
}

button {
    font-family: "Exotc";
    background-color: #FFF101;
    border: 1px solid yellow;
    border-radius: 10px;
    width: 140px;
    height: 40px;
    color: black;
    font-size: 1.6rem;
    margin: 10px;
    display: flex;
}

button a {

    width: 100%;
    height: 100%;
    align-self: center;
}

#buttonodjava {
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

header {
    height: 100px;
    background-color: #FFF101;
    display: flex;
    align-items: center;
}

#header-logo {
    height: 80px;
    width: 80px;
    background-image: url('../images/frff-logo.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

h1 {
    font-family: "Five Cents";
    font-size: 1rem;
    color: black;
    text-align: center;
}

h2 {
    margin: 20px;
    font-family: "Exotc";
    font-size: 1.6rem;
    color: white;
    text-align: center;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#bottom-image {
      position: fixed;
      bottom: -20px;
      left: 20%;
      height: 40vh;
      width: 100%;
      background-image: url('../images/frff-logo-rotate.svg');
      background-position: bottom center;
      background-repeat: no-repeat;
      background-size: contain;

      animation-name: mrda;
      animation-duration: 4s;
      animation-timing-function: ease-in-out;
      animation-direction: alternate;
      animation-iteration-count: infinite;
      animation-play-state: running;
}

div.yellowbutton {
      height: 40px;
      width: 120px;
      background-color: #FFF101;
      color: black;
      display: flex;
      margin: 20px;
      margin-bottom: 0;
      text-align: center;
      border-radius: 10px;
}

div.yellowbutton a {
      font-family: "Exotc";
      font-size: 1.3rem;
      align-self: center;
      margin: 0 auto;
      color: black;
      width: 100%;
}

#submitmainbutton {
      height: 40px;
      width: 120px;
      background-color: #FFF101;
      color: black;
      margin: 20px;
      margin-top: 20px;
      text-align: center;
      font-size: 1.4rem;

      cursor: pointer;
      display: inline-block;
      text-align: center;
}

#submitnophotochange {
      height: 40px;
      width: 300px;
      background-color: #FFF101;
      color: black;
      margin: 20px;
      margin-top: 20px;
      text-align: center;
      font-size: 1.4rem;

      cursor: pointer;
      display: inline-block;
      text-align: center;
}

h2.otherh2 {
    margin-top: 0px;
}

form {
    margin: 20px;
    display: flex;
    flex-direction: column;
}

form p {
    color: white;
    font-family: "Exotc";
    font-size: 1.4rem;
    margin-bottom: 5px;
}

form p.fontc {
    font-family: "Cairo";
    font-size: 1rem;
}

form input {
    font-family: "Cairo";
    font-size: 0.9rem;
    width: 60%;
    margin-bottom: 5px;
    border-radius: 10px;
}

textarea {
    font-family: "Cairo";
    font-size: 0.9rem;
    margin-bottom: 5px;
    border-radius: 10px;
}

#fileToUpload, #fileToUpload2 {
    border: 1px solid yellow;
    border-radius: 10px;
    padding: 5px;
}

table {
    font-family: "Cairo", sans-serif;
    border-collapse: collapse;
    width: 92%;
    margin: 10px;
}

table td:nth-child(8)  {white-space: nowrap;}


td, th {
    border: 1px solid #FFF101;
    text-align: center;
    padding: 4px;
}

tr {
    background-color: rgba(255, 255, 0, 0.3);
}

tr:nth-child(even) {
    background-color: rgba(255, 255, 0, 0.2);
}

body.submitpage {
    color: white;
}

body.submitpage p {
    font-size: 1.4rem;
    margin: 30px;
    font-family: "Cairo";
}

body.submitpage a {
    font-family: "Exotc";
}

@media screen and (min-width: 370px) {
      h1 { font-size: 1.2rem; }
}

@media screen and (min-width: 600px) {
      form { margin-left: 40px; margin-right: 40px;}

      #formpart1 {
          padding-left: 20px;
      }

      button {
          width: 180px;
          height: 50px;
          font-size: 1.8rem;
      }

      h1 { font-size: 1.8rem; }
      h2 { font-size: 2rem; margin-top: 30px; }
}

@media screen and (min-width: 900px) {
      button {
          width: 190px;
          height: 60px;
          font-size: 2rem;
      }

      h1 { font-size: 2rem; }
      h2 { font-size: 2.3rem; margin-top: 40px; }

      #bottom-image { height: 55vh; bottom: -40px; }

      form {
          flex-direction: row;
          margin-left: 40px;
          margin-right: 40px;
      }

      #formpart1 { width: 55%; }
}

@keyframes mrda {
    0% {
        transform: rotate(5deg) translateY(5px) translateX(0);
    }
    100% {
        transform: rotate(-25deg) translateY(25px) translateX(-150px);
    }
}
