:root {
    --bright-color: hsl(353, 100%, 65%);
    --alt-color-bright: hsl(189, 90%, 40%);
    --alt-color-faint: hsl(201, 40%, 82%);
}

.section {
    margin: 100px 0 50px 0;
    padding: 60px 0 0 0;
}

#page {
    /*	padding: 0px 80px 300px 80px;*/
}

/* ------------------------------------------ */

#about {
    display: flex;
    max-width: 1000px;
    align-items: center;
    margin: 100px auto 0 auto;
}

#about-image {
    max-width: 300px;
    margin-right: 30px;
    border-radius: 4px;
    border: 12px solid hsl(189, 30%, 85%);
}

/* ------------------------------------------ */

.portfolio-project {
    margin-bottom: 100px;
}

.portfolio-project-bg-image {
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.portfolio-project-overlay {
    padding-top: 80px;
    background-color: hsla(0, 0%, 95%, 0.25);
}

.portfolio-project-info {
    background-color: hsl(0, 0%, 90%);
    padding: 40px 100px 120px 100px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px;
}

.portfolio-project-name-container {
    display: flex;
    justify-content: space-between;
}

.portfolio-project-name {
    font-size: 200%;
    margin-bottom: 12px;
}

.portfolio-project-company-info {
    margin-bottom: 30px;
}

.portfolio-project-description {
    margin: 30px 0;
}

.project-work-container {
}

.portfolio-work {
    /*  background-color: hsl(0, 0%, 90%);
  padding: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 4px;*/
    margin-bottom: 40px;
}

.portfolio-work-name {
    font-size: 200%;
    margin-bottom: 6px;
}

.portfolio-work-description {
    margin-bottom: 12px;
}

.portfolio-work-image {
    margin: 0 6px 6px 0;
    border-radius: 4px;
    /*	box-shadow: rgba(2, 2, 3, 0.25) 4px 10px 0px 1px;*/
}

.portfolio-work-image:hover {
    border: 3px solid var(--bright-color);
    margin: -3px 3px 3px -3px;
}

.portfolio-project-dates {
    margin-bottom: 4px;
}

/* ------------------------------ */

.resume-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-template-rows: auto auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    max-width: 1000px;
    margin: 0 auto 0 auto;
    line-height: 1.8em;
    background-color: hsl(0, 0%, 90%);
}

.resume-box {
    padding: 40px 40px 40px 40px;
}

.resume-top {
    /*   background-color: hsl(217,25%,30%); */
    grid-area: 1 / 1 / 2 / 3;
    padding-bottom: 20px;
    border-bottom: 1px dashed hsl(217, 25%, 50%);
}

.resume-left {
    /*   background-color: hsl(216,21%,24%); */
    grid-area: 2 / 1 / 3 / 2;
    border-right: 1px dashed hsl(217, 25%, 50%);
}

.resume-right {
    /*   background-color: hsl(216,24%,26%); */
    grid-area: 2 / 2 / 3 / 3;
}

.resume-list {
    list-style-type: square;
    list-style-position: inside;
    padding: 0;
    margin: 0 0 30px 0;
    line-height: 1.6em;
    font-size: 0.9em;
}

.resume-list li {
}

.resume-list span {
    margin-left: -0.5em;
}

.top-left {
    float: left;
    margin-right: 20px;
}

.top-right {
    float: left;
}

.resume-contact-container {
    display: flex;
    justify-content: start;
    gap: 10px;
}

.skill {
    font-size: 0.9em;
}

.bar-border {
    box-sizing: content-box;
    background-color: hsla(200, 34%, 63%, 0.25);
    position: relative;
    border: 1px solid hsl(122, 47%, 64%);
    vertical-align: middle;
    border-radius: 2px;
    margin-bottom: 12px;
    height: 16px;
}

.bar-fill {
    display: block;
    position: relative;
    overflow: hidden;
    background-color: hsl(122, 47%, 64%);
    padding: 4px 8px;
    font-size: 0.6em;
    font-weight: 800;
    color: black;
    line-height: 1em;
    height: 16px;
}

.resume-header {
    color: var(--alt-color-bright);
    font-weight: 800;
    font-size: 1.3em;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.resume-right .resume-header {
    margin-bottom: 15px;
}

.resume-work-group {
    margin-bottom: 60px;
    line-height: 1.4em;
}

.resume-huge-text {
    font-size: 1.7em;
}

.resume-large-text {
    font-size: 1.25em;
}

.resume-work-position::before {
    content: "-";
    background-color: var(--alt-color-faint);
    width: 24px;
    display: inline-block;
    margin-left: -40px;
    margin-right: 15px;
    color: var(--alt-color-faint);
}

.resume-work-contract-info {
    font-size: 0.8em;
    color: hsl(0, 0%, 50%);
    margin-bottom: 4px;
}

.resume-dark-text {
    color: hsl(0, 0%, 55%);
}

.resume-work-date {
    margin-top: 12px;
    margin-bottom: 4px;
}

.resume-work-tasks {
    margin-top: 6px;
    list-style-type: square;
}

.resume-work-tasks li {
    margin-bottom: 6px;
}

/*------- contact -------*/

#contact {
    text-align: center;
    margin-bottom: 300px;
}

#contact-list {
    margin-left: auto;
    margin-right: auto;
}

.contact-type {
    text-align: right;
    padding-right: 20px;
}

.contact-value {
    text-align: left;
}

/*------- lightbox -------*/

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
/* Style for the thumbnails */
.gallery img {
    width: 100px;
    height: 100px;
}
/* Style for the lightbox overlay */
#lightbox {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}
/* Style for the large image in the lightbox */
#lightbox img {
    position: absolute;
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
/* Style for the next and previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -50px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.youtube-player {
    position: relative;
    text-align: center;
}

.youtube-image {
    width: 100%;
}

.play-button {
    position: absolute;
    width: 160px;
    height: 160px;
    margin-left: -80px;
    margin-top: -80px;
    top: 50%;
    left: 50%;
    text-align: center;
    cursor: pointer;
}
