* {
    margin: 0;
    padding: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    box-sizing: border-box;
}

p {
    line-height: 1.5rem;
    letter-spacing: 1px;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: linear-gradient(to right, #EDEDE9, #D6CCC2);
}

header {
    position: sticky;
    top: 0;
    z-index: 2;
}

.nav-links li {
    list-style-type: none;
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    margin: 10px;
    color: black;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: white;
    text-shadow: 0 0 5px #8d0801;
}

.nav-links a:active {
    color: #8d0801;
}

.contact-button button {
    width: 100px;
    padding: 10px;
    border: none;
    border-radius: 30px;
    background-color: #8d0801;
}

.contact-button button:hover {
    background-color: white;
    box-shadow: 0 0 10px;
}

.contact-button a {
    text-decoration: none;
    color: black;
}

.logo h2 {
    color: black;
    letter-spacing: 2px;
}

.logo:hover {
    cursor: pointer;
}

span {
    color: #8d0801;
}

#home {
    min-height: 90vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 2rem;
    background: linear-gradient(to left, #EDEDE9, #D6CCC2);
}

.prof-pic {
    position: absolute;
    height: 60%;
    width: 30%;
    bottom: 0;
    right: 100px;
}

.prof-pic img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    height: 140%;
}

.info {
    padding: 10px;
}

.info h1 {
    letter-spacing: 2px;
    font-size: 3rem;
}

.info h3 {
    letter-spacing: 1px;
    line-height: 1.5rem;
    font-size: 1.2rem;
}

.info h1 span::before {
    content: "Developer";
    animation: words 15s infinite;
}

.socials {
    margin: 20px;
}

.socials a {
    padding: 1.5rem;
    font-size: 1.5rem;
    color: #8d0801;
}

@keyframes words {
    0%, 33% {
        content: "Web Developing";
    }

    34%, 67% {
        content: "Data Analysis";
    }

    68%, 100% {
        content: "Data Entry";
    }
}

.topic {
    background: radial-gradient(#EDEDE9, #D6CCC2);
}

#about {
    background: radial-gradient(#D6CCC2, #EDEDE9);
}

h2 {
    text-align: center;
    color: #8d0801;
    letter-spacing: 1px;
    padding: 2rem;
}

.about-content {
    display: grid;
    grid-template-areas:
    "pic text"
    "stats stats";
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-pic {
    position: relative;
    height: 60vh;
    grid-area: pic;
    margin-left: 2rem;
    margin-top: 2rem;
}

.about-text {
    grid-area: text;
}

.about-stats {
    grid-area: stats;
}

.about-pic img {
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 50px;
}

.about-text p {
    margin: 5%;
}

.about-stats {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 1.5px;
    margin-bottom: 2rem;
}

.about-stats div {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    background-color: #EDEDE9;
    width: 20rem;
}

.about-stats div:hover {
    box-shadow: 0 0 10px;
    cursor: pointer;
}

.about-stats h3 {
    color: #8d0801;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.about-stats p {
    letter-spacing: 1px;
    color: slategrey;
}

#education {
    background: radial-gradient(#D6CCC2, #EDEDE9);
}

.education-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 
    "jkuat syc"
    "plp plp";
    gap: 10px;
    margin: 5%;
}

.jkuat {
    grid-area: jkuat;
    padding: 10px;
    border-radius: 10px;
    background: linear-gradient(to left, #EDEDE9, #D6CCC2);
}

.jkuat:hover {
    cursor: pointer;
    box-shadow: 0 0 10px;
}

.syc {
    grid-area: syc;
    padding: 10px;
    border-radius: 10px;
    background: linear-gradient(to right, #EDEDE9, #D6CCC2);
}

.syc:hover {
    cursor: pointer;
    box-shadow: 0 0 10px;
}

.plp {
    grid-area: plp;
    padding: 10px;
    border-radius: 10px;
    background: linear-gradient(to bottom, #EDEDE9, #D6CCC2);
}

.plp:hover {
    cursor: pointer;
    box-shadow: 0 0 10px;
}

.education-content h1 {
    letter-spacing: 2px;
    margin: 4px;
}

.education-content h4 {
    letter-spacing: 2px;
    margin: 4px;
    color: #333;
}

.education-content h3 {
    letter-spacing: 2px;
    margin: 4px;
    color: white;
    text-shadow: 0 0 5px #8d0801;
}

.education-content i {
    color: rgb(65, 66, 66);
    text-shadow: 0 0 0;
}

.education-button {
    text-align: center;
}

#education button {
    padding: 10px;
    margin: 2rem;
    border: none;
    border-radius: 30px;
    background-color: #8d0801;
}

#education button:hover {
    box-shadow: 0 0 10px;
}

#education button a {
    text-decoration: none;
    color: white;
}

#projects {
    background: radial-gradient(#D6CCC2, #EDEDE9);
}

.project-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.project {
    margin: 2rem;
    padding: .8rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    background-color: #EDEDE9;
}

.project:hover {
    box-shadow: 0 0 10px;
    cursor: pointer;
}

.project div {
    padding: .5rem;
}

.project h1 {
    text-align: center;
    color: #333;
}

.project i {
    font-size: 3rem;
}

.project a, .more-projects a {
    text-decoration: none;
    color: #8d0801;
}

.project-head {
    text-align: center;
}

.project-head h5 {
    color: #8d0801;
    padding: 5px;
    letter-spacing: 1px;
}

.project-head h3 {
    letter-spacing: 2px;
}

.more-projects {
    padding: 2rem;
}

#skills {
    background: radial-gradient(#D6CCC2, #EDEDE9);
}

.skills-div {
    display: grid;
    grid-template-rows: 1fr 1fr;
}

.skills-content {
    min-height: 300px;
}

.skills {
    display: inline-flex;
}

.skills-content h4 {
    text-align: center;
    letter-spacing: 1px;
    padding: 10px;
    color: #333;
}

.skills div {
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    background: radial-gradient(#EDEDE9, #D6CCC2);
    min-height: 200px;
}

.skills div:hover {
    box-shadow: 0 0 10px;
    cursor: pointer;
}

.skills h5 {
    padding: 10px;
    letter-spacing: 1px;
    text-align: center;
    color: #8d0801;
    background: radial-gradient(#EDEDE9, #D6CCC2);
}


#interests {
    background-color: #EDEDE9;
}

.int-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin: 5%;
}

.int-content div {
    padding: 10px;
    border-radius: 10px;
    min-height: 20rem;
    background: radial-gradient(#EDEDE9, #D6CCC2);
}

.int-content h5 {
    padding: 10px;
    letter-spacing: 1px;
    text-align: center;
    color: #8d0801;
}

.int-content h1 {
    text-align: center;
    padding: 1rem;
    font-size: 2rem;
}

.int-content div:hover {
    box-shadow: 0 0 10px;
    cursor: pointer;
}

.int-text {
    padding: 5%;
}

#contact {
    min-height: 90vh;
    background: radial-gradient(#D6CCC2, #EDEDE9);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 5%;
}

.contacts h1 {
    letter-spacing: 2px;
    margin: 10px;
    color: #333;
}

.contacts a {
    color: #8d0801;
}

.contacts p, .contacts a {
    margin: 10px;
}

.contacts, form {
    display: grid;
    grid-template-rows: repeat(1fr);
}

.contacts, .form {
    padding: 10px;
    height: 30rem;
    border-radius: 10px;
    background: radial-gradient(#EDEDE9, #D6CCC2);
}

label {
    letter-spacing: 1px;
    font-size: larger;
    font-weight: bolder;
    color: #333;
}

.form input, textarea, select, button {
    padding: 10px;
    border: none;
    border-radius: 10px;
}

.form input:hover, textarea:hover, select:hover, button:hover {
    box-shadow: 0 0 10px;
}

.form button {
    cursor: pointer;
    background-color: #8d0801;
}

footer {
    padding: 10px;
    height: 8rem;
    background: radial-gradient(#EDEDE9, #D6CCC2);
    align-content: center;
}

footer {
    display: flex;
    flex-direction: column;
}

footer div {
    padding: 10px;
    text-align: center;
}

footer p {
    text-align: center;
}

footer a {
    color: #8d0801;
}

a:focus, button:focus {
    outline: 2px solid #8d0801;
    outline-offset: 2px;
}

@media (max-width: 650px){
    .info {
        width: 85vw;
    }

    .education-content {
        display: grid;
        grid-template-rows: 1fr 1fr 1fr;
    }

    .nav-bar {
        display: none;
    }

    .int-content {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .education-content {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }

    #about, #home {
        min-height: 100%;
    }

    #home {
        padding: 2rem;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin-right: 2rem;
    }

    .project-cards {
        display: flex;
        flex-direction: column;
    }

    .prof-pic img {
        display: none;
    }
}

@media (max-width: 1050px){
    #home {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: relative;
    }

    .prof-pic {
        position: absolute;
        height: 100%;
    }

    .prof-pic img {
        position: absolute;
        left: 50%;
        top: 40%;
        transform: translate(-50%, -40%);
        height: 20rem;
        width: 20rem;
        border-radius: 10rem;
    }

    .nav-links, .contact-button {
        display: none;
    }

    .socials a {
        padding: 2rem;
        font-size: 2rem;
    }

    .socials {
        margin-top: 4rem;
    }

    header {
        position: relative;
    }
   
    .project-cards {
        grid-template-columns: 1fr 1fr;
    }

    .int-content {
        grid-template-columns: 1fr 1fr;
    }

    .skills {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 450px){

    .info {
        width: 85vw;
    }
    
    .info h1 {
        letter-spacing: 1px;
        font-size: 2rem;
        letter-spacing: normal;
    }

    .info h3 {
        font-size: 1rem;
        letter-spacing: normal;
    }

    .socials {
        margin-left: 0;
        width: 85vw;
    }

    .socials a {
        text-align: center;
        padding: .5rem;
        font-size: 1.5rem;
    }

    .about-stats div {
        padding: .8rem;
    }

    .skills {
        display: flex;
        flex-direction: column;
    }

}















