﻿
#mainContainer {
    width: 100%;
    height: 100%;
    padding: 5px;
    display: flex;
    overflow: hidden;
    position: relative;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgb(240, 240, 240);
}

#backgroundImgContainer {
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    position: absolute;
    align-items: center;
    justify-content: center;
}

.background-container {
    width: 33%;
    overflow: hidden;
}

#healthBackgroundContainer {
    margin-bottom: 15%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

#safetyBackgroundContainer {
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

#environmentalBackgroundContainer {
    margin-top: 15%;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.background-img {
    width: 100%;
    height: 100%;
}

.custom-container {
    width: 30%;
    z-index: 2;
    opacity: 0.9;
    display: flex;
    overflow: hidden;
    border: 1px solid;
    border-radius: 5px;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    background-color: white;
}

.custom-container-title {
    width: 100%;
    display: flex;
    font-weight: bold;
    align-items: center;
    justify-content: start;
    border-bottom: 1px solid rgb(200, 200, 200);
}

#backContainer {
    width: 100%;
    display: none;
    padding: 10px;
}

#backButton {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    color: #ffffff;
    background-color: #2c2c2c;
    border: 1px solid #2c2c2c;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

#backButton::before {
    content: "\2190";
    font-size: 1.05em;
    line-height: 1;
}

#backButton:hover {
    background-color: #444444;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

#siteSelectionContainer {
    margin: auto;
    padding: 5px;
    border: none;
}

#siteSelectionContent {
    width: 100%;
    display: flex;
    margin-top: 5px;
    align-items: center;
    justify-content: start;
    flex-direction: column;
}

#siteSelect {
    text-align-last: center;
}

#submitSiteButton {
    margin-top: 5px;
    margin-left: auto;
}

#processSelectionContainer {
    width: 100%;
    height: 100%;
    display: flex;
    overflow-y: auto;
    align-items: center;
    justify-content: start;
    flex-direction: column;
}

#processSelectionTitle {
    margin-top: 25px;
}

#processSelectionContent {
    width: 70%;
    height: 100%;
    padding: 25px;
    margin-top: 25px;
    margin-bottom: 5px;
    display: flex;
    gap: 25px;
    align-items: stretch;
    justify-content: center;
    flex-direction: row;
}

.process-selection {
    flex: 1;
    min-width: 0;
    height: 300px;
    display: flex;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    border: 1px solid rgb(200, 200, 200);
}

.process-selection:hover {
    cursor: pointer;
    background-color: rgb(0, 0, 0, 0.2);
    box-shadow: 0px 0px 25px 0px rgba(180, 180, 180, 1.0);
}

.process-selection-text {
    min-width: 50%;
    z-index: 10;
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    padding: 5px 15px 5px 15px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: rgb(255, 255, 255, 0.9);
}

.process-selection-img-container {
    width: 100%;
    height: 100%;
}

.process-selection-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 1800px) {
    .custom-container {
        width: 35% !important;
    }

    #processSelectionContent {
        width: 80% !important;
    }
}

@media only screen and (max-width: 1550px) {
    .custom-container {
        width: 50% !important;
    }

    #processSelectionContent {
        width: 85% !important;
    }

    #formContainer {
        margin-bottom: auto;
    }
}

@media only screen and (max-width: 1300px) {
    .custom-container {
        width: 65% !important;
    }

    #processSelectionContent {
        width: 90% !important;
    }

    #formContainer {
        margin-bottom: auto;
    }
}

@media only screen and (max-width: 900px) {
    .custom-container {
        width: 75% !important;
    }

    #processSelectionContent {
        width: 75% !important;
        flex-direction: column !important;
    }

    .process-selection {
        height: 200px;
    }

    .btn {
        width: 200px;
    }

    #backgroundImgContainer {
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .background-container {
        width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        border-radius: 0 !important;
    }
}

@media only screen and (max-width: 600px) {
    #mainContainer {
        padding: 5px;
    }

    .custom-container {
        border: none;
        width: 100% !important;
    }

    #processSelectionContent {
        padding: 0;
        width: 100% !important;
    }

    .btn {
        width: 100%;
    }
}