: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;
    overflow-y: scroll;
}

#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%;
    height: fit-content;
}

#center-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 70%;
    height: fit-content;
    padding: 1vw;
    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: center;
    cursor: pointer;
    background-size: cover;
    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;
}

.spa-text>span {
    background: linear-gradient(to right, var(--complimentary-blue-trans), transparent);
    height: 100%;
    width: 100%;
    padding: 10px;
}

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

.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: 15%;
    padding-right: 10px;
}

.subservices-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.subservice-container {
    color: whitesmoke;
    font-family: 'Lato', sans-serif;
    padding: 10px;
    border-bottom: 2px dashed whitesmoke;
    min-height: 40px;
    transition-duration: 0.3s;
}

.subservice-container:last-child {
    border: none;
    padding-bottom: 0;
}

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

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

.subservice-title {
    flex-basis: 30%;
    font-size: 16px;
    color: var(--main-yellow);
    transition-duration: 0.3s;
    pointer-events: none;
}

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

.subservice-detail {
    pointer-events: none;
    width: 100%;
}

span {
    display: inline-block;
}

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

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

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