.hero {
  width: 100%;
  height: 800px;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
}
.main-hero {
  color: white;
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 2.5em;
}
.main-hero p:nth-child(1) {
  font-family: "Gilda Display";
  font-size: 4.375em;
}
.main-hero p:nth-child(2) {
  font-family: "Barlow";
}
.main-hero a {
  color: white;
  text-decoration: none;
  font-size: 1.05em;
  font-family: "Gilda Display";
  width: 8em;
  height: 3.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(205, 158, 80);
  transition: 0.25s;
}
.main-hero a:hover {
  background-color: white;
  color: rgb(205, 158, 80);
}
.about {
  width: 100%;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  font-size: 16px;
  background-color: #070707;
  color: white;
}
.top-about {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.top-about div {
  display: flex;
  align-items: center;
  gap: 1em;
}
.top-about div hr {
  height: 1px;
  width: 100px;
  border: 1px solid rgb(205, 158, 80);
}
.top-about div p {
  font-size: 3.125em;
  font-family: "Gilda Display";
}
.top-about > p {
  font-size: 1.5em;
  font-family: "Barlow";
  font-style: italic;
}
.bottom-about {
  width: 70%;
  display: flex;
  justify-content: space-between;
  gap: 2em;
}
.bottom-about > div {
  width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1em;
}
.bottom-about div > p:nth-child(2) {
  font-size: 1.5em;
  font-family: "Gilda Display";
}
.best-projects {
  background-color: #0a0a0a;
  color: white;
  width: 100%;
  gap: 3rem;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.top-best-project {
  width: 70%;
  display: flex;
  flex-direction: column;
}
.top-best-project div {
  display: flex;
  align-items: center;
  gap: 1em;
}
.top-best-project div hr {
  height: 1px;
  width: 100px;
  border: 1px solid rgb(205, 158, 80);
}
.top-best-project div p {
  font-size: 3.125em;
  font-family: "Gilda Display";
}
.bottom-best-project {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 2em;
}
.side-project {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 2em;
}
.main-box {
  display: flex;
  flex-direction: column;
  gap: 1em;
  width: 520px;
  height: 380px;
  transition: 0.25s;
}
.main-box:hover{
    transform: scale(1.05);
}
.main-box .bg {
  width: 100%;
  height: 280px;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.side-project:nth-child(1) .main-box:nth-child(1) .bg{
    background-image: url("../images/project-thumb1.jpg");
}
.side-project:nth-child(1) .main-box:nth-child(2) .bg{
    background-image: url("../images/project-thumb2.jpg");
}
.side-project:nth-child(2) .main-box:nth-child(1) .bg{
    background-image: url("../images/project-thumb3.jpg");
}
.side-project:nth-child(2) .main-box:nth-child(2) .bg{
    background-image: url("../images/project-thumb4.jpg");
}
.main-box .bg a {
  text-decoration: none;
  padding: 1.25em 3.75em;
  font-size: 1.1em;
  color: rgb(205, 158, 80);
  background-color: #0a0a0a;
  transition: 0.25s;
  font-family: "Gilda Display";
  border: 1px solid transparent;
}
.bg a:hover {
  border: 1px solid rgb(205, 158, 80);
}
.main-box p {
  color: rgb(205, 158, 80);
}
.main-box > a {
  font-size: 1.375em;
  color: white;
  text-decoration: none;
  transition: 0.25s;
  font-family: "Gilda Display";
}
.main-box > a:hover {
  color: rgb(205, 158, 80);
}
.world-project{
  background-color: #070707;
  width: 100%;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.world-project-main{
  color: white;
  width: 70%;
  display: flex;
  gap: 3em;
}
.world-project-main > div{
  width: 50%;
}
.top-world-project{
  display: flex;
  flex-direction: column;
  gap: 3em;
}
.top-world-project div {
  display: flex;
  align-items: center;
  gap: 1em;
}
.top-world-project div hr {
  height: 1px;
  width: 100px;
  border: 1px solid rgb(205, 158, 80);
}
.top-world-project div p {
  font-size: 3.125em;
  font-family: "Gilda Display";
}
.bottom-world-project{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bottom-world-project > p{
  font-size: 0.95em;
  color: gray;
}
.bottom-world-project > div{
  display: flex;
  justify-content: space-between;
  gap: 2em;
}
.bottom-world-project > div div{
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.bottom-world-project > div div p:nth-child(1){
  font-size: 1.2em;
}
.bottom-world-project > div div p:nth-child(2){
  font-size: 3.75em;
  color: rgb(205, 158, 80);
}
.bottom-world-project > a{
  font-size: 1.3em;
  font-weight: 500;
  text-decoration: none;
  color: rgb(205, 158, 80);
  height: 65px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #141414;
  transition: 0.25s;
}
.bottom-world-project > a:hover{
  background-color: rgb(205, 158, 80);
  color: white;
}
.questions{
  background-color: #0a0a0a;
  width: 100%;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-questions{
  color: white;
  width: 70%;
  display: flex;
  gap: 3em;
}
.main-questions > div{
  width: 50%;
}
.main-questions{
  display: flex;
  gap: 3em;
}
.top-questions div {
  display: flex;
  align-items: center;
  gap: 1em;
}
.top-questions div hr {
  height: 1px;
  width: 100px;
  border: 1px solid rgb(205, 158, 80);
}
.top-questions div p {
  font-size: 3.125em;
  font-family: "Gilda Display";
}
.bottom-questions{
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.bottom-main-questions{
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}
.question-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid gray;
  padding-bottom: 1em;
}
.question-header > div{
  display: flex;
  gap: 1em;
}
.question-header > div sup{
  color: rgb(205, 158, 80);
  font-family: 'Gilda Display';
  font-size: 1.05em;
}
.question-header > div p{
  font-family: 'Gilda Display';
  font-size: 1.25em;
}
.question-header button{
  font-size: 1.8em;
  color: white;
  background-color: transparent;
  border: none;
}
.main-text-questions,.main-text-questions1,.main-text-questions2,.main-text-questions3{
  padding: 0 2em;
  display: none;
}
.main-text-questions p, .main-text-questions1 p, .main-text-questions2 p, .main-text-questions3 p{
  font-size: 0.935em;
  color: rgb(145, 145, 145);
}
.app{
  display: block;
}
.array{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 20px;
  gap: 1em;
  width: 100%;
  background-color: #070707;
}
.main-array{
  width: 70%;
  color: white;
  gap: 3em;
  display: flex;
  flex-direction: column;
}
.top-array{
  display: flex;
  flex-direction: column;
  gap: 3em;
}
.top-array div {
  display: flex;
  align-items: center;
  gap: 1em;
}
.top-array div hr {
  height: 1px;
  width: 100px;
  border: 1px solid rgb(205, 158, 80);
}
.top-array div p {
  font-size: 3.125em;
  font-family: "Gilda Display";
}
.bottom-array{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.array-item{
  display: flex;
  flex-direction: column;
  width: 410px;
  height: 420px;
  gap: 1em;
}
.bg-array-item{
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
}
.array-item:nth-child(1) .bg-array-item{
  background-image: url('../images/blog1.png');
}
.array-item:nth-child(2) .bg-array-item{
  background-image: url('../images/blog2.png');
}
.array-item:nth-child(3) .bg-array-item{
  background-image: url('../images/blog3.png');
}
.inside-array-item{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 0.7em;
  width: 60px;
  height: 100px;
  background-color: #141414;
}
.inside-array-item p:nth-child(1){
  font-size: 1.6em;
  font-family: 'Gilda Display';
}
.inside-array-item hr{
  border: 1px solid rgb(205, 158, 80);
  width: 100%;
}
.array-item > p:nth-child(2){
  color: rgb(205, 158, 80);
  font-size: 0.9em;
}
.array-item > p:nth-child(3){
  font-size: 2em;
  font-family: 'Gilda Display';

}



@media (max-width: 950px){
  footer{
    font-size: 16px;
    padding: 50px 20px;
  }
  .main-footer{
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3em;
  }
  .main-footer > div{
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .right-footer{
    flex-direction: column;
  }
  .right-footer-items:nth-child(2){
    text-align: center;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 30px;
    gap: 1em;
    border-right: none;
    border-bottom: 1px solid gray;
  }
  .right-footer-items:nth-child(1){
    text-align: center;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 30px;
    gap: 1em;
    border-left: none;
    border-bottom: 1px solid gray;
  }
  .left-footer, .top-left-footer{
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 3em;
  }
  
}
@media(max-width: 410px){
  .bottom-left-footer input{
    width: 230px;
    font-size: 0.9em;
  }
  .bottom-left-footer button{
    width: 90px;
    font-size: 0.9em;
  }
}
@media(max-width: 360px){
  .left-footer{
    width: 100%;
  }
  .bottom-left-footer{
    width: 100%;
    flex-direction: column;
  }
  .bottom-left-footer input, .bottom-left-footer button{
    width: 100%;
  }
  .right-footer-items{
    width: 100%;
  }
}
@media (max-width: 1650px){
  .main-array{
    width: 100%;
    padding: 0 50px;
  }
}
@media (max-width: 1500px){
  .array{
    font-size: 14px;
  }
  .array-item{
    width: 380px;
  }
  .main-array{
    width: 100%;
    padding: 0 50px;
  }
}
@media (max-width: 1310px){
  .array{
    font-size: 13px;
  }
  .array-item{
    width: 350px;
  }
  .main-array{
    width: 100%;
    padding: 0 20px;
  }
}
@media (max-width: 1520px) {
  .main-hero,
  .top-about,
  .bottom-about,
  .top-best-project,
  .bottom-best-project,
  .world-project-main,
  .main-questions{
    padding: 0 50px;
    width: 100%;
  }
  .top-about {
    font-size: 13px;
  }
}
@media (max-width: 1050px) {
  nav,.bottom-best-project,.world-project,.questions,footer{
    font-size: 14px;
  }
  .bottom-about {
    font-size: 14px;
  }
  .bottom-nav img {
    width: 150px;
  }
  .top-about {
    font-size: 13px;
  }
  .top-best-project,.top-array{
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  .bottom-array{
    flex-direction: column;
  }
  .array-item{
    width: 520px;
  }
  .top-array div{
    flex-direction: column;
  }
  .world-project-main{
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .main-questions{
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .main-questions > div{
    width: 100%;
  }
  .top-questions > div{
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .top-questions{
    text-align: center;
  }
  .bottom-world-project{
    gap: 2em;
  }
  .world-project-main > div{
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .top-world-project > div{
    flex-direction: column;
  }
  .top-world-project img{
    width: 500px;
  }
  .top-best-project div{
    flex-direction: column;
  }
  .side-project{
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .main-array{
    padding: 0 50px;
  }
}
@media (max-width: 900px) {
  .top-nav,
  .bottom-nav,
  .main-hero,
  .top-about,
  .bottom-about,
  .top-best-project,
  .bottom-best-project,
  .world-project-main,
  .main-questions,
  .main-array{
    padding: 0 20px;
    width: 100%;
  }
  nav,
  .hero,
  .top-about,.top-best-project,.world-project,.questions,.array{
    font-size: 13px;
  }
  .bottom-about div {
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  .bottom-nav img {
    width: 130px;
  }
}
@media (max-width: 785px) {
  .top-world-project img{
    width: 100%;
  }
  .main-hero p:nth-child(1) {
    font-size: 4em;
  }
  .top-nav,
  .bottom-nav {
    padding: 0 20px;
    width: 100%;
  }
  nav,
  .hero{
    font-size: 13px;
    z-index: 1;
  }
  .nav {
    z-index: -1;
    position: absolute;
    flex-direction: column;
    background-color: #141414;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
      rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    justify-content: center;
    align-items: center;
    width: 100%;
    left: 0%;
    padding: 50px 0;
    top: -500px;
    transition: 0.8s;
  }
  .clicked {
    top: 100%;
  }
  .bottom-nav {
    height: 50px;
    background-color: rgb(205, 158, 80);
  }
  .bottom-nav img {
    display: none;
  }
  .top-nav {
    display: none;
  }
  #logo2 {
    display: block;
    font-weight: 700;
  }
  #bars {
    display: block;
  }
  .top-about > p {
    font-size: 1.2em;
  }
  .bottom-about {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
@media (max-width: 600px){
    .main-box{
        width: 100%;
    }
    .main-box .bg a{
        padding: 1em 2.5em;
    }
    .bottom-world-project > div{
      flex-direction: column;
    }
    .array-item{
      width: 100%;
    }
}
@media (max-width: 480px) {
  .main-hero p:nth-child(1) {
    font-size: 2.5em;
  }
  .hero {
    height: 600px;
  }
}
@media (max-width: 400px) {
  .about,.best-projects,.world-project,.questions{
    padding: 50px 20px;
  }
  #logo2 {
    font-size: 1.5em;
  }
  #bars {
    font-size: 1.5em;
  }
  .about {
    gap: 2em;
  }
  .top-about div {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .top-about {
    text-align: center;
  }
  .top-about div p, .top-world-project div p, .top-questions div p{
    font-size: 2.3em;
  }
  .top-about > p {
    font-size: 0.9em;
  }
  .bottom-about div {
    width: 100%;
  }
  .bottom-about div p {
    font-size: 0.9em;
  }
  .main-hero {
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  .top-best-project,.bottom-best-project{
    font-size: 12px;
  }
  .array-item p:nth-child(3){
    font-size: 1.5em;
  }
}
