@import url("https://fonts.googleapis.com/css2?family=Poppins&family=Unbounded&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* div {
  border: 1px solid;
  margin: 2px;
} */
body {
  font-family: "Poppins", sans-serif;
}
/* Header/logo Title */
.header {
  font-family: "Unbounded", sans-serif !important;
  padding: 40px;
  text-align: left;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("./image/efaz\ banner1.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  color: white;
  height: 450px;
}
s
  /* Increase the font size of the heading */
  .header h1 {
  font-size: 100px;
}

/* Style the top navigation bar */
.navbar-wrapper {
  overflow: hidden;
  background-color: #333;
}

.nav-mobile-bar {
  display: none;
}

/* Style the navigation bar links */
.navbar {
  height: fit-content;
  overflow: hidden;
  transition: all 0.4s ease-out;
}
.navbar a {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
.navbar a span {
  font-size: 18px;
  margin-right: 5px;
}

/* Right-aligned link */
.navbar a.right {
  float: right;
}

/* Change color on hover */
.navbar a:hover {
  background-color: #ddd;
  color: black;
}

.side {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-around;
  background-color: #f1f1f1;
  padding: 3rem 6rem;
  margin-inline: 5px;
}

.text {
  padding-left: 10px;
  font-size: x-small;
  margin: 3%;
  text-align: justify;
}
#btn {
  background-color: #22246b;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
}
#btn1 {
  background-color: rgb(5, 5, 168);
  border: none;
  color: rgb(247, 244, 244);
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 10px;
  border-radius: 5%;
}

/* Main column */
.main {
  -ms-flex: 60%; /* IE10 */
  flex: 60%;
  background-color: white;
  padding: 20px;
}
.recent {
  background-color: #f1f1f1;
  padding: 50px;
}
.recrn {
  display: flex;
}
.recent h1 {
  font-size: 200%;
  color: #291162;
}

/* Fake image, just for this example */
.fakeimg img {
  width: 415px;
  height: 410px;
  border-radius: 10px;
  box-shadow: -15px 15px 10px lightslategrey;
}
.fakeimg1 {
  width: 600px;
  height: 270px;
  margin: 20px;
  border-radius: 10px;
}
.fakeimg1 img {
  height: 100%;
  width: 100%;
  border-radius: 10px;
  transition: all 0.3s ease-out;
  cursor: pointer;
}

.fakeimg1 img:hover {
  transform: scale(1.03);
}
/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
}
/* Style all font awesome icons */
.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 10px;
}

/* Add a hover effect if you want */
.fa:hover {
  opacity: 0.7;
}

/* Set a specific color for each brand */

/* Facebook */
.fa-facebook {
  background: #3b5998;
  color: white;
}
.fa-linkedin {
  background: #007bb5;
  color: white;
}
.fa-instagram {
  background: #125688;
  color: white;
}

/* Twitter */
.fa-twitter {
  background: #55acee;
  color: white;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  .row {
    flex-direction: column;
  }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  .navbar a {
    float: none;
    width: 100%;
  }

  .header {
    background-image: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.5)
      ),
      url("./image/efaz\ banner1\ mobile.jpg");

    height: 400px;
    padding-top: 50px;
  }

  .header h1 {
    font-size: 30px;
  }

  .nav-mobile-bar {
    color: white;
    font-weight: bold;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar {
    height: 0;
    opacity: 0;
  }

  .navbar-open {
    opacity: 1;
    height: 260px;
  }

  #dropdown-icon {
    cursor: pointer;
    transition: all 0.4s ease-out;
  }

  .up-icon span:nth-child(1) {
    display: none;
  }
  .up-icon span:nth-child(2) {
    display: block;
  }
  .down-icon span:nth-child(1) {
    display: block;
  }
  .down-icon span:nth-child(2) {
    display: none;
  }

  .side {
    flex-direction: column;
    justify-content: center;
    padding-inline: 10px;
    margin: 0;
  }

  .fakeimg img {
    display: block;
    width: 100%;
    height: 330px;
    margin-inline: auto;
    box-shadow: 0px 10px 20px lightslategrey;
    margin-bottom: 20px;
  }

  .text h1 {
    font-size: 2.3rem !important;
    text-align: center;
  }
  .text p b {
    font-size: 1.3rem !important;
  }

  .recent {
    padding: 50px 0;
    margin-top: 20px;
  }
  .recent h1 {
    font-size: 2rem;
    text-align: center;
  }

  .recrn {
    flex-direction: column;
    padding-inline: 10px;
  }

  .fakeimg1 {
    margin: 0;
    margin-top: 20px;
    width: 100%;
    height: fit-content;
  }
  .fakeimg1 img {
    width: 100%;
  }
}
