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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2c2b30;
  transition: 0.5s;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  position: relative;
  max-width: 100px;
  filter: invert(1);
}

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

header ul li {
  list-style: none;
}

header ul li a {
  display: inline-block;
  position: relative;
  color: #fff;
  font-weight: 400;
  margin-left: 40px;
  text-decoration: none;
  transition: 0.5s;
}

header ul li a:hover {
  color: #f6aa33;
}

header ul li a:after {
  content: "";
  position: absolute;
  background-color: #f6aa33;
  height: 3px;
  width: 0;
  left: 0;
  bottom: -3px;
  border-radius: 2px;
  transition: 0.5s;
}

header ul li a:hover:after {
  width: 100%;
}

header ul li.icon {
  position: relative;
  color: white;
  font-size: 1.5em;
  margin-left: 30px;
  left: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
  cursor: pointer;
}

header ul li.icon:hover {
  color: #f6aa33;
}

.content {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content .textBox {
  position: relative;
  max-width: 500px;
}

.content .textBox h2 {
  color: #fff;
  font-size: 4em;
  line-height: 1.5em;
  font-weight: 900;
  text-transform: uppercase;
}

.content .textBox h2 span {
  font-size: 2em;
}

.content .textBox p {
  color: #fff;
  line-height: 1.8em;
}

.content .textBox a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 30px;
  background: #fff;
  color: #111;
  border-radius: 40px;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.5s;
}

.content .textBox a:hover {
  background: #f6aa33;
  color: #fff;
}

.content .imgBox {
  width: 600px;
  display: flex;
  padding-right: 50px;
  margin-top: -40px;
  justify-content: flex-end;
}

.content .imgBox img {
  max-width: 398px;
}

.thumb {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
}

.thumb li {
  list-style: none;
  display: inline-block;
  margin: 0 20px;
  cursor: pointer;
  transition: 0.5s;
}

.thumb li:hover {
  transform: translateY(-15px);
}

.thumb li img {
  max-width: 100px;
}

.sci {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.sci li {
  list-style: none;
}

.sci li a {
  display: inline-block;
  color: #fff;
  margin: 15px 0;
  margin-right: 10px;
  transform: scale(1.6);
  transition: 0.3s;
}

.sci li a:hover {
  transform: scale(1.9);
}

@media (max-width: 991px) {
  section {
    padding: 40px;
    padding-bottom: 160px;
  }

  header {
    padding: 20px 40px;
  }

  header .logo {
    position: relative;
    max-width: 80px;
  }

  header ul {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2c2b30;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    visibility: hidden;
    opacity: 0;
  }

  header ul.active {
    visibility: visible;
    opacity: 1;
  }

  header ul li a {
    display: inline-block;
    color: #fff;
    font-weight: 400;
    margin-left: 0;
    text-decoration: none;
    font-size: 2em;
    margin: 10px 0;
  }

  header ul li a:hover {
    color: #f6aa33;
  }

  header ul li.icon {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    font-size: 35px;
    display: flex;
    justify-content: flex-end;
    margin-right: 100px;
    margin-top: 23px;
  }

  .toggleMenu {
    position: relative;
    width: 40px;
    height: 40px;
    background: url(./menu.png);
    background-position: center;
    background-size: 30px;
    background-repeat: no-repeat;
    z-index: 2;
    cursor: pointer;
  }

  .toggleMenu.active {
    background: url(./close.png);
    background-position: center;
    background-size: 25px;
    background-repeat: no-repeat;
  }

  .content {
    flex-direction: column;
    margin-top: 80px;
  }

  .content .textBox {
    position: relative;
    max-width: 100%;
    padding-right: 20px;
  }

  .content .textBox h2 {
    color: #fff;
    font-size: 3em;
  }

  .content .textBox a {
    font-size: 14px;
    padding: 8px 15px;
  }

  .content .imgBox {
    width: 100%;
    display: flex;
    padding-right: 0;
    margin-top: 50px;
    justify-content: center;
  }

  .sci {
    position: absolute;
    top: 50%;
    right: 0;
    width: 50px;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
