/* Search Bar */

.searchBar-container {
  width: 100%;
  margin-top: 61px;
}
.searchBar-Box {
  position: relative;
  width: 100%;
  z-index: 0;
  height: 400px;
}

.searchBar-Box > .bgImg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.searchBar-Box > .bgImg > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.searchBar-Box > .innerBox {
  height: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.searchBar-Box > .innerBox > h5 {
  font-size: 23px;
  color: #fff;
  font-weight: 100;
  margin-bottom: 15px;
}

.searchBar-Box > .innerBox > p {
  font-size: 14px;
  color: #fff;
}

.searchBar-Box > .innerBox > h5 > span {
  background-color: #df1e2e;
  padding: 1px 9px;
  font-weight: bold;
}

.searchBar-Box > .innerBox > .formBox {
  background: #e0e3e5;
  padding: 35px 36px;
  border-radius: 10px;
  margin-top: 13px;
}

.searchBar-Box > .innerBox > .formBox > form {
  display: flex;
  align-items: center;
}

.searchBar-Box > .innerBox > .formBox > form > input,
.inputBox > input {
  margin: 0 5px;
  font-size: 15px;
  padding: 9px 7px;
  outline: none;
  border: none;
  background: no-repeat;
  border-bottom: 1px solid;
}

.searchBar-Box > .innerBox > .formBox > form > p {
  color: #2c1e1e91;
  font-size: 13px;
  margin: 0 14px;
}

.searchBar-Box > .innerBox > .formBox > form > .inputBox {
  background: #fff;
  padding: 8px;
  border-radius: 6px;
}

.searchBar-Box
  > .innerBox
  > .formBox
  > form
  > .inputBox
  > input[type="submit"] {
  background-color: #df1e2e;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  padding: 11px 19px;
  cursor: pointer;
  transition: background-color 0.5s ease;
}
.searchBar-Box
  > .innerBox
  > .formBox
  > form
  > .inputBox
  > input[type="submit"]:hover {
  background-color: #5a3939;
}

/* End Search Bar */

/* Company Add Box */
.addContainer {
  width: 100%;
  margin-top: 40px;
}

.companyBox {
  width: 80%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.companyBox > .companyBox-left {
  width: 45%;
}
.companyBox > .companyBox-left > h3 {
  color: #df1e2e;
  font-size: 25px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e3e5;
}
.companyBox > .companyBox-left > h3 > span {
  color: #000;
}

.companyBox > .companyBox-left > p {
  color: #3a3d3f;
  font-size: 15px;
  margin-top: 12px;
}
.companyBox > .companyBox-right {
  width: 50%;
  display: grid;
  grid-template-columns: repeat(4, 100px);
  grid-template-rows: repeat(5, 70px);
  gap: 20px 30px;
}

/* End Company Add Box */

/* workExperience */
.workExperience-container {
  width: 100%;
  background-color: #f7fcfe;
  margin-top: 40px;
  padding: 50px 0px;
}

.experienceBox {
  width: 80%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, auto);
  grid-template-rows: repeat(3, auto);
  justify-content: center;
  gap: 10px;
}
.experienceBox > .experience-head {
  grid-area: 1/1/2/5;
  text-align: center;
  font-size: 27px;
}

.experienceBox > .experience-head > h3 > span {
  color: #df1e2e;
}

.experienceBox > .grid-exBox {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

.grid-exBox > img {
  width: 100%;
  height: 100%;
}
/* End workExperience */

/* Up skill container */
.upSkillContainer {
  width: 100%;
  background-color: #eeeeee;
  margin-top: 40px;
  padding: 80px 0px;
}

.upSkillBox {
  width: 80%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-template-rows: repeat(2, auto);
  justify-content: center;
  gap: 10px;
}
.upSkillBox > .skillHead {
  grid-area: 1/1/2/4;
  text-align: center;
  font-size: 27px;
  margin-bottom: 12px;
}
.upSkillBox > .skillHead > h3 > span {
  color: #df1e2e;
}
.upSkillBox > .skillBox {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}
.upSkillBox > .skillBox > img {
  width: 100%;
  height: 100%;
}
/* End Up skill container */

/* Stat Container */
.statContainer {
  width: 100%;
  margin: 20px 0;
}
.statBox {
  width: 60%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.statBox > .left > .imgBox {
  width: 80%;
  height: 100%;
}
.statBox > .left > .imgBox > img {
  width: 100%;
  height: 100%;
}

.statBox > .right > h3 {
  font-size: 25px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e3e5;
}
.statBox > .right > h3 > span {
  color: #df1e2e;
}
.statBox > .right > p {
  color: #3a3d3f;
  font-size: 15px;
  margin-top: 12px;
}

/* End Stat Container */

/* Slider container */
.slider-container {
  width: 100%;
  background-color: #eeeeee;
  padding-bottom: 25px;
  padding-top: 20px;
}

.slider-box {
  width: 80%;
  margin: auto;
  display: flex;
  align-items: center;
}

.slider-box > .previous > .icon,
.slider-box > .next > .icon {
  cursor: pointer;
  font-size: 54px;
  color: #fff;
}

.slider-box > .items > div {
  background-color: #fff;
  margin: 30px;
  border-radius: 0px 48px 0px 48px;
  overflow: hidden;
  padding: 23px 30px;
  display: none;
  justify-content: space-between;
  align-items: center;
}

.slider-box > .items > div.activeBox {
  display: flex;
}
.slider-box > .items > div > .left {
  width: 70%;
  border-right: 1px solid #00000033;
  text-align: center;
  margin-right: 30px;
}
.slider-box > .items > div > .left > .img-box {
  border-radius: 50%;
  overflow: hidden;
  width: 70px;
  height: 70px;
  margin: auto;
}
.slider-box > .items > div > .left > .img-box > img {
  width: 100%;
}
.slider-box > .items > div > .left > .name {
  font-size: 24px;
  font-weight: bold;
  margin: 9px 0;
}
.slider-box > .items > div > .right > p {
  color: #00000080;
  line-height: 25px;
  font-size: 15px;
}
/* End Slider Container */

/* medium screens */
@media only screen and (min-width: 421px) and (max-width: 1000px) {
  /* Searchbar Container */
  .searchBar-Box > .innerBox > .formBox {
    padding: 22px 24px;
  }
  .searchBar-container {
    margin-top: 54px;
  }
  .searchBar-Box {
    height: 450px;
  }
  .searchBar-Box > .innerBox > .formBox > form > input,
  .inputBox > input {
    margin: 10px 5px;
  }
  .searchBar-Box > .innerBox > .formBox > form {
    flex-wrap: wrap;
  }
  .searchBar-Box > .innerBox {
    width: 72%;
    margin: auto;
  }
  .searchBar-Box > .innerBox > .formBox > form > .inputBox {
    display: flex;
  }

  /* Add Container */
  .companyBox {
    flex-direction: column;
  }

  .companyBox > .companyBox-left {
    width: 100%;
    text-align: center;
    font-size: 20px;
  }

  .companyBox > .companyBox-right {
    width: 100%;
    justify-content: center;
    grid-template-columns: repeat(4, 90px);
    gap: 18px 19px;
    margin-top: 20px;
  }
  .companyBox > .companyBox-right > .box {
    width: 100%;
  }
  .companyBox > .companyBox-right > .box > img {
    width: 100%;
  }
  /* Work Experience */
  .experienceBox > .experience-head {
    font-size: 20px;
  }
  .workExperience-container {
    padding: 20px 0px;
    margin-top: 20px;
  }
  /* Upskill Container */
  .upSkillContainer {
    margin-top: 10px;
    padding: 20px 0px;
  }
  .upSkillBox > .skillHead {
    font-size: 20px;
  }
  /* Stat Box Container */
  .statBox {
    width: 80%;
  }
  .statBox > .right > h3 {
    font-size: 20px;
  }
  .statBox > .right > p {
    font-size: 13px;
  }
  /* Slider Container */
  .slider-container {
    padding-bottom: 0;
  }
  .slider-box > .items > div.activeBox {
    flex-direction: column;
  }
  .slider-box > .items > div > .left {
    border-bottom: 1px solid #00000033;
    border-right: none;
    margin-bottom: 4px;
    padding-bottom: 20px;
    margin-right: 0;
    width: 100%;
  }
  .slider-box > .items > div > .left > .name {
    font-size: 15px;
    font-weight: bold;
    margin: 9px 0;
  }
  .slider-box > .items > div > .left > .description {
    font-size: 12px;
  }
  .slider-box > .items > div > .right > p {
    font-size: 12px;
  }
}

/* small screens */
@media only screen and (min-width: 0px) and (max-width: 420px) {
  /* Searchbar Container */
  .searchBar-Box > .innerBox > .formBox {
    display: none;
  }
  .searchBar-Box > .innerBox > p {
    text-align: center;
  }
  /* Add Container */
  .companyBox {
    width: 100%;
    flex-direction: column;
  }
  .companyBox > .companyBox-left {
    margin-bottom: 20px;
  }
  .companyBox > .companyBox-left,
  .companyBox > .companyBox-right {
    width: 100%;
    text-align: center;
  }
  .companyBox > .companyBox-left > h3 {
    padding: 0 23px;
  }
  .companyBox > .companyBox-right {
    width: 100%;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(7, 70px);
    justify-content: center;
  }
  /* Work Experience */
  .workExperience-container {
    margin-top: 10px;
    padding: 20px 0px;
  }
  .experienceBox {
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(1, auto);
    justify-content: center;
    gap: 10px;
  }
  .experienceBox > .experience-head {
    grid-area: 1/1/2/2;
    text-align: center;
    font-size: 27px;
  }
  /* Upskill Container */
  .upSkillContainer {
    margin-top: 0px;
    padding: 0px;
    padding-top: 20px;
  }
  .upSkillBox {
    width: 100%;
    grid-template-columns: repeat(1, auto);
  }
  .upSkillBox > .skillHead {
    grid-area: initial;
  }
  .statBox {
    flex-direction: column;
    width: 100%;
  }
  .statBox > .left {
    margin-bottom: 20px;
  }
  .statBox > .left > .imgBox {
    width: 70%;
    height: 100%;
    margin: auto;
  }
  .statBox > .right {
    text-align: center;
  }
  /* Slider Box */
  .slider-box {
    width: 100%;
  }
  .slider-box > .items > div.activeBox {
    display: flex;
    flex-direction: column;
    margin: 0 15px;
    padding: 15px 30px;
  }
  .slider-box > .items > div > .left {
    width: 70%;
    border-right: none;
    border-bottom: 1px solid #00000033;
    margin-right: 0px;
    padding-bottom: 15px;
    margin-bottom: 11px;
  }
}
