*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background-color: #e0e0e0;
}
ul{
    list-style-type: none;
}
nav{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 69px;
    background: linear-gradient(145deg, #f0f0f0, #cacaca);
    box-shadow:  17px 17px 22px #9f9f9f,
                 -17px -17px 22px #ffffff;
    width: 93%;
    position: sticky;
    top: 10px;
    border: none;
    border-radius: 6px;
    margin: 0 auto;
}
nav ul{
    display: flex;
    justify-content: space-between;

}
nav ul li {
    margin-left: 2rem;
    margin-right: 2rem;
}
nav button{
    border: none;
    outline: none;
    background: #e0e0e0;
    box-shadow:  5px 5px 10px #5a5a5a,
             -5px -5px 10px #ffffff;
    width:110px;
    height: 30px;
    border-radius: 4px;
    transition: 0.3s all ease-in-out;
    cursor: pointer;
}
nav button:hover{
    background: #e64848;
box-shadow:  20px 20px 27px #5a5a5a,
             -20px -20px 27px #ffffff;
}
.barsBTN{
    width: 30px;
    height: 30px;
    border-radius: 3rem;
}
.barsBTN i{
    font-size: 1.1rem;
}
.btnBars button {
    display: none;
    height: 0;
    width: 0;
}
nav{
    position: relative;
}
nav .logo{
    position: absolute;
    left: 3rem;
    background: #e8e8e8;
    box-shadow: inset 5px 5px 10px #5f5f5f,
                inset -5px -5px 10px #ffffff;
                width: 230px;
                height: 40px;
                font-size: 1.5rem;
                border-radius: 0px;
                font-family:'Times New Roman', Times, serif;
                cursor: default;
                margin-right: 4rem;
}
nav ul{
    position: absolute;
    right: 2rem;
}

nav .logo:hover{
    background: #e8e8e8;
    box-shadow: inset 5px 5px 10px #5f5f5f,
                inset -5px -5px 10px #ffffff;
}
nav ul .btnBars button {
    display: none;
    height: 0;
    width: 0;
    position: absolute;
    right: 0;
    top: 0;
}


@media screen and (max-width : 1030px) {
    nav ul .btnBars button {
        display: block;
        height: 35px;
        width: 35px;
        position: absolute;
        right: 3rem;
        bottom: 2rem;
    }
    nav ul .otherbtn button{
        display: none;
        height: 0;
        width: 0;
        overflow : hidden;
    }
    nav {
        display: flex;
        justify-content: space-between;
    }
    nav ul{
        right: 0.5rem;
        top: 1rem;
    }
    
}



nav{
    z-index: 999;
}
.container1{
    margin-top: 3rem;
    display: flex;
    height: 79vh;
}
.container2{
    height: 100%;
    width: 500px;
}
.container3{
    height: 100%;
    width: calc(100% - 500px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.container3 .container4{
    height: 410px;
    width: 530px;
    border-radius: 10px;
    background-color: #e0e0e0;
    padding: 2rem;
    z-index: 39;
    background: #e8e8e8;
box-shadow:  5px 5px 10px #5f5f5f,
             -5px -5px 10px #ffffff;
}


.container3 .container4 img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    cursor: default;
    transition: 0.2s all ease-in-out;
}

.container4 img:hover{
    transform: scale(1.05);
}
.container2{
    position: relative;
}
.container2 h2, h1{
    font-family: 'Poppins', sans-serif;
}
.container2 .titles{
    position: absolute;
    margin-left: 11rem;
    margin-top: 11rem;
}
.spanH2{
    color: #cc1a1a;
}
.auto-typing{
    color: #cc1a1a;
}
.titles h1{
    margin-top: 0.8rem;
}
.titles p{
    margin-top: 1rem;
    font-size: 1.1rem;
}

nav{
    position: sticky;
    top: 10px;
    z-index: 999;
}
@media screen and (max-width : 1030px) {
    .container1 .container2{
        position: relative;
        left: -3rem;
    }
}
.container1{
    margin-top: 5rem;
}
.container5{
    min-height: 100vh;
    width: 100%;
    background-color: #898989;
    margin-top: 3rem;
}

.myprojects{
    margin: auto;
    width: 420px;
    height: 70px;
    border-radius: 8px;
    margin-top: 2.5rem;
    text-align: center;
    background-color: #cc1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 7rem;
    background: #898989;
box-shadow: inset 9px 9px 18px #373737,
            inset -9px -9px 18px #dbdbdb;
}
.myprojects h1{
    font-family:'Serif';
}
.project1{
    width: 60%;
    margin: 0 auto;
    background-color: #898989;
    height: 490px;
    margin-top: 9rem;
    padding: 1.5rem;
    margin-bottom: 3rem;
    border-radius : 14px;
    background: #898989;
    box-shadow:  5px 5px 18px #373737,
                 -5px -5px 18px #dbdbdb;
                 transition: 0.3s all ease-in-out;
}
.project1:hover{
    background: #898989;
    box-shadow:  9px 9px 18px #373737,
                 -9px -9px 18px #dbdbdb;
}
.container5{
    padding-bottom: 3rem;
}
nav{
    height: 60px;
}

.imageDiv{
    width: 100%;
    height: calc(100% - 80px);
    background-color: white;
    border-radius: 7px;
}

.imageDiv img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}
@media screen and (max-width : 1030px) {
    .project1{
        width: 90%;
    }
}

.description{
    margin-top: 7px;
    display: flex;
    flex-direction: column;
    background-color: white;
    padding-bottom: 7px;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 7px;
}
.description p, h2{
    color: rgb(0, 0, 0);
}
.social{
    display: flex;
    flex-direction: column;
    position: relative;
    top: 10rem;
    left: 3rem;
}
.social button{
    width: 30px;
    height: 30px;
    border-radius: 4rem;
    border: none;
    outline: none;
    margin-bottom: 1rem;
    cursor: pointer;
}

.social i{
    font-size: 30px;
}
.fa-instagram{
    color: #e1306c;
}
.fa-facebook{
    color: #3b5998 ;
}
.fa-linkedin{
    color: #0e76a8 ;
}
.fa-github{
    color: black;
}
.social button:hover{
    transform: scale(1.2);
}
.x{
    cursor: pointer;  
}
.x:hover{
    transform: scale(1.2);

}
.container5 .xyz{
    margin-top: 6rem;
}
.myprojects{
    margin-bottom: 4rem;
}
.xyhy{
    margin-top: 11rem;
}


@media screen and (max-width : 1030px) {
    .container2{
        padding-left: 2rem;
    }
}




.container666{
    height: 100vh;
    width: 100%;
    background-color: #cacaca;
    padding-top: 6rem;

}
.container767{
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 300px;
    height: 63px;
    background: #cacaca;
box-shadow:  12px 12px 24px #515151,
             -12px -12px 24px #ffffff;
             border-radius :12px ;

    
}
.container767 h1{
    font-family: 'Serif';
}



/*Slider stylings ... */

section {
    width: 85vw;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 5rem;
    text-align: center;
    padding: 1rem 0;
    /* set relative for buttons */
    position: relative;
  }
  .reviews {
    margin-top: 3rem;
    margin-bottom: 4rem;
  }
  .reviews h2 {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    background: white;
    padding: 0.25rem;
    border-radius: 50%;
  }
  h4 {
    text-transform: uppercase;
    font-weight: 500;
    color: black;
    
    margin: 0.5rem 0;
  }
  .title {
    margin-bottom: 1.25rem;
    letter-spacing: 2px;
    text-transform: capitalize;
  }
  .text {
    color: black;
    line-height: 1.8;
    max-width: 35em;
    margin: 0 auto;
    letter-spacing: 1px;
  }
  
  
  
  .quote-icon {
    font-size: 3rem;
    margin-top: 2rem;
    color: black;
  }
  .quote-icon:hover {
      transform: scale(1.1);
      opacity: 0.6;
    }
    
  
  
  /* set buttons */
  .btn {
    position: absolute;
    top: 175px;
    background: black;
    color: white;
    padding: 0.25rem 0.35rem;
    border-radius: 0.25rem;
    border: transparent;
    cursor: pointer;
  }
  .next-btn {
    right: -0.5rem;
    top: 13rem;
  }
  .prev-btn {
    left: -0.5rem;
    top: 13rem;

  }
  
  
  @media screen and (min-width: 768px) {
    .next-btn {
      right: 5rem;
    }
    .prev-btn {
      left: 5rem;
    }
    .btn {
      font-size: 1.3rem;
      padding: 0.35rem 0.5rem;
    }
    .quote-icon {
      font-size: 4rem;
    }
  }
  
  
  
  /* MORE CSS FOR JS */
  
  .slide-container {
    display: flex;
    position: relative;
    height: 450px;
    overflow: hidden;
  }
  
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease-in-out;
    opacity: 0;
  }
  
  .slide.active {
    opacity: 1;
    transform: translateX(0);
  }
  
  .slide.next {
    transform: translateX(100%);
  }
  
  .slide.last {
    transform: translateX(-100%);
  }


  .footerx{
    width: 100%;
    height: 60px;
    background-color: black;
    color: white;
    text-align: center;
    padding-top: 10px;
  }