/* * * * * * * * * */
/* general styling */
/* * * * * * * * * */
html {
    scroll-behavior: smooth;
}

body {
    height: 100%;
    font-family:Arial, Helvetica, sans-serif;
    background: #dce5e9;
    font-size: 14;
}

a {
    color: #25009e;
    font-weight: 700;
}

a:hover {
    color: #4e24d6;
}

mark {
    color: #94440e;
    background: none;
    font-weight: 700;
}

hr {
    width:10%;
}

.sep {
    margin-right: 10px;
    margin-left: 10px;
}

/* * * * * * * * * * * * */
/* header + nav elements */
/* * * * * * * * * * * * */
header {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: top;
    position: fixed;
    z-index: 1;
    background: #dce5e9;
    margin-top: -10px;
    padding-top: 4px;
    padding-bottom: 4px;
}
/* internal nav links */
#nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.nav-link, .nav-link a:visited, .nav-link a:link {
    font-weight: 700;
    font-size: 16px;
    color: #034876;
    text-decoration: none;
}

.nav-link a:hover {
    color: #0f6b90;
}
/* external socials links */
#socials {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.social-link {
    margin-right: 15px;
    margin-left: 0px;
    width: 20px;
    height: 20px;
    filter:grayscale()
}

.social-link:hover {
    filter: none;
}

/* * * * * */
/* footer  */
/* * * * * */
footer {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    line-height: 1.25em;
    padding-bottom: 2px;
    font-size: min(14px, 3vw);
}

/* * * * * * * * * * * */
/* sections & content  */
/* * * * * * * * * * * */
#main {
    margin: 10px;
}

#about, #research, #home, #games {
    flex: 1 1 auto;
    min-width: 100%;
    min-height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column; 
    justify-content: center;
    padding-top: 25px;

}

#home-title, #about-title, #research-title, #games-title {
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 30px;
    margin-top: 10px;
}

#about-content, #research-content, #games-content {
    max-width: 800px;
}

/* home-specific styling */
#home {
    flex-direction: row; 
}

#home-me {
    max-width: 300px;
    min-width: 10px;
    margin-right: 10px;
    margin-left: 10px;
}


#home-content {
    max-width: 500px;
}

#home-subtitle {
    font-size: 16px;
    font-weight: 100;
}

/* about-specific styling */
#about {
    line-height: 160%;
}

/* research-specific styling */
.research-subtitle {
    font-weight: 700;
    font-size: 16px;
}

#research-content p {
    margin: 3px;
}

#research-content li {
    margin: 1em;
}

/* games-specific styling */
#games-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: #dce5e9;
}

.games-img {
    max-width: 120px;
}

.games-title a {
    text-decoration: none;
    font-size: 16;
}

#games-content table { 
    border: none; 
    border-collapse: collapse; 
    font-size: 14;
    line-height: 20px;
    vertical-align: top;
  }
  
  #games-content table td:first-child { 
    border-left: none; 
    padding-right: 20px;
  }
  
  #games-content table td:nth-child(2) { 
    border-right: none; 
    padding-left: 20px;
    width: 80%;
  }
  
  #games-content table td { 
    border-bottom: none;
    border-top: none; 
  }
  
  #games-content td, #games-content th {
    border: 2px solid #25009e;
    text-align: left;
    padding-top: 15px;
    padding-bottom: 15px;
  }

/* * * * * * * * */
/* media queries */
/* * * * * * * * */
@media only screen and (max-width: 575px) {
    #home {
        flex-direction: column;
    }
    #home-title {
        text-align: center;
    }

    #home-me {
        max-width: 90vw;
    }
}