@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

@font-face {
  font-family: golos;
  src: url('../font/GolosText-VariableFont_wght.ttf');
}
@font-face {
  font-family: showcase;
  src: url('../font/ShowcaseSansMini.otf');
}
/**------Background-white-----------**/
:root{
    
    --bg1: #e8eaec;
    --text-color: #979797;
    --color: #000;
    --tcolor: rgb(119 119 119);

    --boxShadow: 
      7px 7px 15px #45566754,
      -8px -8px 15px rgb(81 101 121 / 4%),
      inset -5px -4px 13px 0px rgb(81 101 121 / 35%),
      inset 6px 7px 12px 0px rgb(255 255 255 / 94%);

    --boxShadow2: 
     inset 4px 4px 8px rgb(189 200 213),
     inset -4px -4px 8px rgb(255 255 255);

    --boxShadow3:
      4px 4px 8px rgb(189 200 213),
     -4px -4px 8px rgb(255 255 255);

    --sbShadow: 
     5px 5px 7px rgb(0 0 0 / 25%),
     inset 2px 2px 5px rgb(255 255 255 / 25%),
     inset -3px -3px 5px rgb(0 0 0 / 12%);

     --scishadow:
      linear-gradient( to bottom,#e8eaec, rgba(189, 200, 213, 0.795));
      --scitextshadow: 
      2px 2px 3px #b8b9be,
      -2px -2px 3px #fff;
    
     
}

/**------Background-Dark-----------**/
body.dark{
 
    --bg1:  #303030;
    --text-color:rgb(255, 208, 0);
    --color:#FFF;
    --tcolor:rgb(243, 243, 243); 

    --boxShadow:
    5px 5px 15px rgba(0,0,0,0.25),
    5px 15px 15px rgba(0,0,0,0.25),
    inset 5px 5px 10px rgba(0,0,0,0.5),
    inset 5px 5px 20px rgba(255,255,255,0.2),
    inset -5px -5px 15px rgba(0,0,0,0.75);

    --boxShadow2:
     inset -3px -3px 6px rgb(73, 78, 83), 
     inset 3px 3px 6px rgb(32, 28, 28);

    --boxShadow3:
      -3px -3px 6px rgb(73, 78, 83), 
       3px 3px 6px rgb(32, 28, 28);
   
    --sbShadow: 
      5px 5px 7px rgb(0 0 0 / 25%),
      inset 2px 2px 5px rgb(255 255 255 / 25%),
      inset -3px -3px 5px rgb(0 0 0 / 50%);


    --scishadow:
      linear-gradient( to bottom,#2f363e, rgb(73, 78, 83));
    
    --scitextshadow: 
      -2px -2px 3px #a1a1a160,
      2px 2px 3px #22272c;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:'Poppins', sans-serif;
}

html,body
{
  height: 100%;
}
body
{

  display: grid;
  place-items: center;
  text-align: center;
  background: var(--bg1);
  /* background-image: url(fondologin.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;  */
}
.content
{
  z-index: 100;
  width: 385px;
  background: var(--bg1);
  box-shadow: var(--boxShadow);
  border-radius: 32px;
  padding: 70px 45px;
  margin-top: 0px;
}
.content .text
{
  font-size: 50px;
  font-weight: 800;
  margin-bottom: 0px;
  color: var(--color);
  font-family: showcase!important;
}
.content .text-1
{
  font-size: 33px;
  font-weight: 600;
  margin-bottom: 35px;
  color: var(--color);
}
.content .text-2
{
  font-size: 25px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #d9ad01;
  font-family: golos!important;

}
.content .field
{
  height: 50px;
  width: 100%;
  display: flex;
  position: relative;
}
.field input
{
  height: 100%;
  width: 100%;
  padding-left: 50px;
  font-size: 18px;
  outline: none !important;
  border: none;
  background: var(--bg1);
  box-shadow: var(--boxShadow2);
  border-radius: 25px;
  color: var(--tcolor);
  transition: 1s;
}
input:focus
{
  
  box-shadow: var(--boxShadow3);
  color: var(--tcolor);
}
::placeholder
{
  color: var(--tcolor);
}
.field:nth-child(2)
{
  margin-top: 20px;
}
.field:nth-child(3)
{
  margin-top: 20px;
}
.field span
{
  position: absolute;
  width: 50px;
  line-height: 50px;
  color: var(--tcolor);
  font-size: 22px;
}
button.btn-login
{
  margin: 25px 0;
  width: 80%;
  height: 45px;
  color: var(--color);
  font-size: 18px;
  font-weight: 600;
  background:var(--bg1);
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: var(--boxShadow3);
  border-radius: 25px;
}
button.btn-login:focus
{
  color: #d9ad01;
  box-shadow: var(--boxShadow2);
}
h4
{
  font-size: 14px;
  color: rgb(119 119 119);
  margin: 0 0 16px 0;
}

.drak-light
{
  left: 50px;
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  top: 50px;
  width: 60px;
  height: 60px;
  box-shadow: var(--boxShadow3);
  border-radius: 50%;
}
.drak-light i
{
  position: absolute;
  color: var(--tcolor);
  font-size: 25px;
  cursor: pointer;
  transition: all 0.3s ease
}
.drak-light i.sun
{
  opacity: 0;
  pointer-events: none;
}
.drak-light.active i.sun
{
  opacity: 1;
  pointer-events: auto;
}
.drak-light.active i.moon
{
  pointer-events: none;
  opacity: 0;
}
@media (max-width: 500px) {
  .content{
    width: 300px;
    padding: 40px 17px 10px 17px;
  }
  .content .text{
    font-size: 50px;
    line-height: .6;
  }
  .drak-light{
  left: 10px;
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  top: 10px;
  width: 60px;
  height: 60px;
  box-shadow: var(--boxShadow3);
  border-radius: 50%;
  }
  .drak-light i{
  position: absolute;
  color: var(--tcolor);
  font-size: 25px;
  cursor: pointer;
  transition: all 0.3s ease
  }
  .drak-light i.sun{
  opacity: 0;
  pointer-events: none;
  }
  .drak-light.active i.sun{
  opacity: 1;
  pointer-events: auto;
  }
  .drak-light.active i.moon{
  pointer-events: none;
  opacity: 0;
  }

}
.mensaje.cerrar{
  margin: auto;
  width: 80%;
  transition: .5s ease-in-out;
  opacity: 0;
}
.mensaje.error{
  background-color: rgb(255, 225, 225);
  border-radius: 10px;
  color: red;
  width: 80%;
  margin: auto;
  margin-bottom: 5px;
}
.mensaje.correcto{
  background-color: rgb(231 255 222);
  border-radius: 10px;
  color: rgb(19 114 0);
  width: 80%;
  margin: auto;
  margin-bottom: 5px;
  opacity: .5;
}
