:root {
  --shadow-color: black;
  --background-color: #f7fbfc;
  --text-color: black;
  --nav-size: 24px;
  --color2: #c0e4ea;
  --header-size: 36px;
  --outline-color: black;
  --button-size: 20px;
  --paragraph-size: 18px;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Andika", sans-serif;
  background-image: url('../assets/img/BG_REGISTER.jpg');
  background-size: cover;
  background-position: center;
}

nav {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  margin: 20px;
  display: flex;
  padding: 0 24px;
  background-color: var(--color2);
}

nav a {
  transition-duration: 0.2s;
  padding: 10px;
  text-decoration: none;
  color: var(--text-color);
  font-size: var(--nav-size);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

nav a:hover {
  transform: scale(110%);
  text-decoration: underline;
  transition-duration: 0.2s;
}

#start-button {
  margin-left: auto;
}

.shaded-box {
  box-shadow: 4px 4px var(--shadow-color);
  border: 4px solid var(--outline-color);
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin-top: 80px;
}

.container {
  display: flex;
  overflow-x: hidden;
  padding: 2rem;
}

.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
}

.image-container img {
  max-width: 100%;
  height: auto;
}

.form-container {
  width: 50%;
  padding: 1rem;
  background-color: #ffc0cb;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px solid black;
  box-shadow: black 10px 10px 0px -2px;
}

form {
  display: flex;
  flex-direction: column;
}

h2 {
  margin-bottom: 2rem;
  font-family: "Andika", sans-serif;
  font-weight: 700;
  text-align: center;
}

.input-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.input-group input {
  width: 100%;
  padding: 0.5rem;
  border: 2px solid black;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}

.input-name {
  display: flex !important;
  justify-content: space-between;
  flex-direction: row;
}
.input-gender {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
}

.first-name,
.last-name {
  width: 50%;
}

.first-name {
  margin-right: 0.75rem;
}

label {
  display: flex;
  justify-content: left;
  margin-right: 0.75rem;
}

button {
  padding: 0.75rem;
  border: none;
  background-color: #00aaff;
  color: white;
  cursor: pointer;
  margin-top: 1.5rem;
  border: 2px solid black;
  box-shadow: black 5px 5px 0px -1px;
}

button:hover {
  background-color: #0088cc;
}

@media (max-width: 768px) {
  .image-container {
    display: none;
  }

  .form-container {
    width: 100%;
  }
}
