@import url("https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "montserrat", sans-serif;
}

.sec {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(#2a3a63, #228b22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px;
}

.custom-shape-divider-bottom-1605209114 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.content {
  max-width: 600px;
  position: relative;
  /* margin-left: -60px; */
  z-index: 1;
}

.content h2 {
  color: #fff;
  font-size: 3em;
  line-height: 1em;
}

.content h2 span {
  color: #ff0026;
  font-size: 1em;
}

.content .textbox {
  margin-bottom: 60px;
}

.content p {
  color: #fff;
  margin: 20px 0 20px;
  font-size: 16px;
}

.content a {
  padding: 10px 30px;
  margin-top: 20px;
  background: #fff;
  display: inline-block;
  text-decoration: none;
  color: #111;
}

.cargo {
  position: absolute;
  /* bottom: 0; */
  height: 90%;
  right: 100px;
  right: 0;
}

.sec img {
  height: 550px;
  width: 700px;
  /* height: 650px;
  width: 800px; */
}

.scroll-down {
  position: absolute;
  top: 450px;
  left: 50%;
  width: 60px;
  height: 60px;
  /* background: #fff; */
  transform: translateY(-80px) translateX(-50%) rotate(45deg);
}

.scroll-down span {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  animation: animate 1.5s linear infinite;
  opacity: 0;
}

.scroll-down span:nth-child(1) {
  transform: translate(-15px, -15px);
  animation-delay: -0.4s;
}
.scroll-down span:nth-child(2) {
  transform: translate(0, 0);
  animation-delay: -0.2s;
}
.scroll-down span:nth-child(3) {
  transform: translate(15px, 15px);
  animation-delay: 0s;
}

@keyframes animate {
  0% {
    top: -5px;
    left: -px;
    opacity: 0;
  }
  25% {
    top: 0px;
    left: 0px;
    opacity: 1;
  }
  50%,
  100% {
    top: 5px;
    left: 5px;
    opacity: 0;
  }
}

body.show-nav {
  /* ==width of the nav (200px)== */
  transform: translateX(200px);
}

/* Text Area */
.textarea {
  background: #f1f1f1;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.textarea .box {
  /* padding: 5vw; */
  position: relative;
  width: 1100px;
  padding: 50px;
  background: #fff;
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  margin: 10px;
  box-sizing: border-box;
  overflow: hidden;
  /* text-align: center; */
}

.textarea .box .typography {
  position: relative;
}

.textarea .box .typography h2 {
  margin: 10px;
  padding: 0;
  font-size: 24px;
  color: #228b22;
}

.textarea .box .typography p {
  margin: 10px;
}

.textarea .box .typography p span {
  font-weight: bold;
}

.textarea .box .typography p,
ul {
  font-size: 16px;
}

/* =====Footer===== */
/* =====Footer Mon 28th===== */
.footer {
  text-align: left;
}

.footer .footer-content .links ul {
  padding: 0;
}

.footer {
  background: #2a3a63;
  color: #fff;
  height: 450px;
  position: relative;
  width: 100%;
  padding: 20px;
}

.footer .footer-content {
  margin: 50px;
  /* margin: 0 50px; */
  height: 350px;
  display: flex;
}

.footer .footer-content h2 {
  color: #3ce434;
}

.footer .footer-content .footer-section {
  flex: 1;
  padding-top: 25px;
  align-items: center;
}

/* Footer About Us styles */
.footer .footer-content .about {
  margin-left: 10px;
}
.footer .footer-content .about p {
  font-size: 18px;
  margin-left: 5px;
}

.footer .footer-content .about img {
  width: 200px;
  height: 50px;
}

/* Footer Contact Styles */
.footer .footer-content .contact span {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.footer .footer-content .contact .socials a {
  border: 1px solid grey;
  width: 45px;
  height: 41px;
  color: #fff;
  padding-top: 5px;
  margin-right: 5px;
  text-align: center;
  display: inline-block;
  font-size: 18px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.5s;
}

.footer .footer-content .contact .socials a:hover {
  color: #ff0026;
}

.footer .footer-content .footer-section {
  padding: 0;
}

/* Footer Links Styles */
.footer .footer-content .links ul {
  list-style: none;
}

.footer .footer-content .links ul a {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  transition: 0.5s;
  color: #fff;
  text-decoration: none;
}

.footer .footer-content .links ul a:hover {
  color: #ff0026;
  margin-left: 20px;
}

.footer .footer-bottom {
  height: 50px;
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 0px;
  left: 0px;
  padding-top: 10px;
}

/* Media Queries */

@media (max-width: 1280px) {
  .sec img {
    height: 450px;
    width: 550px;
  }
}

@media (max-width: 1260px) {
  .sec img {
    height: 450px;
    width: 550px;
  }
}

@media (max-width: 1160px) {
  .sec img {
    height: 350px;
    width: 450px;
  }
}

@media (max-width: 1125px) {
  .sec img {
    height: 200px;
    width: 350px;
  }
}

@media (max-width: 961px) {
  .scroll-down {
    display: none;
  }
}

@media (max-width: 961px) {
  .sec {
    width: 100%;
    align-items: center;
    padding: 40px 40px 0;
    flex-direction: column;
  }

  .content {
    max-width: 100%;
    /* margin-top: 120%; */
    margin-top: 10%;
  }

  .content h2 {
    font-size: 3em;
  }

  .cargo {
    position: relative;
    bottom: 0;
    height: initial;
    right: initial;
    width: 80%;
    margin-top: -50px;
    padding-bottom: 50px;
  }

  .sec img {
    height: 250px;
    width: 350px;
  }
}

/* 400px/ 25rem */
@media (min-width: 400px) {
  h1 {
    font-size: 2rem;
  }
  .title {
    font-size: 3em;
  }

  .logo {
    float: left;
  }

  nav {
    float: right;
  }

  .home-hero {
    height: 100vh;
    padding-top: 20vh;
  }

  .button {
    font-size: 1.5rem;
  }
  .home-about-textbox h1 {
    top: -0.1em;
    padding: 0.325em;
    font-size: 1.5rem;
  }
  .sec {
    width: 100%;
  }
}

@media (max-width: 845px) {
  .footer {
    width: 100%;
    height: 800px;
    text-align: left;
    display: flex;
    margin-top: auto;
  }
  .footer .footer-content {
    flex-direction: column;
    margin-left: 20px;
    flex-direction: column;
  }
  .footer .footer-content {
    margin-bottom: 100px;
  }
  .footer .footer-content .about p {
    font-size: 14px;
    margin: 0;
  }
  .footer .footer-content .links ul a {
    font-size: 16px;
    margin-left: 5px;
  }

  .footer .footer-content .contact .socials a {
    font-size: 16px;
  }

  .footer .footer-content .contact .socials {
    margin-bottom: 10px;
  }

  .footer .footer-content h2 {
    padding: 0;
    font-size: 16px;
    margin-top: 10px;
  }
  p:last-of-type {
    margin-bottom: 5px;
  }

  .footer .footer-content .links ul {
    color: #ff0026;
    padding: 0;
  }

  .footer-bottom {
    margin: 15px;
  }
}
