@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

section {
  padding: 100px;
}

.toggle {
  opacity: 0;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.menu-btn__burger {
  width: 30px;
  height: 3px;
  background: #000;
  border-radius: 10px;
  transition: all 0.2s ease-in-out;
}

.menu-btn__burger::after,
.menu-btn__burger::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 3px;
  background: #000;
  border-radius: 10px;
  transition: all 0.2s ease-in-out;
}

.toggle.open .menu-btn__burger {
  transform: translateX(-50px);
  background: transparent;
}

.toggle.open .menu-btn__burger::before {
  transform: rotate(45deg) translate(35px, -35px);
}
.toggle.open .menu-btn__burger::after {
  transform: rotate(-45deg) translate(35px, 35px);
}
.menu-btn__burger::after {
  transform: translateY(10px);
}
.menu-btn__burger::before {
  transform: translateY(-10px);
}

.banner {
  position: relative;
  min-height: 100vh;
  background: url("../img/logo_intrasis_grande.jpg") no-repeat right;
  background-size: 75%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner h2 {
  font-size: 3em;
  color: #333;
  font-weight: 500;
  line-height: 1.5em;
}

.banner h2 span {
  font-size: 1.5em;
  font-weight: 700;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 100px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.2s;
}

header .logo {
  transition: 0.2s;
  background: url(../img/logo.svg) no-repeat left;
  height: 80px;
  background-size: auto 70px;
  width: 150px;
}

header ul {
  position: relative;
  display: flex;
}

header ul li {
  position: relative;
  list-style: none;
}

header ul li a {
  position: relative;
  display: inline-block;
  margin: 0 15px;
  color: #333333;
  text-decoration: none;
}

header.sticky {
  color: #f2f2f2;
  padding: 20px 100px;
  background: #333333;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

header.sticky .logo {
  height: 50px;
  background-size: auto 40px;
  width: 100px;
}

header.sticky ul li a  {
  color: #f2f2f2;
}

.heading {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.heading h2 {
  font-weight: 700;
  font-size: 40px;
  margin: 20px 0;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contentBx {
  padding-right: 30px;
}

.contentBx p {
  line-height: 1.5em;
}

.contentBx h3 {
  font-size: 24px;
  margin-bottom: 30px;
}

.w50 {
  min-width: 50%;
}

img {
  max-width: 100%;
}

.about, .contact {
  background: #eeeeee;
}

.services, .copyright {
  background: #aaaaaa;
}

.services .content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row;
}

.services .content .servicesBx {
  color: #222222;
  padding: 40px 20px;
  background: #666666;
  max-width: 340px;
  margin: 20px;
  text-align: center;
  transition: 0.5s;
  min-height: 530px;
}

.services .content .servicesBx img {
  max-width: 200px;
  max-height: 200px;
  transition: 0.5s;
  filter: grayscale(1);
}

.services .content .servicesBx h2 {
  margin: 20px 0;
}

.services .content .servicesBx:hover {
  color: #f2f2f2;
  background: #333333;
}

.services .content .servicesBx:hover img {
  filter: grayscale(0);
}

.contact .content {
  align-items: flex-start;
}

.formBx {
  min-width: 60%;
}

.formBx form {
  display: flex;
  flex-direction: column;
}

.contactInfo h3, .formBx form h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}

.formBx form input, .formBx form textarea {
  margin-bottom: 20px;
  padding:15px ;
  font-size: 16px;
  border: none;
  outline: none;
  background: #aaaaaa;
  resize: none;
}

.formBx form textarea {
 min-height: 200px;
}

.formBx .status-message {
  display: none;
  margin: 10px 0 30px;
  padding: 20px;
  border-left: solid 5px rgb(136, 232, 190);
  background: rgba(136, 232, 190, .3);
}

.formBx .status-message.error {
  border-left: solid 5px rgb(232, 136, 136);
  background: rgba(232, 136, 136, .3);
}

.formBx .status-message.show {
  display: block;
}

.formBx form input::placeholder, .formBx form textarea::placeholder {
  color: #f2f2f2;
}

.formBx form input[type="submit"] {
  background: #333333;
  color: #f2f2f2;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contactInfo {
  min-width: 40%;
}

.contactInfoBx {
  position: relative;
}

.contactInfoBx .box {
  position: relative;
  padding: 20px 0;
  display: flex;
}

.contactInfoBx .box .icon {
  min-width: 40px;
  padding-top: 4px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-size: 24px;
}

.contactInfoBx .box .text {
  display: flex;
  margin-left: 20px;
  font-size: 16px;
  padding-top: 4px;
  flex-direction: column;
  font-weight: 300;
}

.contactInfoBx .box .text h3 {
  font-weight: 500;
  color: #333333;
  margin-bottom: 10px;
}

.copyright {
  padding: 30px;
  text-align: center;
}



@media (max-width: 1300px) {
  .banner {
    background-position: bottom right;
    align-items: flex-start;
  }
}
@media (max-width: 991px) {
  header,
  header.sticky {
    padding: 20px 50px;
    z-index: 1000;
  }

  header .logo {
    height: 40px;
    background-size: auto 40px;
  }

  .banner {
    background-size: 100%;
    background-position: bottom right;
    align-items: flex-start;
    padding: 150px 50px 100px;
  }

  .banner h2 {
    font-size: 1.5em;
  }

  section {
    padding: 100px 50px;
  }

  .menu {
    position: fixed;
    top: 90px;
    left: -100%;
    display: block;
    padding: 100px 50px;
    text-align: center;
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: 0.5s;
    z-index: 999;
    border-top: solid 1px rgba(0,0,0,0.2);
  }

  header.sticky ul li a, header ul li a {
    color: #333333;
    font-size: 24px;
    margin-bottom: 20px;
  }

  .toggle {
    opacity: 1;
  }

  .menu.open {
    left: 0;
  }

  .heading h2 {
    font-size: 24px;
  }

  .contentBx h3 {
    font-size: 20px;
  }

  .content {
    flex-direction: column;
  }

  .w50 {
    margin-bottom: 20px;
  }

  .services .content .servicesBx {
    margin: 10px;
    min-width: 80%;
  }

  .contactInfo {
    margin: 20px 0;
  }

  .contact .content {
    align-items: center;
  }
}


@media (max-width: 600px) {
  header,
  header.sticky {
    padding: 20px 20px;
  }

  .banner {
    padding:150px 20px 100px;
    background-position: 0 400px;
  }

  section {
    padding: 100px 20px;
  }
}
