﻿
/*Serena code below*/
/* #region Poppins font import */
@font-face {
    font-family: 'poppins-black';
    src: url('fonts/poppins-black.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-bolditalic';
    src: url('fonts/poppins-bolditalic.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-bold';
    src: url('fonts/poppins-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-bolditalic';
    src: url('fonts/poppins-bolditalic.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-extrabolditalic';
    src: url('fonts/poppins-extrabolditalic.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-extralight';
    src: url('fonts/poppins-extralight.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-extralightitalic';
    src: url('fonts/poppins-extralightitalic.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-italic';
    src: url('fonts/poppins-italic.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-light';
    src: url('fonts/poppins-light.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-lightitalic';
    src: url('fonts/poppins-lightitalic.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-medium';
    src: url('fonts/poppins-medium.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-mediumitalic';
    src: url('fonts/poppins-mediumitalic.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-regular';
    src: url('fonts/poppins-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-semibold';
    src: url('fonts/poppins-semibold.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-semibolditalic';
    src: url('fonts/poppins-semibolditalic.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-thin';
    src: url('fonts/poppins-thin.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-thinitalic';
    src: url('fonts/poppins-thinitalic.ttf') format('truetype');
}

/* #endregion */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins-regular', sans-serif;
}

/* #region Layout Design */
.body-container {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100vh;
    width: 100%;
    align-items: center;
    justify-content: center;
    background-color: darkgreen;
}

    .body-container main {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .body-container footer {
        display: flex;
        position: relative;
        width: 100%;
        background-color: rgba(0,23,0,0.8);
        /*background-color: #001700;*/
        height: 40px;
    }

.copyright {
    flex: 1;
    color: #ffffff;
    font-size: 12px;
    font-family: 'Poppins-Light';
    text-align: center;
    margin: auto 0px;
}

/*setting up background*/
.transparent-background {
    opacity: 0.7;
    position: absolute;
    /*left: 0;
    top: 0px;*/
    width: 100%;
    height: 100%;
    background: url("/Content/Images/BGgreenearth.jpg") no-repeat;
    background-size: cover;
    background-position: center;
}

/*#endregion*/

/* #region Header design */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    font-family: 'poppins-black', sans-serif;
    display: flex; /*Specifies the type of rendering box*/
    justify-content: space-between; /*aligh the contains to use all of the available space (horizontally)*/
    align-items: center; /*specifi the default alignment in side a container*/
    z-index: 10; /*specify the stack order*/
}

.logo {
    height: 45px;
    font-size: 36px;
    color: #ffffff;
    user-select: none; /*specify if this element can be selected*/
    font-family: 'poppins-black';
}

img {
    height: 45px;
}

.navigation a {
    position: relative;
    font-size: 24px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Poppins-Medium';
    /*font-weight: 900;*/ /*how thick the charactsers are*/
    margin-left: 30px; /*set left margin, also gap*/
}

    .navigation a::after {
        content: ''; /*insert href */
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 100%;
        height: 1px;
        background-color: #ffffff;
        border-radius: 4px;
        transform-origin: right;
        transform: scaleX(0);
        transition: .5s;
    }

    .navigation a:hover::after {
        transform-origin: left;
        transform: scaleX(1);
    }

.navigation .btnLogin-popup {
    width: 130px;
    height: 50px;
    background-color: transparent;
    border: 2px solid #ffffff;
    outline: none;
    border-radius: 4px; /*defines the radios of the corner*/

    cursor: pointer;
    font-size: 24px;
    color: #ffffff;
    font-family: 'Poppins-Medium';
    margin-left: 30px;
    transition: .5s;
}

    .navigation .btnLogin-popup:hover {
        background-color: #ffffff; /*defind background color*/
        color: #162938; /*define text colour*/
    }
/*#endregion*/

/* #region content Design */
.center-section {
    width: 1280px;
    height: 640px;
    background-color: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    backdrop-filter: blur(60px);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    display: flex;
    transform: scale(0);
    /*ajudt transition origion in the center*/
    /* transform: rotateZ(45deg);*/ /*use rotate to test the pivit point*/
    transform-origin: center;
    transition: transform 0.5s ease, height 0.2s ease;
    z-index: 20;
}
    /*
@media screen and (max-width: 900px) {
    .center-section {
        width: 100%;
        margin: 0px 40px;
    }
}
*/


    .center-section.active-block {
        transform: scale(1);
    }

    .center-section.active {
        height: 760px;
    }

.icon-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background: rgba(0,23,0,0.8);
    font-size: 2em;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 4px;
    cursor: pointer;
    z-index: 21;
}
/*#endregion*/

/* #region Left block design */
.Leftblock-background {
    width: 640px;
    height: 100%;
    opacity: 0.1;
    position: absolute;
    height: 100%;
    background: url("/Content/Images/BGcrm.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.left-section {
    /*position: absolute;*/
    /*width: 640px;*/
    /*height: 720px;*/
    /*left: 0px;*/
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.leftHead {
    font-family: poppins-medium;
    color: #ffffff;
    position: relative;
    margin-left: 30px;
    padding-top: 300px;
    border: hidden;
}

.leftLight {
    font-family: poppins-light;
    color: #ffffff;
    position: relative;
    margin-left: 30px;
    border: hidden;
}
/*#endregion*/

/* #region Right block design */
.wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
    align-items: center;
    flex: 1;
    height: 100%;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    background-color: rgba(241,241,241);
    display: flex;
    overflow: hidden;
    transition: transform 0.5s ease, height 0.2s ease;
}

    .wrapper.active {
        height: 720px;
        background-color: red;
    }

.form-box {
    width: 100%;
    padding: 100px;
}

    .form-box.login {
        flex: 1 0 auto;
        transition: transform 0.18s ease;
    }

    .form-box.register {
        flex: 1 0 auto;
        transition: transform 0.18s ease;
    }

.move-left-400px {
    transform: translateX(-640px);
}



.form-box h2 {
    font-family: 'poppins-bold', sans-serif;
    font-size: 3em;
    color: rgba(0,23,0,0.8);
    text-align: center
}

.form-box h1 {
    font-family: 'poppins-bold', sans-serif;
    font-size: 1em;
    color: rgba(0,23,0,0.8);
    margin-top: 32px;
}

.input-box {
    position: relative;
    width: 100%;
    height: 80px;
    border-bottom: 2px solid rgba(0,23,0,0.8); /*width, style, colour*/
    margin: 30px 0; /*top value, left and right value*/
}

    .input-box label {
        position: absolute;
        top: 50%;
        left: 5px;
        transform: translateY(-50%);
        font-size: 1em;
        color: rgba(0,23,0,0.8);
        font-weight: 400;
        pointer-events: none;
        transition: 0.5s;
    }

    .input-box input {
        width: 100%;
        height: 100%;
        background-color: transparent;
        border: none;
        outline: none;
        font-size: 1em;
        color: rgba(0,23,0,0.8);
        font-weight: 600;
        padding: 0, 35px 0 5px; /*space aroung element, top, right, bottom, left*/
    }

        .input-box input:focus ~ label {
            top: -5px;
            font-weight: 600;
        }

        .input-box input:valid ~ label {
            top: -5px;
            font-weight: 600;
        }

        .input-box input:invalid ~ label {
            font-weight: 400
        }

    .input-box .icon {
        position: absolute;
        right: 8px;
        font-size: 1.2em;
        color: rgba(0,23,0,0.8);
        line-height: 100px;
    }

.form-box.register .input-box {
    position: relative;
    width: 100%;
    height: 60px;
    border-bottom: 2px solid rgba(0,23,0,0.8); /*width, style, colour*/
    margin: 20px 0; /*top value, left and right value*/
}

    .form-box.register .input-box .icon {
        position: absolute;
        right: 8px;
        font-size: 1.2em;
        color: rgba(0,23,0,0.8);
        line-height: 80px;
    }

.catchup-input {
    margin-top: -20px;
    position: relative;
    height: 120px;
}

    .catchup-input h1 {
        display: inline-block
    }

    .catchup-input input {
        background-color: #ffff;
        font-size: 1em;
        color: rgba(0,23,0,0.8);
        font-weight: 400;
    }

    .catchup-input .block {
        margin-top: 10px;
        width: 200px;
        height: 80px;
        border: 1px solid rgba(0,23,0,0.8);
    }

    .catchup-input .icon {
        float: right;
        text-align: center;
        font-size: 1.5em;
        float: right;
        margin-top: -30px;
        width: 30px;
        height: 30px;
        color: #ffff;
        background-color: rgba(0,23,0,0.8);
        border-radius: 50%;
    }

.form-box.register .btn {
    width: 100%;
    height: 45px;
    background: rgba(0,23,0,0.8);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    color: #ffffff;
    font-weight: 500;
}

.form-box.register .login-register {
    font-size: 0.9em;
    color: rgba(0,23,0,0.8);
    text-align: center;
    font-weight: 500;
    margin: 0 0 10px;
}

.remember-forgot {
    font-size: 0.9em;
    color: rgba(0,23,0,0.8);
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}

    .remember-forgot label input {
        accent-color: rgba(0,23,0,0.8); /*checkbox colour when selected*/
        margin-right: 3px;
    }

    .remember-forgot a {
        color: rgba(0,23,0,0.8);
        text-decoration: none;
    }

        .remember-forgot a:hover {
            text-decoration: underline;
        }

.btn {
    width: 100%;
    margin: 20px 0;
    height: 45px;
    background: rgba(0,23,0,0.8);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    color: #ffffff;
    font-weight: 500;
}

    .btn:hover {
        background-color: #ffffff; /*defind background color*/
        color: #162938; /*define text colour*/
        border: 2px solid rgba(255,255,255,0.5);
        border-radius: 4px;
    }

.login-register {
    font-size: 0.9em;
    color: rgba(0,23,0,0.8);
    text-align: center;
    font-weight: 500;
    margin: 25px 0 10px;
}

    .login-register p a {
        color: rgba(0,23,0,0.8);
        text-decoration: none;
        font-weight: 600;
    }

        .login-register p a:hover {
            text-decoration: underline;
        }

.instruction {
    position: relative;
    margin-left: 260px;
    top: -20px;
    color: red;
    font-size: 0.8em;
}
.instructionLogin {
    position: relative;
    margin-left: 10px;
    color: red;
    font-size: 0.8em;
}
/*#endregion*/













