@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;

    scroll-behavior: smooth;
}

img {
    width: 100%;
}

body {
    font-family: "Google Sans Code", monospace;
    /* font-family: "Roboto", sans-serif; */
}

.container {
    width: 90%;
    margin: 0 auto;
}

/* navbar styles */
.header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    color: #5b5b5b;
}

.dropdown {
    position: relative;
}

.nav-button {
    font-size: 20px;
    color: #5b5b5b;
}

.nav-links {
    display: none;
    position: absolute;
    right: 0;
    border: 1px solid #e4e3e3;
    background: #fff;
}

.nav-link {
    font-size: 14px;
    margin: 5px 10px;
    display: block;
    color: #5b5b5b;
    transition: 0.1s;
}

.nav-link:hover {
    color: #e54b4b;
}

.active {
    display: block;
}

/* hero area styles */
.hero-area {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    padding: 3rem 0;
}

.hero-info {
    flex-basis: 50%;
}

.hero-info h5 {
    font-size: 14px;
    margin-bottom: 1rem;
}

.hero-info h1 {
    color: #e54b4b;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero-info h3 {
    font-size: 18px;
    margin-bottom: 1rem;
}

.hero-info p {
    font-size: 14px;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: #5b5b5b;
}

.hero-info a,
.download-resume-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    background: #e54b4b;
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.1s;
    margin-bottom: 1rem;
}

.hero-info a:hover,
.download-resume-button:hover {
    background: transparent;
    border: 1px solid #e54b4b;
    color: #e54b4b;
}

.hero-img {
    flex-basis: 50%;
}

/* about area styles */
.about-area {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    padding: 3rem 0;
}

.about-img {
    flex-basis: 50%;
}

.about-info {
    flex-basis: 50%;
}

.about-info h3 {
    font-size: 28px;
    color: #e54b4b;
    margin-bottom: 0.5rem;
}

.about-info h5 {
    font-size: 18px;
    margin-bottom: 1rem;
}

.about-change-color {
    color: #e54b4b;
}

.about-info p {
    font-size: 14px;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: #5b5b5b;
}

.about-info>a {
    padding: 10px 20px;
    font-size: 14px;
    background: #e54b4b;
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.1s;
    display: inline-block;
    margin-bottom: 1rem;
}

.about-info>a:hover {
    background: transparent;
    border: 1px solid #e54b4b;
    color: #e54b4b;
}

/* social icons */
.social-links {
    display: flex;
}

.social-links li a {
    color: #5b5b5b;
    font-size: 1.5rem;
    transition: 0.3s;
    margin-right: 10px;
}

.social-links li a:hover {
    color: #e54b4b;
}

/* services area styles */
.servies-area {
    text-align: center;
    padding: 3rem 0;
}

.servies-area h2 {
    font-size: 28px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.border-bellow {
    width: 130px;
    height: 2px;
    background: #e54b4b;
    border-radius: 5px;
    margin: auto;
    margin-bottom: 1rem;
}

.servies-area p {
    font-size: 14px;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: #5b5b5b;
}

.services {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    padding: 1rem 0;
}

.service {
    border: 1px solid #e4e3e3;
    border-radius: 5px;
    padding: 3rem 1rem;
    transition: 0.3s;
}

.service:hover {
    box-shadow: 1px 1px 10px gray;
    transform: scale(1.03);
}

.service:hover h3 {
    color: #e54b4b;
}

.service i {
    color: #e54b4b;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.service p {
    font-size: 14px;
    line-height: 1.5;
    color: #5b5b5b;
}

/* projects area styles */
.projects-area {
    text-align: center;
    padding: 3rem 0;
}

.projects-area h2 {
    font-size: 28px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.border-bellow {
    width: 130px;
    height: 2px;
    background: #e54b4b;
    border-radius: 5px;
    margin: auto;
    margin-bottom: 1rem;
}

.projects-area p {
    font-size: 14px;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: #5b5b5b;
}

.projects {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    padding: 1rem 0;
}

.project {
    border: 1px solid #e4e3e3;
    border-radius: 5px;
    padding: 1rem;
}

.project img {
    margin-bottom: 1rem;
}

.project h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.project p {
    font-size: 14px;
    line-height: 1.5;
    color: #5b5b5b;
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-links a {
    font-size: 14px;
    color: #e54b4b;
    transition: 0.3s;
}

.project-links a:hover {
    text-decoration: underline;
    transform: scale(1.05);
}

/* contact area styles */
.contact-area {
    text-align: center;
    padding: 3rem 0;
}

.contact-area h2 {
    font-size: 28px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-bellow {
    width: 130px;
    height: 2px;
    background: #e54b4b;
    border-radius: 5px;
    margin: auto;
    margin-bottom: 1rem;
}

.contact-area p {
    font-size: 14px;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: #5b5b5b;
}

form {
    text-align: left;
    padding: 1.5rem;
    border: 1px solid #e4e3e3;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type=text],
input[type=email] {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
}

textarea {
    display: block;
    resize: none;
    width: 100%;
    height: 200px;
    padding: 1rem;
    margin-bottom: 1rem;

}

input[type=submit] {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    background: #e54b4b;
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.1s;
    margin-bottom: 1rem;
}

input[type=submit]:hover {
    background: transparent;
    border: 1px solid #e54b4b;
    color: #e54b4b;
}


/* footer area styles */
.footer-area {
    background: #3c4858;
    text-align: center;
    padding: 1rem 0;
}

.footer-area p {
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
}

.footer-area p a {
    color: cyan;
    transition: 0.3s;
}

.footer-area p a:hover {
    color: #e54b4b;
}






/* tablet or up layout */
@media only screen and (min-width: 768px) {
    .container {
        min-width: 768px;
    }

    /* menu  */
    .nav-button {
        display: none;
    }

    .nav-links {
        display: flex;
        position: static;
        border: none;
    }

    .nav-link:last-child {
        margin-right: 0;
    }

    /* menu  */
    .hero-area {
        flex-direction: row;
        padding: 5rem 0;
    }

    .about-area {
        flex-direction: row;
        padding: 5rem 0;
    }

    .servies-area {
        padding: 5rem 0;
    }

    .services {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .projects-area {
        padding: 5rem 0;
    }

    .projects {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .contact-area {
        padding: 5rem 0;
    }

    form {
        width: 50%;
        margin: 0 auto;
    }
}


/* desktop layout */
@media only screen and (min-width: 1024px) {
    .container {
        min-width: 1024px;
    }
}