:root {
    --themeColor: #bd745b; /* global scope */
    --shadowColor: #00000063; /* global scope */
    --accentColor: #7e7e7e; /* global scope */
    --mainColor: darkolivegreen;
}

.link{
    text-decoration: none;
}

.link:hover{
    text-decoration: underline;
}

img {
    -webkit-filter: drop-shadow(0.7rem 0.4rem 0.5rem var(--shadowColor));
    filter: drop-shadow(0.7rem 0.4rem 0.5rem var(--shadowColor));
    width: 60vw;
    pointer-events: none;
}
h1,
h2 {
    color: var(--themeColor);
    filter: drop-shadow(0.7rem 0.4rem 0.5rem var(--shadowColor));
    pointer-events: none;
}
h1 {
    font-size: 6rem;
}
h2 {
    font-size: 3rem;
}
.behind {
    position: fixed;
    inset: 0;
    /*position: fixed;
	z-index: -999;
	top: 0px;
	left: 0px;
    width: 100%;*/
}

body {
    width: 100%;
    background-color: var(--mainColor);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


html{
    font-family: "Sen", sans-serif;
    margin: 0;
    scroll-behavior: smooth;
}

p {
    margin: 0;
}

#particles-js {
    pointer-events: auto;
}
footer {
    position: fixed;
    background-color: var(--shadowColor);
    bottom: 0px;
    width: 100%;
}

.header {
    position: fixed;
    width: 100%;
    height: 10vh;
    z-index: 1000;
    background-color: black;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 20px;
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.thingy {
    margin: 0;
    color: white;
    align-items: center;
    padding-left: 40px;
    font-size: 30px;
}

.headeritem {
    text-decoration: none;
    font-size: 20px;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
}

.headeritem:hover{
    text-decoration: underline;
}

.section-style {
    height: 100vh;
    width: 100%;
    font-size: 40px;
}

.section-title {
    color: white;
    padding-left: 70px;
    padding-top: 50px;
    font-size: 50px;
    font-weight: bold;
}

.mainText {
    color: white;
    margin: 0;
    font-size: 70px;
    font-weight: bold;
    width: auto;
}

.specialText {
    margin: 0;
    color: greenyellow;
    font-family: "OCR A";
    font-variant: small-caps;
}

.divider {
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, var(--mainColor), white, var(--mainColor));
    margin: 0;
    opacity: 0.5;
}

.divider-mini {
    height: 2px;
    width: 60%;
    background: linear-gradient(to right, var(--mainColor) 0%, white 40%, white 60%, var(--mainColor) 100%);
    margin: 0;
    opacity: 0.5;
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: white;
    border-radius: 22px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-box img{
    width: 50px;
    height: auto;
}

#home {
    background: linear-gradient(to left, black, var(--mainColor) 80%), var(--mainColor);
    background-color: var(--mainColor);
    scroll-margin-top: 10.5vh;
    padding-top: 50px;
    padding-left: 80px;
}

#projects {
    background: linear-gradient(to right, black 0%, var(--mainColor) 30%, var(--mainColor) 70%, black 100%);
    width: 100%;
    height: auto;
    background-color: var(--mainColor);
    scroll-margin-top: 10.5vh;
}

#projects .project-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding-bottom: 50px;
    padding-top: 50px;
}

#projects .project-box {
    width: 50%;
    height: 50%;
    min-height: 200px;
    padding: 20px;
    background-color: white;
    border-radius: 22px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}   

#projects .project-box .project-genre{
    font-weight: normal;
    font-size: 30px;
    color: gray;
}

#projects .project-box img{
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 22px;
    transition: box-shadow 0.15s ease, outline 0.15s ease; 
}

#projects .project-box a:hover img {
    outline: 3px solid var(--mainColor);
    outline-width: 5px;
    outline-offset: 0px;
    box-shadow: 0 0 20px var(--mainColor);
}

#projects .project-box a {
    display: inline-block;
    width: 70%;
    flex: 0 0 auto;
}

#projects .project-box-contents {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

#projects .project-desc{
    color: dimgray;
    justify-content: center;
    font-size: 25px;
    z-index: 100;
    display: flex;
    flex-direction:column;
    gap: 5px;
}

#projects .project-desc-bold{
    color: black;
    font-weight: bold;
}

#projects .project-link{
    text-decoration: double;
    filter: brightness(1);
    width: max-content;
    display: inline-block;
    padding-top: 20px; 
    padding-left: 30px;
    align-self: center; 
    color: var(--mainColor);
    flex: 0 0 auto;
    transition: color 0.15s ease; 
}

#projects .project-link:hover{
    filter: brightness(0);
    text-decoration: underline;
}

.sub-content {
    color: white;
    margin: 0 auto;
    padding-top: 12vh;
    width: 70%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.sub-itch{
    display: flex;
}

.sub-content .sub-itch img {
    margin-left: 30px;
    width: auto;
    max-height: 50px;
    object-fit: contain;
    align-self: center;
    border-radius: 35px;
    outline: 3px solid #759441;
    outline-width: 2px;
    outline-offset: 0px;
}

.sub-content img{
    object-fit: contain;
    display: block;
    border-radius: 22px;
    outline: 3px solid #759441;
    outline-width: 5px;
    outline-offset: 0px;
}

.sub-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.sub-container img{
    object-fit: contain;
    display: block;
    border-radius: 10px;
    outline: 2px solid white;
    outline-width: 2px;
    outline-offset: 0px;
}

.sub-title {
    display: flex;
    flex-direction: row;
    text-align: left;
    width: 100%;
}

.sub-h {
    font-size: 60px; 
    font-weight: bold;
}

.sub-textbox {
    display: block;
    width: auto;
    height: auto;
    background: #333630;
    border-radius: 25px;
    padding: 20px;
    border: 3px solid white;
}

.sub-video-container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    align-self: center;
}

.sub-video-container video {
    width: 100%;
    height: auto;
    display: block;

    border-radius: 22px;
    border: 2px solid white;
}

#about {
    background: linear-gradient(to left, black, var(--mainColor) 80%), var(--mainColor);
    width: 100%;
    height: auto;
    background-color: var(--mainColor);
    scroll-margin-top: 10.5vh;
}

#contact {
    background: linear-gradient(to left, black, var(--mainColor) 80%), var(--mainColor);
    width: 100%;
    height: auto;
    background-color: var(--mainColor);
    scroll-margin-top: 10.5vh;
}

#contact .stuffbox{
    display: inline-flex; 
    flex-direction: column; 
    width: fit-content;
    background-color: white;
    border-radius: 20px; 
    gap: 20px; 
    margin: 10px 0 10px 80px;
    padding: 15px 25px 15px 25px;
    filter: drop-shadow(0.7rem 0.4rem 0.5rem var(--shadowColor));
    border: 5px solid black;
}

#contact .stuffbox img{
    width: auto;
    max-height: 100px;
}

#contact .cv-link{
    display: inline-block;
    width: fit-content;
    color: black;
    text-decoration: none;
}

#contact .cv-link a{
    display: inline-block;
    width: 70%;
    flex: 0 0 auto;
}

#contact .cv-link img{
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 22px;
    transition: box-shadow 0.15s ease, outline 0.15s ease; 
}

#contact .cv-link:hover img{
    outline: 3px solid black;
    outline-width: 5px;
    outline-offset: 4px;
    box-shadow: 4px 4px 20px black;
}

#contact .mail-link{
    display: inline-block;
    color: black;
    text-decoration: none;
}

#contact .mail-link:hover{
    text-decoration: underline;
}