@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Vidaloka&display=swap");

html {
  font-size: 16px;
}

:root {
  --main-bg-color: #303037;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #3c3c44;
}

.card {
  display: flex;
  border-radius: 1rem;
  background-color: var(--main-bg-color);
  color: #132152;
  outline: 0.5rem solid var(--main-bg-color);
  border-top: 0.01rem solid #3a3a3a;
  border-right: 0.01rem solid #3a3a3a;
}

.photo {
  width: 12.5rem;
  background-image: url("Honey-garlic-chicken-meal-prep-6.jpg");
  background-size: cover;
}

.content {
  display: flex;
  flex-direction: column;
  padding: 3.4rem 3.94rem 3.6rem 2.33rem;
}

.header {
  font: 600 1.4rem "Vidaloka", sans-serif;
  color: #fff;
  margin-bottom: 0.625rem;
}

.text {
  font: 500 0.9rem/1.6 "Roboto", sans-serif;
  color: #f3f3f3;
  margin: 0.438rem 0 1.1rem;
}

.form {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.form_style {
  font: 600 0.9rem "Roboto", sans-serif;
  text-decoration: none;
  border: 0.0625rem solid;
  border-radius: 0.3rem;
}

.email {
  background-color: var(--main-bg-color);
  color: #fff;
  border-color: #6a6a6c;
  width: 15rem;
  height: 2.94rem;
  margin-right: 0.5rem;
  text-align: center;
}

.btn {
  background-color: #91c809;
  color: #3d5603;
  text-align: center;
  padding: 0.875rem 1.438rem;
}

.btn:hover {
  background-color: #739e05;
  color: #212f01;
}

.btn:active {
  background-color: #5c7e06;
  color: #000;
}

@media (max-width: 800px) {
  .card {
    flex-direction: column;
  }

  .photo {
    width: 100%;
    height: 30vh;
  }

  .content {
    padding: 12%;
  }

  .text br {
    display: none;
  }
}

@media (max-width: 499px) {
  .card {
    width: 70%;
  }

  .photo {
    height: 22vh;
  }

  .form {
    flex-direction: column;
    align-items: normal;
  }

  .email {
    width: auto;
    margin-bottom: 1rem;
    margin-right: 0;
  }

  .btn {
    width: auto;
  }
}
