body {
    margin: 0px;
    background-color: black;
}

.windowContainer {
    background-color: black;
    height: 100%;
    width: 100%;
    position: absolute;
}

.videoParentContainer {
    display: flex;
    background-color: white;
    visibility: hidden;
}

.windowControls {
    background: rgba(0, 0, 0, 0);
    height: 100%;
    width: 100%;
    position: absolute;
}

.containerControls {
    display: flex;
    visibility: hidden;
}

.primaryControls {
    z-index: 2;
    position: relative;
    display: flex;
    justify-content: center;
}

.secondaryControls {
    z-index: 2;
    position: relative;
}

.menuBar {
    width: 45%;
    height: 11%;
    position: absolute;
    top: 85%;
    display: flex;
    justify-content: space-between;
}

.hide {
    opacity: 1;
    transform: translateY(0px);
    transition: opacity 1s ease, transform 1s ease;
}

.hide.fadeOut {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 1s ease, transform 1s ease;
}

.switchCam {
    display: none;
}

button {
    outline: none;
    border: none;
}

.icons {
    background: red;
    width: 6vw;
    height: 6vw;
    max-width: 75px;
    max-height: 75px;
    border-radius: 50%;
    margin: auto;
    display: flex;
}

.icons:hover {
    background-color: #BF0000;
}

.icons:active {
    background-color: #BF0000;
}

.icons2 {
    width: 6vw;
    height: 6vw;
    max-width: 60px;
    max-height: 60px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    background-color: rgba(51, 51, 51, 0.5);
    backdrop-filter: blur(5px);
}

.icons2:hover {
    background-color: #444444;
}

@media (min-width: 1100px) {
    .theActualIcons {
        font-size: 30px !important;
    }
    .theActualEndIcon {
        font-size: 35px !important;
    }
}

.square {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #404040;
    display: flex;
    align-items: center;
    justify-content: center;
}

.square:not(.pending):hover {
    background-color: #333333;
}

.addButton {
    position: absolute;
    text-align: center;
}

@media (min-width: 1600px) {
    .userIcon {
        font-size: 100px !important;
    }
    .addText {
        font-size: 18px !important;
    }
}

@media ( min-width: 1100px ) and ( max-width: 1599px ) {
    .userIcon {
        font-size: 75px !important;
    }
    .addText {
        font-size: 16px !important;
    }
}

.modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 5;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    padding: 25px;
    border-radius: 15px;
}

.scroll {
    max-width: 900px;
    max-height: 500px;
    overflow-y: scroll;
}

.infoBorder {
    color: #636e7b;
    font-family: Arial;
    font-size: 13px;
    border: solid #5bc0de;
    border-width: 2px;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    margin-top: 15px;
}

input, label {
    display: block;
    font-family: Arial;
    color: #636e7b;
}

label {
    font-size: .9em;
}

input[type=text], select {
    width: 100%;
    padding: 12px 12px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type=submit]:hover {
    background-color: #45a049;
}

.addBtn {
    color: #ffffff;
    background-color: #5cb85c;
    padding: 10px 25px 10px 25px;
    border-radius: 4px;
    font-weight: bold;
}

.addBtn:hover {
    background-color: #62C462;
    cursor: pointer;

}

.optionBtn {
    color: #636e7b;
    padding: 10px 25px 10px 25px;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 15px;
}

.optionBtn:hover {
    background-color: #BDBDBD;
    cursor: pointer;
}

.cancelBtn {
    color: #636e7b;
    padding: 10px 25px 10px 25px;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 25px;
}

.cancelBtn:hover {
    background-color: #BDBDBD;
    cursor: pointer;
}

.defaultBtn {
    color: #ffffff;
    background-color: #636e7b;
    padding: 10px 25px 10px 25px;
    border-radius: 4px;
    font-weight: bold;
}

.defaultBtn:hover {
    background-color: #4E5661;
    cursor: pointer;
}

#endBtn {
    color: #ffffff;
    background-color: red;
    padding: 10px 25px 10px 25px;
    border-radius: 4px;
    font-weight: bold;
}

#endBtn:hover {
    background-color: #BF0000;
    cursor: pointer;
}

@media (min-width: 724px) {
    .modalFields {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #nameFDiv {
        width: 48%;
        min-width: 200px;
    }
    #nameLDiv {
        width: 48%;
        min-width: 200px;
    }
    #phoneNumDiv {
        width: 48%;
        min-width: 200px;
    }
    .btnCADiv {
        justify-content: flex-end;
    }
}

/* --- MOBILE CSS --- */
@media only screen and (max-width: 480px) {
    .videoParentContainer {
        display: flex;
        justify-content: center;
        z-index: 2;
    }
    .main, .windowContainer {
        width: 100%;
        height: 100%;
    }
    .primaryVideoContainer {
        width: 100%;
        height: 100%;
    }

    .primary {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .thumb, .second {
        width: 100%;
        height: 20%;
        min-height: 100px;
        max-height: 150px;
        position: absolute;
        display: flex;
        justify-content: flex-end;
        z-index: 3;
    }

    .secondaryVideoContainer {
        width: 29% !important;
        height: 100% !important;
        margin: 5px;
        background-color: black;
    }

    .secondaryControls {
        width: 29% !important;
        height: 100% !important;
        margin: 5px;
    }

    .containerControls, .controls {
        width: 100%;
    }

    .primaryControls {
        position: unset;
    }

    .menuBar {
        width: 90% !important;
    }

    .theActualIcons {
        font-size: 25px !important;
    }

    .theActualEndIcon {
        font-size: 25px !important;
    }

    .icons {
        width: 50px !important;
        height: 50px !important;
    }

    .icons2 {
        width: 50px !important;
        height: 50px !important;
    }

    .userIcon {
        font-size: 10vw !important;
    }

    .addText {
        font-size: 2vw !important;
    }

    #joinBtnDiv {
        justify-content: center !important;
    }

    .joinBtn {
        width: 80%;
        padding: 25px !important;
    }

    .informedOk {
        width: 80%;
        padding: 25px !important;
    }

    .infoBorder {
        /* Keep the "interface demo only" note visible on phones too */
        font-size: 12px;
        padding: 8px;
    }
}

@media only screen and (max-width: 850px) and (max-height: 480px) and (orientation: landscape) {

    .informedContent, .modal-content:not(.optionsModal, .informedConsent, .inviteModal) {
        margin-top: 45%;
    }

    .inviteModal {
        margin-top: 25%;
    }

    .videoParentContainer, .containerControls {
        display: flex;
        justify-content: flex-end;
    }

    .primary, .controls {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .menuBar {
        padding-right: 30%;
        top: 80%;
    }

    .thumb, .second {
        width: 25%;
        height: 100%;
        display: flex;
        flex-direction: column;
        z-index: 3;
    }

    .secondaryVideoContainer {
        width: 100% !important;
        height: 33% !important;
        background-color: black;
    }

    .secondaryControls {
        width: 100% !important;
        height: 33% !important;
    }
}