* {
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

/* .........................Navbar....................... */


.logo {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 33%;
    border: 3px solid white;
    border-radius: 55px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    cursor: pointer;
    /* border-bottom: 4px solid white; */
    box-shadow: 3px 5px 22px grey;
}

.nav-list {
    width: 70%;
    /* background-color: black; */
    display: flex;
    align-items: center;
}


.nav-list li {
    list-style: none;
    padding: 26px 30px;
}



.nav-list li a {
    text-decoration: none;
    color: wheat;
    font-weight: bold;
    font-size: 26px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-list li a:hover {
    background-color: white;
    color: dodgerblue;
}

.rightnav {
    /* background-color: violet; */
    width: 50%;
    text-align: right;
    padding: 0 23px;
}

.btn-sn {
    padding: 5px 10px;
    vertical-align: middle;
    cursor: pointer;
}

#search {
    padding: 5px;
    font-size: 17px;
    border: 2px solid grey;
    border-radius: 9px;
}

.hamburger {
    position: absolute;
    cursor: pointer;
    right: 5%;
    top: 15px;
    display: none;
}

.line {
    width: 33px;
    background-color: white;
    height: 4px;
    margin: 5px 3px;
}


/* ...................................Bg Section...................................... */


.background {
    /* background: rgba(0, 0, 0, 0.7) url('2536380.jpg');
    background-size: cover;
    background-blend-mode: darken;
    background-repeat: no-repeat; */
    background-color: rgba(43, 32, 39, 0.962);
    /* color: whitesmoke; */
}


.boxmain {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 100%;
    height: 100%;
    margin: auto;
    background: rgba(0, 0, 0, 0.8) url('portfolio pic/Feature-image.webp');
    background-size: cover;
    background-blend-mode: darken;
    background-repeat: no-repeat;
}

.firstSection {
    height: 100vh;

}

.firsthalf {
    width: 80%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0 360px;
}

.secondhalf {
    width: 30%;
    margin-right: 170px;

}

.secondhalf img {
    width: 280px;
    border: 1px solid rgb(154, 157, 162) ;
    border-radius: 130px;
    display: block;
    box-shadow: 0px 0px 20px rgb(154, 157, 162);
    margin: auto;
}

.textb {
    font-size: 70px;
}

.texts {
    font-size: 37px;
}

.btn {
    padding: 8px 20px;
    margin: 7px 3px;
    /* border: 2px solid white; */
    border-radius: 20px;
    /* font-size: 15px; */
    background-color: dodgerblue;
    color: white;
    cursor: pointer;
}

.btn:hover{
    background-color: white;
    color: dodgerblue;
}


/* ..........................Paragraph section.............................. */

.section {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 80%;
    margin: auto;
}

.container img {
    width: 250px;
}

.para {
    padding: 0 65px;
}

.section-left {
    flex-direction: row-reverse;
}


/* ...........................Contact Form.............................. */

.contact {
    background-color: antiquewhite;
    height: 533px;
}

.contact h2 {
    text-align: center;
    padding: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 50px;
}

.form {
    max-width: 62%;
    margin: 25px auto;
}

.form input {
    margin: 15px 0;
    width: 100%;
    padding: 9px 3px;
    border: 2px solid black;
    border-radius: 6px;
}

.btn2 {
    color: white;
    border-radius: 19px;
    background-color: dodgerblue;
    padding: 8px 8px;
    font-weight: bold;
}

.btn2:hover {
    color: dodgerblue;
    background-color: white;
    cursor: pointer;
}


/* ....................................Responsive Media Query........................................ */


@media only screen and (max-width:1140px) {
    .nav-list {
        flex-direction: column;
    }

    .navbar {
        flex-direction: column;
        transition: all 0.3s ease-out;
        height: 530px;
    }

    .rightnav {
        text-align: center;
    }

    .boxmain {
        flex-direction: column-reverse;
        max-width: 100%;
    }

    .secondhalf {
        margin-left: 160px;
    }

    .secondhalf img {
        width: 160px;
    }

    #search {
        width: 100%;

    }

    .hamburger {
        display: block;
    }

    .h-nav {
        height: 72px;
    }

    .v-list {
        opacity: 0;
    }

    .section {
        flex-direction: column-reverse;
    }

    .texts {
        text-align: center;
    }

    .textb {
        text-align: center;
    }

    .button {
        text-align: center;
    }

    .logo {
        width: 35%;
    }

    .para {
        padding: 0;
    }

    .footer {
        height: 168vh;
    }

}


/* .........................................Footer Section............................................. */


.footer h1 {
    font-size: 40px;
    font-weight: bold;
    /* margin: 17px; */
}

.footer p {
    font-size: 20px;
    margin: 4px;
}

#element {
    font-size: 50px;
    color: aqua;
    font-weight: bold;
    text-shadow: 3px 0px 3px white;
}

footer h2 {
    font-size: 30px;
}

.footer h3 {
    font-size: 24px;
}

#phrash {
    cursor: pointer;
}

.footer {
    background-color: rgb(151, 133, 133);
    height: 900px;
}

.foot {
    width: 40%;
    height: 360px;
    /* border: 2px solid black; */
    margin: auto;
}


