.navbar-item {
    text-decoration: none;
    color: grey;
    padding-bottom: 9px;
    position: relative;
    cursor: pointer;
    bottom: 12px;
    font-weight: bold;
}

.navbar-item::after {
    content: "";
    position: absolute;
    width: 112px;
    height: 3px;
    bottom: 3px;
    left: 0;
    background-color: #ccc;
    transition: background-color 0.3s ease;
}

#desc_item_two::after {
    width: 222px;
}

#desc_item_one::after {
    background-color: #ff7800;
    color: black;
}

#desc_item_btw::after {
    width: 30px;
    bottom: 1px;
    left: 7px;
}

#description-radio:checked ~ #desc_item_btw::after {
    width: 1191px;
    bottom: 1px;
    left: 7px;
}

#desc_item_last::after {
    bottom: 2px;
    left: 21px;
    width: 117%;
    display: block;
}

#additional-info-radio:checked ~ #desc_item_last::after {
    width: 101%;
}

#additional-info-radio:not(:checked) ~ #desc_item_last::after {
    display: none;
}
#additional-info-radio:checked ~ #desc_item_btw::after {
    display: none;
}

#desc_item_last:hover::after,
#desc_item_last:hover::before,
.content-radio:checked + #desc_item_last {
    background-color: grey;
}

#desc_item_btw:hover::after,
#desc_item_btw:hover::before,
.content-radio:checked + #desc_item_btw {
    background-color: grey;
}

.navbar-item:hover::after,
.navbar-item:hover::before,
.content-radio:checked + .navbar-item::after {
    background-color: #ff7800;
}

.content-radio:checked + .navbar-item {
    color: black;
}

.description-section {
    flex: 1;
    margin-left: 100px;
    margin-right: 100px;
    margin-bottom: 15px;
}

#description.description-content {
    padding: 0rem 0rem;
    margin: 0;
    word-wrap: break-word;
    text-align: left;
}

.additional-information-section {
    flex: 1;
    justify-content: space-between;
}

.description-content,
.additional-information-content {
    width: 100%;
    display: none;
    flex: 1;
    margin-bottom: 5px;
}

#description-radio:checked ~ #description,
#additional-info-radio:not(:checked) ~ #description {
    display: block;
}

#additional-info-radio:checked ~ #additional_information {
    display: block;
}

:checked + label + label + #additional_information {
    display: block;
}

.additional-info-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.additional-info-table td {
    padding: 8px;
    padding-left: 50px;
    text-align: left;
    width: 50%;
    word-wrap: break-word;
}

.light-grey-row {
    background-color: #f9f9f9;
}

.grey-row {
    background-color: #f0ebe8;
}

.content-radio {
    display: none;
}

@media (max-width: 650px) {
    .content-radio {
        display: none;
    }

    .content-radio + label {
        display: block;
        margin-bottom: 5px;
    }

    #desc_item_btw::after {
        display: none;
    }

    #desc_item_last::after {
        display: none;
    }

    label#desc_item_btw {
        display: none;
    }

    label#desc_item_last {
        display: none;
    }

    .navbar-item {
        padding-bottom: 2px;
    }

    .navbar-item::after {
        background-color: transparent;
    }
}

@media (max-width: 685px) {
    .description-section {
        margin-left: 10%;
        margin-right: 10%;
    }
}

@media (max-width: 1419px) {
    #description-radio:checked ~ #desc_item_btw::after {
        width: 1129px;
        left: 5px;
    }
}
@media (max-width: 1394px) {
    #description-radio:checked ~ #desc_item_btw::after {
        width: 1078px;
        left: 5px;
    }
}
@media (max-width: 1305px) {
    #description-radio:checked ~ #desc_item_btw::after {
        width: 1014px;
        left: 5px;
    }
}

@media (max-width: 1252px) {
    #description-radio:checked ~ #desc_item_btw::after {
        width: 940px;
        left: 5px;
    }
}

@media (max-width: 1167px) {
    #description-radio:checked ~ #desc_item_btw::after {
        width: 853px;
        left: 5px;
    }
}
@media (max-width: 1078px) {
    #description-radio:checked ~ #desc_item_btw::after {
        width: 785px;
        left: 5px;
    }
}

@media (max-width: 1031px) {
    #description-radio:checked ~ #desc_item_btw::after {
        width: 700px;
        left: 5px;
    }
}

@media (max-width: 930px) {
    #description-radio:checked ~ #desc_item_btw::after {
        width: 613px;
        left: 5px;
    }
}
@media (max-width: 830px) {
    #description-radio:checked ~ #desc_item_btw::after {
        width: 530px;
        left: 5px;
    }
}

@media (max-width: 768px) {
    #description-radio:checked ~ #desc_item_btw::after {
        width: 440px;
        left: 5px;
    }
}

@media (max-width: 270px) {
    #desc_item_two::after {
        width: 193px;
    }
}

@media (max-width: 240px) {
    #desc_item_two::after {
        width: 163px;
    }
}

@media (max-width: 205px) {
    #desc_item_two::after {
        width: 120px;
    }
}


@media (max-width: 1661px) {
    #desc_item_last::after {
        width: 114%; /* Adjust as needed */
    }
}
@media (max-width: 1530px) {
    #desc_item_last::after {
        width: 116%; /* Adjust as needed */
    }
}
@media (max-width: 1435px) {
    #desc_item_last::after {
        width: 118%; /* Adjust as needed */
    }
}
@media (max-width: 1313px) {
    #desc_item_last::after {
        width: 120%; /* Adjust as needed */
    }
}
@media (max-width: 1260px) {
    #desc_item_last::after {
        width: 122%; /* Adjust as needed */
    }
}
@media (max-width: 1203px) {
    #desc_item_last::after {
        width: 124%; /* Adjust as needed */
    }
}
@media (max-width: 1150px) {
    #desc_item_last::after {
        width: 126%; /* Adjust as needed */
    }
}
@media (max-width: 1100px) {
    #desc_item_last::after {
        width: 128%; /* Adjust as needed */
    }
}
@media (max-width: 1050px) {
    #desc_item_last::after {
        width: 132%; /* Adjust as needed */
    }
}
@media (max-width: 1000px) {
    #desc_item_last::after {
        width: 136%; /* Adjust as needed */
    }
}
@media (max-width: 950px) {
    #desc_item_last::after {
        width: 141%; /* Adjust as needed */
    }
}
@media (max-width: 905px) {
    #desc_item_last::after {
        width: 147%; /* Adjust as needed */
    }
}
@media (max-width: 850px) {
    #desc_item_last::after {
        width: 156%; /* Adjust as needed */
    }
}
@media (max-width: 821px) {
    #desc_item_last::after {
        width: 161%; /* Adjust as needed */
    }
}
@media (max-width: 800px) {
    #desc_item_last::after {
        width: 166%; /* Adjust as needed */
    }
}
@media (max-width: 780px) {
    #desc_item_last::after {
        width: 175%; /* Adjust as needed */
    }
}
@media (max-width: 750px) {
    #desc_item_last::after {
        width: 187%; /* Adjust as needed */
    }
}
@media (max-width: 731px) {
    #desc_item_last::after {
        width: 195%; /* Adjust as needed */
    }
}
@media (max-width: 717px) {
    #desc_item_last::after {
        width: 208%; /* Adjust as needed */
    }
}
@media (max-width: 700px) {
    #desc_item_last::after {
        width: 223%; /* Adjust as needed */
    }
}
@media (max-width: 682px) {
    #desc_item_last::after {
        width: 191%; /* Adjust as needed */
    }
}
@media (max-width: 657px) {
    #desc_item_last::after {
        width: 203%; /* Adjust as needed */
    }
}

.link-button {
    float: right;
    margin-top: -44px;
    margin-right: 50px;
}

.link-content {
    display: block;
}

.link-icon {
    display: block;
    width: auto;
    height: 20px;
    margin: 0 auto -1px;
}

.image-details {
    width: 250px;
    height: 200px;
}

#popupContent {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    width: 300px;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

#closePopup {
    margin-top: 10px;
}

#popupOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Popup Image */
.popup-image {
    width: 100%; /* Adjust as needed */
    height: auto; /* Maintain aspect ratio */
}
