body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1 {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
}

#header {
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.25)
    ),
    url("images/header.webp");
  background-size: cover;
  background-position: center;
  height: 815px;
  color: #ffffff;
}

#header .section-wrapper {
  align-items: flex-start;
  height: 600px;
  justify-content: space-evenly;
}

#header .description {
  margin-left: 50px;
}

#header .description p {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 60px;
  text-align: center;
  margin: 0px;
}

#header .carousel {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

#header h1 {
  font-size: 60px;
  width: 500px;
  text-align: center;
  margin: 0px 15px;
  cursor: pointer;
}

#header h1:hover {
  color: #000000;
}

.circles {
  display: none;
}

#services h1 {
  font-size: 60px;
  margin-bottom: 15px;
}

#services h2 {
  font-size: 16px;
  width: 50%;
  text-align: center;
  line-height: 30px;
}

#services .section-wrapper {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  margin: 80px 0px;
}

#services .service-item {
  width: 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 25px 12px;
}

#services .service-item h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 30px;
  color: #c0d2ec;
}

#services .service-item h4 {
  font-family: "Open Sans", sans-serif;
  font-size: 19px;
  font-style: italic;
  color: #ffffff;
}

#services .service-item ul {
  padding-left: 22px;
}

#services .service-item li {
  margin-bottom: 10px;
}

#services #building-icon svg {
  margin-top: 21px;
}

.request {
  background-image: linear-gradient(
      0deg,
      rgba(50, 79, 121, 0.8),
      rgba(50, 79, 121, 0.8)
    ),
    url("images/targyalas.webp");
  background-size: cover;
  background-position: center;
}

.request2 {
  background-image: linear-gradient(
      0deg,
      rgba(50, 79, 121, 0.8),
      rgba(50, 79, 121, 0.8)
    ),
    url("images/gepeles.webp");
  background-size: cover;
  background-position: center;
}

.offer {
  background-image: linear-gradient(
      0deg,
      rgba(50, 79, 121, 0.8),
      rgba(50, 79, 121, 0.8)
    ),
    url("images/elemzes.webp");
  background-size: cover;
  background-position: center;
}

.offer2 {
  background-image: linear-gradient(
      0deg,
      rgba(50, 79, 121, 0.8),
      rgba(50, 79, 121, 0.8)
    ),
    url("images/kezfogas.webp");
  background-size: cover;
  background-position: center;
}

#introduction {
  background-color: #f3f7f9;
}

#introduction .section-wrapper {
  flex-direction: row;
  justify-content: space-between;
  margin-top: 30px;
}

#introduction .left {
  display: flex;
  flex-direction: column;
  margin-left: 35px;
}

#introduction h1 {
  color: #324f79;
  line-height: 1.2;
  font-size: 48px;
  letter-spacing: 2px;
  margin-top: 0px;
  margin-bottom: 15px;
}

#introduction p {
  line-height: 1.8;
  font-size: 17px;
  width: 700px;
  text-align: justify;
}

#introduction img {
  width: 400px;
}

#contact {
  background-color: #324e79;
}

#contact .section-wrapper {
  box-sizing: border-box;
  background-color: #ffffff;
  padding: 30px;
  margin: 80px 0px;
}

#contact h1 {
  margin-top: 0px;
  margin-bottom: 35px;
  font-size: 30px;
  text-align: center;
}

#contact .body {
  width: 100%;
  height: 230px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-evenly;
}

#contact .left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-around;
  height: 100%;
}

#contact .left h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  color: #324f79;
  letter-spacing: 1px;
  margin-bottom: 0px;
  margin-top: 0px;
}

#contact .left p {
  margin-top: 10px;
}

#contact .left a {
  text-decoration: none;
  color: #111111;
  font-weight: bold;
}

#contact .right {
  width: 450px;
}

#contact .right form {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

#contact .right .form-top {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

#contact .right textarea {
  width: 100%;
  margin-bottom: 20px;
  border: none;
  border-bottom: 1px solid #000000;
  font-size: 16px;
  resize: none;
}

#contact .form-top input {
  width: 200px;
  border: none;
  border-bottom: 1px solid #000000;
  font-size: 16px;
}

#contact button {
  cursor: pointer;
  background-color: #324e79;
  border: none;
  width: 120px;
  height: 45px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 3px;
  align-self: center;
}

#contact button:hover {
  background-color: #30446c;
}

#contact input:focus,
#contact textarea:focus {
  outline: none;
}

#caret-left,
#caret-right {
  cursor: pointer;
  width: 40px;
  height: 40px;
}

#caret-left path,
#caret-right path {
  fill: #ffffff;
}

#caret-left:hover path,
#caret-right:hover path {
  fill: #000000;
}

#contract-icon,
#building-icon {
  width: 125px;
  height: 125px;
  background: #eff3fa;
  -moz-border-radius: 65px;
  -webkit-border-radius: 65px;
  border-radius: 65px;
}

#contract-icon svg,
#building-icon svg {
  width: 75px;
  height: 75px;
  margin-top: 25px;
  margin-left: 25px;
}

.carousel-items {
  display: flex;
  overflow: hidden;
  width: 530px;
}

.carousel-item.animated {
  transition: transform 0.5s ease-in-out;
}

.carousel-item.active {
  transform: translateX(0);
}

.carousel-item.forward {
  transform: translateX(120%);
}

.carousel-item.backward {
  transform: translateX(-120%);
}

.response-message {
  margin-top: 10px;
  align-self: center;
}

.response-message.success {
  color: green;
}

.response-message.error {
  color: red;
}

/* Mobile */
@media (max-width: 760px) {
  .section-wrapper {
    padding: 0px 20px;
    box-sizing: border-box;
  }
  #header .section-wrapper {
    align-items: center;
  }
  #header .carousel {
    flex-direction: column;
  }
  #header .description {
    margin-left: 0px;
    text-align: center;
  }
  #header .description p {
    font-size: 45px;
  }
  .circles {
    width: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 25px;
  }
  .circle {
    width: 27px;
    height: 27px;
    border: 2px solid #fff;
    border-radius: 50%;
  }
  .filled-circle {
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
  }
  .description h2 {
    font-size: 18px;
  }
  #caret-left,
  #caret-right {
    display: none;
  }
  #header h1 {
    width: 100%;
    font-size: 36px;
    margin: 0px;
  }
  #header h1:hover {
    color: #ffffff;
  }
  .carousel-items {
    width: 90%;
  }
  #introduction .section-wrapper {
    flex-direction: column;
    margin-top: 40px;
  }
  #introduction p {
    width: 100%;
    font-size: 16px;
  }
  #introduction img {
    width: 70%;
    margin-top: -20px;
  }
  #introduction h1 {
    font-size: 45px;
  }
  #introduction .left {
    margin-left: 0px;
  }
  #services .section-wrapper {
    flex-direction: column;
    margin: 65px 0px;
  }
  #services .service-item {
    width: auto;
    margin-bottom: 40px;
  }
  #services .service-item.offer2 {
    margin-bottom: 0px;
  }
  #contact .body {
    flex-direction: column;
    height: auto;
  }
  #contact .left {
    margin-bottom: 30px;
  }
  #contact .right {
    width: 100%;
  }
  #contact .right .form-top {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 0px;
  }
  #contact .form-top input {
    margin-bottom: 30px;
  }
}

/* Tablet */
@media (min-width: 761px) and (max-width: 1200px) {
  #header .section-wrapper {
    align-items: center;
  }
  .section-wrapper {
    padding: 0px 40px;
    box-sizing: border-box;
  }
  #header .carousel {
    flex-direction: column;
  }
  #header .description {
    margin-left: 0px;
    text-align: center;
  }
  .circles {
    width: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 25px;
  }
  .circle {
    width: 27px;
    height: 27px;
    border: 2px solid #fff;
    border-radius: 50%;
  }
  .filled-circle {
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
  }
  #caret-left,
  #caret-right {
    display: none;
  }
  #header h1 {
    width: 100%;
    margin: 0px;
  }
  #header h1:hover {
    color: #ffffff;
  }
  .carousel-items {
    width: 90%;
  }
  #introduction .section-wrapper {
    flex-direction: column;
    margin-top: 60px;
  }
  #introduction p {
    width: 100%;
    font-size: 20px;
  }
  #introduction img {
    width: 60%;
    margin-top: -20px;
  }
  #introduction h1 {
    font-size: 55px;
    margin-bottom: 30px;
  }
  #introduction .left {
    margin-left: 0px;
  }
  #services .section-wrapper {
    flex-direction: column;
    margin: 0px;
    padding: 80px;
  }
  #services .service-item {
    width: auto;
    margin-bottom: 60px;
    padding: 45px;
  }
  #services .service-item.offer2 {
    margin-bottom: 0px;
  }
  #contact .body {
    flex-direction: row;
    height: 265px;
  }
  #contact .section-wrapper {
    padding: 40px 60px;
  }
  #contact .left {
    margin-bottom: 30px;
    margin-right: 40px;
  }
  #contact .right {
    width: 100%;
  }
  #contact .right .form-top {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 0px;
  }
  #contact .form-top input {
    margin-bottom: 30px;
  }
}

@media (min-width: 950px) and (max-width: 1200px) {
  #introduction img {
    width: 40%;
  }
}

@media (max-width: 400px) {
  #introduction img {
    width: 100%;
  }
}
