@import url("https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Baloo+2&family=Lexend+Exa:wght@100;200&family=Montserrat+Alternates:wght@100;200&family=Montserrat:wght@200&family=Poppins:ital,wght@0,100;0,400;0,600;1,800&family=Space+Mono&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "Baloo 2", sans-serif;
}

html {
  font-size: 62.5%;
  /* 1rem = 10px  */
}

/* Header section start css */

.header {
  width: 100%;
  height: auto;
  background-color: #f2f2f2;
}
.abc-header {
  padding: 4rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 26rem;
}
.searchFeild {
  position: relative;
}
.searchFeild input {
  width: 35rem;
  padding: 0.5rem;
  border: none;
  border-bottom: 3.8px solid #002e6c;
  background-color: transparent;
  font-size: 1.5rem;
  outline: none;
  color: #114fa0;
}
.searchFeild input::placeholder {
  color: #114fa0;
}

.searchFeild i {
  font-size: 2rem;
  color: #002e6c;
  position: absolute;
  right: 0;
  top: 20%;
}
.login_logout {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.lg-lo {
  display: flex;
}
.options h2 {
  font-size: 2rem;
  color: #ef7521;
  font-weight: bold;
  letter-spacing: 2px;
  font-family: "poppins", sans-serif;
}
.options h3 {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: "poppins", sans-serif;
  color: #002e6c;
  margin-top: -0.3rem;
  letter-spacing: 1px;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.options h3:hover {
  background-color: #ef732181;
}
.lg-lo .signup {
  margin-right: 1rem;
}

.navlinks_header {
  padding: 1.5rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navlinks_header ul {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.navlinks_header ul li {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 1px;
  position: relative;
}
.navlinks_header ul li a {
  color: #002e6c;
  font-family: "poppins";
}
.navlinks_header ul li a::after {
  position: absolute;
  content: "";
  background-color: #002e6c;
  height: 0.3rem;
  width: 0%;
  bottom: -1.4rem;
  transition: 0.2s ease-in-out;
  left: 50%;
  transform: translateX(-50%);
}
.navlinks_header ul li a:hover::after {
  width: 100%;
}
.navlinks_header ul li a.active::after {
  position: absolute;
  content: "";
  background-color: #002e6c;
  height: 0.3rem;
  width: 100%;
  bottom: -1.4rem;
  right: 0;
}
.cart_option {
  display: flex;
  align-items: center;
}
.cart_option button {
  padding: 0.3rem 0.8rem;
  background-color: #002e6c;
  border: none;
  outline: none;
  border-radius: 1rem;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  margin-right: 0.8rem;
}
.cart_option button a {
  color: white;
  font-size: 1.7rem;
}
.cart_option i {
  font-size: 2.7rem;
  color: #002e6c;
}

/* Deal  section start css */

.deals {
  margin: 4rem 4rem;
}
.deals_data h1 {
  font-size: 4rem;
  color: #002e6c;
  font-family: math;
}

.deals_cards {
  margin-top: 5rem;
  width: 100%;
  border-radius: 1rem;
}
#card {
  height: 28rem;
  display: flex;
}
.left_data {
  width: 50%;
  background-color: #002e6c;
  height: 100%;
  border-top-left-radius: 4rem;
  border-bottom-left-radius: 4rem;
  color: #ffff;
  padding: 4rem;
}
.right_data {
  width: 50%;
  background-color: #002e6c;
  height: 100%;
  border-top-right-radius: 4rem;
  border-bottom-right-radius: 4rem;
  background-image: url(../images/cardImg1.jpg);
  background-size: cover;
  background-position: center;
  object-fit: cover;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.img_2 {
  background-image: url(../images/cardImg2.jpg);
}
.img_3 {
  background-image: url(../images/cardImg3.jpg);
}
.img_4 {
  background-image: url(../images/cardImg4.jpg);
}
.img_5 {
  background-image: url(../images/cardImg5.jpg);
}
.bio {
  margin-left: 2rem;
}
.left_data h2 {
  border-bottom: 3px solid #114fa0;
  font-size: 2rem;
  width: 7rem;
}

.left_data h1 {
  font-size: 4rem;
  font-family: math;
  margin-top: 3rem;
}

/* More  section start css */

#links {
  margin: 2rem 5rem;
}
#links h2 {
  color: #ffff;
  font-weight: bold;
  font-family: "poppins";
  font-size: 1.8rem;
}
.more_information {
  width: 100%;
  height: auto;
  background-color: #002e6c;
  padding: 3rem;
}
.flex {
  display: flex;
  gap: 8rem;
}
.more_links {
  margin-top: 3rem;
}
.more_links li {
  padding-bottom: 1rem;
  font-size: 1.8rem;
}
.more_links li a {
  color: #f2f2f2ef;
}
.socialIcons {
  display: flex;
  margin-top: 4rem;
  margin-left: 3rem;
}
.socialIcons i {
  color: white;
  font-size: 2rem;
  padding-left: 3rem;
}

/* footer section start css */

.footer {
  padding: 1.3rem;
  background-color: #001f48;
}
.footer p {
  color: #f2f2f2;
  font-size: 1.8rem;
  text-align: center;
}

.menubar {
  display: none;
}
.menubar i {
  font-size: 2.3rem;
  color: #002e6c;
  position: absolute;
  left: 7rem;
  top: 3rem;
}

/* Responsive code  */

@media (max-width: 1152px) {
  .flex {
    display: flex;
    gap: 0rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .more_links li {
    text-align: center;
  }
  .socialIcons {
    margin-top: 0rem;
    margin-left: 0;
  }
  #links h2 {
    text-align: center;
  }
}

@media (max-width: 990px) {
  .header {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    position: fixed;
    top: 0;
  }
  .deals {
    margin: 4rem 4rem;
    margin-top: 25rem;
  }
  .menubar {
    display: block;
  }
  .login_logo {
    display: none;
  }
  .abc-header {
    flex-direction: column;
    justify-content: center;
    padding: 0 5rem;
  }
  .logo img {
    width: 20rem;
    margin: 1.5rem 0;
  }
  .options h2 {
    display: none;
  }
  .lg-lo {
    margin: 3rem 0;
  }
  .options h3 {
    font-size: 1.5rem;
    font-weight: 900;
    width: 12rem;
    font-family: "poppins", sans-serif;
    text-align: center;
    color: white;
    margin-top: -0.3rem;
    letter-spacing: 1px;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    padding: 1rem;
    background: #002e6c;
    border-radius: 5rem;
  }
  .options .signup {
    background: #ef7521;
  }

  .navlinks_header {
    position: absolute;
    width: 100%;
    padding: 3rem 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 0;
    overflow: hidden;
    opacity: 0;
    background: #f2f2f2;
    z-index: 99999;
    transition: 0.3s ease-in-out;
  }
  .navlinks_header.active {
    height: 17rem;
    opacity: 1;
  }
  .links ul {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 700px) {
  .right_data {
    display: none;
  }
  #card {
    height: auto;
  }
  .left_data {
    width: 100%;
    border-top-right-radius: 4rem;
    border-bottom-right-radius: 4rem;
    height: auto;
  }
  .bio h1 br {
    display: none;
  }
}

@media (max-width: 500px) {
  .bio h1 {
    font-size: 3rem;
  }
  .deals {
    margin: 3rem 1.5rem;
    margin-top: 25rem;
  }
}

@media (max-width: 540px) {
  .main_content {
    margin: 0rem 2rem;
    margin-top: 25rem;
  }
  .data h1 {
    font-size: 3rem;
  }
}

@media (max-width: 440px) {
  .menubar i {
    left: 2rem;
  }
  .searchFeild input {
    width: 26rem;
  }
  .data h1 {
    font-size: 2.5rem;
  }
  .footer p {
    font-size: 1.4rem;
  }
}

@media (max-width: 360px) {
  .data h1 {
    font-size: 2.5rem;
  }
}
