@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400&family=Open+Sans:wght@400;600&display=swap");
body, html {
  padding: 0;
  margin: 0;
}

* {
  box-sizing: border-box;
}

img {
  width: 100%;
}

h1, h2, h3, h4 {
  font-family: "Nunito", sans-serif;
  padding: 0;
  margin: 0;
}

h1 {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.2;
}
@media (max-width: 767px) {
  h1 {
    font-size: 1.2rem;
  }
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

h3 {
  font-size: 2rem;
  font-weight: 800;
}

p {
  font-family: "Open Sans", sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
  padding: 0;
  margin: 0;
}

@media (max-width: 800px) {
  section {
    padding: 0 10px;
  }
}
.container-fluid {
  --bs-gutter-x: 0;
}

header {
  min-height: 60px;
  justify-content: space-between;
}
@media (max-width: 767px) {
  header {
    padding: 0 1rem !important;
    flex-direction: column;
  }
}
header .logo {
  display: inherit;
  max-width: 250px;
}
@media (max-width: 767px) {
  header .logo {
    max-width: 200px;
    margin: 0 auto;
  }
}
header .header__info {
  display: inherit;
  justify-content: flex-end;
  align-items: center;
  color: #ff7700;
  text-align: right;
}
@media (max-width: 767px) {
  header .header__info {
    justify-content: center;
    text-align: center;
  }
}

.black-bg {
  padding: 1rem 0;
  background: black;
}
@media (max-width: 767px) {
  .black-bg {
    display: none;
  }
}

.top-strip {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: black;
  color: white;
}

.red-bg {
  padding: 2rem 0;
  background: #470047;
}

.hero {
  display: flex;
  flex-direction: column;
}
.hero .hero__main {
  display: flex;
}
@media (max-width: 767px) {
  .hero .hero__main {
    flex-direction: column;
  }
}
.hero .hero__main .hero__thumbs {
  align-items: center;
}
.hero .hero__main .hero__thumbs .hero__thumbs_thumb {
  position: relative;
  cursor: pointer;
}
.hero .hero__main .hero__thumbs .hero__thumbs_thumb:hover img {
  border: 4px solid #ff7700;
}
.hero .hero__main .hero__thumbs .hero__thumbs_thumb:hover .hero__thumbs_infoblock {
  background: #ff7700;
}
.hero .hero__main .hero__thumbs .hero__thumbs_thumb img {
  border-radius: 0.5rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
}
.hero .hero__main .hero__thumbs .hero__thumbs_thumb .hero__thumbs_infoblock {
  position: absolute;
  bottom: 0;
  width: 90%;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.75);
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}
@media (max-width: 767px) {
  .hero .hero__main .hero__thumbs .hero__thumbs_thumb .hero__thumbs_infoblock {
    padding: 0.5rem 0.25rem;
    justify-content: center;
  }
}
.hero .hero__main .hero__thumbs .hero__thumbs_thumb .hero__thumbs_infoblock p {
  font-weight: 600;
  color: white;
}
@media (max-width: 767px) {
  .hero .hero__main .hero__thumbs .hero__thumbs_thumb .hero__thumbs_infoblock p {
    font-size: 0.75rem;
    text-align: center;
  }
  .hero .hero__main .hero__thumbs .hero__thumbs_thumb .hero__thumbs_infoblock p:last-of-type {
    display: none;
  }
}
.hero .hero__main .hero__thumbs .hero__thumbs_img {
  width: 90%;
}
.hero .hero__main .hero__form {
  display: flex;
  flex-direction: column;
  padding: 2rem 0 2rem 2rem;
}
@media (max-width: 767px) {
  .hero .hero__main .hero__form {
    padding: 2rem 0 2rem;
  }
}
.hero .hero__main .hero__form h4, .hero .hero__main .hero__form small {
  color: white;
  text-align: center;
}
.hero .hero__main .hero__form small {
  font-size: 0.75rem;
}
.hero .hero__tagline {
  display: inherit;
  justify-content: center;
  margin-top: 2rem;
  color: white;
}
@media (max-width: 767px) {
  .hero .hero__tagline {
    margin-top: 0;
    text-align: center;
  }
}
.hero .hero__tagline span {
  text-decoration: underline;
}

form {
  position: relative;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
form input, form select {
  -webkit-appearance: none;
  padding: 0.625rem;
  background: white;
  border: none;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}
form .dob {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
form .dob #dob-month {
  flex: 2;
}
form .dob #dob-day {
  flex: 1;
}
form .dob #dob-year {
  flex: 1;
}
form button {
  cursor: pointer;
  padding: 0.875rem;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: white;
  background: #ff7700;
  border: none;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  box-shadow: 0 10px 14px -8px black;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
}
form button:hover {
  background: #ff5500;
}

.members {
  margin-top: 50px;
  padding: 0;
}
@media (max-width: 800px) {
  .members {
    padding: 0 10px !important;
  }
}

#members__tagline {
  margin: 50px auto 0;
  text-align: center;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
}
.profile-grid .profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  border-radius: 0.5rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
}
.profile-grid .profile:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
  transform: scale(1.015);
  -webkit-transform: scale(1.015);
  -moz-transform: scale(1.015);
  -ms-transform: scale(1.015);
  -o-transform: scale(1.015);
}
.profile-grid .profile:hover .info {
  background: #ff7700;
}
.profile-grid .profile img {
  border-radius: 0.5rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
}
.profile-grid .profile .info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(71, 0, 71, 0.7);
  color: #fff;
  width: 100%;
  height: 15%;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 10px;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}
.profile-grid .profile .info .username {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
}
.profile-grid .profile .info .age {
  font-size: 0.8em;
}

@media screen and (max-width: 767px) {
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.cta {
  display: flex;
  justify-content: center;
  margin: 50px auto 100px;
}
.cta .btn-cta-secondary {
  cursor: pointer;
  padding: 1rem 2rem;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  background: #ff7700;
  box-shadow: 0 10px 14px -8px black;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -ms-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
}
.cta .btn-cta-secondary:hover {
  background: #ff5500;
  box-shadow: 0 5px 14px -8px black;
  transform: scale(1.015);
  -webkit-transform: scale(1.015);
  -moz-transform: scale(1.015);
  -ms-transform: scale(1.015);
  -o-transform: scale(1.015);
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #757575;
}
@media (max-width: 767px) {
  footer {
    flex-direction: column;
  }
}
footer .footer__logo {
  width: 120px;
}
footer ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
footer ul li a {
  font-size: 0.875rem;
  text-decoration: none;
  color: #757575;
}
footer ul li a:hover {
  color: #181818;
}

.hero__profile {
  gap: 4rem;
  align-items: center;
}
@media (max-width: 767px) {
  .hero__profile {
    gap: 2rem;
    flex-direction: column-reverse;
  }
  .hero__profile .form-img {
    text-align: center;
  }
  .hero__profile .form-img img {
    max-width: 50%;
  }
  .hero__profile h4, .hero__profile p {
    text-align: center;
  }
}
.hero__profile h4, .hero__profile p, .hero__profile small {
  color: white;
}
.hero__profile img {
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.75);
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}
.hero__profile .form {
  display: flex;
  flex-direction: column;
  align-items: end;
}
.hero__profile .form form {
  width: 100%;
}

.user-data {
  gap: 4rem;
}
@media (max-width: 767px) {
  .user-data {
    gap: 1rem;
    flex-direction: column;
  }
}
.user-data .info {
  position: relative;
  margin-top: 10px;
  font-style: italic;
}
.user-data .info::before, .user-data .info::after {
  position: absolute;
  z-index: -1;
  display: block;
  width: 3rem;
  height: 4rem;
  content: "";
  z-index: 0;
  font-size: 8rem;
  font-family: "Nunito", sans-serif;
  color: #ff7700;
}
.user-data .info::before {
  top: -38px;
  left: -60px;
  content: open-quote;
}
@media (max-width: 767px) {
  .user-data .info::before {
    top: -50px;
    left: -10px;
  }
}
.user-data .info::after {
  bottom: -20px;
  right: 0;
  content: close-quote;
}
@media (max-width: 767px) {
  .user-data .info::after {
    bottom: -10px;
    right: 0;
  }
}
.user-data .user-info_data p,
.user-data .profile-user-data p {
  line-height: 2;
}
.user-data .profile-user-data p {
  font-weight: 600;
}