* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

/* ------- HEADER SECTION -------- */

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(assets/images/2_wallpaper.png);
    background-position: center;
    background-size: cover;
    position: relative;
}

/* NAVIGATION */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1% 2%;
    /* border: 2px solid blue; */
}

/* .nav-logo {
    border: 2px solid red;
} */

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    width: 78px;
    border-radius: 50px;
}

.nav-logo h1 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-left: 21px;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    margin-left: 30px;
}

.nav-links ul li a {
    text-decoration: none;
    color: #fff;
}

/* Add Hover Effects for each Navigation Links */

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #99e2b4;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

nav .fa {
    display: none;
}

/* Header Textbox Section */

.text-box {
    /* border: 2px solid red; */
    position: absolute;
    top: 42%;
    left: 3%;
    color: #fff;
}

.text-box h1 {
    font-size: 4.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.text-box p {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 20px 0;
    font-style: italic;
    color: #fff;
}

/*----About Me Section----*/

.about-me {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    /* border: 2px solid red; */

}

h1 {
    font-size: 36px;
    font-weight: 600;
}

p {
    color: rgb(81, 81, 81);
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.about-col {
    flex-basis: 31%;
    background: #88d4ab;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.about-col:hover {
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.5);
}

/*----Work Experience Section----*/

.work {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    /* border: 2px solid red; */
}

.work-col {
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.work-col img {
    width: 100%;
    display: block;
    /* border: 2px solid red; */
}

.layer {
    /* background: rgba(226, 0, 0, 0.7); */
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer:hover {
    background: rgba(24, 74, 77, 0.7);
}

.layer span {
    display: block;
    font-weight: 500;
    font-style: italic;
}

.layer p {
    width: 100%;
    font-weight: 200;
    color: #fff;
    font-size: 16px;
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s;
}

.layer:hover p {
    bottom: 15%;
    opacity: 1;
}

/*-----Certificates Section-------*/

.certifications {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    /* border: 2px solid red; */
}

.cert-col {
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}

.cert-col img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid #1b7b67;
}

.cert-col p {
    padding: 0;
}

.cert-col h3 {
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

/*-----Contact Section-----*/

#contact {
    padding: 20px;
    background-color: #f9f9f9;
    width: 80%;
    margin: auto;
}

#contact h1 {
    text-align: center;
    margin-bottom: 30px;
}

#contact form {
    display: flex;
    flex-wrap: wrap;
}

#contact form label {
    width: 100%;
    margin-bottom: 10px;
}

#contact form input,
#contact form textarea {
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
}

#contact form input[type="submit"] {
    width: 100%;
    background-color: #1b7b67;
    color: white;
    padding: 14px 20px;
    margin-top: 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#contact form input[type="submit"]:hover {
    background-color: #45a049;
}

#contact ul {
    list-style-type: none;
    margin: 20px 0;
    padding: 0;
}

#contact ul li {
    margin-bottom: 10px;
}


/* Media Query Section */

/* Styles for small screens */
@media (max-width: 576px) {}

/* Styles for medium screens */
@media (max-width: 870px) {

    /* Add styles here for medium screens */
    .text-box {
        /* border: 2px solid red; */
        width: 80%;
        text-align: center;
        margin-left: 34px;
        margin-right: auto;
    }

    .text-box h1 {
        font-size: 3rem;
    }

    .text-box p {
        font-size: 1.2rem;
    }

    .nav-links {
        position: absolute;
        top: 0;
        right: -200px;
        background: #45a049;
        height: 100vh;
        width: 200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    .nav-links ul li {
        display: block;
    }

    nav .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 1.5rem;
        cursor: pointer;
    }
}