
/*--------------*\
|                |
|      PAGE      |
|                |
\*--------------*/

#projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 1px;
    align-content: center;
    padding: 25px;
}

.project-tile {
    max-height: 800px;
    max-width: 800px;
    border: 1px solid white;
    padding: 50px;
    font-size: 30px;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

#project-btn {
    border-style: none;
    border: 2px solid #1f1f1f;
    border-radius: 6px;;
    font-weight: 500;
    font-size: 16px;
    color: rgb(15, 119, 238);
    padding: 10px;
    background-color: #282828;
}

.welcome-box {
    border-radius: 6px;
    border: 1px solid rgb(255, 255, 255);
    padding: 10px;
    width: auto;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    margin: 10px;
}

.info-container {
    object-fit: contain;
    border-radius: 6px;
    padding: 10px;
    width: auto;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    margin: 10px;
}

body {
    background-color: #1f1f1f;
    color: rgb(255, 255, 255);
}

* {
    font-family: sans-serif;
}

.footer {
    bottom: 0px;
    background-color: #282828;
    border: 1px solid black;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    
}

.projects-container {
    /*border: 1px solid black;      only used for testing purposes */
}

img {
    max-height: 100%;
    max-width: 100%;
    
}

/*--------------*\
|                |
|     navbar     |
|                |
\*--------------*/

#navbar {
    position: sticky;
    top: 0px;
    height: 100%;
    border: 2px solid black;
    padding: 10px;
    z-index: 1001;
    background-color: #282828;
    overflow: hidden;
    object-fit: contain;
}

#nav-link {
    border-style: none;
    border: 2px solid #1f1f1f;
    border-radius: 6px;;
    font-weight: 500;
    font-size: 16px;
    color: rgb(15, 119, 238);
    padding: 10px;
    background: none;
    user-select: none;
    text-decoration: none;
    float: left;
    margin: 2px;
}

.nav-list {
    font-style: none;
    list-style: none;

}

#nav-link:hover, #project-btn:hover, .link:hover {
    background-color: rgba(98, 98, 98, 0.645);  
    cursor: pointer;
    transition-duration: 300ms;
}

#nav-link:active, #project-btn:active {
    background-color: rgba(98, 98, 98, 0.734);
    transition-duration: 300ms;
}

/*--------------*\
|                |
|      TEXT      |
|                |
\*--------------*/

a, .link {
    padding: 2px;
    color: rgb(15, 119, 238);
    text-decoration: none;
    border-radius: 2px;
}

a:active, .link:active {
    /*background-color: rgba(98, 98, 98, 0.734);*/
    transition-duration: 0.2s;
    filter: brightness(50%);
}

a:hover, link:hover {
    transition-duration: 0.2s;
    filter: brightness(80%);
}

.name, .info-container, .project-title, .project-description, .title, .footer-center {
    text-align: center;
}

.name {
    font-family: 'Carter One', cursive;
    font-size: 65px;
    padding: 5px;
}

.project-description {
    font-size: 16px;
}

img.emoji {
    height: 1em;
    width: 1em;
    margin: 0 .05em 0 .1em;
    vertical-align: -0.1em;
 }

 @media screen and (min-width: 400px) {
    .name {
        font-size: 55px;
    }
  }


  .hdata {
    border: 1px solid black;
   }
  .hhead {
    border: 1px solid black;
  }
  
/*--------------*\
|                |
|     TABLES     |
|                |
\*--------------*/

   .listdata {
    max-width: 100%;
    height:100%;
    border:1px solid;
    border-collapse: separate;
    padding: 6px;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
   }
   .listdata, th {
    border:1px solid;
    padding:6px;
    background-color: #1f1f1f;
   }
   .listdata, td {
    border:1px solid;
    padding:6px;
   }
   th {
    background-color: #434343;
   }
   tr {
    background-color: #313131;
   }