.project-split-small {
    height: 1px;
    margin: 0;
    background: var(--background-color);
}

.project-split-small.first {
    width: 92%;
    margin: 0 auto 50px auto;
}

.pr-desc p {
    font-size: 0.8rem;
    margin-bottom: 10px;
    font-style: italic;
}

.project {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: var(--background-color-light);
    margin: 20px 20px 0 20px;
}

.po-section-overlay {
    margin-bottom: 40px;
}

.overlay-div:last-child {
    margin-bottom: 100px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 20px;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    border-radius: 5px;
}
  
/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px; 
    z-index: 1001;
    border-radius: 5px;
}

.modal-content .modal-image {
    max-width: 100%; 
    display: block; 
    margin: 0 auto; 
}
  
/* The Close Button */
.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
}
  
.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-trigger, .linked {
    cursor:pointer; 
    text-decoration:underline; 
    color:rgb(94, 206, 155)
}


/* accordion style settings */
/* Core styles/functionality */
.tab input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}
.tab__content {
    max-height: 0;
    overflow: auto;
    transition: all 0.35s;
    letter-spacing: 1px;
}
.tab input:checked ~ .tab__content {
    max-height: 100rem;
}
  
/* Visual styles */
.accordion {
    color: var(--theme);
    border: 2px solid;
    border-radius: 0.5rem;
    overflow: hidden;
    width: 95%;
    margin: auto;
}
.tab__label,
.tab__close {
    display: flex;
    color: white;
    background: var(--background-color-dark);
    cursor: pointer;
}

.tab__label:first-child {
    border-top: 1px solid var(--background-color);
}

.tab__label {
    justify-content: space-between;
    padding: 1rem;
    font-size: 1.3rem;
    border-bottom: 1px solid var(--background-color);
}
.tab__label::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    text-align: center;
    transform: rotate(90deg);
    transition: all 0.35s;
}
.tab input:checked + .tab__label::after {
    transform: rotate(270deg);
}
.tab__content p {
    margin: 0;
    padding: 1rem;
}
.tab__close {
    justify-content: flex-end;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.accordion--radio {
    --theme: var(--secondary);
}
  
/* Arrow animation */
.tab input:not(:checked) + .tab__label:hover::after {
    animation: bounce .5s infinite;
}

@keyframes bounce {
    25% {
      transform: rotate(90deg) translate(.25rem);
    }
    75% {
      transform: rotate(90deg) translate(-.25rem);
    }
}

/* #overlay1-cont.tab:not(:last-child) {
    border-bottom: 1px solid var(--background-color-dark);
} */

.overlay-div h2 {
    margin-left: 5%;
}

#home-btn2 {
    margin-top: 0;
}

#portfolio-section2 {
    padding-top: 0;
}

@media (max-width: 768px) {
    .project {
        padding: 5px;
        margin: 5px 5px 0 5px;
    }
}