/* start index styles */

/*
1.index styles.
2.universal styles.
3.common styles.
4.content styles.
5.media query styles.
*/

/* end index styles */

/* start universal styles */
*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400px;
  line-height: 1.428;
  background-color: #f4f3f3;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 6.5px;
  height: 6.5px;
}

::-webkit-scrollbar-track {
  background-color: #e8dfec;
}

::-webkit-scrollbar-thumb {
  height: 51.2413%;
  background-color: hsl(242 88% 56% / 0.8);
  border-radius: 0 0 10px 10px;
}

/* end universal styles */

/* start common styles */
ul {
  list-style-type: none;
}

a {
  text-decoration: none;
}

.display {
  display: none;
}

.center {
  text-align: center;
}

.pd-y {
  padding: 100px 0;
}

.container {
  width: 85%;
  margin: 0 auto;
}

.responsive {
  width: 100%;
  height: 100%;
}

#grey {
  color: #a29b9b;
}

#foot-dark {
  background-color: #272a31;
  color: #cfc8c8;
}

/* end common styles */

/* start content styles */

/* home design */

/* start header */
header {
  background-color: #272a31;
  display: none;
}

.header__container__parhead {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header__container__parhead__ul {
  display: flex;
}

.header__container__parhead__ul > li > a {
  padding: 6px;
  display: inline-block;
  color: #f4f3f3;
}

/* end header */

/* start nav */
nav {
  padding: 15px 0;
  background-color: transparent;
  z-index: 10;
  position: relative;
}

.nav__container__parnav__brand {
  display: none;
}

.nav__container__parnav__ul {
  display: none;
  transition: width 2s;
}

.nav__container__parnav__ul.change {
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: #ec5242;
  top: 0;
  left: 0;
  padding: 43px;
  display: flex;
  flex-direction: column;
}

.sectionone.about {
  height: 135vh;
}

.sectionone__overlay__heroimage.about > a {
  text-decoration: underline;
  text-align: center;
}

.nav__container__parnav__ul.change > li a {
  font-size: 25px;
  display: block;
  margin-bottom: 15px;
  color: #d3d3d3;
}

.bars {
  order: -1;
  width: 35px;
  height: 27px;
  cursor: pointer;
}

.bars.change {
  margin-left: 90%;
}

.bar {
  width: 100%;
  height: 4.1px;
  background-color: black;
  margin-bottom: 7px;
  transition: transform 0.5s, opacity 0.5s;
}

.bars.change .bar__one {
  transform: translate(0, 12px) rotate(-45deg);
}

.bars.change .bar__two {
  opacity: 0;
}

.bars.change .bar__three {
  transform: translate(0, -11px) rotate(45deg);
}

/* end nav */
main {
  margin-top: -78px;
}

/* start sectionone */
.sectionone {
  background-image: url(../imgs/duotone4.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
}

.sectionone__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fafafaad;
}

.sectionone__overlay__heroimage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 78%;
  position: absolute;
  top: 20%;
  left: 7.3%;
}

.sectionone__overlay__heroimage > h3,
.sectionone__overlay__heroimage > h1,
.sectionone__overlay__heroimage > p.desc {
  margin-bottom: 15px;
}

.sectionone__overlay__heroimage > h1 {
  margin-bottom: 4px;
  font-size: 19px;
}

.sectionone__overlay__heroimage > h2 {
  color: #ec5242;
  font-size: 30px;
}

.sectionone__overlay__heroimage > p.desc {
  margin-bottom: 15px;
  border: 2px solid #f4f3f3;
  padding: 6px 10px;
  border-radius: 5px;
}

/* end sectionone */

/* start sectiontwo */
.heading {
  text-align: center;
  margin-bottom: 9px;
}

.line {
  display: block;
  margin: auto;
  width: 57px;
  height: 3.2px;
  background-color: #ec5242;
  border-radius: 5px;
  margin-bottom: 30px;
}

.sectiontwo__container__items {
  margin-bottom: 66px;
}

.sectiontwo__container__items__item {
  display: grid;
  grid-template-columns: 24% 32% 44%;
  padding: 10px;
  align-items: center;
  background-color: #41444b87;
  margin-bottom: 15px;
  border-radius: 5px;
}

.sectiontwo__container__items__item__responsive {
  width: 57%;
  height: 57%;
}

.sectiontwo__container__items__item > span {
  color: #ec5242;
}

.sectiontwo__container__items__item > p {
  color: #d3d3d3;
}

.sectiontwo > .container > a#second {
  border-radius: 5px;
  background-color: #ec5242;
  color: #d3d3d3;
  padding: 20px;
  display: block;
  width: 80%;
  text-align: center;
  margin: auto;
}

/* end sectiontwo */

/* start sectionthree */
.sectionthree {
  background-color: #fff;
}

.sectionthree__container__speakers__speaker__aside {
  display: grid;
  grid-template-columns: 30% 70%;
  padding: 19px;
  align-items: center;
  margin-bottom: 15px;
  border-radius: 5px;
  gap: 14px;
}

.sectionthree__container__speakers__speaker__aside__left__responsive {
  z-index: 9;
  position: relative;
}

.sectionthree__container__speakers__speaker__aside__left__responsive::before {
  content: "";
  position: absolute;
  background-image: url(../imgs/Chess_Board.svg);
  width: 76px;
  height: 76px;
  z-index: -2;
  top: -15px;
  left: -13px;
  background-position: center;
  background-size: cover;
}

.sectionthree__container__speakers__speaker__aside__left__responsive__respo {
  z-index: 3;
}

.sectionthree__container__speakers__speaker__aside__right > h3,
.sectionthree__container__speakers__speaker__aside__right > span {
  margin-bottom: 15px;
}

.sectionthree__container__speakers__speaker__aside__right > span {
  color: #ec5242;
  display: block;
}

/* end sectionthree */

/* start sectionfour */
.sectionfour {
  background-color: #272a31;
  padding: 50px;
}

.sectionfour__container__partners {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sectionfour__container__partners__partner__responsive {
  width: 120px;
}

/* end sectionfour */

/* start footer */
.footer__container__parfoot {
  display: grid;
  grid-template-columns: 30% 70%;
  padding: 19px;
  align-items: center;
  border-radius: 5px;
  gap: 14px;
}

.footer__container__parfoot__foot__responsive {
  background-color: black;
  border-radius: 5px;
  padding: 7px;
  width: 81px;
}

.footer__container__parfoot__foot > span {
  margin-bottom: 15px;
  display: block;
}

/* end footer */

/* about design */
.sectionone__overlay__heroimage.about {
  text-align: center;
}

.sectionone__overlay__heroimage.about > p {
  background-color: #fff;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 28px;
  overflow-y: auto;
  height: 264px;
}

.sectionone__overlay__heroimage.about > span {
  text-align: center;
  color: #ec5242;
  margin-bottom: 15px;
  font-weight: 600;
}

.sectiontwo.about > .container > p {
  margin-bottom: 28px;
  padding: 10px;
  color: #625858;
}

.sectionthree.about > .container > p {
  margin-bottom: 25px;
}

.sectionthree__container__speakers.about {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 27px;
}

.sectionthree__container__speakers__speaker.about {
  padding: 84px 138px;
  background-image: url(../imgs/pexels-photo-3861958.jpeg);
  background-position: center;
  background-size: cover;
  position: relative;
  background-repeat: no-repeat;
}

.overlay {
  width: 100%;
  height: 100%;
  background-color: rgb(101 31 6 / 80%);
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* end content styles */

/* start media query styles */

@media screen and (min-width: 768px) {
  .pd-y {
    padding: 104px 0;
  }

  header {
    display: block;
  }

  /* start nav */
  nav {
    padding: 0;
    overflow-x: scroll;
    overflow-y: hidden;
    z-index: 10;
    position: relative;
  }

  .nav__container__parnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav__container__parnav__brand {
    width: 15%;
    display: flex;
  }

  .nav__container__parnav__brand > a {
    height: 72px;
    display: block;
    width: 196px;
  }

  .bars {
    order: -1;
    width: 35px;
    height: 27px;
    display: none;
  }

  .nav__container__parnav__ul {
    display: flex;
  }

  .nav__container__parnav__ul > li {
    margin-left: 16px;
  }

  .nav__container__parnav__ul > li > a {
    color: #6a6161;
    font-weight: 600;
    padding: 27px 20px;
    transition: all 0.5s;
    height: 72px;
    display: block;
  }

  .colored {
    color: #e47829 !important;
  }

  .parbordered {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bordered {
    border: 5px solid #e47829;
    display: flex;
    align-items: center;
    height: auto !important;
    padding: 8px !important;
    text-align: center;
  }

  .nav__container__parnav__ul > li > a:hover {
    background-color: rgb(2, 3, 21);
    color: #ec5242;
  }

  /* end nav */

  /* home design */

  /* start sectionone */
  .sectionone__overlay__heroimage > h1 {
    margin-bottom: 4px;
    font-size: 25px;
  }

  .sectionone__overlay__heroimage > h2 {
    color: #ec5242;
    font-size: 51px;
  }

  .sectionone__overlay__heroimage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 78%;
    position: absolute;
    top: 20%;
    left: 7.3%;
  }

  .sectionone__overlay__heroimage > p {
    width: 59%;
  }

  .sectiontwo__container__items {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
  }

  .sectiontwo__container__items__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 25px;
    width: 19%;
  }

  .sectiontwo__container__items__item__responsive {
    width: 27%;
    height: 32%;
  }

  .sectiontwo > .container > a#second {
    display: none;
  }

  .sectiontwo > .container > a#first {
    display: block;
    color: #a29b9b;
    text-align: center;
    text-decoration: underline;
  }

  /* end sectiontwo */

  /* start sectionthree */
  .sectionthree {
    background-color: #fff;
  }

  .sectionthree__container__speakers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* end sectionthree */

  /* start sectionfour */
  .sectionfour {
    background-color: #272a31;
    padding: 50px;
  }

  .sectionfour__container__partners {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .sectionfour__container__partners__partner__responsive {
    width: 120px;
  }

  /* end sectionfour */

  /* about design */

  .sectionone__overlay__heroimage.about > p {
    width: 500px;
    margin: 0 auto 33px auto;
  }

  .sectiontwo.about {
    text-align: center;
  }

  .sectiontwo.about > .container > p {
    width: 50%;
    margin: auto;
  }

  .sectiontwo__container__resposive.about {
    width: 26%;
    margin: auto;
  }
}

/* end media query styles */
