body {
    margin: 0;
    padding: 0;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
/*Navigation Style*/  
.topnav {
    overflow: hidden;
    background-color: #2b2828;
    box-shadow: 2px 2px 2px rgb(4, 254, 250);
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    border-bottom: 1px solid black;
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}
  
.topnav a:hover {
    background-color: #ddd;
    color: black;
}
  
.topnav a.active {
    background-color: #30f212;
    color: rgb(0, 0, 0);
}
  
.topnav .icon {
    display: none;
}
/*Rest of code is designed for mobile first and media query runs for desktop site*/
/*Header Styling*/

.header {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    font-size: .75em;
    height: 20vh;
    background-image: url("https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?auto=format&fit=crop&q=80&w=2940&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
    background-attachment:fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
}

.header-content{
    background-color: rgba(94, 255, 123, 0.757);
    color: rgb(0, 0, 0);
    width: 100%;
    text-align: center;
}

/*For header effect*/
.main-heading::after{
    content: "|";
    font-size: 1em;
    animation: blink .75s step-end infinite;
}

@keyframes blink {
    from, to { color: transparent }
    50% { color: rgb(0, 0, 0) }
}

/*Main container*/
.main {
    margin: 0;
    padding: 0;
}

/*Page break area for content between paralax design*/
.page-break {
    background-color: rgb(71, 205, 95);
    height: 10vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

h2{margin: 0;} /*Removes whitespace between breaks*/

/*About Me Section*/
.about-me-container {
    height: fit-content;
    width: 100vw;
    background-image: url("https://images.unsplash.com/photo-1576836165612-8bc9b07e7778?auto=format&fit=crop&q=80&w=3087&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
    background-attachment:fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-me {
    background-color: rgba(2, 12, 36, 0.816);
    width: 80%;
    height: 80%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 10% 0;
    color: white;
    font-size: 1.25em;
}

.about-me img{
    border: 2px solid lime;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 2px 10px 20px skyblue;
}

.about-me a {
    color: aqua;
}

.about-me a:hover {
    color: rgb(0, 167, 167);
}

/*Project Section*/
.project-container {
    height: 100vh;
    width: 100vw;
    background-image: url("https://images.unsplash.com/photo-1503252947848-7338d3f92f31?auto=format&fit=crop&q=80&w=2831&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
    background-attachment:fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(255, 255, 255);
}

.projects {
    background-color: rgba(65, 65, 65, 0.448);
    width: 80%;
    text-align: center;
}

.projects video {
    width: 100%;
    height: 100%;
}

.projects figure{
    border: 1px solid lime;
    box-shadow: 3px 5px 10px skyblue;
    background-color: black;
}

.projects a {
    color: aqua;
}

.projects a:hover {
    color: rgb(0, 175, 175);
}

/*Skill Section*/
.skill-container {
    height: 100vh;
    width: 100vw;
    background-image: url("https://images.unsplash.com/photo-1580927752452-89d86da3fa0a?auto=format&fit=crop&q=80&w=2070&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
    background-attachment:fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.skills {
    width: 80%;
    background-image: linear-gradient(to bottom right,rgba(126, 45, 137, 0.686), rgba(250, 235, 215, 0.72));
    height: fit-content;
}

.skill-text {
    background-color: rgba(0, 0, 0, 0.581);
    height: fit-content;
    border-radius: 10px;
    color: white;
}

/*Progress Bar*/
.progress-container {
    border: 2px solid black;
    width: 90%;
    height: 20px;
    border-radius: 25px;
    margin: 5% auto;
}

.progress-bar-html {
    background-image: linear-gradient(to bottom right,rgb(250, 235, 215) , rgb(167, 62, 181));
    width: 95%;
    height: 100%;
    overflow: hidden;
    border-radius: 25px;
}

.progress-bar-css {
    background-image: linear-gradient(to bottom right,rgb(250, 235, 215) , rgb(167, 62, 181));
    width: 95%;
    height: 100%;
    overflow: hidden;
    border-radius: 25px;
}

.progress-bar-js {
    background-image: linear-gradient(to bottom right,rgb(250, 235, 215) , rgb(167, 62, 181));
    width: 80%;
    height: 100%;
    overflow: hidden;
    border-radius: 25px;
}

.progress-bar-php {
    background-image: linear-gradient(to bottom right,rgb(250, 235, 215) , rgb(167, 62, 181));
    width: 60%;
    height: 100%;
    overflow: hidden;
    border-radius: 25px;
}

.progress-bar-python {
    background-image: linear-gradient(to bottom right,rgb(250, 235, 215) , rgb(167, 62, 181));
    width: 40%;
    height: 100%;
    overflow: hidden;
    border-radius: 25px;
}

.progress-bar-sql {
    background-image: linear-gradient(to bottom right,rgb(250, 235, 215) , rgb(167, 62, 181));
    width: 50%;
    height: 100%;
    overflow: hidden;
    border-radius: 25px;
}

.progress-bar-bs {
    background-image: linear-gradient(to bottom right,rgb(250, 235, 215) , rgb(167, 62, 181));
    width: 33.33%;
    height: 100%;
    overflow: hidden;
    border-radius: 25px;
}

[class*="progress-bar-"] span{
    margin-left: 20px;
}

.skills a button{
    background-image: linear-gradient(to bottom right,rgb(250, 235, 215) , rgb(167, 62, 181));
    padding: 30px 60px;
    font-size: 1.25em;
    text-decoration: underline;
}

/*Footer Section*/
.footer {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(71, 205, 95);
    height: fit-content;
}

.footer-content {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer a {
    color: #084181;
}

.footer a:hover {
    color: #1062c0;
}

.credit {
    background-color: aquamarine;
    width: 100%;
    text-align: center;
}
/*Navigation Style for mobile*/
@media screen and (max-width: 600px) {
    .nav-content a {
        display: none;
    }
    .topnav a.icon {
      float: right;
      display: block;
    }
    .topnav.responsive {
        position: relative;
        display: block;
    }
    .topnav.responsive .icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
}

@media screen and (min-width: 600px) {
    /*Header styling for desktop view*/
    .header {
        height: 30vh;
        font-size: 2em;
    }

    .project-card {
        display: flex;
        justify-content: space-around;
    }

    
    .skill-content {
        position: relative;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
        align-items: center;
        margin-top: 2%;
        width: 100%;
    }

    .skill-text {
        background-color: rgba(0, 0, 0, 0.581);
        height: fit-content;
        border-radius: 10px;
        color: white;
        font-size: 1.2em;
    }
    .skill-section {
        width: 40%;
    }

    .skills a button{
        position: relative;
        margin: 20px;
        background-image: linear-gradient(to bottom right,rgb(250, 235, 215) , rgb(167, 62, 181));
        padding: 20px 30px;
        font-size: 1.25em;
        text-decoration: underline;
    }

    .footer {
        font-size: 1.25em;
    }
}

