:root {
  --Blue: hsl(234, 29%, 20%);
  --Blue-700: hsl(235, 18%, 26%);
  --Grey: hsl(0, 0%, 58%);
  --White: hsl(0, 0%, 100%);
  --Red: hsl(4, 100%, 67%);
}
@font-face {
  font-family: "Roboto-regular";
  src: url("../assets/fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto-bold";
  src: url("../assets/fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

p,
span {
  font-size: 1rem;
  color: var(--Blue-700);
  font-family: "Roboto-regular";
}
h1,
h2,
h3,
h4,
h5,
h6,
label {
  color: var(--Blue);
}
h1 {
  font-size: 2.5rem;
}
input::placeholder {
  color: var(--Grey);
}

input {
  border: 1px solid var(--Grey);
  transition: 0.2s;
  cursor: pointer;
}
input:hover {
  border-color: black;
}
body {
  font-family: "Roboto-bold";
  background-color: var(--Blue-700);
  height: 100dvh;
}

form p {
  color: var(--Red);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#submit-btn {
  color: var(--White);
  background-color: var(--Blue);
  transition: background-color 0.3s ease;
}

#submit-btn:hover {
  background-color: rgb(231, 89, 89);
}

#sent {
  color: var(--Blue);
  font-family: Roboto-bold;
}
#dismiss {
  background-color: var(--Blue);
  color: var(--White);
  width: 100%;
  transition: .3s ease;
}
#dismiss:hover{
        background-color: rgb(235, 99, 99);

}

.flex-1 {
  flex: 1;
}
.error {
  border-color: hsl(4, 100%, 50%);
  background-color: hsl(4, 100%, 90%);
  opacity: 50%;
  color: hsl(4, 100%, 50%);
}

.attribution {
  font-size: 0.6875rem;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

@media (min-width: 992px) {
  section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .h-md-auto {
    height: auto !important;
  }
  .rounded-lg-end {
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
  }
  .rounded-lg-start {
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
  }
  .card-lg {
    width: 70%;
  }
  .rounded-lg-5 {
    border-radius: 2rem;
  }
  .success img {
    padding: 0 !important;
    margin-top: 0 !important;
  }

  .success {
    width: 27rem !important;
    padding: 2.5rem !important;
  }
}
