:root {
    --main-yellow: #f3d000;
    --dark-yellow: #d1b200;
    --complimentary-blue: rgb(3, 53, 54);
    --complimentary-blue-trans: rgba(3, 53, 54, 0.7);
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

a:-webkit-any-link {
    color: unset;
}

#background-video-container {
    position: fixed;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

#background-video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    overflow: hidden;
    right: 0;
}

#backdrop {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
}

#center-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 70%;
    height: fit-content;
    padding: 10px;
    background-color: var(--complimentary-blue-trans);
    align-content: center;
}

#logo {
    max-width: 90%;
    max-height: 20%;
    object-fit: scale-down;
    object-position: center;
    margin: auto;
    margin-bottom: 4vh;
    margin-top: 2vh;
    display: block;
}

.spa-text {
    display: flex;
    font-size: 20px;
    font-family: 'Lato', sans-serif;
    color: var(--main-yellow);
    background-position: top;
    cursor: pointer;
    background-size: cover;
}

.spa-text>span {
    background: linear-gradient(to right, var(--complimentary-blue-trans), var(--complimentary-blue-trans), var(--complimentary-blue-trans), transparent);
    height: 100%;
    width: 100%;
    padding: 10px;
    transition: 0.3s;
    z-index: 1;
    position: relative;
}

.spa-text>span::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--complimentary-blue-trans);
    z-index: -1;
    transition: 0.3s;
    opacity: 0;
}

.spa-text>span:hover::before {
    opacity: 1;
}

.services-container {
    overflow-y: hidden;
}

.service-container {
    display: flex;
    background-color: var(--complimentary-blue-trans);
    padding: 0 10px;
    font-size: 14px;
    border-bottom: 2px solid whitesmoke;
    padding-bottom: 0px;
}

.service-container:last-child {
    border: none;
}

.service-title {
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    color: var(--main-yellow);
    padding-top: 10px;
    flex-basis: 90px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.service-details {
    font-size: 12px;
    color: white;
}

.subservices-container {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    column-gap: 15px;
    padding-top: 10px;
    justify-content: stretch;
}

.subservice-container {
    color: whitesmoke;
    font-family: 'Lato', sans-serif;
    border-bottom: 2px dashed whitesmoke;
    min-height: 40px;
    flex-basis: 47%;
    margin-bottom: -2px;
    flex-grow: 1;
    padding-bottom: 5px;
    transition-duration: 0.3s;
}

.subservice-container:hover {
    background-color: var(--complimentary-blue-trans);
    cursor: pointer;
}

.subservice-container:hover .subservice-title::after {
    margin-left: 10px;
}

.subservice-title::after {
    display: inline-block;
    content: "►";
    font-size: 8px;
    margin-left: 2px;
    height: 10px;
    transform: translateY(-1.5px);
    transition-duration: 0.3s;
}

.subservice-title {
    color: whitesmoke;
    font-size: 16px;
    padding-left: 10px;
    pointer-events: none;
}

.subservice-detail {
    pointer-events: none;
}

.subservice-price {
    color: var(--main-yellow);
    text-align: right;
    float: right;
    padding-right: 10px;
    pointer-events: none;
}

.subservice-text {
    max-width: 80%;
    padding-right: 10px;
    padding-left: 10px;
    pointer-events: none;
}

.odd {
    flex-grow: 0.04;
}

@media screen and (max-width: 800px) {
    #center-panel {
        width: 100%;
        padding: 0;
        position: relative;
    }
    #logo {
        content: url("logo-alt2.png");
        max-width: 70%;
        align-self: center;
        max-height: none;
    }
    #main-table {
        display: block;
        width: auto;
    }
    #services-container {
        grid-template-columns: 100%;
        grid-template-rows: repeat(6, 35vh);
    }
    .service-container {
        flex-direction: column;
    }
    .subservice-container {
        flex-basis: 100%;
    }
    .service-title {
        flex-basis: auto;
        align-self: center;
        padding: 10px;
        width: 100%;
        text-align: center;
        font-size: 20px;
    }
    .service-details {
        align-self: center;
    }
}