body {
    margin: 0;
    text-align: center;
    font-family: 'Merriweather', sans-serif;
    background-color: #000;
    overflow-x: hidden; /* Hide horizontal scrollbar */
}

h1, h2, h3, p {
    color: white;
}


.headClass {
    width: 100%;
    background-color: black;
    display: flex; /* Add flex display to align children horizontally */
    justify-content: space-between; /* Use space-between to separate h2 and nav on opposite ends */
    align-items: center; /* Vertically center align items */
    position: fixed;
    z-index: 1;
}

nav, .headClass {
    font-size: 21px;
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
}

a {
    color: white;
    font-weight: 400;
    text-decoration: none;
}

nav a:hover {
    font-size: 25px;
    font-weight: 600;
}

#headHead {
    color: white;
    font-family: cursive;
    font-size: 21px;
    margin-right: 870px;
}

.introduction {
    display: flex;
    flex-direction: row-reverse;
    width: 50%;
    margin: 100px auto 100px auto;
    text-align: left;
}


.webtopimg {
    float: left;
    margin-right: 30px;
}

.webimg {
    width: 25%;
    border-radius: 70%;
    float: left;
    margin-right: 30px;
}

.iosandroid {
    border-radius: 200%;
    width: 25%;
    margin-left: 30px;
    float: right;
}


p {
    line-height: 2;
}

.skill-row {
    width: 50%;
    margin: 100px auto 100px auto;
    text-align: left;
}

.intro {
    margin: auto;
    width: 30%;
}

a {
    margin: 10px 10px;
}

.middle_container {
    margin: 100px 0;
}







.contact-messege {
    width: 40%;
    margin: 40px auto 60px; /*top lr bottom*/
}

.copyright {
    color: #EAF6F6;
}


#web-img {
    width: 300px;
}

/*
.btn {

    background: #11cdd4;
   
    background-image: -webkit-linear-gradient(top, #11cdd4, #11999a);
    background-image: -moz-linear-gradient(top, #11cdd4, #11999a);
    background-image: -ms-linear-gradient(top, #11cdd4, #11999a);
    background-image: -o-linear-gradient(top, #11cdd4, #11999a);
    background-image: linear-gradient(to bottom, #11cdd4, #11999a);
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    font-family:'Montsarrat',sans-serif ;
    color: #ffffff;
    
    font-size: 20px;
    padding: 10px 20px 10px 20px;
    margin: auto auto 50px 50px;
    text-decoration: none;
  }
  
  .btn:hover {
    background: #30ec3b;
    background-image: -webkit-linear-gradient(top, #30ec3b, #2bc4ad);
    background-image: -moz-linear-gradient(top, #30ec3b, #2bc4ad);
    background-image: -ms-linear-gradient(top, #30ec3b, #2bc4ad);
    background-image: -o-linear-gradient(top, #30ec3b, #2bc4ad);
    background-image: linear-gradient(to bottom, #30ec3b, #2bc4ad);
    text-decoration: none;   
  }*/

.smoke * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.smoke video {
    object-fit: cover;
}

.smoke section {
    background: #000;
}

.smoke h1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    letter-spacing: 1rem;
    text-transform: uppercase;
    color: #f5f5f5;
    font-size: 5em;
    font-family: sans-serif;
}

    .smoke h1 span {
        display: inline-block;
        animation: animate 1s ease-in-out;
    }

@keyframes animate {
    0% {
        opacity: 0%;
        transform: rotateY(90deg);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: rotateY(0deg);
        filter: blur(0px);
    }
}

h1 span:nth-child(1) {
    animation-delay: 0.6s;
}

h1 span:nth-child(2) {
    animation-delay: 1s;
}

h1 span:nth-child(3) {
    animation-delay: 1.7s;
}

h1 span:nth-child(4) {
    animation-delay: 2.3s;
}

h1 span:nth-child(5) {
    animation-delay: 2.7s;
}

h1 span:nth-child(6) {
    animation-delay: 3.2s;
}

h1 span:nth-child(7) {
    animation-delay: 3.7s;
}

h1 span:nth-child(8) {
    animation-delay: 4s;
}


.bottom_container-top {
    background-color: #000;
    border: 2px solid white;
    border-width: 2px 0px 0px 0px;
    padding: 50px 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#AboutIMG {
    width: 400px;
    border-radius: 15px;
    margin-right: 10px;
    margin-right: 30px;
}

.Aboutimgesc {
    display: flex;
    justify-content: center;
    margin-bottom: 90px;
}

.aboutme h1 {
    padding-bottom: 90px;
}

.headClass {
    padding-bottom: 40px;
}

html {
    scroll-behavior: smooth;
}

.btn {
    width: 180px;
    height: 50px;
    border-radius: 5px;
    border: none;
    font-size: 15px;
    font-weight: 700;
}

.projects h1 {
    padding-bottom: 100px;
}

.project-container {
    width: 300px;
    height: 430px;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.7);
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
    margin-bottom: 200px;
}

    /* Add this CSS class to the second project container */
    .project-container:nth-child(2) {
        margin-top: -200px; /* Move the second container up by 40px */
    }

.appleimg {
    width: 300px;
    height: 200px;
    background-color: azure;
    border-radius: 15px;
}

#aboutME, #skills, #projects, .contact-me {
    padding-top: 80px; /* Adjust this value as needed */
}

label {
    color: #f5f5f5;
}

.bottom-container {
    margin-left: 200px;
}

input {
    margin: 0px 0px 5px 20px;
    border-radius: 3px;
    border: none;
}


textarea {
    border-radius: 10px;
}

.button-submit {
    border: 2px solid white;
    border-radius: 5px;
    width: 120px;
    height: 40px;
    background-color: #000;
    color: white;
    font-size: larger;
    font-weight: 700;
}

.finputsec {
    padding: 40px;
}

    .finputsec input[type="text"],
    .finputsec input[type="email"] {
        padding: 6px;
        margin-bottom: 20px;
    }


.inputFromUser textarea {
    margin: 30px;
}

@media (max-width: 576px) {
  
    body {
        width: 100%; /* Adjust video width for smaller screens */
    }
}.smoke {
    position: relative;
    width: 100%; /* Set the width to 100% to ensure the video spans the container */
}

.smoke video {
    width: 100%; /* Ensure the video fills the "smoke" container */
    height: auto; /* Maintain the video's aspect ratio */
}

.smoke section {
    position: relative;
    height: 100%; /* Set the height to 100% to match the video's height */
}

