@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,900;1,700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Abel&family=Comfortaa:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abel&family=Comfortaa:wght@300&family=M+PLUS+1p:wght@100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300&family=Quicksand&display=swap');
/* Variables */

:root {
    --font-family: 'Montserrat', sans-serif;
    --normal-font: 400;
    --bold-font: 700;
    --bolder-font: 900;
    --bg-color: #e6e0e0;
    --primary-color: #fcfcfc;
    --secondary-color: #daa941;
    --primary-shadow: #8b8eaf;
    --secondary-shadow: #a17a69;
    --bottom-margin: 0.5rem;
    --bottom-margin-2: 1rem;
    --line-height: 1.7rem;
    --transition: 0.3s;
}
  /* Variables end */

html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

/*   CSS Resets */
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
}

/*------- Content --------*/
.content-wrap {
    max-width: 900px;
    width: 85%;
    margin: 0 auto;
    padding: 60px 0;
    text-align: left;
}

.item-details h3 + p {
    font-style: italic;
}

.item-details h3 ~ p {
    margin: 0;
}

.divider > section {
    border-bottom: 1px dashed #343434;
    padding: 25px 0;
}

.divider > section:last-of-type {
    border-bottom: none;
}

/* section {
    padding: 30px;
} */
/*---------------------------------------*/

span {
    color: #f14141;
    font-weight: 300;
}


ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #fcd913;
}

a:hover {
    color: var(--secondary-color);
}

body {
    font-family: var(--font-family);
    background: linear-gradient(100deg, #1a2e55, #0e1f42);
    color: var(--primary-color);
}

/* --------- NAV ---------- */
nav {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 3.2rem;
    background-color: #000;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

nav h1 {
    font-size: 1.5rem;
    color: var(--bg-color);
}

nav a {
    color: var(--bg-color);
    transition: var(--transition);
}
nav a:hover {
    background-color: #0e1f42;
    border: 2px solid #0e1f42;
    color: var(--primary-color);
    transition: all 1.2s ease;
    border-radius: 3px;
    /* border-bottom: 2px solid var(--secondary-color); */
}

nav ul {
    display: flex;
    gap: 1.9rem;
}

nav ul li {
    font-weight: var(--bold-font);
}

.burger-menu {
    color: var(--primary-color);
    font-size: 2rem;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    display: none;
}

/* ---------- Hero ---------- */
.cover-header {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    /* max-width: 68.75rem; */
    margin: 0;
    padding: 45px;
    background:
        linear-gradient(
        rgba(0, 0, 0, .8),
        rgba(0, 0, 0, .8)
        ),
        url(../images/coding-background.jpg);
    background: cover;
    background-position: no-repeat;
    color: var(--bg-color);
}

/* .hero img {
    height: 17.5rem;
    width: 20.5rem;
    border-radius: 100px;
} */

.bio-title {
    /* font-family: 'M PLUS 1p', sans-serif; */
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: var(--bg-color);
    text-align: center;
    border-bottom: 1px solid #343434;
    padding: 0.625rem;
}



.bio p {
    line-height: var(--line-height);
    padding: 0.3rem 0;
}

/* project button */

.button-project {
    display: inline-block;
    background-color: bisque;
    width: 200px;
    border: 1.5px solid white;
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 10px 24px;
    cursor: pointer;
}

.button-cv {
    background-color: #e2e1eb;
    width: 200px;
    border: 1px solid white;
    font-size: 16px;
    color: #fff;
    /* text-transform: uppercase; */
    border-radius: 20px;
    padding: 10px 24px;
    cursor: pointer;
}

.button-cv a {
    text-decoration: none;
    color: #000;
}

.button-cv:hover {
    background-color: #3228bd;
    color: #fff;
}

/* ---------- More about me ---------- */

.work {
    padding: 40px;
    /* color: #000; */
    /* background: linear-gradient(100deg, #e5e6cb, #c5954e); */
}

.job-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 20px;
}

.job-item-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 20px;
}

.job-summary a {
    color: #fcd913;
    font-weight: 500;
    text-decoration: none;
}
/* ---------- Skills ---------- */
.skills {
    /* color: #fcfcfc; */
    /* background: linear-gradient(100deg, #e5e6cb, #c5954e); */
    padding: 80px;
    max-width: 100%;
    margin: auto;
    text-align: center;
    /* margin-top: 2.5rem; */
}

.skill-header {
    margin-bottom: 1rem;
}

.skills-wrapper img {
    padding: 1.25rem;
}

.icon {
    width: 11.875rem;
    height: 11.25rem;
}

.icon-card {
    background-color: rgba(24, 8, 8, 0.082);
    border-radius: 11px;
    box-shadow: 0 3px 10px var(--secondary-shadow);
    padding: 20px;
    margin: 10px;
}

/* ---------- Projects ---------- */
.projects {
    padding: 100px;
    /* background: linear-gradient(100deg, #e5e6cb, #285496); */
    padding: 32px 0;
    /* margin-top: 2rem; */
}
.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.projects-title {
    padding-bottom: 20px;
    text-align: center;
    margin-bottom: 1rem;
}

.card {
    background: linear-gradient(100deg, #551f94, #501b94);
    width: 350px;
    /* height: 400px; */
    border: none;
    margin: 10px;
    border-radius: 15px;
    color: #e5e6cb;
}

/* style image */
.card-image {
    /* background-color: aqua; */
    height: 180px;
    margin-bottom: 15px;
    background-size: cover;
    border-radius: 15px 15px 0 0;
}

/* add image to the background space*/
.car-1 {
    background-image: url('https://www.freecodecamp.org/news/content/images/2022/03/comments-python.jpg');
} 

.car-2 {
    background-image: url('https://img.freepik.com/free-vector/gradient-ui-ux-background_23-2149024129.jpg?w=2000');
}

.car-3 {
    background-image: url('https://media.geeksforgeeks.org/wp-content/cdn-uploads/20200423211152/Top-20-Adobe-Creative-Cloud-Apps.png');
}

/* padding */
.car-1, h2, p {
    padding: 10px;
}

.card a {
    background: linear-gradient(100deg, #66537c, #8669ac);
    color: #fcfcfc;
    text-decoration: none;
    cursor: pointer;
    padding: 15px 20px;
    display: block;
    text-align: center;
    border-radius: 15px;
    /* transform: scale(1.03); */
    margin: 20px 20px;
    /* margin-bottom: 10px; */
}

#span-card {
    font-weight: 700;
    color: #f0cfb6;
}
/* ---------- Contact Us ---------- */
.education {
    padding: 40px;
    background:
        linear-gradient(
        rgba(0, 0, 0, .8),
        rgba(0, 0, 0, .8)
        ),
        url(../images/sharon-mccutcheon-unsplash.jpg);
    color: aliceblue;
    background-size: cover;
    background-position: top right;
    /* padding-bottom: 100px; */
}

.education p {
    width: 60%;
}

h3, h4, h5 {
    margin: 10px;
}

/* ---------- Social Icons ----------- */
.socials {
    display: flex;
    flex-direction: row;
    padding: 20px;
    gap: .5rem;
    /* position: fixed; */
    /* right: 1%; */
    /* bottom: 50%; */
}

.socicon {
    width: 2rem;
    height: 2rem;
    border-radius: 60%;

}

/* ---------- Footer ---------- */

/* About Section */

.about {
    /* background: linear-gradient(100deg, #e5e6cb, #c5954e); */
    background-size: cover;
    padding: 40px;
    width: 100%;
    height: 100%;
    /* color: #000; */
}

/* .mt-5 {
    text-align: center;
    padding-left: 180px;
    padding-bottom: 15px;
} */

.about p {
  font-size: 1rem;
}
.row-buttons {
  display: flex;
  gap: 20px;
}
.course-button-one {
  background-color: transparent;
  width: 200px;
  border: 1px solid white;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 10px 24px;
  cursor: pointer;
}

.course-button-two {
  width: 200px;
  background: #E7008A;
  border: 1px solid #E7008A;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  justify-content: space-between;
  border-radius: 20px;
  padding: 10px 24px;
  cursor: pointer;
}

.instructor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.col-lg-4 {
  padding-top: 45px;

}

.rounded-circle {
  border: 4px solid white;
}

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

/* ---------- Scroll ----------- */
.scroll-up {
    position: fixed;
    right: 3.5%;
    bottom: 3%;
    cursor: pointer;
}

.up-arrow {
    width: 3rem;
    height: 3rem;
}

/* ----- Screen Response */
@media screen and (max-width: 720px) {
    /*changes reflects on screen with a width of 720px and below*/
    nav {
        padding: 1.2rem 1rem;
    }
    nav ul {
        position: fixed;
        background-color: rgb(26, 22, 22);;
        flex-direction: column;
        top: 86px;
        left: 10%;
        width: 80%;
        text-align: left;
        padding: 20px;
        transform: translateX(120%);
        transition: transform 0.5s ease-in;
    }

    p {
        font-size: 16px;
    }
    nav ul li {
        margin: 8px;
    }

    .burger-menu {
        display: block;
    }

    nav ul.show {
        transform: translateX(0);
    }

    .hero {
        /* margin-left: -1.5rem; */
        margin-top: -4rem;
        /* margin-right: -1.2rem; */
        flex-direction: column;
        gap: 0;
        /* padding: 20px; */
        /* margin: 0; */
    }

    .cover-header {
        width: 100%;
    }

    .hero img {
        height: 37.5rem;
        width: 30rem;
    }

    .bio {
        margin-top: -7rem;
        width: 20.5rem;
    }

    .icon {
        width: 5.875rem;
        height: 5.25rem;
    }

    /* .card-container {
        flex-direction: column;
    }

    .card-container {
        width: 20.875rem;
    }

    .contact-form-container {
        max-width: 23.75rem;
    } */

    .job-item, .job-item-2 {
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 20px;
    }
    
    .job-details {
        border-bottom: 1px solid black;
    }

    .socicon {
        width: 2rem;
        height: 2rem;
        border-radius: 60%;

    }

    .education {
        padding: 0%;
        padding-top: 40px;
    }

    .education p {
        width: auto;

    }

    .skills {
        padding: 0%;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .work {
        padding: 0;
        padding-top: 40px;
        font-size: 15px;
    }
}

@media screen and (max-width: 420px) {
    .hero img {
      height: 2rem;
      width: 2rem;
    }

    .cover-header {
      width: 100%;
      margin: 0;
    }

    /* .card-container {
        width: 17.875rem;
    } */

    .contact-form-container {
      max-width: 17.75rem;
    }
}
