@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@100;300;400;700;900&display=swap');

:root {
  --main-color: #cb0536;
  --white-color: #fff;
  --lgray-color: #eeeeee;
  --simplegray: #808080;
  --black-color: #000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Barlow', sans-serif;
 /* text-shadow: 0px 1px 6px rgba(0, 0, 0, 0.25); */
  scroll-behavior: smooth;
  letter-spacing: 1.3px;
  /* scroll-margin: 45px; */
}

p {
  line-height: 1.6em;
}

html {
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
  color: var(--white-color);
}

section {
  padding: 100px 20px;
  background-color: var(--white-color);
}

h3 {
  letter-spacing: 5px;
  word-spacing: 7px;
  text-shadow: 0px 1px 6px rgba(0, 0, 0, 0.25);
}

h2 {
  width: 100%;
  text-shadow: 0px 1px 6px rgba(0, 0, 0, 0.25);
}

section {
  box-shadow: 0px 15px 23px -10px rgba(0, 0, 0, 0.74);
  -webkit-box-shadow: 0px 15px 23px -10px rgba(0, 0, 0, 0.74);
  -moz-box-shadow: 0px 15px 23px -10px rgba(0, 0, 0, 0.74);
}

.section-header-text {
  color: var(--simplegray);
  font-size: 2.5em;
  text-transform: uppercase;
  width: 100%;
}

.section-header-text::after {
  content: "";
  display: block;
  max-width: 150px;
  height: 5px;
  margin: 40px auto 60px auto;
  background-color: var(--main-color);
  box-shadow: 0px 0px 2px black;
}

.white-line::after {
  content: "";
  display: block;
  width: 150px;
  height: 5px;
  margin: 40px auto 60px auto;
  background-color: var(--white-color-);
  box-shadow: 0px 0px 2px black;
}

.section-header .red-text h3 {
  font-weight: 500;
}


.section-header-text h3 {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  font-weight: 400;
  text-shadow: 0px 0px 1px black;
}

.section-text {
  font-size: 1.7em;
  color: var(--simplegray);
}

.section-text ul {
  padding: 20px 60px;
}

.red-text {
  color: var(--main-color);
}

.white-text {
  color: var(--white-color);
  margin: 10px;
}

.red-background {
  background-color: var(--main-color);
}

.container {
  max-width: 120ch;
  margin: 0 auto;
  padding: 0 1%;
}

.header .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.header {
  width: 100%;
  padding: 6px;
  height: 45px;
  background-color: var(--main-color);
  z-index: 100;
}

header {
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/hero1.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

nav {
  margin-top: 2px;
}

nav a:hover {
  border-bottom: 3px solid var(--white-color);
  transition: border-bottom 0.2s ease;
}

.container nav a {
  margin-right: 20px;
  font-size: 1.5em;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--white-color);
  text-decoration: none;
}

.hero-text {
  margin-top: 10%;
}

h1 {
  font-size: 5em;
  color: var(--white-color);
}

h1 span {
  color: var(--lgray-color);
}

.hero-slogan {
  font-size: 2em;
  color: var(--white-color);
  text-align: left;
  /* transform: translateY(-150px); */
  position: absolute;
  top: 60%;
  right: 10%;
  width: auto;
}

.main-logo {
  margin-top: 30px;
  width: 120px;
  height: auto;
}

.section-cards {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 0 auto;
}

.card {
  padding: 0px;
}

.card ul li {
  margin-left: 30px;
  margin-top: 20px;
  font-size: 1.5em;
  font-weight: 400;
  color: var(--simplegray);
}

.card-list li {
  max-width: 230px;
}

.background-img {
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.background-img::after {
  content: '';
  display: block;
}

.img2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/hero2.webp');
}

.img3 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/hero3.webp');
}

.img4 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/hero4.webp');
}

.step {
  margin-bottom: 20px;
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
}

.steps .stepnumber {
  display: block;
  width: 70px;
  height: 70px;
  border: var(--main-color) 7px solid;
}

.steps .stepnumber span {
  display: block;
  width: 100%;
  font-size: 3em;
  color: var(--main-color);
  text-align: center;
  padding-right: 2px;
}

.step-text {
  max-width: 700px;
  font-size: 1.5em;
  font-weight: 400;
  color: var(--simplegray);
}

.step-text p span {
  font-size: .7em;
}

.order-cards {
  max-width: 100%;
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
}

/* .order-card-text {
  /* width: 270px; 
} */

.order-card {
  width: 340px;
  height: auto;
  padding: 30px;
  padding-bottom: 150px;
  border: 4px solid var(--main-color);
  box-shadow: 0px 0px 38px -6px rgba(0, 0, 0, 0.74);
  -webkit-box-shadow: 0px 2px 38px -6px rgba(0, 0, 0, 0.74);
  -moz-box-shadow: 0px 0px 38px -6px rgba(0, 0, 0, 0.74);
  position: relative;
}

.order-card:last-child {
  margin-right: 0px;
}

.order-card-title {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-size: 1.5em;
  color: var(--simplegray);
}

.order-card-price {
  font-size: 2.3em;
  width: 100%;
  margin-bottom: 20px;
  text-align: right;
}

.order-card-list {
  display: inline-block;
  height: 200px;
  color: var(--simplegray);
  margin: 20px 20px 50px 20px;
  font-size: 1.3em;
}

.order-card-list li {
  margin-bottom: 15px;
  font-weight: 400;
}

.order-card-button-wrapper {
  position: absolute;
  bottom: 50px;
  left: 0px;
  width: 100%;
}

.order-card-button {
  display: block;
  margin: 0 auto;
  width: 60%;
  height: auto;
  padding: 7px;
  color: var(--main-color);
  background-color: var(--white-color);
  border: 3px solid var(--main-color);
  text-transform: uppercase;
  text-align: center;
  font-size: 1.5em;
  transition: background-color 0.4s ease-in-out;
}

.order-card-button:hover {
  background-color: var(--main-color);
  color: var(--white-color);
}

.order-card-button p {
  line-height: 30px;
}

.order-card-button a {
  color: inherit;
}

.order-card:first-child .order-card-button {
  background-color: var(--main-color);
  color: var(--white-color);
  line-height: 20px;
}

.order-card:first-child .order-card-button:hover {
  background-color: var(--white-color);
  color: var(--main-color);
}

.container .order-cards .last-child {
  margin: 50px auto;
  height: 140px;
  width: 1100px;
  display: flex;
  flex-flow: row;
  justify-items: baseline;
}

.container .order-cards .last-child .order-card-title {
  margin-right: 20px;
}

.last-child .order-card-price {
  min-width: 150px;
  padding-right: 0px;
}

.order-card-text {
  font-size: 1.25em;
  color: var(--simplegray);
  font-weight: 00;
  max-width: 800px;
  margin-left: 20px;
  margin-bottom: 0;
  padding: 0px 0 0px 0;

}

.last-child .order-card-button {
  margin: 50px auto;
  width: 80%;
}

.last-child .order-card-button-wrapper {
  position: relative;
  bottom: 15px;
  width: 100%;
}

.msg-form {
  max-width: 700px;
  height: auto;
  margin: 0 auto;
  padding: 35px 50px;
  font-size: 1.25em;
  display: flex;
  flex-flow: column;
  background-color: var(--main-color);
  box-shadow: 0px 0px 38px -6px rgba(0, 0, 0, 0.74);
  -webkit-box-shadow: 0px 2px 38px -6px rgba(0, 0, 0, 0.74);
  -moz-box-shadow: 0px 0px 38px -6px rgba(0, 0, 0, 0.74);
}

.msg-form-item {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  margin-bottom: 10px;
}

.msg-form label {
  margin-bottom: 10px;
  width: 250px;
  font-size: inherit;
  text-transform: uppercase;
  color: var(--white-color);
}

.msg-form label::after {
  content: ' : ';
}

.input,
select {
  width: 100%;
  height: 30px;
  font-size: inherit;
  color: var(--main-color);
  background-color: var(--white-color);
}

.msg-form textarea {
  width: 100%;
  min-height: 100px;
  max-height: 350px;
  font-size: inherit;
  color: var(--main-color);
  background-color: var(--white-color);
}

.send-btn {
  width: auto;
  height: auto;
  padding: 10px 20px;
  margin: 20px 0 0 auto;
  font-size: inherit;
  text-transform: uppercase;
  background-color: var(--white-color);
  transition: background-color 0.4s ease-in-out;
  color: var(--main-color);
}

.send-btn:hover {
  background-color: var(--main-color);
  color: var(--white-color);
}

.red-background {
  background-color: var(--main-color);
}

footer {
  background-color: var(--main-color);
}

.footer {
  max-width: 1140px;
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  padding: 20px 0;
}

.footer-left {
  display: flex;
  flex-flow: row;
}

.footer-menu-left {
  max-width: 500px;
  margin-left: 20px;
  list-style-type: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer-menu-left li {
  max-width: 250px;
}

.footer-menu-left li a {
  text-decoration: none;
  font-size: 1em;
  color: var(--white-color);
  text-transform: uppercase;
  transition: border-bottom 0.2s ease-in-out;
}

.footer-menu-left li a:hover {
  border-bottom: 3px solid var(--white-color);
}

.footer-contacts {
  list-style-type: none;
}

.footer-contacts li p,
.footer-contacts li p a {
  margin-bottom: 5px;
  color: var(--white-color);
  font-size: 1.2em;
  text-decoration: none;
}

.footer-copyrights {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 10px;
  color: var(--white-color);
  text-align: center;
}

.section-header .white-text::after {
  content: '';
  width: 150px;
  height: 5px;
  background-color: var(--white-color);
}

#scroll-up-btn {
  display: block;
  color: var(--main-color);
  width: 80px;
  height: 80px;
  background-color: var(--white-color);
  border: 5px solid var(--main-color);
  position: fixed;
  bottom: 50px;
  right: 50px;
  font-size: 65px;
  text-align: center;
  line-height: 80px;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
}

#scroll-up-btn:hover {
  scale: 1.05;
  box-shadow: 3px 3px 10px black;
}

#lang-btn {
  display: inline-block;
  position: absolute;
  top: 100px;
  right: 50px;
  transition: all 0.3s ease-in-out;
}

#lang-btn:hover {
  scale: 1.1;
}

#lang-btn img {
  width: 50px;
  height: 37px;
  cursor: pointer;
}