@charset "utf-8";

html {
    scroll-behavior: smooth;
    scroll-padding-top: 64px;
    margin:0;
    overflow-x: hidden;
    padding:0;
}

body {
    margin:0;
    padding:0;
    font-family:'Gill Sans', 'Gill San.s MT', Calibri, 'Trebuchet MS', sans-serif;
    overflow-x: hidden;
    background-color: rgb(0, 0, 15);
    color:white;
}

#tsparticles {
    z-index: -10;
    position: fixed;
    inset: 0;
}

a {
    text-decoration: none;
}

h1{
    font-size: 70px;
}

h2{
    font-size: 40px;
}

p{
    font-size: 20px;
    padding-bottom: 2%;
}

/* NAV BAR*/
.nav-bar {
    position:fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 200ms ease-in-out;
    background-color: transparent;
    z-index: 1;
}

.nav-bar.scrolled {
    background-color: rgb(0, 0, 15);
    box-shadow: 0px 1px 4px 0px rgba(0,0,15,0.5);
}

nav a{
    color:rgb(255, 255, 255);
    padding: 0px 10px;
    transition: 0.3s;
}

nav a:hover{
    color:rgb(214, 214, 214);
    padding: 0px 10px;
    letter-spacing: 1px;
    
}

nav ul li {
    display: inline-block;
}

/* OPENING */
.opening {
    min-height: 100vh;
    justify-content: center;
    display:flex;
    align-items: center;
    flex-direction: column;
}

/* Making the profile picture rounded */
.opening #pfp {
    border-radius: 50%; 
}
.opening h1 {
    margin-bottom: 0%;
}

.opening h2{
    margin-top: 0%;
    margin-bottom: 1%;
}

.opening ul {
    margin-top: 0%;
    clear: left;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}

.opening ul li {
    width: 32px;
    display: inline-block;
    -webkit-filter:invert(1);
    filter: invert(1);
}

.opening ul li:hover {
    
    -webkit-filter:invert(0.7);
    filter: invert(0.7);
}


/* ABOUT*/
.about, .inner-projects{
    background-color: rgb(255,255,255);
    font-weight: 300;
    color: rgb(0, 0, 35);
}

.about h2{
    padding-left: 15%;
}
.about p {
    padding-left: 15%;
    margin-top: -30px;
    font-size: 30px;
    padding-bottom: 20px;
    padding-right: 15%;
}

/* PROJECTS*/
.projects {
    padding-top: 5%;
    text-align: center;
}
.projects h2 {
    padding-bottom: 0%;
}

.projects table {
    width: 100%;
}

.projects caption {
    margin-top: -30px;
    font-size: 30px;
    padding-bottom: 2%;
}

.inner-projects {
    padding-bottom: 5px;
}

.projects table tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: flex-start;
    flex-direction: row;
}

.projects table tr th {
    flex-basis: 300px;
    height: 200px;
    flex-grow: 0;
    flex-shrink: 0;
    padding: 40px;
    outline: 1px solid rgb(0, 0, 15);
    outline-offset: -4px;
    transition: 0.2s;
	border-radius: 10px;
}

.projects table tr th:hover {
    outline: 5px solid rgb(0, 0, 15);
    outline-offset: -9px;
	border-radius: 16px;
}

.projects table tr th img{
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.projects table tr th p{
    font-weight: normal;
    padding-bottom: 0%;
    margin-top: 2%;
    margin-bottom: 2%;
}

.projects table tr th a{
    color: black;
    font-weight: 700;
    text-decoration: none;
    padding-top: 0%;
    margin-top: -10px;
}

header {
    margin-top: -20px;
    font-size: 25px;
    padding-bottom: 0%;
    margin-bottom: 2%;
}

/* FOOTER */
footer {
    margin-top: 10%;
    width: 100%;
    background-color: rgba(0,0,5,0.5);
    color: rgb(218, 218, 218);
    padding-left: 5%;
}

footer p {
    font-size: 15px;
}
footer h2 {
    font-size: 30px;
}
footer ul{
    margin-top: -20px;
}

footer ul li {
    font-size: 20px;
}
footer a {
    color: rgb(0, 102, 255);
}