* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

body {
    margin: 0px;
    background-color: #000;

}

button {
    height: 35px;
    background-color: #0000;
    border: 3px solid #fff;
    border-radius: 6px;
    padding: 2px 2px 2px;
    margin: 10px auto 10px auto;
}

button:active {
    color: #000;
    background-color: #fff;
    border: 3px solid #fff;
}


fieldset {
    border: none;
}

form {
    text-align: center;
}

h1, h2, h3, h4 {
    text-align: center;
}

h2 {
    padding: 10px;
    font-size: 40px;
}

h3 {
    line-height: 1.3;
    font-size: 16px;
    /* margin: 10px; */
}

h4 {
    color: #fff;
    line-height: 1.3;
    font-size: 16px;
    font-weight: 600;
}

HTML {
    height: 100%;
    width: 100%;
}

header {
    position: relative;
    width: 100%;
    margin: auto;
    text-align: center;
    z-index: 2;
    background-color: #000;
}

input {
    color: #000;
    border-radius: 6px;
}

main {
    display: initial;
    width: 100vw;
    margin: auto;
}

option {
    color: #000;
}

option:after {
    color: #000;
}

.overlay-text p {
    margin: 5px;
}

select {
    background: #fff;
    color: #000;
}    

.about-section {
    margin: 20px 20px 20px;
}

.align-center {
    text-align: center;
}

.back-arrow {
    height: 35px;
    margin: 20px;
}

.back-arrow:active {
    transform: scale(1.2);
}

.button-section {
    text-align: center;
}

.column-reverse {
    display: flex;
    flex-direction: column-reverse;
}

.column-reverse .video-option {
    margin: 0px auto 0px auto;
}

.container {
    width: 100%;
    height: 100%;
    background-color: #000;
    margin: 0 auto;
}

.current-profiles {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.delete .edit {
    display: inline-block;
    height: 30px;
    padding: 10px;
    margin: 5px auto 10px;
}

.done-editing {
    display: block;
    background: #fff;
    color: black;
}

.edit-profile {
    height: 100px;
}

.edit-age-label {
    line-height: 2em;
}

.go-to-homepage-button {
    display: block;
}

.grownups, .history {
    display: none;
    position: relative;
    padding: 0px 0px 20px;
}

.grownups h2, .history h2 {
    margin: 0px 0px 20px;
}

.grownups-back-arrow, .history-back-arrow {
    display: none;
    position: absolute;
    top: -20px;
    left: -5px;
}

.grownups-titles {
    height: 35px;
    background-color: #000;
    border: 3px solid #fff;
    border-radius: 6px;
    padding: 7px;
}

.grownups-options {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.label-input-pair {
    display: block;
    padding: 5px;
}

.logo {
    display: block;
    width: 80px;
    margin: 20px auto 10px auto;
}

.logo:active {
    transform: scale(1.2)
}

.main-vid {
    height: 320px;
    width: 566px;
}

.main-vid-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: static;
    background-color: #000;
}

.main-vid-text-big {
    font-size: 26px;
    padding: 0px 20px 0px 20px;
    margin: 0px;
}

.margin-auto {
    margin: auto;
}

.nav-button {
    padding: 2px 7px 2px;
    margin: 0px auto 10px auto;
}

.nav-button:hover .nav-button:active {
    background-color: rgb(85, 85, 85);
}

.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color:rgb(44, 20, 58); 
    z-index: 3;
    cursor: pointer;
    text-align: center;
}

.overlay-button-top, .overlay-button-bottom {
    font-size: 16px;
    height: 50px;
    padding: 2px 15px 2px;
}

.overlay-button-top {
    margin: 5px 0px 20px;
}

.overlay-button-bottom {
    margin: 20px 0px 20px;
}

.overlay-highlight {
    background-color: #fff;
    padding: 10px;
    margin: 5px;
    border-radius: 6px;
}

.overlay-logo {
    width: 80px;
    margin: 10px;
}

.overlay-logo:hover {
    transform: scale(1.2)
}

.overlay-text {
    padding: 0px 5vw 0px 5vw;
}

.overlay-text-big {
    font-size: 20px;
    padding: 5px;
}

.overlay-text-medium {
    color: #2c133a;
    font-size: 20px;
    padding: 5px;
    margin: 5px;
}

.overlay-text-small {
    font-size: 20px;
    padding: 5px;

}

.purple {
    background-color: rgb(104, 49, 136);
}

.profile, .selected-profile {
    border: 3px solid #fff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px;
    cursor: pointer;
}

.profile {
    width: 123px;
    margin: 10px 0px 0px;
}

.profile-buttons-div {
    margin: 20px 0px;
}

.profile-p {
    margin: 0px;
}

.profiles-section {
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    margin: 20px 20px;
}

.profiles-section, form {
    margin: 20px 0px 0px;
}

.rainbow-logo {
    display: block;
    width: 80px;
    margin: 20px auto 10px auto;
}

.red {
    color: red;
    font-size: 20px;
}

.selected-profile {
    height: 60px;
}

.selected-profile-div {
    position: absolute;
    right: 10px;
}

.selected-show-icon {
    height: 140px;
    border-radius: 50%;
    padding: 10px;
    margin: auto
}

.show-option {
    width: 140px;
}

.show-option-container {
    display: flex;
    padding: 10px 0px 10px;
    margin: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: flex-start;
}

.show-option-container a {
    text-decoration: none;
}

.show-option {
    height: 200px;
    width: 150px;
    background-color: #0000;
    text-align: center;
}

.show-png {
    height: 120px;
    border-radius: 50%;
    padding: 10px;
    margin: auto
}

.show-png:hover {
    transform: scale(1.2);
}

.show-title {
    margin: 5px 0px 5px 0px;
}

.shows-back-arrow {
    display: none;
    position: absolute;
    top: -23px;
    left: -18px;
    padding: 20px;
    margin-top: 0;
}

.shows-section {
    margin-top: 20px;
    position: relative;
}

.static {
    position: static;
}

.vid-back-arrow {
    display: none;
}

.vid-thumbnail {
    width: 260px;
    height: 195px;
}

.vid-thumbnail:hover {
    transform: scale(1.05);
}

.vid-title {
    position: absolute;
    z-index: 1;
    top: 170px;
    width: 100%;
    padding: 5px 0 5px;
    margin: 0px 0px 5px;
}


.video-option {
    position: relative;
    height: 260px;
    margin: 0px 10px 0px 10px;
}

.video-option h3 {
    line-height: 1.3;
    font-size: 16px;
}

.video-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

@media screen and (min-height: 360px) {
    .main-vid {
        height: 360px;
        width: 637px;
    }
}

@media screen and (min-height: 375px) {
    .main-vid {
        height: 375px;
        width: 664px;
    }
}

@media screen and (min-height: 411px) {
    .main-vid {
        height: 411px;
        width: 728px;
    }
}

@media screen and (min-height: 450px) {

    header {
        width: 100vw;
    }

    main {
        display: block;
    }

    .fixed {
        position: fixed;
    }

    .grownups-back-arrow, .history-back-arrow {
        top: -5px;
        left: -14px;
    }

    .main-padding {
        padding: 350px 0px 10px;
    }

    .main-vid {
        width: 320px;
        height: 180px;
    }

    .main-vid-container {
        width: 100%;
        height: 211px;
    }

    .video-option {
        height: 260px;
        margin: 0px auto 0px auto;
    }

    .video-section {
        flex-direction: column;
    }

    .vid-thumbnail {
        height: 230px;
        width: 306px;
        margin: 0px auto 0px auto;
    }

    .vid-title {
        top: 200px;
    }
}

@media screen and (min-height:450px) and (min-width: 375px) {
    
    .main-vid {
        width: 375px;
        height: 211px;
    }

    button {
        padding: 2px 7px 2px;
    }

    .grownups-back-arrow, .history-back-arrow {
        top: -3px;
        left: -5px;
    }

    .shows-back-arrow {
        top: -24px;
        left: -18px;
    }
}

@media screen and (min-height:450px) and (min-width: 830px) {
    button:hover {
        color: #000;
        background-color: #fff;
        border: 3px solid #fff;
    }

    header {
        width: 560px;
    }
    
    main {
        width: 560px;
    }

    .back-arrow:hover {
        transform: scale(1.2);
    }

    .container {
        width: 560px;
    }

    .grownups-back-arrow, .history-back-arrow {
        left: -5px;
    }

    .logo:hover {
        transform: scale(1.2)
    }

    .main-padding {
        padding: 470px 0px 10px;
    }

    .main-vid {
        width: 560px;
        height: 315px;
    }

    .main-vid-container {
        height: 315px;
    }

    .main-vid-text-big {
        font-size: 30px;
        padding: 0px 60px 0px 60px;
    }

    .overlay-button-top, .overlay-button-bottom {
        font-size: 20px;
        height: 50px;
        padding: 2px 15px 2px;
    }
    
    .overlay-button-top {
        margin: 5px 0px 20px;
    }
    
    .overlay-button-bottom {
        margin: 20px 0px 20px;
    }    

    .overlay-logo {
        width: 120px;
        margin: 20px;
    }

    .overlay-text {
        padding: 0px 20vw 0px 20vw;
    }

    .overlay-text-big {
        font-size: 30px;
        padding: 5px;
    }

    .overlay-text-medium {
        font-size: 26px;
    }

    .rainbow-logo {
        display: block;
        width: 200px;
        margin: 10px auto 10px auto;
    }

    .red {
        font-size: 26px;
    }

    .selected-show-icon {
        height: 160px;
    }

    .show-option {
        width: 150px;
    }

    .show-option h3 {
        line-height: 1.3;
        font-size: 16px;
    }

    .video-option {
        height: 230px;
        width: 250px;
        margin: 0px;
    }

    .video-section {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .vid-thumbnail {
        width: 250px;
        height: 187px;
    }

    .vid-title {
        top: 165px;
        width: 250px;
    }
}