#videoElement {
    width: 10%;
    height: 15%;
    background-color: #666;
    position: absolute;
    top: 0;
    right: 0;
}

#illegalAttempts {
    font-size: 30px;
    color: red;
    font-weight: bold;
    position: absolute;
    top: 175px;
    right: 20px;
}


#timeLeft {
    font-size: 30px;
    color: red;
    font-weight: bold;
    position: absolute;
    top: 225px;
    right: 20px;
}


@media (orientation: portrait) {
    #videoElement {
        width: 20%;
        height: 10%;
        background-color: #666;
        position: absolute;
        top: 0;
        right: 0;
    }

    *,
    *:before,
    *:after {
        box-sizing: border-box;
    }

    html,
    body,
    div,
    iframe {
        margin: 0;
        padding: 0;
    }

    html,
    body {
        height: 100vh;
    }

    iframe {
        display: block;
        width: 100vw;
    }
}









.switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 34px;
}

    .switch input {
        display: none;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0183b1;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #0183b1;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(55px);
}

/*------ ADDED CSS ---------*/
.slider:after {
    content: 'SQL';
    color: white;
    display: block;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 60%;
    font-size: 10px;
    font-family: Verdana, sans-serif;
}

input:checked + .slider:after {
    content: 'Aptitude';
    left: 35%;
}

/*--------- END --------*/

.wrapper1 {
    text-align: center;
    width: 100%;
    vertical-align: middle;
    padding-top: 250px;
}

.button {
    border: none;
    height: 40px;
    border-radius: 2px;
    font-size: 17px;
    background-color: #0183b1;
    color: white;
    font-weight: bold;
    margin-top:35px;
}

.labelText {
    font-size: 30px;
    color: red;
    font-weight: bold;
    
}


body {
    margin: 0 auto;
    padding: 0px;
    width: 100%;
    font-family: "Myriad Pro","Helvetica Neue",Helvetica,Arial,Sans-Serif;
    background-color: #ECF0F1;
}

#wrapper {
    margin: 0 auto;
    padding: 0px;
    text-align: center;
    width: 995px;
    padding-top: 13%;
}

    #wrapper h1 {
        margin-top: 50px;
        font-size: 45px;
        color: #424949;
    }

        #wrapper h1 p {
            font-size: 18px;
        }

.form_div {
    width: 330px;
    margin-left: 320px;
    padding: 10px;
    border: solid 1px lightgray;
}

    .form_div .form_label {
        margin: 15px;
        margin-bottom: 30px;
        font-size: 25px;
        font-weight: bold;
        color: white;
        text-decoration: underline;
    }

    .form_div input[type="text"], input[type="password"] {
        width: 230px;
        height: 40px;
        border-radius: 2px;
        font-size: 17px;
        padding-left: 5px;
        border: solid 1px lightgray;
    }

    .form_div input[type="submit"] {
        width: 230px;
        height: 40px;
        border: none;
        border-radius: 2px;
        font-size: 17px;
        background-color: #0183b1;
        color: white;
        font-weight: bold;
    }

@media only screen and (min-width:700px) and (max-width:995px) {
    #wrapper {
        width: 100%;
        padding-top: 15%;
    }

        #wrapper h1 {
            font-size: 30px;
        }

    .form_div {
        width: 80%;
        margin-left: 15%;
        padding-left: 0px;
        padding-right: 0px;
    }

        .form_div input[type="text"], input[type="password"] {
            width: 80%;
        }

        .form_div textarea {
            width: 80%;
        }

        .form_div input[type="submit"] {
            width: 80%;
        }
}

@media only screen and (min-width:400px) and (max-width:699px) {
    #wrapper {
        width: 100%;
        padding-top: 200px;
    }

        #wrapper h1 {
            font-size: 30px;
        }

    .form_div {
        width: 60%;
        margin-left: 20%;
    }

        .form_div input[type="text"], input[type="password"] {
            width: 80%;
        }

        .form_div input[type="submit"] {
            width: 80%;
        }
}

@media only screen and (min-width:100px) and (max-width:399px) {
    #wrapper {
        width: 100%;
    }

        #wrapper h1 {
            font-size: 25px;
        }

    .form_div {
        width: 90%;
        margin-left: 5%;
        padding-left: 0px;
        padding-right: 0px;
    }

        .form_div input[type="text"], input[type="password"] {
            width: 80%;
        }

        .form_div input[type="submit"] {
            width: 80%;
        }
}



/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 70%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.modal-header {
    padding: 2px 8px;
    background-color: lightblue;
    color: black;
}

.modal-body {
    padding: 50px 16px;
    font-size: large;
}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}