@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
body{
    margin: 0;
    padding: 0;
    font-family: "montserrate";
    color: #4f4f4f;
    width: 90vw;
}
.hero nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}
.nav_list{
    display: flex;
    flex-direction: row;
    justify content: space-between;
    padding: 30px;
    /* margin: 30px; */
}
.nav_list li{
    margin-left: 40px;
    font-size: 30px;
}
.hero img{
    
    height: 150px;
    width: auto ;
    /* padding: 20px; */
    margin-left: 40px;
}
.hero_body {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-left: 70px;
    padding: 0px;
    align-items: center;
    /* height: 90vh; */
  }
.hero_left_text h2{
    margin: 0px;
    font-size: 32px;
}
.hero_left_text h1{
    margin: 0px;
    font-size: 94px;
}
.hero_left_text h3{
    margin: 0px;
    font-size: 32px;
    font-weight: 300;
}
.hero_left_text{
    margin-bottom: 4rem;
}
.primary{
    padding: 5px 10px;
    background: #ac200d;
    box-shadow: 0px 4px 10px rgba(172, 21, 0, 0.25);
    border-radius: 4px;
    margin-right: 30px;
    color: white;
    font-size: 20px;
}
.hero_left_nav a{
    color: #ac200d;
    font-size: 25px;
}
.hero_right img{
    border: 1px solid #ac1500;
    box-sizing: border-box;
    border-radius: 16px;
    width: 480px;
    height: auto;
    margin-right: 10px;
}
.about {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
    /* padding: 1rem 5rem; */
}
.about_left{
    margin-left: 70px;
}
.about_left h1{
    font-size: 50px;
    margin-bottom: 30px;
}
.about_left ol{
    font-size: 20px;
}
.achieve{
    margin-left: 70px;
    margin-top: 1px;
}
.achieve h2{
    font-size: 50px;
    margin-bottom: 10px;
}
.achieve ol{
    font-size: 20px;
}
.about_right h2{
    font-size: 50px;
    margin-bottom: 10px;
    margin-top: 40px;
}
.about_right img{
    width: 480px;
    height: auto;
    margin-right: 10px;
    /* margin-top: 10px; */
}
/* .projects {
    padding: 1rem 5rem;
} */
#projol {
    font-size: 20px;
    margin-left: 70px;
}
#projol1 {
    margin-left: 30px;
}
#projol2 {
    margin-left: 50px;
}
#projol3 {
    margin-left: 108px;
}
.project-body {
    width: 85vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.projects h2{
    font-size: 50px;
    margin-bottom: 10px;
    margin-left: 60px;
}
.project-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 68vw;
    overflow-x: scroll;
    /* margin-top: 20px; */
    margin-left: 60px;
    padding: 20px;
}
/* to hide the sroll bar */
.project-list::-webkit-scrollbar{
    width: 0px;
}
.project-img {
    border: 1px solid #ac1500;
    box-sizing: border-box;
    border-radius: 16px;
    height: 250px;
    margin-right: 20px;
}

.scroll-buttons {
    /* margin: 20px; */
    height: 110px;
    width: 110px;
    width: auto;
    box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.12);
}

.list-control {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}

.contact h2 {
    font-size: 50px;
    margin-bottom: 10px;
    margin-left: 60px;
}
  
.contact-form {
    display: flex;
    flex-direction: column;
    width: 50vw;
    font-family: Montserrat;
    height: 100%;
    padding: 40px;
}
  
.contact-form input {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #ffffff;
    background-color: #f0f0f0;
    width: 100%;
    font-size: 16px;
    box-sizing: border-box;
}
  
.contact-form textarea {
    font-family: Montserrat;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #ffffff;
    background-color: #f0f0f0;
    width: 100%;
    font-size: 16px;
    box-sizing: border-box;
}
  
.contact-form button {
    background: #ac1500;
    box-shadow: 0px 4px 20px rgba(172, 21, 0, 0.25);
    border-radius: 8px;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 12px 20px;
    font-size: 2rem;
    letter-spacing: 0.5em;
    color: white;
    font-weight: 300;
}
  
.contact-body {
    width: 85vw;
    display: flex;
    margin-top: 40px;
    margin-left: 60px;
    flex-direction: row;
    background: #ffffff;
    box-shadow: 0px 4px 80px rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    justify-content: space-between;
    overflow: hidden;
}

.footer {
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 4px 5rem;
    margin-top: 40px;
    background: #ac1500;
    color: white;
    font-size: 12px;
}
  
.footer p {
    margin: 0px;
    padding: 0px;
}
  
.social {
    position: fixed;
    right: 0px;
    top: 20vh;
    height: 50vh;
    background: #ffffff;
    box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #ac150a;
    display: flex;
    flex-direction: column;
    border-radius: 16px 0px 0px 16px;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
}
  
.sicon {
    width: 35px;
    height: 35px;
}

@media screen and (max-width: 720px) {
    .hero nav{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .nav_list{
        /* display: none; */
        display: flex;
        flex-direction: row;
        justify content: space-between;
        padding: 30px;
        margin-left: 80px;
    }
    .hero_left_text{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero_body{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero_left_nav{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 2rem;
    }
    .hero_right img{
        width: 600px;
        height: auto;
        margin-left:0px;
    }
    .hero_right{
        margin-left: 0px;
    }
    .menu_btn {
        display: block;
        height: 18px;
      }
    .primary{
        margin-left: 30px;
    }
    .about{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .about_left h1{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .about_left h2{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .about_right{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 50px;
    }
    .projects{
        margin-left: 15px;
    }
    .project-body{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .list-control{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-left: 40px;
    }
    .social {
      bottom: 0px;
      top: auto;
      height: 32px;
      width: 96.5%;
      flex-direction: row;
      border-radius: 16px 16px 0px 0px;
      justify-content: space-between;
      align-items: center;
      padding: 20px 10px;
      margin-left: 0px;
    }
   
    .projects {
      padding: 1rem 1rem;
    }
  
    .projects h2 {
      font-size: 32px;
      text-align: center;
    }
  
    .project-list {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      width: 100%;
      overflow-x: scroll;
      margin-top: 40px;
      padding: 20px;
      margin-left: 0px;
    }
  
    .project-img {
      height: auto;
      width: 75vw;
    }
  
    .scroll-buttons {
      margin: 20px;
      height: auto;
      width: 100px;
      box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.12);
    }
  
    .list-control {
      display: flex;
      flex-direction: row-reverse;
      justify-content: space-between;
      margin-top: 10px;
      width: 100%;
    }
  
    .contact {
      margin-top: 40px;
      margin-left: 0px;
      margin-right: 30px;
      /* padding: 1rem 1rem; */
    }
  
    .contact h2 {
      font-size: 32px;
      text-align: center;
      margin-left: 80px;
    }
  
    .contact-form {
      flex-direction: column;
      align-items: center;
      width: 70vw;
      height: 100%;
      padding: 30px;
      margin-right: 20px;
    }
  
    .contact-body {
      width: 85vw;
      margin-top: 40px;
      flex-direction: column;
    }
    .nav {
      display: none;
    }
  
    .nav-list {
      /* display: flex; */
      flex-direction: column;
      justify-content: space-between;
      text-align: center;
      padding: 10px;
      width: 100%;
      height: auto;
      margin-top: 10px;
      background-color: rgba(255, 0, 0, 0.336);
      border-radius: 8px;
    }
    .nav-list li {
      margin: 5px;
    }
    .footer{
        display: none;
    }
  }
  @media screen and (max-width: 400px) {
    .hero_body {
        display: flex;
        flex-direction: column ;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top: 0px;
        margin-left: 0px;
        padding: 0px;
        align-items: center;
        /* height: 90vh; */
      }
    .hero_left_text h2{
        margin: 0px;
        font-size: 30px;
    }
    .hero_left_text h1{
        margin: 0px;
        font-size: 50px;
    }
    .hero_left_text h3{
        margin: 0px;
        font-size: 30px;
        font-weight: 300;
    }
    /* .hero_left_text{
        margin-bottom: 4rem;
    } */
    .primary{
        padding: 5px 10px;
        background: #ac200d;
        box-shadow: 0px 4px 10px rgba(172, 21, 0, 0.25);
        border-radius: 4px;
        margin-right: 30px;
        color: white;
        font-size: 20px;
    }
    .hero_left_nav a{
        color: #ac200d;
        font-size: 25px;
        margin-right: 10px;
        margin-left: 20px;
    }
    .hero img{
        height: 50px;
        width: auto ;
        /* padding: 20px; */
        margin-left: 0px;
    }
    .hero_right img{
        border: 1px solid #ac1500;
        box-sizing: border-box;
        border-radius: 16px;
        width: 360px;
        height: auto;
        margin-left: 10px;
    }
    .about {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: 0px;
        /* padding: 1rem 5rem; */
    }
    .about_left h1{
        font-size: 32px;
        margin-left: 10px;
        margin-bottom: 10px;
    }
    .about_left ol{
        font-size: 20px;
        margin-left: 0px;
        margin-right: 0px;
    }
    .ol li{
        margin-left: 0px;
    }
    .about_left h2{
        font-size: 25px;
        margin-bottom: 10px;
        margin-left: 20px;
    }
    .about_right h2{
        font-size: 25px;
        margin-bottom: 10px;
        margin-left: 0px;
    }
    .about_left{
        margin-left: 0px;
        margin-right: 10px;
    }
    .about_left h1{
        margin-left: 40px;
    }
    .about_left h2{
        margin-left: 40px;
    }
    .about_right img{
        width: 300px;
        height: auto;
        margin-right: 0px;
    }
    .about_right{
        margin-right: 20px;
    }
    .social {
      bottom: 0px;
      top: auto;
      height: 32px;
      width: 94%;
      flex-direction: row;
      border-radius: 16px 16px 0px 0px;
      justify-content: space-between;
      align-items: center;
      padding: 20px 10px;
      margin-left: 0px;
    }
  
    .projects {
      padding: 1rem 1rem;
      margin-left: 0px;
    }
  
    .projects h2 {
      font-size: 32px;
      text-align: center;
      margin-left: 30px;
      margin-top: 40px;
      margin-bottom: 0px;
    }
  
    .project-list {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      width: 100%;
      overflow-x: scroll;
      margin-top: 40px;
      padding: 20px;
      margin-left: 0px;
    }
  
    .project-img {
      height: auto;
      width: 75vw;
      margin-left: 0px;
    }
  
    .scroll-buttons {
      /* margin: 20px; */
      height: auto;
      width: 100px;
      box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.12);
      margin-left: 0px;
    }
  
    .list-control {
      display: flex;
      flex-direction: row-reverse;
      justify-content: space-between;
      margin-top: 10px;
      width: 100%;
      margin-left: 30px;
    }
    #scrollleft{
        margin-right: 0px;
    }
    .contact {
      margin-top: 20px;
      padding: 1rem 1rem;
      margin-left: 0px;
    }
  
    .contact h2 {
      font-size: 32px;
      text-align: center;
      margin-left: 45px;
    }
  
    .contact-form {
      flex-direction: column;
      align-items: center;
      width: 70vw;
      height: 100%;
      padding: 30px;
      margin-left: 5px;
      margin-right: 0px;
    }
    .contact-body {
      width: 85vw;
      margin-top: 40px;
      flex-direction: column;
      margin-left: 5px;
    }
    .nav_close {
      display: none;
      margin-left: 0px;
    }
  }