@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:root {
  --header-color: #495c83;
  --sectionbg-color: #fafaff;
  --black-color: #2a3b47;
  --text-color: #697477;
  --font-family: "Montserrat", sans-serif;
  --header-big-font: 5.25rem;
  --heading-fontsize: 1.25rem;
  --para-fontsize: 0.938rem;
}

body {
  box-sizing: border-box;
  overflow-x: hidden;
  /* width: 100%; */
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background-color: var(--header-color);
}
body::-webkit-scrollbar-thumb {
  border-radius: 50px;
  background-color: var(--black-color);
}

@media only screen and (max-width: 1024px) {
    .head {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background-color: var(--header-color);
        padding: 2rem 2rem 0 2rem;
    }

    .navbar{
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar .logo p{
        font-size: 22px;
    }

    .header-img{
        /* border: 2px solid red; */
        width: 200px;
        height: 400px;
        border-radius: 50%;
        background-color: var(--sectionbg-color);
        position: relative;
        overflow: hidden;
        margin-right: 9rem;
        margin-top: 50px;
        box-shadow: -1px 0px 20px rgba(0,0,0,0.4);
    }
    .container .header-img img{
        width:500px;
        position: absolute;
        top: -200px;
        /* left: 1px; */
        bottom: 100px;
        right: -150px
    }

    /* =========about section================= */
    .about-container{
        padding: 2rem;
        /* padding: 1rem 4rem 0 4rem; */
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 6rem;
        margin: 4rem 0 4rem 0;
    }

    /* ===============contact section================= */

    .form{
        display: flex;
        padding: 4rem;
        width: 100%;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
        margin-bottom: 3rem;
    }
    .details{
        flex: 1 1;
    }
    .contact-form{
        flex: 1 1;
    }
    .input{
        width: 100%;
    }
    .input form{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 3rem;
    }

    .input-area{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .input-text{
        width: 44vw;
        height: 45px;
    }

    .text-area{
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
    }

    .button{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }

    .message{
        width: 43vw;
        height: 25vh;
        border: 2px solid var(--black-color);
        border-radius: 5px;
        padding: 0.8rem;
    }
}