﻿@import url('https://fonts.googleapis.com/css?family=Raleway:400,700');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Raleway, sans-serif;
}

body {
    background: linear-gradient(90deg, #fff, #fff)
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.screen {
    background: linear-gradient(90deg, #0397e2, #44b4ed);
    position: relative;
    height: 600px;
    width: 25%;
    /* box-shadow: 0px -15px 51px 0px #007bba; */
    margin: auto;
    border-radius: 15px;
}

.screen__content {
    z-index: 1;
    position: relative;
    height: 100%;
}

.screen__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
    overflow: hidden;
    border: solid 1px #42b3ed;
    border-radius: 15px;
}

.screen__background__shape {
    transform: rotate(45deg);
    position: absolute;
}

.screen__background__shape1 {
    height: 520px;
    width: 520px;
    background: #FFF;
    top: -90px;
    right: 120px;
    border-radius: 0 72px 72px 0;
}

.screen__background__shape2 {
    height: 220px;
    width: 220px;
    background: #0055a8;
    top: -172px;
    right: 0;
    border-radius: 32px;
}

.screen__background__shape3 {
    height: 540px;
    width: 190px;
    background: linear-gradient(270deg, #0052a2, #0055a9);
    top: -24px;
    right: 0;
    border-radius: 32px;
}

.screen__background__shape4 {
    height: 400px;
    width: 200px;
    background: #00478e;
    top: 420px;
    right: 50px;
    border-radius: 60px;
}

.SchoolLogoContainer {
    width: 30%;
    position: absolute;
    top: 7%;
    right: 37%;
}

.SchoolLogoImg {
    width: 100%;
}

.DigitalSchoolLogoImage {
    width: 75%;
    margin: 0 auto auto auto;
}

.DigitalSchoolLogoImageContainer {
    width: 40%;
    position: absolute;
    background: linear-gradient(90deg, #ffffff, #ffffff);
    right: 31%;
    padding: 5px;
    bottom: -11%;
    /*height: 25%;*/
    aspect-ratio: 1 / 1;
    display: flex;
}

.SchoolNameContainer {
    text-align: center;
    text-indent: 15px;
    width: 90%;
}

    .SchoolNameContainer .SchoolName {
        color: #0054a7;
        font-size: 18px;
    }



.DigitalSchoolNameContainer {
    position: absolute;
    bottom: 14%;
    width: 100%;
    text-align: center;
}

    .DigitalSchoolNameContainer .DigitalSchoolName {
        color: #fff;
        text-align: center;
    }








.btn {
    color: #00478e !important;
}

    .btn:hover {
        color: #00478e !important;
    }

.login {
    width: 100%;
    padding: 25px 15px;
    margin-top: 25%;
}

.password-toggle {
    position: absolute;
    right: 40px;
    top: 35px;
    cursor: pointer;
    color: #00478e;
}

.login__field {
    padding: 20px 0px;
    position: relative;
}

.login__icon {
    position: absolute;
    top: 41%;
    color: #00478e;
    margin-left: 5px;
}

.login__input {
    border: none;
    border-bottom: 2px solid #00478e;
    background: #e8f0fe;
    padding: 10px;
    padding-left: 24px;
    border-radius: 20px;
    width: 100%;
    transition: .2s;
}

    .login__input:active,
    .login__input:focus,
    .login__input:hover {
        outline: none;
        border-bottom-color: #00478e;
    }

.login__submit {
    background: #fff;
    font-size: 14px;
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 26px;
    border: 1px solid #00478e;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    align-items: center;
    width: 100%;
    color: #00478e;
    box-shadow: 0px 2px 2px #00478e;
    cursor: pointer;
    transition: .2s;
}

/*.login__submit:active,
    .login__submit:focus,
    .login__submit:hover {
        border-color: #18a0e5;
        box-shadow: 0px 0px 24px #007bba;
    }

        .login__submit:hover .button__icon {
    animation: moveArrow 0.6s ease-in-out infinite;
}
    */

.button__text {
    margin-inline: auto;
    font-size: 18px;
}

.button__icon {
    font-size: 24px;
    color: #00478e;
}

@keyframes moveArrow {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(8px);
    }

    100% {
        transform: translateX(0);
    }
}

.login__submit:hover {
    background: linear-gradient(90deg, #00478e, #18a0e5);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0px 0px 24px #007bba;
    border: solid 2px #fff;
}

    .login__submit:hover .button__icon {
        color: #fff;
        animation: moveArrow 0.6s ease-in-out infinite;
    }


.social-login {
    position: absolute;
    height: 140px;
    width: 160px;
    text-align: center;
    bottom: 0px;
    right: 0px;
    color: #fff;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-login__icon {
    padding: 20px 10px;
    color: #fff;
    text-decoration: none;
    text-shadow: 0px 0px 8px #00478e;
}

    .social-login__icon:hover {
        transform: scale(1.5);
    }


@media (max-width: 1345px) {
    .screen {
        width: 30%;
    }
}



@media (max-width: 1120px) {
    .screen {
        width: 40%;
    }
}

@media (max-width: 830px) {
    .screen {
        width: 50%;
    }
}


@media (max-width: 670px) {
    .screen {
        width: 60%;
    }
}

@media (max-width: 550px) {
    .screen {
        width: 70%;
    }
}

@media (max-width: 475px) {
    .screen {
        width: 90%;
    }
    .DigitalSchoolLogoImageContainer {
        bottom: -15%;
    }
}

@media (max-width: 370px) {
    .login {
        padding: 15px;
        margin-top: 40%;
    }

    .DigitalSchoolLogoImageContainer {
        bottom: -12%;
    }
    .DigitalSchoolNameContainer {
        bottom: 11%;
    }

    .screen__background__shape1 {
        right: 70px;
    }

    .screen__background__shape2 {
        right: -50px;
    }

    .screen__background__shape3 {
        right: -50px;
    }

    .screen__background__shape4 {
        right: 0;
    }
}
