/*
background color: #625d52
text: #e1e1e1
general width is 650px;
*/
@import url('https://fonts.googleapis.com/css2?family=Space+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
* {
    font-family: 'Roboto', system-ui, monospace;
    margin: 0;
    padding: 0;
    background-color:#202023;
    color: #e1e1e1;
    line-height: 1.35;
}
.horizDivide{
    width: min(600px, 92vw);
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    margin-bottom: 15px;
}
.largeText{
    font-family: 'Space Mono'; 
    font-size: 25px;
}
.largeLink{
    font-family: 'Space Mono'; 
    font-size: 25px;
    text-decoration: none;
}
.largeLink:hover{
    text-decoration:underline;
}


/*Landing page*/
.header {
    display: flex;
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 3;
    height: 15px;
    padding: 15px;
    justify-content: space-around;
    background-color: #202023;
    align-items: center;
}
.header .title a{
    font-family: 'Space Mono';
    font-size: 20px;
    text-decoration: none;
    background-color: #202023;
    color: #e1e1e1;
}
.title {
    flex-shrink: 0;
}
.title img{
    border-radius: 15px;
}
.headerlist {
    display: flex;
    gap: 16px;
    padding: 0;
    list-style-type: none;
    margin: 0;
    background-color: #202023;
}
.headlink{
    background-color: #202023;
    font-family: 'Space Mono';
    text-decoration: none;
}
.first{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.firstImg {
    display: flex;
    align-items: center;
    max-width: 650px;
    position: relative;
    top: 0;
    left: 0;
    margin: 50px;
    margin-top: 15px;
}
.image1 {
    position: relative;
    top: 0;
    border-radius: 7px;
    left: 0;
    max-width: min(650px, 95vw);
}
.image2 {
    position: absolute;
    top: min(235px, 35vw);
    left: min(225px, 34vw);
    border-radius: 50%; 
    max-width: min(200px, 31vw);
}
.firstName{
    display: flex;
    margin: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
    align-items: center;
    flex-direction: column;
}
.firstName p{
    max-width: 500px;
}
.first ul, .second ul {
    list-style-type: none;
}
.second {
    padding: 30px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.container{
    display: flex;
    margin-left: auto;
    margin-right: auto;
    border-radius: 25px;
    max-width: 750px;
    flex-direction: column;
}
.indexFeat{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.indexFeat img{
    border: 2px solid transparent;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}
.indexFeat img:hover{
    border: 2px solid #e1e1e1;
}
.youtubefeat {
    display: flex;
    padding: 15px;
    justify-content: center;
}
.youtubefeat iframe {
    width: min(640px, 80vw);
    height: min(360px, 45vw);
}
.footer {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: darkslategray;
    padding: 5px 0;
    text-align: center;
    justify-content: center;
}
.footer a{
    text-decoration: underline;
    color: darkslategray;
}
.footer a i{
    opacity: 50%;
}


/* About page */
.aboutHeader{
    display: flex;
    justify-content: center;
    font-family: 'Space Mono';
    font-size: 35px;
}
.aboutFirst{
    display: flex;
    padding: 15px;
    max-width: 525px;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    gap: 15px;
    align-items: center;
}
.aboutFirst img{
    width: min(200px, 50vw);
    height: min(200px, 50vw);
    object-fit: cover;
    object-position: 45%;
    border-radius: 50%;
    border: 2px solid #e1e1e1;
}
.aboutFirstText{
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.aboutSecond {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/* Works page */
.worksFirst{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.worksFeat{
   display: inline-block; 
   position: relative;
   text-align: center;
}
.worksFeat img{
    vertical-align: bottom;
    width: 250px;
    height: 250px;
    object-fit: cover; 
    border-radius: 15px;
    margin-bottom: 7px;
}
.worksDescLayer{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #202023;
    color: #e1e1e1;
    visibility: hidden;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity .2s, visibility .2s;
}
.worksFeat:hover .worksDescLayer{
    visibility: visible;
    opacity: .9;
}
.worksDesc{
    transition: .2s;
    transform: translateY(1em);
    text-align: center;
    margin: 15px;
    font-size: 15px;
}
.worksFeat:hover .worksDesc{
    transform: translateY(-.5em);
}
/* Keyboard page */
.keyboardFirst{
    display: flex;
    max-width: 750px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.keybFeat{
   display: inline-block; 
   position: relative;
}
.keybFeat img{
    vertical-align: bottom;
    width: 300px;
    height: 200px;
    object-fit: cover; 
    border-radius: 5px;
}
.keybDescLayer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #202023;
    color: #e1e1e1;
    visibility: hidden;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity .2s, visibility .2s;
}
.keybFeat:hover .keybDescLayer {
    visibility: visible;
    opacity: .9;
}
.keybDesc {
    transition: .2s;
    transform: translateY(1em);
    text-align: center;
}
.keybDesc2 {
    font-size: 12px;
    opacity: 60%;
}
.keybFeat:hover .keybDesc {
    transform: translateY(0);
}

/*Resume page*/
.resumeFirst {
    display: flex;
    flex-direction: column;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    gap: 5px;
}
.resumeAbout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.resumeCont{
    display: flex;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    margin-bottom: 10px;
}
.resumeCont div {
    min-width: 125px;
    max-width: 125px;
    margin-right: 25px;
}
/* Article pages*/
.articleFirst {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.articleFirst h1{
    font-size: 40px;
}
.articleCoverImg {
    max-width: min(650px,95vw);
    object-fit: cover;
    margin: 15px;
    border-radius: 7px;
}
.articleSecond {
    display: flex;
    flex-direction: column;
    max-width: min(650px,95vw);
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    margin-top: 15px;
}
.articleTOC li{
    font-size: 20px;
    margin: 1px;
}
.articleContent {
    max-width: min(650px,80vw);
    margin: 5px;
    font-size: 17px;
}
.articleImage {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px;
}
.articleSecond img, .articleImage img{
    max-width: min(600px, 85vw);
    border-radius: 7px;
}
.articleSecond img{
    margin: 15px;
}
.articleSecond .largeText{
    margin: 5px;
}
.articleSecond table{
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    border: 1px solid #e1e1e1;
}
.articleImage img{
    margin-bottom: 5px;
}
.articleImage figcaption {
    font-size: 13px;
    text-align: center;
}
.articleGallery{
    display: flex;
    flex-wrap: wrap;
    max-width: min(650px, 80vw);
    justify-content: center;
}
.articleGallery img{
    width:min(500px, 80vw);
}
