* {
  box-sizing: border-box;
}

@font-face {
  font-family: "yekan";
  src: url(img/Yekan.woff2) format("woff2");
}

body {
  margin: 0;
  padding: 0;
  font-family: "yekan";
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  margin: auto;
}

header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(5, 0, 78, 1);
  color: white;
  padding: 20px;
}

#two{
  display: none;
}

.logo {
  width: 50%;
}

.logo img {
  width: 15%;
  margin-left: 100px;
}

nav {
  width: 50%;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
}

nav ul li {
  list-style: none;
  margin: 0 20px 0 20px;
}

nav a {
  font-size: 20px;
  position: relative;
  padding-bottom: 10px;
  overflow: hidden;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 100%;
  width: 100%;
  height: 3px;
  background-color: rgba(255, 0, 0, 1);
  transition: 0.5s;
}

nav a:hover::after {
  left: 0;
}

#drop-p{
  position: relative;
}

#dropdown{
  position: absolute;
  top: 60%;
  right: 13%;
  background-color: rgba(5, 0, 78, 1);
  color: white;
  z-index: 10;
  padding: 10px;
  text-align: right;
  border-radius: 10px;
  display: none;
  border: 2px solid white;
}

#dropdown a{
  display: block;
  margin-top: 10px;

}

#two-drop{
  position: absolute;
  top: 60%;
  right: 13%;
  background-color: rgba(5, 0, 78, 1);
  color: white;
  z-index: 10;
  padding: 10px;
  text-align: right;
  border-radius: 10px;
  display: none;
  border: 2px solid white;
}

#two-drop a{
  display: block;
  margin-top: 10px;

}  

.hide{
  display: none !important;
}

.show{
  display: block !important;
}

.down{
  position: absolute;
  top: 37%;
  right: 17%;
}

.contactus {
  text-align: right;
  margin-top: 50px;
}

.contactus h1 {
  text-align: center;
  font-size: 50px;
}

.contactus h2 {
  font-size: 40px;
  display: inline-block;
  position: relative;
  margin-bottom: 0;
}

.contactus h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(255, 0, 0, 1);
}

.contactus p {
  font-size: 20px;
  margin-top: 20px;
  opacity: 70%;
}

.contactus span {
  font-weight: 700;
  font-size: 25px;
}

.contactus a {
  color: rgba(255, 0, 0, 1);
  display: block;
  font-size: 20px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-direction: row-reverse;
  margin-top: 100px;
  padding: 50px;
  background-color: rgba(5, 0, 78, 1);
  color: white;
  text-align: right;
}

.footer-item {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.footer-item h3 {
  font-size: 30px;
}

.footer-item p {
  font-size: 20px;
}

.footer-item a {
  font-size: 20px;
  margin-top: 10px;
  padding-bottom: 5px;
  position: relative;
  overflow: hidden;
}

.footer-item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 100%;
  width: 100%;
  height: 3px;
  background-color: rgba(255, 0, 0, 1);
}

.footer-item a:hover::after {
  left: 0;
  transition: 0.5s;
}

.footer-item img {
  width: 70%;
  display: block;
  text-align: center;
  margin-left: 50px;
}

@media (min-width: 1600px){
  .down{
      top: 40%;
      right: 20.2%;
  }

  .aboutus{
      margin-top: 600px;
  }

  .product-card2 img{
      height: 375px;
  }
}

@media (max-width: 768px) {
  header{
      display: none;
  }

  #two{
    display: flex;
    justify-content: space-between;
    align-items: top;
    text-align: right;
}

#two nav{
    width: 100%;
    display: none;
    position: absolute;
    top: 124px;
    right: 0px;
    z-index: 1000;
    background-color: rgba(5, 0, 78, 1);
}

#two ul{
    display: block;
}

#two li{
    display: block;
}

#two .logo{
    width: 50%;
    text-align: center;
    padding-top: 20px;
}

#two .logo img{
    margin: 0;
    width: 25%;
}

#two-down{
    position: absolute;
    top: 45%;
    right: 15%;
}

#two-drop{
    top: 0%;
    right: 20%;
}

#hamburger{
    width: 50%;
}

#close{
    width: 50%;
    display: none;
}

  .page-title h1{
      font-size: 45px;
  }

  .product-card2 img{
      height: 150px;
  }

  .product-card2 h3{
      font-size: 20px;
  }

  .footer-item a{
    font-size: 14px !important;
}

#contactus p{
    font-size: 13px !important;
}

}

@media (max-width: 480px) {
  #two nav {
    width: 100%;
    display: none;
    position: absolute;
    top: 88px;
    right: 0px;
    z-index: 1000;
    background-color: rgba(5, 0, 78, 1);
}

#two-down{
    position: absolute;
    top: 45%;
    right: 22.5%;
}

#two-drop {
    top: 10%;
    right: 30%;
}

  .product-title h3{
      font-size: 30px;
  }

  .products{
      display: block;
  }

  .products2{
      display: block;
      margin-top: 50px;
  }

  .product-card{
      width: 100%;
      margin-bottom: 50px;
  }

  .product-card2{
      width: 100%;
      margin-bottom: 50px;
  }

  .product-card2 img{
      height: 220px;
  }

  footer{
      display: block;
  }

  .footer-item{
      width: 100%;
      margin-bottom: 50px;
      align-items: center;
  }

  .footer-item img{
      width: 50%;
  }

  .footer-item a{
    font-size: 20px !important;
}

#contactus p{
    font-size: 20px !important;
}
}