/* Variables */
:root {
    --primary-color: #90c398;
    --secondary-color: #070807;
    --text-color: #212529;
    --background-color: lightgray;
    --padding-large: 2em;
    --padding-small: 10px;
    --font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
@keyframes resume{
    from{opacity: 0;}
    to{opacity: 1;}
}
*{
    margin: 0;
    padding: 0;
}
html{
    background-color: lightgray;
}
.banner{
    display: grid;
    align-items: center;
    margin-top: 0;
    background-image: url('/images/nasas-chandra-webb-combine-for-arresting-views-ngc-1672_52920729813_o.jpg');
    background-position: center;
    font-size: x-large;
    text-align: center;
    color: silver;
    width: 100%;
    height: 150px;
}

div{
    margin: auto;
    width: 75%;
    text-align: center;
}
#about_me{
    padding: 50px;
}
#about_me h2{
    text-decoration: underline;
    padding-bottom: 1em;
}
#main_picture{
    width: 75%;
    height: 10%;
}

div p{
    text-align: justify;
}
.additional_responsiblities{
    text-decoration: underline;
}
div.education{
    padding-top: 1em;
}
div.education p{
    text-align: center;
}

#resume div{
    padding: 10px;
}
#resume h2{
    padding: 10px;
}
div.position{
    margin-top: 15px;
}
div.position h3{
    padding: 10px;
}

div.education h2{
    text-decoration: underline;
}
div.school{
    padding: 10px;
}
div.school h3{
    padding-bottom: 10px;
}
div.school ul{
    list-style-position: inside;
}
@media screen and (max-width: 750px) {
    .topnav{
        display: none;
    }
    .mobileMenu{
        background-color: #070807;
        overflow: hidden;
        width: 100%;
    }
    .mobileMenu button{
        color: #f2f2f2;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        background-color: inherit;
        margin: 0;
    }
    .mobileContent{
        display: none;
        position: relative;
        background-color: #3A3b3d;
        z-index: 1;
        width: 100%;
    }
    .mobileContent a {
        float: none;
        display: block;
        color: #f2f2f2;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
      }
      .mobileContent a.active {
        background-color: #90c398;
        color: white;
      }
      .mobileContent a:hover {
        background-color: #90c398;
        color: black;
      }
      .show{
        display: block;
      }
      button svg{
        fill: #ffff;
    } 
    #projects{
        text-align: center;
    }  
    #matching{
        margin-left: 0;
        width: 250px;
        height: 200px;
    }
    #resume{
        padding-top: 20px;
    }
    /*
    div.position ul{
        border-style: solid;
        border-width: 1px;
        border-color: black;
    }
    */
    .skills{
        padding-top: 1em;
        padding-bottom: 1em;
    }
    .skills ul{
        list-style-position: inside;
    }
    div.contact{
        padding-top: 5em;
    }
    div.contact div{
        padding: 1em;
        text-align: center;
        font-size: larger;
    }
    
   
}
@media screen and (min-width: 750px) {
    .topnav {
        background-color: #070807;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
      }
      .topnav a {
        float: left;
        color: #f2f2f2;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
      }
      .topnav a:hover {
        background-color: #90c398;
        color: black;
      }
      .mobileMenu{
          display: none;
      }
    #projects{
        display: grid;
        grid-template-columns: repeat(2,1fr);
    } 
    #matching{
        width: 300px;
        height: 200px;
    }
    #resume{
        padding-top: 20px;
        float: left;
    }
    /*
    div.position ul{
        border-style: solid;
        border-width: 1px;
        border-color: black;
    
    }
    div.position p:hover{
        animation-name: resume;
        animation-duration: 4s;
        animation-fill-mode: forwards;
    }
   */
    div.skills{
        width: 345px;
        position: fixed;
        z-index: 1;
        top: 45%;
        right: 1%;
        overflow-x: hidden;
        padding: 10px;
    }
    .skills ul{
        list-style-type: none;
    }
    div.contact{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        padding-top: 5em;
        gap: 2em;
    }
    div.contact div{
        text-align: center;
        font-size: larger;
    }
}

div.title{
    padding: 2em;
}
div.title p{
    text-align: center;
}
div.project{
    padding: 2em;
    border: #0000;
    border-style: solid;
    border-radius: 1em;
}
div.project h3{
    text-decoration: underline;
    padding-bottom: 1em;
}
div.project p{
    padding-bottom: 2em;
}
div.project img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    padding-bottom: 1em;
}
.social_media h4{
    text-align: left;
    padding-bottom: 1px;
}

.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #2c3e50;
    border: 3px solid #90c398;
    padding: 40px 30px;
    margin-top: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-section h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-section p {
    font-size: 1.1em;
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}
.blog-title {
    padding-top: 20px;
    text-align: center;
    margin-bottom: 20px;
}
.blogList{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}
.blogPost {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.blogPost h2 {
    padding: 20px;
    font-size: 1.8em;
    margin-bottom: 10px;
}
.blogPost h3 {
    padding-top: 50px;
    padding: 10px;
    font-size: 1.4em;
    margin-bottom: 10px;
}
.blogPost p {
    line-height: 1.6;
}
.project li{
    text-align: justify;
    list-style-type: none;
    padding-left:20px;
}