:root {
    --accent: rgb(100, 188, 255);
    --background: rgb(10, 10, 10);
}

html {
    background-color: rgb(35, 34, 34);
}

.body {
    background: url("../img/background.webp");
    font-family: "Segoe UI";
        min-height: 100vh;
}

.navbar {
    display: flex; 
    flex-direction: row;  
    width: 100vw; 
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
    padding: 0;
}

.navbar-option {
    color: rgb(150, 150, 150);
    font-size: 20px;
    padding: 18px;
    transition: ease-in-out 200ms;
    text-decoration: none;
}

.navbar-option:hover {
    color: white;
}

.navbar-option-active {
    border-bottom: 2px solid var(--accent);
    color: white;
    background-color: rgb(15, 15, 15);
    pointer-events: none;
}

.theme-button {
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
    font-size: 18px;
    color: var(--accent);
    opacity: 0;
}

.main {
    margin: 25px;
}

.split {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 100px;
}

.portfolio-grid {
    margin-top: 25px;
    margin-left: 25px;
    display: grid;
    gap: 20px;
    grid-auto-columns: 175px;
    grid-auto-rows: 150px;
}

.portfolio-item {
    border: 1px solid rgb(50, 50, 50);
    transition: ease-in-out 200ms;
    position: relative;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 7px 29px 0px;
    filter: brightness(0.9);
}

.portfolio-item:hover {
    filter: brightness(0.6);
}

.portfolio-item-image {
    object-fit: cover;
    width: 100%;
    border-radius: 5px;
    height: 100%;
}

.portfolio-item-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
    transition: ease-in-out 200ms;
}

.portfolio-item-overlay:hover {
    opacity: 1;
}

.portfolio-item-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(0deg, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%); 
    color: white;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
    text-align: center;
    font-size: 18px;
    padding: 25px;
}

.portfolio-title {
    color: white;
    font-size: 24px;
    border-bottom: 1.5px solid rgb(40, 40, 40);
    width: fit-content;
    padding: 2px;
    padding-bottom: 12px;
    margin-left: 25px;
    margin-top: 20px;
    margin-bottom: 30px;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
    border-radius: 5px;
}

.about-me {
    margin-top: 50px;
    color: rgb(255, 255, 255);
    font-size: 18px;
    max-width: 500px;
    line-height: 1.15;
}

.about-me > a {
    color: var(--accent);
}

.about-me-image {
    margin-top: 50px;
    max-width: 150px;
    max-height: 150px;
    border-radius: 5px;
    border: 1px solid rgb(50, 50, 50);
    margin-left: 50px;
}

.about-me-image-description {
    color: white;
    padding: 10px;
    color: rgb(158, 158, 158);
    margin-left: 78px;
}

.about-me-articles-title {
    color: white;
    margin: 10px 0;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
    font-size: 18px;
}

.about-me-article {
    color: var(--accent);
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
    line-height: 1.7;
    font-size: 18px;
}

.contact-links {
    min-width: max-content;
    width: 300px;
    display: flex;
    flex-direction: column;
    margin-top: 40px;
  }
  
.contact-link {
    font-size: 15px;
    padding: 15px;
    margin: 5px 0;
    border: 1px solid rgb(50, 50, 50);
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 7px 10px 0px;
    transition: ease-in-out 200ms;
    background-color: rgb(27, 27, 27);
    color: white;
  }

.contact-link > a {
    color: grey;
}

.contact-link > i {
    margin-right: 10px;
}

.contact-link:hover {
    filter: brightness(0.95);
    transform: scale(1.05);
}

.experience-list {
    display: flex;
    flex-direction: row;
    list-style: none;
}
  
.experience-block {
    width: min(450px, 86%);
    border: 1px solid rgb(50, 50, 50);
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 7px 10px 0px;
    padding: 20px;
    margin-bottom: 10px;
    margin-right: 10px;
    transition: ease-in-out 200ms;
    background-color: rgb(30, 30, 30);
    color: white;
}

.experience-block:hover {
    filter: brightness(0.95);
    transform: scale(1.05);
}
  
.experience-role {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: rgb(255, 255, 255);
}

.experience-company {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 10px;
}

.experience-date-location {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    color: gray;
    font-style: italic;
}

.experience-description {
    margin-top: 10px;
    padding: 5px 15px 0 15px;
    font-size: 13px !important;
    line-height: normal;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: rgb(184, 184, 184);
    border-left: 2px solid rgb(19, 19, 19);
    max-width: 250px;
}

.experience-title {
    color: white;
    font-size: 24px;
    border-bottom: 1.5px solid rgb(40, 40, 40);
    width: fit-content;
    padding: 2px;
    padding-bottom: 12px;
    margin-left: 10px;
    margin-top: 20px;
    margin-bottom: 30px;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
    border-radius: 5px;
}

.project-title {
    color: white;
    font-size: 36px;
    border-bottom: 1.5px solid rgb(40, 40, 40);
    width: fit-content;
    padding: 2px;
    padding-bottom: 12px;
    margin-left: 10px;
    margin-top: 20px;
    margin-bottom: 30px;
    margin-right: 600px;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
    border-radius: 5px;
}

.project-image {
    width: 800px;
    border: 1px solid rgb(40, 40, 40);
    margin-top: 30px;
    margin-bottom: 0px;
    border-radius: 10px;
}

.project-gallery-image {
    width: 600px;
    height: 375px;
    object-fit: cover;
    object-position: left top;
    border: 1px solid rgb(40, 40, 40);
    margin-bottom: 15px;
    margin-right: 12px;
    border-radius: 10px;
}

.itch-widget {
    border: 1px solid rgb(40, 40, 40);
    padding: 10px 10px 10px 0;
    width: 790px !important;
    height: 130px;
    background-color: black;
    border-radius: 10px;
}

.project-description {
    color: rgb(235, 235, 235);
    width: 600px;
    margin-left: 10px;
    font-size: 18px;
    line-height: 1.15;
}

.project-description-list {
    font-size: 18px;
    color: rgb(207, 207, 207);
    background-color: black;
    padding: 20px;
    border: 1px solid rgb(40, 40, 40);
    margin-left: -5px;
    border-radius: 10px;
    font-family: 'Courier New', Courier, monospace;
}

.project-description-list a {
    color: var(--accent);
}

.project-divider {
    width: 100%;
    height: 0px;
    border-top: 1px solid rgb(40, 40, 40);
}

.project-subtitle {
    color: white;
    font-size: 24px;
    border-bottom: 1.5px solid rgb(40, 40, 40);
    padding: 2px;
    padding-bottom: 12px;
    margin-left: 5px;
    margin-top: 20px;
    margin-bottom: 30px;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
    border-radius: 5px;
}

.article-title {
    color: white;
    font-size: 36px;
    border-bottom: 1.5px solid rgb(40, 40, 40);
    width: 600px;
    max-width: 35vw;
    padding: 2px;
    padding-bottom: 12px;
    margin-left: 10px;
    margin-top: 20px;
    margin-bottom: 30px;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
    border-radius: 5px;
}

.article-date {
    color: rgb(170, 170, 170);
    font-size: 18px;
    width: 600px;
    max-width: 35vw;
    margin-left: 10px;
    margin-top: -30px;
    margin-bottom: 40px;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

.article-subtitle {
    color: white;
    font-size: 24px;
    border-bottom: 1.5px solid rgb(40, 40, 40);
    width: 600px;
    max-width: 35vw;
    padding: 2px;
    padding-bottom: 12px;
    margin-left: 0px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
    border-radius: 5px;
}

.article-small-title {
    color: white;
    font-size: 18px;
    width: 600px;
    max-width: 35vw;
    padding: 2px;
    margin-left: 0px;
    margin-top: 40px;
    margin-bottom: 10px;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
    border-radius: 5px;
}

.article-description {
    color: rgb(220, 220, 220);
    width: 600px;
    max-width: 35vw;
    margin-left: 10px;
    font-size: 18px;
    line-height: 1.15;
}

.article-description-list {
    color: rgb(220, 220, 220);
    margin-left: 25px;
    list-style-type: "-  ";
    font-size: 18px;
    width: 600px;
    max-width: 35vw;
}

.article-divider {
    width: 100%;
    height: 0px;
    border-top: 1px solid rgb(40, 40, 40);
}

.article-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.article-image {
    width: 800px;
    border: 1px solid rgb(40, 40, 40);
    margin-top: 30px;
    max-width: 50vw;
    margin: 30px auto 0 auto;
    border-radius: 10px;
}

.article-no-outline {
    border: none;
    margin: 30px auto 20px auto;
}

.article-image-subtext {
    color: gray;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    max-width: 50vw;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
  
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    border: 1px solid rgb(40, 40, 40);
    background-color: var(--background);
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
  