@font-face {
    font-family: "Maple Mono";
    src: url("Fonts/maple-mono-latin-400-italic.ttf");
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: "Maple Mono";
    src: url("Fonts/maple-mono-latin-400-normal.ttf");
    font-weight: normal;
    font-style: normal;
}
* {
    box-sizing: border-box;
    font-family: "Maple Mono", cursive;
    font-style: italic;
    color: #ffffff;
}

body {
	background-image: url("Images/Space.jpg");
	animation: bg 150s linear infinite;
	font-family: sans-serif;
	position: relative;
}

@keyframes bg {
	to {
		background-position: -2000px 1333px;
	}
}

html {
  scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
}

.nav a {
    display: inline-block;
    padding: .5em;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin-left: 0.2cm;
    margin-right: 0.2cm;
    border-style: none;
    border-top-style: solid;
    border-bottom-style: solid;
    border-width: 1px;
    border-bottom-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0px 0px 6px rgba(0,0,0,0.8);
}

.nav a:hover {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(0,0,0,0.6));
    text-decoration: underline;
}


.profile-pic {
    float: left;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin: 4px;
    margin-left: 10px;
}

.profession {
    display: block;
    color: rgb(133, 133, 255);
    text-shadow:
            2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000,
            1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
}

.company-name {
    display: block;
    float: left;
    font-style: normal;
    font-size: 2em;
    font-weight: normal;
    color: white;
    margin-left: 10px;
    padding-bottom: 8px;
    padding-top: 8px;
    text-align: center;
}

.big-name {
    display: block;
    float: center;
    font-style: normal;
    font-size: 2em;
    font-weight: normal;
    color: white;
    margin-left: 10px;
    padding-bottom: 8px;
    padding-top: 8px;
    text-align: center;
    text-shadow:
            2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000,
            1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
}

.description {
    float: center;
    font-size: 1em;
    font-weight: normal;
    color: white;
    margin-left: 10px;
    padding-bottom: 8px;
    padding-top: 8px;
    text-align: center;
}

.main-nav {
    text-align: right;
    font-size: 1.1em;
    font-weight: lighter;
    box-shadow: 0 0 3px rgba(255,255,255,1);
    padding-bottom: 10px;
    padding-top: 10px;
}

.main-nav li {
    padding: 0 0;
    display: inline;
}
.main-header {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.25)0%, rgba(0,0,0,0.5)50%, rgba(0,0,0,0.6)50%);
    background-size: cover;
}

.content-wrapper {
    max-width: 1640px;
    margin: 0 auto;
}

.table-header {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.25)0%, rgba(0,0,0,0.5)50%, rgba(0,0,0,0.6)50%);
}

.project-info {
    background-color: rgba(0, 0, 0, 0.6);
}

.project-description {
    width: 50%;
    float:left;
    padding: 2em;
}

.project-header-text {
    color: rgb(133, 133, 255);
    font-style: normal;
    text-shadow:
        2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000,
        1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
}
.project-title {
    font-size: 3em;
    font-weight: normal;
    color: rgb(133, 133, 255);
    margin-left: 10px;
    padding-bottom: 8px;
    padding-top: 8px;
    text-align: center;
    text-shadow:
            2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000,
            1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
}

.project-link {
    padding-top: 1em;
    padding-left: 11%;
    padding-right: 11%;
    font-size: 1.1em;
}

.project-paragraph {
    font-size: 1.5em;
}

.project-list {
    font-size: 1.5em;
}

.project-media {
    width: 50%;
    float:left;
    padding-top: 5%;
    padding-bottom: 5%;
}

.eightyeights {
    padding-top: 10%;
}

.project-media img {
    width: 80%;
    margin: auto;
    display: block;

    border-radius: 6px;
    border-style: none;
    border-top-style: solid;
    border-bottom-style: solid;
    border-width: 1px;
    border-bottom-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 9px rgba(255,0,0,1);
}

.layout {
    width: 100%;
    border-spacing: 16px 16px;
    margin-bottom: -16px;
    background: transparent;
}

.layout-final {
    width: 100%;
    margin-bottom: 0;
}

.layout td {
    border-radius: 12px;
    border-spacing: 20px;
    overflow: hidden;
    box-shadow: 0 0 3px rgba(255,255,255,1);
}

.personal-info-left {
    background-image: url(Images/SurrealBackground.png);
    background-size: cover;
    position: sticky;
    width: 35%;
}

.personal-info-right {
    width: 65%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    margin: 0;
    font-size: 3em;
    font-weight: normal;
    color: white;
}

.table-header {
    width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    margin: 0;
    font-size: 4em;
    font-style: normal;
    font-weight: normal;
    color: white;
}

.portrait {
    float: right;
    width: 65%;
}

.project-link-1,
.project-link-2,
.project-link-3 {
    position: absolute;
    display: block;
    width: 36%;
    aspect-ratio: 1 / 1;
    /* height: 24%; */
    z-index: 5;
    transition: transform 0.2s ease;
}

.project-link-1 img,
.project-link-2 img,
.project-link-3 img {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* height: 100%; Webkit / Safari will use the images height (1080px) as the thing to take the percentage from. It doesn't do this for width though.*/
    object-fit: contain;
    background: rgba(177,177,177,1);
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 4px 18px rgba(255,0,0,1);
}

.project-link-1 {
    top: 10%;
    left: 20%;
    transform: rotate(-10deg) scale(1.1);
}

.project-link-2 {
    top: 46%;
    left: 6%;
    transform: rotate(-20deg) scale(0.8);
}

.project-link-3 {
    top: 35%;
    left: 56%;
    transform: rotate(8deg) scale(1.0);
}

.project-link-1:hover,
.project-link-2:hover,
.project-link-3:hover {
    transform: rotate(0deg) scale(1.3);
}

.experiment {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 970px;
    padding-top: 5%;
    padding-bottom: 5%;
}

.experiment iframe {
    width: 602px;
    height: 444px;
    transform: scale(2.0);
    display: block;
    border-radius: 6px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-width: 1px;
    border-bottom-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 9px rgba(255, 0, 0, 1);
}

.experiment-special {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1152px;
    padding-top: 5%;
    padding-bottom: 5%;
}

.experiment-special iframe {
    width: 722px;
    height: 524px;
    transform: scale(1.65);
    display: block;
    border-radius: 6px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-width: 1px;
    border-bottom-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 9px rgba(255, 0, 0, 1);
}

.experiment-special-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 870px;
    padding-top: 5%;
    padding-bottom: 5%;
}

.experiment-special-2 iframe {
    width: 502px;
    height: 344px;
    transform: scale(2.4);
    display: block;
    border-radius: 6px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-width: 1px;
    border-bottom-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 9px rgba(255, 0, 0, 1);
    background-color: rgba(177,177,177,1);
}

@media screen and (max-width: 1300px) {
    .project-description {
        width: 100%;
        float:none;
    }
    .project-media {
        width: 100%;
        float:none;
    }
    .profession {
        font-size: 2.5vw;
    }
    .big-name {
        font-size: 5vw;
    }
    .description {
        font-size: 2.5vw;
    }
    .eightyeights {
        padding-top: 0;
    }
    .experiment {
        height: 728px;
    }
    .experiment-special {
        height: 719px;
    }
    .experiment-special-2 {
        height: 784px;
    }
    .experiment iframe {
        transform: scale(1.5);
    }
    .experiment-special iframe {
        transform: scale(1.25);
    }
    .experiment-special-2 iframe {
        transform: scale(1.8);
    }
    .main-nav {
        font-size: 1.65em;
        box-shadow: 0 0 4.5px rgba(255,255,255,1);
        padding-bottom: 15px;
        padding-top: 15px;
    }
    .nav a {
        padding: .75em;
        border-radius: 9px;
        margin-left: 0.1cm;
        margin-right: 0.1cm;
        border-width: 1px;
        box-shadow: 0px 0px 9px rgba(0,0,0,0.8);
    }
    .profile-pic {
        height: 75px;
        width: 75px;
        margin: 2px;
        margin-left: 5px;
        margin-top: 12px;
    }
    .company-name {
        font-size: 3em;
        margin-left: 5px;
        padding-bottom: 12px;
        margin-top: 12px;
    }
}