/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  list-style: none;
  text-decoration: none;
}
*::selection {
  background: var(--main-color);
  color: #fff;
}
@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

:root {
  --main-color: #0bb7b1;
  --text-color: #1e1c2a;
  --bg-color: #fff;

  --big-font: 4rem;
  --h2-font: 2.24rem;
  --p-font: 0.9rem;
}
section {
  padding: 50px 10%;
}
body.active {
  --bg-color: #1e1c2a;
  --text-color: #fff;
}
body {
  color: var(--text-color);
  background: var(--bg-color);
}
#darkmode {
  font-size: 25px;
  cursor: pointer;
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-color);
  padding: 18px 100px;
  box-shadow: 0 0.5rem 50rem rgba(0, 0, 0, 0.1);
}
.logo-img {
  width: 2rem;
}
.logo {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--main-color);
}
.navbar {
  display: flex;
}
.navbar a {
  font-size: 1rem;
  padding: 10px 20px;
  color: var(--text-color);
  font-weight: 500;
}
.navbar a:hover {
  color: var(--main-color);
}
#menu-icon {
  font-size: 2rem;
  cursor: pointer;
  display: none;
}
.home {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 1.5rem;
}
.home-img img {
  width: 100%;
}
.home-text h1 {
  font-size: 3rem;
  color: var(--main-color);
}
.home-text h2 {
  font-size: 1.7rem;
  margin: 1rem 0 1rem;
}
.home-text-about {
  h2 {
    font-size: 1.7rem;
    margin: 1rem 0 1rem;
  }
  h1 {
    font-size: 3rem;
    color: var(--main-color);
  }
}
.btn {
  display: inline-block;
  background: var(--main-color);
  padding: 10px 20px;
  border-radius: 0.5rem;
  color: #fff;
}
.btn:hover {
  background: #ffa400;
}
.about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.about-img img {
  max-width: 80%;
  border-radius: 0.5rem;
}
.about-text span {
  color: var(--main-color);
  font-weight: 500;
}
.about-text h2 {
  font-size: var(--h2-font);
}
.about-text p {
  margin: 0.8rem 0 1.8rem;
}
.heading {
  text-align: center;
}
.heading span {
  color: var(--main-color);
  font-weight: 500;
}
.heading h2 {
  font-size: var(--h2-font);
}
.menu-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, auto));
  gap: 1.5rem;
  align-items: center;
}
.box {
  position: relative;
  margin-top: 2rem;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgb(4 64 54 / 10%);
  padding: 10px;
}
.box-img {
  width: 200px;
  height: 200px;
}
.box-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.box h2 {
  font-size: 1.2rem;
}
.box h3 {
  font-size: 1rem;
  font-weight: 400;
  margin: 4px 0 10px;
}
.box span {
  font-size: var(--p-font);
  font-weight: 500;
}
.box .bx {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  background: var(--main-color);
  border-radius: 0 0.5rem 0 0.5rem;
  padding: 5px 8px;
}
.box .bx:hover {
  background: #ffa400;
}
.servives-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, auto));
  gap: 1.5rem;
  margin-top: 2rem;
}
.s-box {
  text-align: center;
}
.s-box img {
  width: 60px;
}
.s-box h3 {
  margin: 4px 0 10px;
}
.connect {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.connect-text span {
  color: var(--main-color);
  font-weight: 500;
}
.connect-text h2 {
  font-size: var(--h2-font);
}
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, auto));
  gap: 1.5rem;
}
.contact-box h3 {
  margin-bottom: 1rem;
}
.social {
  display: flex;
  margin-top: 1.5rem;
}
.social i {
  font-size: 20px;
  margin-right: 1rem;
  color: var(--text-color);
}
.social i:hover {
  color: var(--main-color);
}
.contact-box li a {
  color: var(--text-color);
}
.contact-box li a:hover {
  color: var(--main-color);
}
.address {
  display: flex;
  flex-direction: column;
}
.address i {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.address span {
  margin-left: 1rem;
}
.copyright {
  padding: 20px;
  text-align: center;
}

.service-section-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  color: aliceblue;
  width: 100%;
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.596)),
    url(https://www.viscom.com/fileadmin/content/service/Viscom_Service_Header_allgemein_web.jpg);

  h1 {
    font-size: clamp(3vw, 3.5vw, 5vw);
  }
  p {
    font-size: clamp(1.7vw, 2.5vw, 2.11vw);
  }
}

#contact-hero {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  color: aliceblue;
  width: 100%;
  height: 90vh;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: linear-gradient(rgba(0, 0, 0, 0.489), rgb(0, 0, 0)),
    url(https://images.pexels.com/photos/356056/pexels-photo-356056.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2);

  i {
    color: white;
    font-size: 5rem;
    animation: fadeInOut 3s infinite;
  }
}

.contact-details {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0.596)),
    url(https://images.pexels.com/photos/583842/pexels-photo-583842.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2);
  color: white;
  h1 {
    font-size: 3rem;
  }
  ul {
    font-size: 2rem;
  }
  ul {
    i {
      padding-right: 1rem;
    }
    li {
      padding-bottom: 1.3rem;
    }

    a {
      color: white;
    }
  }
}
/* label,
input {
  width: 73vw;
  border: none;
  stroke: none;
  outline: none;
}
label{
  
  padding: 10px;
}
input {
  padding: 1rem;
  border-radius: .3rem;
}
.form {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: #1e1c2a;
}
textarea {
  padding: 1rem;
  border-radius: .3rem;
  width: 73vw;
  border: none;
  stroke: none;
  outline: none;
}
.form-area {
  display: flex;
  flex-direction: column;

  .submit {
    margin-top: 1rem;
    transition: ease-in .1s;
  }
  .submit:hover {
   background: #0bb7b1;
   color: white;
   scale: 1.01;
   font-size: 1rem;
  }
} */
@media (max-width: 921px) {
  header {
    padding: 14px 41px;
  }
  :root {
    --big-font: 3rem;
    --h2-font: 1.7rem;
  }
  .home-text h1 {
    font-size: 2rem;
    color: var(--main-color);
  }
  .home-text h2 {
    font-size: 1.07rem;
    margin: 1rem 0 1rem;
  }
  .contact-details {
    h1 {
      font-size: 2rem;
    }
    ul {
      font-size: 1.25rem;
    }
  }
}
@media (max-width: 768px) {
  section {
    padding: 50px 8%;
  }
  .home {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 0.005rem;
  }
  #menu-icon {
    display: initial;
    color: var(--text-color);
  }
  header .navbar {
    position: absolute;
    top: -400px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: var(--bg-color);
    box-shadow: 0 4px 4px rgb(0 0 0 / 10%);
    transition: 0.2s ease;
  }
  .navbar.active {
    top: 100%;
  }
  .navbar a {
    padding: 1.5rem;
    display: block;
    background: var(--bg-color);
  }
  #darkmode {
    position: absolute;
    top: 1.4rem;
    right: 2rem;
  }
  .btn {
    display: inline-block;
    background: var(--main-color);
    padding: 5px 10px;
    border-radius: 0.25rem;
    color: #fff;
    font-size: 0.85rem;
  }
  .service-section-hero {
    height: 90vh;
  }
  #contact-hero {
    i {
      color: white;
      font-size: 4rem;
      animation: fadeInOut 3s infinite;
    }
  }
}
@media (max-width: 715px) {
  header {
    padding: 10px 16px;
  }
  .home {
    grid-template-columns: 1fr;
  }
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-img {
    order: 2;
  }
  .contact-details {
    h1 {
      font-size: 1.65rem;
    }
    ul {
      font-size: 0.975rem;
    }
  }
}
@media (max-width: 515px) {
  .service-section-hero {
    h1 {
      font-size: 9vw;
    }
    p {
      font-size: 3vw;
    }
  }
  .connect {
    flex-direction: column;
  }
  .connect .btn {
    margin-top: 1rem;
  }

  .home-text h1 {
    font-size: 1.53rem;
    color: var(--main-color);
  }
  .home-text h2 {
    font-size: 1rem;
    margin: 0.1rem 0 1rem;
  }
}
@media (max-width: 450px) {
  :root {
    --big-font: 2rem;
    --h2-font: 1.4rem;
  }
  .home-text {
    padding-top: 4rem;
  }
}
