:root {
  --background: #222;
  --background-mid: #1d1d1d;
  --background-highlight: #111;
  --color: #ddd;
  --red1: #3c0000;
  --red2: #ce4040;
  --red3: #930000;
  --red4: #fbc2b7;
  --font: "Gill Sans", "Gill Sans MT", "Cabin", sans-serif;
}

html {
  background-color: var(--clr-bg);
  color: var(--clr-primary);
  font-family: var(--ff-body);
}

html,
body {
  padding: 0;
  margin: 0;
  display:flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-title);
}

main {
  width: 90vw;
  margin-inline: auto;
  padding-top: 1rem;
  margin-bottom: 5vh;
  flex: 1;
}

.wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.right {
  width: 45%;
}

.info {
  margin-bottom: 0.5rem;
  padding: 1rem;
  background-color: var(--clr-bg-dark);
  display: flex;
  align-items: center;
}

/*----------------forms---------------------*/

form {
  margin-top: 2rem;
}

form div{
  margin: 1rem 0;
}

form textarea,
form input {
  resize: none;
  background-color: var(--background-highlight);
  color: inherit;
  outline: 0;
  border: 0;
  font: inherit;
}

form textarea {
  padding: 0.5rem;
  width: 100%;
}

form input[type="text"], form input[type="email"], form input[type="password"], form input[type="url"] {
  width: calc(100% - 13ch);
}

form button {
  float: right;
  margin-bottom: 1rem;
}

form label {
  color: var(--red4);
  display: inline-block;
  width: 12ch;
}

button {
  outline: 0;
  border: 0;
  background: var(--red4);
  color: var(--red1);
  font-family: inherit;
  padding: 0.3rem;
  cursor: pointer;
}

button:hover {
  background: var(--red2);
}

.radio{
    display: inline-flex;
    align-items: center;
}

iframe{
    width: 100%;
    border: none;
    height: 50vh;
}

iframe.video{
  max-width: 75vw;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 90vh;
}


@media screen and (max-width: 860px) {
  .wrapper{
    flex-direction: column;
  }
  .right{
    width:100%;
    max-width: 60ch;
  }
}
