/* font-family: 'Montserrat', sans-serif; */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
}

/* ------------------------- STYLES FOR HOME PAGE ------------------------- */
#containerGrid {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
    grid-gap: 0px;
}


/* ------ General ------ */
h1 {
    font-weight: 900;
    font-size: 45px;
    margin: 0px;
}

h2 {
    font-weight: 700;
    font-size: 35px;
    margin: 0px;
}

h3 {
    font-weight: 500;
    font-size: 22px;
    margin: 0px;
}

p {
    font-size: 15px;
    font-weight: 500;
    margin: 0px;
    line-height: 1.5rem;
}

/* ---------- NAV Style ---------- */
.main-nav {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    background: #0c2e4e;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    padding: 8px;
}

.nav-logo img {
    height: 45px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-link {
    padding: 16px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-link:hover {
    color: #0ba4db;
    text-decoration: underline;
}

.active {
    color: #0ba4db;
}

.nav-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 8px 35px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    margin: 4px 2px;
    border-radius: 10px;
}

.nav-button:hover {
    background-color: white;
    color: #0c2e4e;
    text-decoration: none;
    font-weight: bold;
}

/* Toggle icon hidden on desktop */
.nav-toggle {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* ---------- Hero Section in Home Style ---------- */
#hero {
    background-color: #d2e9f5;
    color: #0c2e4e;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    grid-template-rows: auto;
    /* padding: 40px; */
    align-items: center;
    justify-items: center;
}

.hero-imagee {
    width: 100%;
    background-image: url(../images/hero.jpg);
    /* background-position: 50% 50%; */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 400px;
}

.hero-text {
    background-image: url(../images/circular-pattern.png);
    background-repeat: no-repeat;
    background-position: right;
    padding: 80px;
}

.hero-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 8px 35px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    margin: 4px 2px;
    border-radius: 10px;
}

.hero-button:hover {
    background-color: white;
    color: #0c2e4e;
    border: 1px solid #0c2e4e;
    text-decoration: none;
    font-weight: bold;
}

/* .hero-text {
    grid-area: hero-text;
}

.hero-image {
    grid-area: hero-image;
} */

/* ---------- About Section in Home Style ---------- */
#about {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #0c2e4e;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    padding: 50px;
}

.about-text {
    width: 90%;
}

.sub-about-one {
    text-align: center;
    padding: 30px;
}

.sub-about-me {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: auto;

    /* text-align: center; */
    padding: 30px;
    align-items: center;
    border: 1px solid #0ba4db;
    border-radius: 16px;
}

.sub-about-me p {
    margin-left: 10px;
}

/* ----------Custom Button Style -------*/
.custom-button {
    background-color: #0ba4db;
    border: none;
    color: white;
    padding: 6px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    margin: 4px 2px;
    border-radius: 10px;
}

.custom-button:hover {
    background-color: white;
    border: 1px solid #0c2e4e;
    color: #0c2e4e;
    text-decoration: none;
    font-weight: bold;
}

/* ---------- Features Section in Home Style ---------- */
#featuredCon {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #F9F9FF;
    color: #0c2e4e;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    padding: 50px;
}

#featuredConn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #F9F9FF;
    color: #0c2e4e;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    padding: 50px;
}

.features {
    width: 90%;
}

.featured-brief {
    text-align: center;
    padding: 30px;
}

.featured-me {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;

    text-align: center;
    padding: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.featured-me h3 {
    font-weight: bold;
}

.tile-one {
    background-color: rgb(249, 215, 76);
    border-radius: 14px;
    padding: 50px;
    margin: 10px 10px;
}

.tile-two {
    background-color: #0ba4db;
    border-radius: 14px;
    padding: 50px;
    margin: 10px 10px;
}

.tile-three {
    background-color: rgb(249, 123, 139);
    border-radius: 14px;
    padding: 50px;
    margin: 10px 10px;
}

.featuredLink {
    text-decoration: none;
    color: #0ba4db;
}

.featuredLink:hover {
    text-decoration: underline;
}

/* ---------- Footer Style ---------- */
.footer-main {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto;
    align-items: center;
    justify-items: center;
    padding: 40px;
    background-color: #eaf6fc;
}

.footer-social {
    padding: 12px;
    font-weight: bold;
    font-size: 12px;
}

.social-link {
    padding-right: 5px;
    color: rgb(25, 25, 25);
    text-decoration: none;
}

.social-link:hover {
    color: #0ba4db;
    text-decoration: underline;
}

.copyright {
    font-size: 12px;
    font-weight: bold;
    color: rgb(25, 25, 25);
}

/* ---------- Resume Head Style ---------- */
#resumeHead {
    background-color: #d2e9f5;
    color: #0c2e4e;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

#resumeLast {
    background-color: #d2e9f5;
    color: #0c2e4e;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.resume-container {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    padding: 40px;
    align-items: center;
    justify-items: center;
}

.resumeText {
    width: 80%;
    text-align: center;
}

#actionSection {
    color: #d2e9f5;
    background-color: #0c2e4e;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    padding: 50px;
}

.action-text {
    width: 90%;
    text-align: center;
    padding: 50px;
}

/* ---------- Work Experience in Home Style ---------- */
#featuredWork {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #0c2e4e;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    padding: 50px;
}

#featuredWork2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #0c2e4e;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    padding: 50px;
}

.featuresW {
    width: 90%;
}

.featured-brief {
    text-align: center;
    padding: 30px;
}

.featured-work {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;

    /* text-align: center; */
    padding: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.features-others {
    justify-items: center;
}

.featured-work h3 {
    font-weight: bold;
}

.work-tile-one {
    border: 1px solid #0c2e4e;
    border-radius: 14px;
    padding: 50px;
    margin: 10px 10px;
}

.work-tile-two {
    border: 1px solid #0ba4db;
    border-radius: 14px;
    padding: 50px;
    margin: 10px 10px;
}

.work-port-one {
    border: 1px solid #0c2e4e;
    border-radius: 14px;
    padding: 10px;
    margin: 10px 10px;
    justify-self: center;
}

.portImg {
    border-radius: 15px;
}

.imagTile {
    padding: 10px;
    margin: 10px 10px;
}

/* ---------- Contact Form Style ------------- */
#contact-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: rgb(25, 25, 25);
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    padding: 50px;
}

.contact-form-text {
    width: 70%;
    text-align: center;
    padding: 20px;
}

.contact-button {
    background-color: #0c2e4e;
    border: none;
    color: #ffffff;
    padding: 20px 40px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin: 4px 2px;
    border-radius: 10px;
    cursor: pointer;
}

.contact-button:hover {
    background-color: transparent;
    border: 2px solid #0c2e4e;
    color: #0c2e4e;
    text-decoration: none;
    font-weight: bold;
}

.contact-form input {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
}

.contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
}

.space {
    padding: 10px;
}

.pagination a {
    padding: 8px 12px;
    background: #007bff;
    color: #fff;
    border-radius: 4px;
    margin: 0 5px;
    text-decoration: none;
}

.pagination a:hover {
    background: #0056b3;
}


/* ------------------- media queries large (992px)---------------------- */
@media screen and (max-width:992px) {
    .main-nav {
        flex-direction: column;
        padding-top: 10px;
        padding-bottom: 10px;
        align-items: stretch;
        justify-content: space-between;
    }

    .mobile {
        display: inline-block;
        padding: 15px;
        text-align: center;
        /* font-size: 12px; */
    }

    .nav-link {
        /* display: inline-block; */
        width: 100%;
        text-align: center;
        padding: 7px;
        font-weight: bold;
        color: white;
        text-decoration: none;
    }

    .nav-link:hover {
        text-decoration: underline;
    }

    .nav-button {
        background-color: #4CAF50;
        border: none;
        color: white;
        padding: 8px 50px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 14px;
        font-weight: bold;
        margin: 4px 2px;
        border-radius: 10px;
    }

    .nav-button:hover {
        background-color: white;
        color: #0c2e4e;
        text-decoration: none;
        font-weight: bold;
    }

    .nav-toggle {
        display: block;
        position: absolute;
        top: 18px;
        right: 20px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #0c2e4e;
        /* margin-top: 60px; */
    }

    .nav-menu.active {
        display: flex;
    }

    .active {
        color: #0ba4db;
    }

    .hero-container {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto auto;
        /* padding: 40px; */
        align-items: center;
        justify-items: center;
    }

    .featured-me {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto auto auto;

        text-align: center;
        padding: 30px;
        align-items: center;
        border-radius: 16px;
    }

    .featured-work {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto;

        /* text-align: center; */
        padding: 30px;
        align-items: center;
        justify-content: center;
        border-radius: 16px;
    }

    .tile-one {
        margin: 10px 0px 10px 0px;
    }

    .tile-two {
        margin: 10px 0px 10px 0px;
    }

    .tile-three {
        margin: 10px 0px 10px 0px;
    }

    .footer-main {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto auto auto;
        text-align: center;
        padding: 40px;
    }
}

/* ------------------- media queries medium (700px)----------------------*/
@media screen and (max-width:700px) {
    .main-nav {
        flex-direction: column;
        padding-top: 10px;
        padding-bottom: 10px;
        align-items: stretch;
        justify-content: space-between;
    }

    .mobile {
        display: inline-block;
        padding: 15px;
        text-align: center;
        font-size: 14px;
    }

    .active {
        color: #0ba4db;
    }

    .sub-about-me {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto auto;

        text-align: center;
        padding: 30px;
        align-items: center;
        border: 1px solid #0ba4db;
        border-radius: 16px;
    }

    .sub-about-me p {
        margin-left: 0px;
    }

    .featured-me {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto auto auto;

        text-align: center;
        padding: 30px;
        align-items: center;
        border-radius: 16px;
    }

    .tile-one {
        margin: 10px 0px 10px 0px;
    }

    .tile-two {
        margin: 10px 0px 10px 0px;
    }

    .tile-three {
        margin: 10px 0px 10px 0px;
    }

    ul {
        padding-inline-start: 0px;
    }
}