* {
  margin: 0;
  padding: 0;
}

.main {
  width: 100%;
  background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.5) 50%
    ),
    url(4.jpg);
  background-position: center;
  background-size: cover;
  height: 109vh;
}

.navbar {
  width: 1200px;
  height: 75px;
  margin: auto;
}

.icon {
  width: 200px;
  float: left;
  height: 70px;
}

.logo {
  color: chocolate;
  font-size: 40px;
  font-family: Georgia, "Times New Roman", Times, serif;
  padding: 20px;
  float: left;
  padding-top: 10px;
}

.menu {
  width: 400px;
  float: left;
  height: 70px;
}

ul {
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
}

ul li {
  list-style: none;
  margin-left: 62px;
  margin-top: 27px;
  font-size: 14px;
}

ul li a {
  text-decoration: none;
  color: beige;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: bold;
  transition: 0.4s ease-in-out;
}

ul li a:hover {
  color: chocolate;
}

.search {
  width: 300px;
  float: left;
  margin-left: 250px;
}

.srch {
  font-family: Georgia, "Times New Roman", Times, serif;
  width: 200px;
  height: 40px;
  background: transparent;
  border: 1px solid chocolate;
  margin-top: 13px;
  color: beige;
  border-right: none;
  font-size: 16px;
  float: left;
  padding: 10px;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
}

.btn {
  width: 100px;
  height: 40px;
  background: chocolate;
  border: 2px solid chocolate;
  margin-top: 13px;
  color: beige;
  font-size: 15px;
  border-bottom-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.btn:focus {
  outline: none;
}

.srch:focus {
  outline: none;
}

.content {
  width: 1200px;
  height: auto;
  margin: auto;
  color: beige;
  position: relative;
}

.content .par {
  padding-left: 20px;
  padding-bottom: 25px;
  font-family: "Times New Roman", Times, serif;
  letter-spacing: 1.2px;
  line-height: 30px;
}

.content h1 {
  font-family: "Times New Roman", Times, serif;
  font-size: 50px;
  padding-left: 10px;
  letter-spacing: 5px;
}

.content .cn {
  width: 160px;
  height: 40px;
  background: chocolate;
  border: none;
  margin-bottom: 10px;
  margin-left: 20px;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.5s ease;
}

.content .cn a {
  text-decoration: none;
  color: black;
  transition: 0.3s ease;
}

.cn:hover {
  background-color: beige;
}

.content span {
  color: chocolate;
  font-size: 60px;
}

.form {
  width: 250px;
  height: 380px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 50%,
    rgba(0, 0, 0, 0.8) 50%
  );
  position: absolute;
  top: 140px;
  left: 870px;
  border-radius: 10px;
  padding: 25px;
}

.form h2 {
  width: 220px;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  text-align: center;
  color: chocolate;
  font-size: 22px;
  background-color: beige;
  border-radius: 10px;
  margin: 2px;
  padding: 8px;
}

.form input {
  width: 240px;
  height: 35px;
  background: transparent;
  border-bottom: 1px solid chocolate;
  border-top: none;
  border-right: none;
  border-left: none;
  color: beige;
  font-size: 15px;
  letter-spacing: 1px;
  margin-top: 30px;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

.form input:focus {
  outline: none;
}

::placeholder {
  color: beige;
  font-family: "Times New Roman", Times, serif;
}

.btnn {
  width: 240px;
  height: 40px;
  background: chocolate;
  border: none;
  margin-top: 30px;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
  color: beige;
  transition: 0.4s ease;
}

.btnn:hover {
  background: beige;
  color: chocolate;
}

.btnn a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.form .link {
  font-family: "Times New Roman", Times, serif;
  font-size: 17px;
  padding-top: 20px;
  text-align: center;
}

.form .link a {
  text-decoration: none;
  color: chocolate;
}

.liw {
  padding-top: 15px;
  padding-bottom: 10px;
  text-align: center;
}

.social {
  position: absolute;
  top: 355px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social li {
  list-style: none;
}

.social li a {
  display: inline-block;
  filter: invert(1);
  margin-right: 25px;
  transform: scale(0.5);
  transition: 0.3s ease;
}

.social li a:hover {
  transform: scale(0.5) translateY(+15px);
}

@media screen and (max-width: 1200px) {
  .navbar {
    width: 100%;
    height: 100px;
  }

  ul {
    margin-left: 30px;
  }

  ul li {
    margin-left: 60px;
  }

  ul li a {
    font-size: 1.6vw;
  }

  .search {
    margin-top: 3px;
    margin-left: 290px;
  }

  .srch {
    height: 40px;
    width: 90px;
    font-size: 14px;
  }

  .btn {
    height: 40px;
    width: 80px;
  }

  .content {
    width: 100%;
  }

  .content h1,
  .content span {
    font-size: 5.7vw;
  }

  .content .par {
    width: 90%;
    font-size: 1.5vw;
  }

  .content .cn {
    width: 13%;
    height: 3.5vw;
    font-size: 1.8vw;
  }

  .content a {
    font-size: 1.6vw;
  }
}

@media screen and (max-width: 1170px) {
  .main {
    padding-left: 20px;
    height: 180vh;
  }

  .form {
    margin-left: -30px;
    width: 250px;
    height: 380px;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.8) 50%,
      rgba(0, 0, 0, 0.8) 50%
    );
    position: absolute;
    top: 600px;
    left: 30px;
    border-radius: 10px;
    padding: 25px;
  }

  .form input {
    width: 240px;
    height: 35px;
    background: transparent;
    border-bottom: 1px solid chocolate;
    border-top: none;
    border-right: none;
    border-left: none;
    color: beige;
    font-size: 15px;
    letter-spacing: 1.5px;
    margin-top: 30px;
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
      "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  }

  .btnn a {
    font-size: 16px;
  }

  .form .link a {
    font-size: 16px;
  }
}

@media screen and (max-width: 830px) {
  .content {
    margin-top: 500px;
    width: 80%;
    margin-left: 40px;
  }

  .content h1,
  .content span {
    font-size: 6vw;
  }

  .content .par {
    width: 90%;
    font-size: 1.8vw;
  }

  .content .cn {
    width: 15%;
    height: 4.5vw;
    font-size: 2vw;
  }

  .content a {
    font-size: 2vw;
  }

  .logo {
    margin-left: 450px;
    width: 100%;
    margin-top: -15px;
    font-size: 5vw;
  }

  ul {
    margin-top: 15px;
    margin-left: -60px;
  }

  ul li {
    margin-left: 60px;
  }

  ul li a {
    font-size: 2vw;
  }

  .search {
    margin-top: -20px;
    margin-left: 60px;
  }

  .srch {
    height: 30px;
    width: 160px;
    font-size: 12px;
  }

  .btn {
    height: 30px;
    width: 70px;
  }

  .main {
    padding-left: 20px;
    height: 180vh;
  }

  .form {
    margin-left: -30px;
    width: 250px;
    height: 380px;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.8) 50%,
      rgba(0, 0, 0, 0.8) 50%
    );
    position: absolute;
    top: 600px;
    left: 30px;
    border-radius: 10px;
    padding: 25px;
  }

  .form input {
    width: 240px;
    height: 35px;
    background: transparent;
    border-bottom: 1px solid chocolate;
    border-top: none;
    border-right: none;
    border-left: none;
    color: beige;
    font-size: 15px;
    letter-spacing: 1.5px;
    margin-top: 30px;
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
      "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  }

  .btnn a {
    font-size: 16px;
  }

  .form .link a {
    font-size: 16px;
  }
}

@media screen and(max-width:600px) {
  .content {
    margin-top: 80px;
    margin-left: 20px;
  }

  .search {
    margin-top: -40px;
    margin-left: 42px;
  }

  .logo {
    margin-left: 180px;
    font-size: 4vw;
  }

  ul {
    margin-top: -25px;
    margin-left: -5px;
  }

  ul li {
    margin-left: 50px;
  }

  ul li a {
    font-size: 2vw;
  }
}

@media screen and (max-width: 450px) {
  .logo {
    margin-left: 140px;
    font-size: 4vw;
  }

  ul {
    margin-top: -25px;
  }

  ul li {
    margin-left: 42px;
  }

  ul li a {
    font-size: 2vw;
  }

  .search {
    margin-top: -40px;
    margin-left: 38px;
  }
}
