/* #region Defaults*/

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}
ul[role="list"],
ol[role="list"] {
  list-style: none;
}
html:focus-within {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}
a {
  text-decoration: none;
}
img,
picture {
  display: block;
}
input,
button,
textarea,
select {
  font: inherit;
}
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
} /* #endregion*/

.flex {
  display: flex;
}

:root {
  --swiper-theme-color: #f5a623;
  --orange: #e26926;
  --silver: #696969;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 0px;
}

body {
  font-family: Roboto;
  background-image: url(assets/background.jpg);
  background-color: rgba(0, 0, 0, 0.7);
  background-blend-mode: multiply;
  overflow-y: scroll;
}

.tab {
  margin-left: 9rem;
}

.header {
  background: white;
  height: 7rem;
  border-radius: 1rem;
  margin-top: 1rem;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  display: flex;
  padding: 1rem;
}

.logo-text {
  text-align: center;
  width: 100%;
  padding-bottom: 1rem;
}
.logo-text span {
  font-weight: 400;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.hero__text {
  padding: 1rem;
  color: white;
  margin-bottom: 4rem;
}

.hero__text-title {
  font-size: 2rem;
  color: #fff585;
  line-height: 1.2;
}

.hero__text-subtitle {
  font-size: 1.5rem;
}

.hero__form-title {
  font-size: 1.8rem;
  color: #f5a623;
  text-align: center;
}

.hero__form {
  background: white;
  margin: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.input-group {
  flex-direction: column;
  margin: 0.5rem;
}
.input-group-btn {
}

.nameInput,
.emailInput {
  border: none;
  outline: none;
}

.nameInput {
  border-bottom: 2px solid #ffed8c;
}

.emailInput {
  border-bottom: 2px solid #f5a623;
}

.nameInput:focus {
  border-bottom: 2px solid #f5a623;
}

.emailInput:focus {
  border-bottom: 2px solid #ffed8c;
}

.btn {
  padding: 0.7em 2em;
  color: white;
  border: none;
  border-radius: 1.5rem;
  cursor: pointer;
  transition: all 500ms;
}

.hero__button {
  background: #686868;
  margin: auto;
}

.error-message {
  color: red;
  display: none;
  text-align: center;
}

.modal-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.88);
  height: 100vh;
  width: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 4;
}

.modal,
.thank-you-modal {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  position: relative;
  margin: 1rem;
}

.thank-you-modal {
  display: none;
}

.modal__subtitle {
  padding: 1rem 0;
}
.modal-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.modal-btn {
  background: #f5a623;
  flex: 1;
  text-align: center;
}
.modal-btn + .modal-btn {
  background: #c07b3a;
}
.modal-btn:hover {
  opacity: 0.7;
}

.close-button {
  position: absolute;
  top: 0;
  right: 1rem;
  transform: rotate(45deg);
  font-size: 2rem;
  cursor: pointer;
}

.list-of-socials {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links {
  margin: 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: white;
}

.social-links button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  text-decoration: none;
  font-size: 2rem;
  color: rgb(19, 11, 11);
  transition: 0.5s;
  z-index: 2;
  border: 0;
  cursor: pointer;
  background: white;
}

.social-links button:hover {
  color: white;
}

.social-links button:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--orange);
  border-radius: 50%;
  z-index: -1;
  transition: 0.5s;
  transform: scale(0);
}

.social-links:nth-child(1) button:before {
  background: rgb(0, 119, 181);
}
.social-links:nth-child(2) button:before {
  background: #00acee;
}
.social-links:nth-child(3) button:before {
  background: rgb(0, 119, 181);
}
.social-links:nth-child(4) button:before {
  background: #3b5998;
}

.social-links button:hover:before {
  transform: scale(1);
}

.social-text {
  font-size: 1rem;
  margin-left: 0.5rem;
}
.outer-social-link:hover .social-links button:before {
  transform: scale(1);
}
.outer-social-link:hover .social-links button {
  color: white;
}
.footer {
  width: 100%;
  margin-top: 2rem;
}

@media screen and (min-width: 768px) {
  img,
  picture {
    max-width: 100%;
    display: block;
  }
  body {
    overflow-y: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .backgroundImage {
    position: absolute;
    display: block;
  }

  .header {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 5rem;
  }
  .header,
  .swiper {
    width: 25rem;
  }
  .hero {
    flex-direction: row;
    padding: 3.5rem;
    margin-top: 3.5rem;
    width: 100%;
  }
  .hero__text {
    flex: 1;
  }

  .hero__text-title {
    font-size: 3rem;
    width: 22ch;
  }

  .hero__text-subtitle {
    width: 50ch;
  }

  .hero__form {
    flex: 1;
    height: 350px;
  }

  .input-group {
    margin: 1.3rem;
  }
  .modal {
    min-width: 350px;
  }

  .modal-btn {
    background: #f5a623;
    margin-left: 1rem;
  }
}
