﻿html {
    font-size: 14px;
    background-color: #eaeaea;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .regis-form {
        width: 60%;
    }
}

.flash_message {
    text-align: center;
    position: absolute;
    border-radius: 1rem;
    height: auto;
    padding: .5em;
    font-size: 20px;
    font-weight: bold;
    top: 40px;
    left: 25%;
    right: 25%;
    z-index: 1000;
    display: block;
    animation: slide-up 1.25s forwards;
    /*animation-delay: 10s;*/
    -webkit-animation-delay: 2.5s;
}

.success-message {
    color: #fff;
    background: green;
}

.error-message {
    color: #fff;
    background: #ff3838;
}

@-webkit-keyframes slide-up {
    from {
        transform: translateY(0);
        opacity: 1
    }

    to {
        transform: translateY(-150px);
        opacity: 0;
        top: 0px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
    display: grid;
    place-items: center;
}

h3 {
    font-weight: 600;
    font-size: 2.5rem;
    height: 3rem;
    margin-bottom: 2rem;
}

.login-side {
    background-color: #ffffff;
    justify-content: center;
    display: grid;
    place-content: center;
}

.login-form {
    padding: 5rem 2rem;
    margin: 0 3rem;
    border-radius: 1rem;
}

body {
    margin-bottom: 60px;
    background-color: #eaeaea;
}

img {
    max-width: 100%;
    display: block;
}

.logo-bg {
    background-image: linear-gradient(to bottom right, #F58220, #FEBC18);
    padding: 12rem 0;
}

.form-group {
    margin-bottom: 1rem;
}

.regis-form {
    width: 1000px;
}

.register {
    width: 100%;
    margin: 0 3rem;
    font-size: 0.8rem;
    color: #313131;
    justify-content: center;
    text-align: center;
}

    .register a {
        font-weight: bold;
    }

@media only screen and (max-width: 768px) {
    .regis-form {
        margin: 1rem auto;
        width: 90%;
    }

    .form-control {
        font-size: .5rem;
    }

    img {
        display: none;
    }

    .flash-message {
        left: 10%;
        right: 10%;
    }
}

.btn-submit {
    background-image: linear-gradient(to bottom right, #F58220, #FEBC18);
    background-color: #F58220;
    width: 100%;
    font-size: 1.2rem;
    color: white;
    margin-top: 10px;
    transition: background-image ease-out 0.3s, transform 0.2s, background-color 0.3s;
}

    .btn-submit:hover {
        background-color: #FEBC18;
        background-image: none;
        color: white;
    }

    .btn-submit:active {
        background-color: #e57210;
        transform: scale(0.95);
    }

.control-label {
    margin-bottom: 0.3rem;
}

.form-control {
    font-size: 1.2rem;
    width: 300px;
}

.toggle-password {
    float: right;
    font-size: 1.75rem;
    margin-top: -2.2rem;
    color: gray;
    margin-right: 0.5rem;
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }

    .main {
        width: 90%;
        padding: 20px;
    }

    .toggle-password {
        margin-top: -3rem;
        font-size: 1.5rem;
    }

    .logo {
        display: none;
    }
}