@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
    sans-serif;
}

body .s1 {
  position: absolute;
  width: 100px;
  height: 200px;
  border-radius: 50px;
  background-color: black;
  opacity: 0.3;
  top: -125px;
  right: 60px;
  z-index: 1;
  transform: rotate(-30deg);
}

body .s1c {
  position: absolute;
  width: 105px;
  height: 190px;
  border-radius: 50px;
  background-color: #8ce1f0;
  top: -125px;
  right: 60px;
  z-index: 1;
  transform: rotate(-30deg);
}

body .s2 {
  position: absolute;
  width: 75px;
  height: 75px;
  border-radius: 50px;
  background-color: #8ce1f0;
  opacity: 0.2;
  top: 525px;
  right: 15px;
  z-index: 3;
}

body .s3 {
  position: absolute;
  width: 150px;
  height: 75px;
  border-radius: 5px;
  background-color: #565e16;
  opacity: 0.1;
  bottom: -5px;
  left: 25px;
  z-index: 2;
}

body .s4 {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 100px;
  background-color: #1b89a5;
  opacity: 0.3;
  top: -125px;
  left: -70px;
  z-index: 2;
}

body .f1 {
  position: absolute;
  width: 95%;
  height: 35px;
  margin-left: 25px;
  bottom: -115px;
  background-color: #8ce1f0;
  z-index: -1;
  transform: rotate(10deg);
}

body .f2 {
  position: absolute;
  width: 100%;
  height: 35px;
  bottom: -145px;
  background-color: antiquewhite;
  z-index: -1;
  transform: rotate(10deg);
}

body .f3 {
  position: absolute;
  width: 95%;
  height: 35px;
  margin-left: 25px;
  bottom: -175px;
  background-color: gray;
  z-index: -2;
  transform: rotate(10deg);
}

.header-container {
  width: 100%;
  height: 75px;
  background: #8ce1f0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 5px 15px 5px 35px;
}

.nav span {
  display: inline-block;
  font-weight: 700;
  font-size: 60px;
  color: gray;
}

.nav span:hover {
  color: #5e61f7ee;
}

.nav div {
  position: relative;
  display: inline-block;
  font-size: 25px;
  bottom: 10px;
  color: antiquewhite;
  text-shadow: 0.5px 0.5px 2px #0796f5;
}

.nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin-right: 25px;
  font-size: 18px;
  letter-spacing: 3px;
  z-index: 2;
}

.nav a {
  display: block;
  padding-right: 25px;
  font-weight: 700;
  text-decoration: none;
  color: gray;
  transition: all 0.5s ease-out;
}

.nav a:hover {
  color: black;
  transform: scale(1.2);
}

.nav li a:hover {
  transform: rotate(3deg);
}

.main {
  height: 100%;
  width: 100%;
}

.mobile-container {
  display: none;
  width: 100%;
  height: 50px;
  background: #daf4f8;
}

.mobile-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 5px 15px 5px 35px;
}

.mobile-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin-right: 25px;
  font-size: 18px;
  letter-spacing: 3px;
  z-index: 2;
}

.mobile-nav a {
  text-decoration: none;
  padding-left: 18px;
  padding-right: 18px;
  font-size: 18px;
  font-weight: 700;
  color: #8ce1f0;
}

.main-container {
  width: 100%;
  padding: 25px 15px 35px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: azure;
  background-size: cover;
}

.text-container {
  flex: 1;
  max-width: 100%;
  height: 100%;
  background: rgb(41, 49, 56) url(imgmac.jpg);
  box-shadow: 0 0 7px 7px azure inset;
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  margin-left: 30px;
  padding: 0px 20px 10px 30px;
  color: antiquewhite;
  z-index: 3;
}

.text-container h1 {
  line-height: 1.5;
  padding: 20px 0;
  max-width: 450px;
}

.text-container h4 {
  text-shadow: 0 0 10px whitesmoke;
  max-width: 520px;
  line-height: 1.5;
}

.text-container h3 {
  line-height: 1.5;
  padding: 8px 0;
  max-width: 520px;
}

.text-container p {
  padding: 20px 0;
  max-width: 850px;
}

.contact-container {
  height: 100%;
  max-width: 500px;
  flex: 2;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  height: 100%;
  padding: 0 10px 10px 10px;
  margin: 25px 0 0 0;
  background: whitesmoke;
  color: black;
  box-shadow: 0px 0px 5px lightslategray;
  z-index: 3;
}

.contact-form {
  width: 100%;
  margin-top: 15px;
  font-size: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 5px;
  font-size: 18px;
  border: 1px solid rgb(207, 214, 219);
  margin-top: 5px;
}

textarea {
  resize: vertical;
}

button {
  width: 100%;
  border: none;
  outline: none;
  font-size: 22px;
  border-radius: 8px;
  color: gray;
  cursor: pointer;
  margin-top: 5px;
  padding: 5px;
  transition: 0.3s ease background-color;
}

button:hover {
  background-color: #8ce1f0;
  color: white;
}

#status {
  position: relative;
  width: 88%;
  height: 100%;
  text-align: center;
  padding: 5px;
  margin: 10px auto;
  border-radius: 8px;
}

#status.success {
  background: #8ce1f0;
  color: white;
}

#status.error {
  background: #f75e5eee;
  color: black;
  animation: status 4s ease forwards;
}

@keyframes status {
  0% {
    opacity: 1;
    pointer-events: all;
  }
  90% {
    opacity: 1;
    pointer-events: all;
  }
  100% {
    opacity: 0;
    pointer-events: none;
  }
}

.footer-container {
  display: inline;
  width: 100%;
  margin: 0;
  padding: 0;
}

.footer-container ul {
  max-width: 100%;
  margin: 45px 25px 15px 25px;
  padding: 15px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-container li {
  list-style: none;
}

.footer-container li a {
  text-decoration: none;
  margin-right: 15px;
  margin-left: 15px;
  color: black;
  transition: all 0.5s;
}

.footer-container ul li a .fa-facebook:hover {
  color: blue;
  transition: 0.5s ease-out;
  transform: scale(1.5);
}

.footer-container ul li a .fa-linkedin:hover {
  color: #4d80ec;
  transition: 0.5s ease-out;
  transform: scale(1.5);
}

.footer-container ul li a .fa-github:hover {
  color: black;
  transition: 0.5s ease-out;
  transform: scale(1.5);
}

.footer-container p {
  text-align: center;
  font-size: small;
  padding-bottom: 50px;
}

@media screen and (max-width: 1200px) {
  .f3 {
    display: none;
  }
}

@media screen and (max-width: 1100px) {
  .f2 {
    display: none;
  }
}

@media screen and (max-width: 1050px) {
  .f1 {
    display: none;
  }
}

@media screen and (max-width: 900px) {
  .nav ul {
    display: none;
  }

  .mobile-container {
    display: flex;
  }
}

@media screen and (max-width: 720px) {
  body .s2 {
    display: none;
  }

  body .s3 {
    display: none;
  }

  .nav a {
    display: block;
    margin: auto;
  }

  .main-container {
    flex-direction: column;
    text-align: center;
    width: 100%;
  }

  .text-container {
    box-shadow: none;
    margin: 0 0 25px 0;
    padding: 0;
    text-align: center;
  }

  .contact-container {
    margin: 0;
    padding: 0;
    text-align: center;
  }
}
