.modal {
    position: fixed;
    top: 10%;
    left: 10%;
    z-index: 4;
    display: none;
    width: 80%;
    /* height: 80%; */
    overflow: auto;
    outline: 0;
    max-height: 70%;
}

@media(min-width: 1080px) {
    .modal {
        left: 30%;
        width: 40%;
    }
}

form {
    margin-block-end: 0;
}

/* .modal form{
    width: 90%;
} */

.modal input[type=text],
.modal input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    /* box-sizing: border-box; */
}

.modal button {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 17px;
    padding: 1em 0em;
    font-weight: 500;
    background: #1f2937;
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    border-radius: 0.6em;
    cursor: pointer;
    width: 96%;
    margin: 2%;
}

.modal .cancelbtn {
    background-color: gray;
}

.modal .submit:hover {
    background-color: #45a049;
}

.modal .cancelbtn:hover {
    background-color: red;
}

.modal button {
    /* background-color: #04AA6D; */
    /* color: white; */
    /* padding: 14px 20px; */
    /* margin: 8px 0; */
    /* border: none; */
    /* cursor: pointer; */
    /* width: 100%; */
}
  
.gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 0.6em;
    margin-top: -0.25em;
    background-image: linear-gradient(
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.3)
    );
}

.label {
    position: relative;
    top: -1px;
}

.group {
    position: relative;
}

.group .input {
    font-size: 16px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 200px;
    border: none;
    border-bottom: 1px solid #515151;
    background: transparent;
}

.group .input:focus {
    outline: none;
}

.group label {
    color: #999;
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.group .input:focus ~ label, .input:valid ~ label {
    top: -20px;
    font-size: 14px;
    color: #5264AE;
}

.group .bar {
    position: relative;
    display: block;
    width: 200px;
}

.group .bar:before, .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #5264AE;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.group .bar:before {
    left: 50%;
}

.group .bar:after {
    right: 50%;
}

.group .highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

.group .input:focus ~ .highlight {
    animation: inputHighlighter 0.3s ease;
}

@keyframes inputHighlighter {
    from {
     background: #5264AE;
    }
   
    to {
     width: 0;
     background: transparent;
    }
}

.transition {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
    transition-duration: 500ms;
    background-color: rgba(16, 185, 129, 0.6);
    border-radius: 9999px;
    width: 0;
    height: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.modal button:hover .transition {
    width: 14em;
    height: 14em;
}

.modal button:active {
    transform: scale(0.97);
}

.modal button:hover {
    opacity: 0.8;
}

.modal .imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
}

.modal .imgcontainer label{
    font-weight: bold;
    font-size: 2rem;
}

.modal img.avatar {
    width: 40%;
    border-radius: 50%;
}

.modal .modal_inner {
    /* padding: 16px; */
    width: 80%;
    margin-left: 10%;
}

.modal .footer_bar {
    padding-top: 16px;
}

.modal .close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

.modal .close:hover,
.modal .close:focus {
    color: red;
    cursor: pointer;
}

.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.modal .content {
    background-color: #fefefe;
    margin: 5px auto;
    border: 1px solid #888;
    width: 100%;
}

@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }

    .cancelbtn {
        /* width: 100%; */
    }
}

.modal_inner .error{
    color: red;
    display: none;
}

.modal_inner .error_box{
    color: red;
    border: 3px solid red;
    display: none;
}

.modal .twitch-button
{
    background-color: #6441A4;
}

.modal .cancel {
    position:fixed;
    bottom:0;
}