@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

html,
body {
    height: 100%;
}

body {
    background-color: #111;
    font-family: 'Lato', sans-serif;
    margin: 0;
}

/* Home Screen */

.home {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.home h1 {
    color: #fff;
    margin: 0;
    line-height: 1;
}

.home input {
    margin: 30px 0px;
    height: 50px;
    width: 200px;
    text-align: center;
    background-color: #222;
    border: none;
    color: #fff;
    outline: none;
    font-size: 30px;
}

.home button {
    padding: 10px 30px;
    border: none;
    outline: none;
    background-color: #444;
    color: #fff;
    font-size: 30px;
}


/* Gender Selection Screen */

.gender-btns {
    height: 100%;
    position: relative;
}

.gender-btn {
    width: 50%;
    height: 50%;
    position: absolute;
    box-shadow: inset 0 0 10px #000000;
    text-decoration: none;
}

.gender-inner-btn {
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

}

.gender-inner-btn::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: transparent;
    z-index: 1;
}

.gender-btn:hover .gender-inner-btn::after {
    background-color: rgba(0, 0, 0, 0.8);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.gender-btn:hover.female-btn h1 {
    background-color: #E685B5;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.gender-btn:hover.male-btn h1 {
    background-color: #6EA8FE;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.gender-btn:hover.couple-btn h1 {
    background: linear-gradient(45deg, #E685B5 50%, #6EA8FE 50%);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.gender-btn:hover.trans-btn h1 {
    background: linear-gradient(180deg, #FE0000 16.66%,
            #FD8C00 16.66%, 33.32%,
            #FFE500 33.32%, 49.98%,
            #119F0B 49.98%, 66.64%,
            #0644B3 66.64%, 83.3%,
            #C22EDC 83.3%);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.gender-btn h1 {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px 24px;
    border-radius: 25px;
    font-size: 5em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    line-height: 1;
    z-index: 2;
}

.female-btn {
    top: 0;
    left: 0;
    background-color: #E685B5;
}

.couple-btn {
    top: 0;
    right: 0;
    background: linear-gradient(45deg, #6EA8FE 50%, #E685B5 50%);
}

.male-btn {
    bottom: 0;
    left: 0;
    background-color: #6EA8FE;
}

.trans-btn {
    bottom: 0;
    right: 0;
    background: linear-gradient(180deg, #FE0000 16.66%,
            #FD8C00 16.66%, 33.32%,
            #FFE500 33.32%, 49.98%,
            #119F0B 49.98%, 66.64%,
            #0644B3 66.64%, 83.3%,
            #C22EDC 83.3%);
}


/* Cam View Screen */

#cam-video {
    width: 100%;
    height: 100%;
}

/* Cam List Screen */

.cam-list {
    height: calc(100% - 250px);
}

.cam-container {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cam-item {
    background-color: #444;
    border: 2px solid #777;
    font-size: 30px;
    text-align: center;
    text-decoration: none;;
}

.cam-item img {
    width: 100%;
    height: auto;
    max-height: 100%;
}

.cam-item h5 {
    font-weight: bold;
    font-size: 1em;
}

.cam-item h5,
.cam-item p {
    color: #fff;
    padding: 0px 16px;
}

.tag-list {
    padding: 16px;
    max-width: 100%;
    overflow-wrap: break-word;
    height: 250px;
}

.tag-list a {
    text-decoration: none;
    color: #fff;
    padding: 4px;
    line-height: 44px;
    min-width: fit-content;
    white-space: nowrap;
}

.tag-list a span {
    background-color: #444;
    padding: 8px;
}

.cam-card {
    border: none;
    background-color: #444;
}

a {
    color: #fff;
}

a:hover{
    color: #fff !important;
}