@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #A2B9BC;
    padding: 10px 20px;
    font-size: 18px;


}

.navbar .sections {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    width: 100%;
    max-width: 500px;
    flex-wrap: wrap;
}

.banner {
    text-align: center;
    padding: 20px 10px; /* Adjust padding for smaller screens */
    background-color: #e0e7ed;
    color: #383434;
    border-bottom: 4px solid #ccc;

}

.banner h2 {

    margin-bottom: 10px;
    font-size: 40px;
    font-family:'Times New Roman', Times, serif
}

.banner p {
    font-size: 20px;
    margin: 0;
}

.navbar .sections {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    width: 100%;
    max-width: 500px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.banner {
    text-align: center;
    padding: 20px 10px; /* Adjust padding for smaller screens */
    background-color: #D8E2DC;
    color: #4A4A4A;
    border-bottom: 4px solid #ccc;
}

.banner h2 {
    margin-bottom: 10px;
    font-size: 40px; /* Adjust font size for smaller screens */
    font-family: 'Times New Roman', Times, serif;
}

.banner p {
    font-size: 20px; /* Adjust font size for smaller screens */
    margin: 0;
}

@media (min-width: 768px) {
    .banner {
        padding: 40px 50px; /* Larger padding for larger screens */
    }

    .banner h2 {
        font-size: 60px; /* Larger font size for larger screens */
    }

    .banner p {
        font-size: 25px; /* Larger font size for larger screens */
    }
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 26.5ch;
    };
}


@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 26.5ch;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: black;
    }
}

#typing-text {
    font-size: 36px;
    overflow: hidden;
    border-right: .10em solid black;
    /* Blinking cursor */
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .10em;
    animation: typing 3.5s steps(20, end) forwards, blink-caret .75s step-end infinite;
}


.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    background-color: #F5ECE0;
    text-align: left;
}

.text-content {
    flex: 1;
    margin-right: 20px;
}

.hello {
    font-size: 50px;
    font-weight: bold;
    font-family: "Source Code Pro", serif;
}

.about {
    font-size: 50px;
    margin-top: 10px;

}

.moreabout {
    font-size: 22px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;;
    margin-top: 20px;
    line-height: 1.6;

}

.image-container {
    position: relative;
    width: 400px;
    /* Adjust the size as needed */
    height: 400px;
    /* Adjust the size as needed */
    border-radius: 60%;
    overflow: hidden;
    margin-left: auto;
    /* Align to the right */
    margin-right: 0;
    /* Align to the right */
}

.circle-image {
    position: absolute;
    top: 0px;
    /* Adjust to move the image a bit above */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    /* Ensure the image covers the container */
    height: 80%;
    /* Maintain aspect ratio */
}


/*about section*/

.about-body {
    /* background-image: url('https://plus.unsplash.com/premium_photo-1661775756810-82dbd209fc95?fm=jpg&q=60&w=3000&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NXx8cG9ydGZvbGlvJTIwYmFja2dyb3VuZHxlbnwwfHwwfHx8MA%3D%3D');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #d3eaed;
}

.about-container {
    text-align: left;
    max-width: 800px; /* Limits width without using fixed margins */
    margin: auto; /* Centers the container dynamically */
    padding: 50px 20px;
    background-color: #d3eaed;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    width: 90%; /* Ensures responsiveness on smaller screens */
}


.about-container h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: rgb(8, 7, 8);
    justify-content: center;
    text-align: center;
}

.section {
    margin: 20px 0;
}

.section h2 {
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: left;
    justify-content: left;

}

.section h2 i {
    margin-right: 10px;
}

.section p {
    font-size: 20px;
    margin: 5px 0;
    line-height: 1.3;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

}
@media (min-width: 768px) {
    .about-container {
        margin: auto;
    }

    .about-container h1 {
        font-size: 48px; /* Larger font size for larger screens */
    }

    .section h2 {
        font-size: 32px; /* Larger font size for larger screens */
    }
}







/*skills section*/

.skills-body {
    /* background-image: url('https://media.licdn.com/dms/image/v2/D4D12AQGPAWnsOTQYEQ/article-cover_image-shrink_720_1280/article-cover_image-shrink_720_1280/0/1674548497069?e=2147483647&v=beta&t=16NaCQoB9Vhu7SY-kIvUBTQcv4iO150SP9FSxpyBQdM'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #d3eaed;
}

.skills-container {
    text-align: left;
    max-width: 800px; /* Limits width to avoid excessive stretching */
    margin: auto; /* Centers the container */
    padding: 50px 20px;
    background-color: #d3eaed;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    width: 90%; /* Ensures responsiveness on smaller screens */
}


.skills-container h1 {
    font-size: 38px;
    margin-bottom: 20px;
    color: rgb(2, 1, 2);
    justify-content: center;
    text-align: center;
    margin-right: auto;
}

.skill {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.skill img {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

.skill h2 {
    margin: 0;
    font-size: 1.5em;
}

.skill p {
    font-size: 20px;
    margin: 5px 0;
    line-height: 1.3;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.skill i {
    font-size: 3em;
    color: #333;
    margin-right: 10px;
    line-height: 2;
}



/*contact section*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

.contact-body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ede8e8;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #d3eaed ;
}

.contact-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #A2B9BC;
    padding: 10px 20px;
    font-size: 18px;
    width: 100%;
    position: fixed;
    top: 0;
}

.contact-navbar .sections {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    width: 100%;
    max-width: 500px;
}

.contact-container {
    max-width: 600px;
    margin: 100px auto;
    padding: 40px;
    background-color: #d3eaed;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 10px;
}

.contact-container h1 {
    margin-bottom: 20px;
}

.contact-container p {
    font-size: 1.2em;
    margin: 10px 0;
}

footer {
    background-color: #a2e1ea;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    position: fixed;
    bottom: 0;
}

footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer .social-icons a {
    color: #fff;
    font-size: 2em;
    text-decoration: none;
}

footer .social-icons a:hover {
    color: #5E8B7E;
}

footer .social-icons .devfolio-icon {
    width: 32px;
    height: 32px;
}


/* From Uiverse.io by KINGFRESS */
/*for navbar section buttons*/
button {
    font-weight: bold;
    font-size: 1em;
    color: black;
    border-radius: 2rem;
    cursor: pointer;
    width: 95.02px;
    height: 42.66px;
    border: none;
    background-color: #A2B9BC;
    display: flex;
    justify-content: center;
    align-items: center;
}

button .span-mother {
    display: flex;
    overflow: hidden;
}

button:hover .span-mother {
    position: absolute;
}

button:hover .span-mother span {
    transform: translateY(1.2em);
}

button .span-mother span:nth-child(1) {
    transition: 0.2s;
}

button .span-mother span:nth-child(2) {
    transition: 0.3s;
}

button .span-mother span:nth-child(3) {
    transition: 0.4s;
}

button .span-mother span:nth-child(4) {
    transition: 0.5s;
}

button .span-mother span:nth-child(5) {
    transition: 0.6s;
}

button .span-mother span:nth-child(6) {
    transition: 0.7s;
}

button .span-mother2 {
    display: flex;
    position: absolute;
    overflow: hidden;
}

button .span-mother2 span {
    transform: translateY(-1.2em);
}

button:hover .span-mother2 span {
    transform: translateY(0);
}

button .span-mother2 span {
    transition: 0.2s;
}

button .span-mother2 span:nth-child(2) {
    transition: 0.3s;
}

button .span-mother2 span:nth-child(3) {
    transition: 0.4s;
}

button .span-mother2 span:nth-child(4) {
    transition: 0.5s;
}

button .span-mother2 span:nth-child(5) {
    transition: 0.6s;
}

button .span-mother2 span:nth-child(6) {
    transition: 0.7s;
}



/*for contact section buttons*/

.btn {
    width: 9em;
    height: 3em;
    border-radius: 30em;
    font-size: 15px;
    font-family: inherit;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 1em;
    
}

.btn::before {
    content: '';
    width: 0;
    height: 3em;
    border-radius: 30em;
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(to right, #A2B9BC 0%, #5E8B7E 100%);
    transition: .5s ease;
    display: block;
    z-index: -1;
}

.btn:hover::before {
    width: 9em;
}