html{
    width:100%;
    scroll-behavior: smooth;
    padding:0px;
}

/* Navigation */
.navigation{
    display:inline-block;
    /* position:fixed;
    top:0px;
    left:0px; */
    position:sticky;
    z-index: 1;
    top:-1px;
    width:100%;
}
.navigation ul{
    display:flex;
    flex-direction:row;
    background-color: tan; 
    padding:0px;
    justify-content: center;
    margin:0px;
}
.navigation li{
    list-style-type: none;
    padding:20px;
}
.navigation li a{
    color: black;
    font-size: 20px;
}

@media(min-width: 751px){
    .navigation li:hover{
        background-color: NavajoWhite;
        transition: visibility .5s;
    }
}


.notnav{
    width:70%;
    margin:auto;
}

.row{
    display:flex;
    flex-direction:row;
}

/* Font sizes */
h2{
    padding-top:80px;
    font-size:50px;
    margin-bottom: 25px;
    text-align: center;
}
.largetext{
    font-size: 20px;
}
h3{
    margin:0px;
    font-size: 22px;
}
p{
    font-size: 18px;
}

/* Styling Line under headings */
.headingline{
    height:2px;
    width: 200px;
    background: tan;
    margin: 0 auto;
    margin-bottom:40px;
    /* text-align: center; */
}
.headingline_left{
    height:2px;
    width: 200px;
    background: tan;
    margin-bottom:40px;
}

/* Images */
.portrait{
    max-width: 40%;
    object-fit: contain;
    margin-top: 40px;
    clip-path: circle();
    
}


/*About*/
.about_content{
    margin:10px;
    margin-top: 100px;
    padding: 10px;
   
}
.AboutWelcome{
    text-align: left;
    padding-top:20px;
}
em{
    font-style: normal;
    font-weight: bold;
}
.color1{
    color: darkgoldenrod;
}
.color2{
    color: lightcoral;
}


/* Experience */
.experience_time{
    font-style: italic;
}
.experience_text{
    /* min-width:50%; */
    max-width: 50%;
    margin-right:20px;

}
.experience_entry{
    margin-bottom: 50px;

}
.experience_entry_image{
    width:100%;
    margin: auto;
}

.nohover{
    min-width:50%;
    object-fit:contain;
}

.logo{
    padding: 0px;
    margin-right: 10px;
}
.experience_title{
    min-width:90%;
}
figure{
    margin:10px;
}
figcaption{
    text-align: center;
    font-size: 11px;
}


/* Projects */
.project_time{
    font-style: italic;
}
.project_text{
    min-width:50%;
    margin-right:20px;
}
.project_entry{
    margin-bottom: 50px;
    padding-top: 100px;
}
.project_entry img{
    width:100%;
    margin: auto;
}
.project_img_and_caption{
    min-width:50%;
}
.project_caption{
    text-align: center;
    display: none;
}
.disclaimer{
    text-align:center;
}


/* Buttons over images */
@media(min-width: 751px){

.img_wrap{
    position: relative;
    min-width:50%;
    object-fit:contain;
    display: flex;
    justify-content: center;

}
.img_wrap a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-color: black;
    color: white;
    font-size: 16px;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    visibility:hidden;
    opacity:0;
    transition: opacity .2s, visibility .2s;
    font-size:20px;
    text-align: center;
  }
.img_wrap:hover img {
    opacity:0.5;
    transition: opacity .6s, visibility .2s;
}
.img_wrap:hover .img_hovertext{
    visibility: visible;
    opacity: 1;
}

}

/* Footer */
footer{
    background-color:tan;
    text-align: center;
    padding: 10px;
}
footer p{
    margin:5px;
}
.icons a{
    margin: 10px;
}

/* Different Screen Sizes */

@media (max-width: 750px){
    .row{
        display: block;
    }
    .project_entry{
        /* margin-top: 50px;
        margin-bottom: 50px; */
        padding-bottom: 20px;
    }
    .experience_entry{
        padding-bottom: 10px;
    }
    .experience_text{
        max-width: 100%;
    }
    
    .project_caption{
        display: block;
    }
    
    /* About */
    .portrait{
        max-width: 100%;
    }
    .AboutWelcome{
        padding:0px;
        margin-top: 10px;
        text-align: center;
    }
    /* THIS USES THE .headingline SPECS */
    .headingline_left{ 
        height:2px;
        width: 200px;
        background: tan;
        margin: 0 auto;
        margin-bottom:40px;
    }

    .img_wrap .img_hovertext{
        display: none;
    }
}
