﻿
@font-face {
    font-family: alba;
    src: url("../fonts/albas.TTF");
}
@font-face {
    font-family: fontUno;
    src: url("../fonts/Actor.ttf");
}
body {
    width:100%;
    height:100%;
    margin:0;
    font-family: fontUno;
}

.layout-fill {
    margin: 0;
    width: 100%;
    min-height: 96% !important;
    height: 96% !important;
}


.sombras{
    background: #607d8b2b;width: 100%;height: 100vh;top: 0;position: absolute;display: none;
}


#selectHijos{
    display: none;
}
#selectHijosE{
    display: none;
}
#loader{
    display: none;
    position: fixed;
    width: 100%;
    height: 30%;
    background-color: rgb(255, 255, 255);
    text-align: center;
    z-index: 999;
    top: 30%;
}

.my-cursor {
    cursor: url("../img/alumno/cursor.png");
}

.container {
    height: 100%;
    /*background:url("../img/bg2.jpg")center center;*/
    background:url("../img/portadaN-2.png")center center;
    background-size:100% 100%;
    background-repeat: no-repeat;
}
.container2 {
    height: calc(100vh);
    background:url("../img/bgnn.jpg");
    background-size:100% 100%;
}
.title {
    font-family: alba;
    width: 100%;
    color: white;
    text-align: center;
    font-size: 1.3em;
    position: fixed;

}
.title2 {
    font-family: alba;
    margin: 0 auto;
    color: white;
    width:100%;
    text-align:center;
    font-size: 1.3em;
    position: absolute;
}
.ma-fondo {
    color:white;
    background: url('../img/bg4.jpg')center center; 
    background-size:cover; 
    height: 100vh; 
}
.ma-fondo2 {
    background-color:white;
}
.ad-fondo {
    color:white;
    background: url('../img/bgweb1.jpg')center center; 
    background-size:cover; 
    height: 100vh; 
}
.al-fondo{
    color:white;
    background: url('../img/alumno/abg4.jpg')center center; 
    background-size:cover; 
    height: 100vh; 
}
@media screen and (max-width: 500px){
    .main {
            width: 100% !important;
            margin: 0 auto !important;
            position: relative !important;
            top: 50% !important;
            padding-left: 0 !important;
            
        }
    .leyenda{
        display: none;
    }


}
@media screen and (max-height: 550px){

    .main {
       width: 100% !important;
        margin: 0 auto !important;
        position: relative !important;
        top: 50% !important;
        padding-left: 0 !important;
        
    };
     .leyenda{
        display: none;
    }
}

.splash {
  display: none;
}

[ng-cloak].splash {
  background-color: #428bca;
  width: 100%;
  text-align: center;
  color: white;
  display: block !important;
}


  .selectdemoSelectHeader .demo-header-searchbox {
    border: none;
    outline: none;
    height: 100%;
    width: 100%;
    padding: 0; }
  .selectdemoSelectHeader .demo-select-header {
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(0, 0, 0, 0.14), 0 0 0 0 rgba(0, 0, 0, 0.12);
    padding-left: 10.667px;
    height: 48px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    width: auto; }
  .selectdemoSelectHeader md-content._md {
    max-height: 240px; }


.clasificacion label{
     color: grey;
}
.clasificacion {
  direction: rtl;
  unicode-bidi: bidi-override;
  font-size: 25px !important;
}
.clasificacion input[type="radio"]{
    display: none;
}

.clasificacion label:hover,
label:hover ~ label {
  color: orange;
  cursor: pointer;
}

/*
md-toolbar.md-default-theme:not(.md-menu-toolbar), md-toolbar:not(.md-menu-toolbar) {
    background-color: #104057 !important;
    color: rgba(255,255,255,0.87) !important;
}

*/

.md-card-image{
    height:  50% !important;
}
.white{
    background-color: white;
}

.newToolbarH{
    min-height: 45px;
    bottom: 0;
    z-index: 999999;
    height: 0%;
    top: 0;
    background:rgb(10, 29, 37) !important;
}

.newToolbar{
    min-height: 45px;
    bottom: 0;
    z-index: 999999;
    height: 0%;
    top: 0;
    background: #104057 !important;
}

::-webkit-scrollbar {
      width: 10px;
}
::-webkit-scrollbar-track {
      background-color: #dfdfe0;
} 

::-webkit-scrollbar-thumb {
      background-color: rgb(169, 166, 179);
      border-radius: 5px;
} 

::-webkit-scrollbar-button {
      background-color: #e1e1e2;
}

.custom-cursor {
 /* cursor: url("../img/alumno/cursor2__.png"),
    pointer;
    */
}

.md-button {

   /* cursor: url(../img/alumno/cursor2__.png), pointer !important;*/
}



/*botones futuristas*/


/*animaciones*/

.scale-out-center {
  -webkit-animation: scale-out-center 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) 1s both;
  animation: scale-out-center 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) 1s both;
}

.scale-in-center {
  -webkit-animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 2s both;
  animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 2s both;
}

.scale-in-center1s {
  -webkit-animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.rotate-in-ver {
  -webkit-animation: rotate-in-ver 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 2s both;
  animation: rotate-in-ver 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 2s both;
}

.fade-in {
  -webkit-animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}



/**
 * ----------------------------------------
 * animation scale-out-center
 * ----------------------------------------
 */
@-webkit-keyframes scale-out-center {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
}

@keyframes scale-out-center {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
}

/**
 * ----------------------------------------
 * animation fade-in
 * ----------------------------------------
 */
@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


/**
 * ----------------------------------------
 * animation scale-in-center
 * ----------------------------------------
 */
@-webkit-keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}


/**
 * ----------------------------------------
 * animation scale-in-center1s
 * ----------------------------------------
 */
@-webkit-keyframes scale-in-center1s {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scale-in-center1s {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

/**
 * ----------------------------------------
 * animation rotate-in-ver
 * ----------------------------------------
 */
@-webkit-keyframes rotate-in-ver {
  0% {
    -webkit-transform: rotateY(-360deg);
    transform: rotateY(-360deg);
    opacity: 0;
  }

  100% {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    opacity: 1;
  }
}

@keyframes rotate-in-ver {
  0% {
    -webkit-transform: rotateY(-360deg);
    transform: rotateY(-360deg);
    opacity: 0;
  }

  100% {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    opacity: 1;
  }
}

.loader2 {
  width: 58px;
  height: 58px;
  border: 3px dotted #FFF;
  border-style: solid solid dotted dotted;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  box-sizing: border-box;
  
  align-self: center;
}

.loader2::after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px dotted #5c2e6f;
  border-style: solid solid dotted;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  animation: rotationBack 1s linear infinite;
  transform-origin: center center;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}


/*FIn animaciones*/


  .btnspace {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 230px;
  overflow: hidden;
  height: 65px;
  margin: auto;
  background-size: 300% 300%;
  cursor: pointer;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_301 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(#212121, #212121),
    linear-gradient(
      137.48deg,
      #ffdb3b 10%,
      #fe53bb 45%,
      #8f51ea 67%,
      #0044ff 87%
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
}

#container-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
}

strong {
  z-index: 2;
  letter-spacing: 5px;
  color: #ffffff;
  text-shadow: 0 0 4px white;
}

#glow {
  position: absolute;
  display: flex;
  width: 12rem;
}

.circle {
  width: 100%;
  height: 30px;
  filter: blur(2rem);
  animation: pulse_3011 4s infinite;
  z-index: -1;
}

.circle:nth-of-type(1) {
  background: rgba(254, 83, 186, 0.636);
}

.circle:nth-of-type(2) {
  background: rgba(142, 81, 234, 0.704);
}

.btnspace:hover #container-stars {
  z-index: 1;
  background-color: #212121;
}

.btnspace:hover {
  transform: scale(1.1);
}

.btnspace:active {
  border: double 4px #fe53bb;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.btnspace:active .circle {
  background: #fe53bb;
}

#stars {
  position: relative;
  background: transparent;
  width: 200rem;
  height: 200rem;
}

#stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
}

#stars::after {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
}

#stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: animStar 60s linear infinite;
}

#stars::before {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
  opacity: 0.5;
}

@keyframes animStar {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-135rem);
  }
}

@keyframes animStarRotate {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }
}

@keyframes gradient_301 {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse_3011 {
  0% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}



  /* Contenedor principal del robot */
        #robot-container {
            position: fixed;
            width: 120px;
            height: 150px;
            cursor: pointer;
            z-index: 1000;
            transition: transform 0.3s ease-out;
            pointer-events: auto;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Animación de flotación */
        .floating {
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-15px); }
            100% { transform: translateY(0px); }
        }

        /* Burbuja de saludo */
        #speech-bubble {
            position: absolute;
            bottom: 110%;
            background: white;
            border-radius: 18px;
            padding: 12px 18px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            width: 180px;
            font-size: 14px;
            color: #333;
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            pointer-events: none;
            border: 2px solid #e2e8f0;
        }

        #speech-bubble.active {
            opacity: 1;
            transform: scale(1);
        }

        #speech-bubble::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -8px;
            border-width: 8px;
            border-style: solid;
            border-color: white transparent transparent transparent;
        }

        /* Estilo del Robot SVG */
        .robot-body { fill: #e2e8f0; }
        .robot-head { fill: #cbd5e1; }
        .robot-visor { fill: #1e293b; }
        .robot-eye { fill: #00f2ff; filter: drop-shadow(0 0 4px #00f2ff); }
        .robot-antenna { stroke: #94a3b8; stroke-width: 3; }
        .robot-antenna-tip { fill: #fbbf24; filter: drop-shadow(0 0 3px #fbbf24); }
        .robot-detail { fill: #94a3b8; opacity: 0.5; }
        
        .eye-blink {
            animation: blink 4s infinite;
        }

        @keyframes blink {
            0%, 95%, 100% { transform: scaleY(1); }
            97% { transform: scaleY(0.1); }
        }

        /* Indicador de fondo para mostrar que la web funciona */
        .background-content {
            padding: 50px;
            max-width: 800px;
            margin: auto;
            color: #475569;
        }
