body,
html {
  margin: 0;
  height: 100%;
}
.content {
  width: 100%;
  margin: 0%;
}
.content-header {
  width: 100%;
  margin: 0%;
  padding: 0%;
  overflow: hidden;
  height: 100%;
}
.header-body {
  position: absolute;
  margin-top: 14%;
  width: 97%;
  margin-left: 3%;
  overflow: hidden;
  z-index: 0;
}
.header-video {
  width: 47%;
  float: left;
}
.header-body a {
  text-decoration: none;
  color: #010c18;
}
.header-body video {
  width: 100%;
}
.first-part-2 {
  width: 47%;
  float: left;
}
.first-part-2 p {
  color: white;
  font-weight: lighter;
  font-size: 1vw;
  line-height: 1.6vw;
}
.first-part-2 button {
  margin-top: 2%;
  border: none;
  background: #ffb700;
  color: #010c18;
  padding: 1.8% 3%;
  font-weight: 900;
  font-size: 1.2vw;
  border-radius: 0.5vw;
  cursor: pointer;
}
.first-part-2 button:hover {
  opacity: 0.8;
}
.first-part-2 p b {
  font-family: castellar;
  font-size: 1.5vw;
  color: #ffb700;
}
.content-header img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}
.main-header {
  display: flex;
  flex-direction: column;
  background-image: url("../images/AGIA\ BG.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
#desktop {
  display: block;
}
#mobile {
  display: none;
}
.first-part {
  display: flex;
  flex-direction: row;
  align-items: center;

  height: 100vh;
  width: 100%;
}
.first-part-1 {
  padding: 5% 3%;
  width: 100%;
}
.first-part-2 a {
  text-decoration: none;
  color: black;
}
.first-part-2 {
  padding: 3% 0%;
  width: 100%;
}
.first-part-1 video {
  width: 100%;
}
.councils {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 115rem;
}
.ambassador-adviser {
  padding: 0 3rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.ambassadors {
  display: flex;
  flex-direction: row;
}
.advisers {
  display: flex;
  flex-direction: row;
}
.adviser_heading {
  padding-left: 1rem;
}
.council_heading {
  display: flex;
  align-items: center;
  justify-content: center;
}
.councils p b {
  font-family: castellar;
  font-size: 3vw;
  color: #ffb700;
}
.council {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.council p b {
  font-family: castellar;
  font-size: 1.5rem;
  color: #ffb700;
}
.council img {
  width: 360px;
  height: 360px;
}

.councils-grid {
  padding: 1% 5%;

  display: grid;
  grid-template-columns: auto auto auto;
  column-gap: 1rem;
}
@media only screen and (max-width: 768px) {
  .main-header {
    background-image: url("../images/AGIA\ BG\ MB.jpg");
    background-repeat: no-repeat;
  }
  .first-part {
    flex-direction: column;
    padding-top: 10%;
    height: 50%;
  }
  .ambassador-adviser {
    flex-direction: column;
  }
  .ambassadors {
    flex-direction: column;
  }
  .ambassador-adviser {
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  .admbassador_heading {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .adviser_heading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
  }
  .first-part-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90vw;
  }
  .first-part-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .first-part-2 p {
    font-size: 10px;
    line-height: 11px;
    padding: 0% 5%;
  }
  b {
    font-size: 0.9rem !important;
  }
  .first-part-2 button {
    padding: 2% 5%;
    width: 50%;
    font-size: 1rem;
  }
  .councils {
    height: 225rem;
  }
  .councils-grid {
    grid-template-columns: auto;
  }
  .council img {
    height: 16rem;
    width: 16rem;
  }
  .subname {
    width: 3rem;
    background-color: red;
  }
  .subname p {
    font-family: castellar;
    color: #ffb700 !important;
  }
}

@media only screen and (min-device-width: 280px) and (max-device-width: 370px) {
  .councils {
    height: 230rem;
  }
  .ambassador-adviser {
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  .admbassador_heading {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .adviser_heading {
    padding-left: 3.5rem;
  }
}

@media only screen and (min-device-width: 810px) and (max-device-width: 1024px) {
  .councils {
    height: 158rem;
  }
  .ambassador-adviser {
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
  }
  .ambassadors {
    justify-content: center;
    flex-direction: row;
    gap: 5vw;
  }

  .admbassador_heading {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .adviser_heading {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .first-part {
    padding-top: 5%;
    height: 50vw;
  }
  .councils-grid {
    grid-template-columns: auto auto;
  }

  .council img {
    width: 300px;
    height: 300px;
  }
}
