:root{
    --blueprimary: #035aa6;
    --redprimary: #dc1e5a;
    --greymain: #efefef;
    --orangeprimary: orange;
    --greenhover: #47a300;
    --borderradious: 6px;
    --grey: grey;
    --blueaccent: #0482f0;
    --redaccent: #ff3575;
    --greyaccent: rgba(214, 214, 214, 0.788);
    --orangeaccent: rgb(230, 152, 9);
    --shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.329);
}

body{
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

section{
    display: flex;
    flex-direction: row nowrap;
    width: 100%;
    height: 95%;
    margin-top: 0%;
}

.login-container{
    display: flex;
    width: 50%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto auto;
    box-sizing: border-box;
}

.login-container_item{
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.login-container_item:nth-of-type(1){
    gap: 8px;
    margin-bottom: 1.4rem;
}

.login-container_new{
    padding-top: 1rem;
}

.login-container img{
    width: 45%;
    margin-bottom: 2rem;
}

.formfield{
    width: 60%;
    padding: 2%;
    text-align: center;
    font-size: 1.1rem;
    border-radius: 40px;
    border: solid 0.4px var(--grey);
    box-sizing: border-box;
}

.password_container{
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    position: relative;
}

.password_container input{
    padding-right: 5%;
    padding-left: 5%;
}

#toggle{
    position: absolute;
    right: 22%;
    top: 25%;
    height: fit-content;
    display: inline-flex;
    align-items: center; 
    cursor: pointer;

}

#toggle img{
    width: 1.2rem;
    align-self: center;
}

#toggle:hover{
    transform: scale(1.04);
    transition: 0.2s;
}

#toggle:hover img{
    background-color: var(--greymain);
    border: solid 1px var(--grey);
    border-radius: 50%;
    transition: 0.2s;
    padding: 2px;
}

#toggle:active{
    transform: scale(0.9);
    transform: 0.2s;
}

#toggle:active img{
    background-color: var(--greymain);
    border: solid 1px var(--grey);
    border-radius: 50%;
    transition: 0.2s;
    padding: 2px;
}

.submitbtn{
    background-color: var(--redprimary);
    width: 60%;
    color: white;
    border: none;
    padding: 2% 1%;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
}

.submitbtn:hover{
    background-color: #ff3575;
    color: white;
    transition: 0.3s;
}

.submitbtn:active, .submitbtn2:active{
    transform: scale(0.95);
    transform: 0.2s;
}

.submitbtn2{
    background-color: var(--blueprimary);
    width: 60%;
    color: white;
    border: none;
    padding: 2% 1%;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
}

.submitbtn2:hover{
    background-color: #0482f0;
    color: white;
    transition: 0.3s;
}

/*LOGIN DECTORATION*/

.login-decoration{
    width: 50%;
    height: 103%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    box-sizing: border-box;
    margin-right: 0;
    margin-top: 0;
    overflow: hidden;
    z-index: -100;
}

/*FORGOTTEN PASSWORD*/

.newpassword{
    text-decoration: none;
    color: var(--blueprimary);
}
 
.newpassword:hover{
    color: #0482f0;
    transition: 0.3s;
}

.newpassword:active{
    transform: scale(0.95);
    transform: 0.2s;
}

/*CAROUSEL*/

.carousel {
  position: relative;
  width: 100%;
  height: 110%;
  overflow: hidden;
}
.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

.active {
    left: 0;
    transition: all 0.5s ease-in;
}

.carousel-item div {
    height: 100%;
}
.carousel-item .item-one {
    background-image: url(../../img/mujer_joven_estudiando.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: bottom;
    background-position-x: center;
}

@media screen and (max-width: 767px)
{
     .login-container{
          width: 100%;
     }
     .login-decoration{
          display: none;
     }
     
}


/*MESSAGE BOX*/

#messagebox{
    position: fixed;
    top: 1%;
    right: 2%;
    z-index: 2000;
    display: flex;
    flex-flow: column;
    max-width: 50%;
}
  
#messagebox .loginmessage{
    padding: 15px 30px;
    margin: 3px;
    background-color: var(--greymain);
    color: var(--blueprimary);
    border-radius: 4px;
    border: solid 1px var(--blueprimary);
    box-shadow: 0px 0px 1px rgba(3, 7, 18, 0.02),  0px 0px 4px rgba(3, 7, 18, 0.04),  0px 0px 9px rgba(3, 7, 18, 0.06), 0px 0px 15px rgba(3, 7, 18, 0.08),  0px 0px 24px rgba(3, 7, 18, 0.10);
}

  