body{
    margin: 0;
    margin-top: 0;
}

html, body{
	width: 100vw;
	height: 100vh;
	overflow: auto;
}


.untitled {
    position: fixed;
    height: 100%;
    width: 100%;
    animation: rotateHue infinite 20s linear;
    animation-delay: 0.625s;
}
@keyframes rotateHue {
    0% {
        filter: hue-rotate(0deg);
   }
    20% {
        filter: hue-rotate(0deg);
   }
    25% {
        filter: hue-rotate(90deg);
   }
    45% {
        filter: hue-rotate(90deg);
   }
    50% {
        filter: hue-rotate(180deg);
   }
    70% {
        filter: hue-rotate(180deg);
   }
    75% {
        filter: hue-rotate(270deg);
   }
    95% {
        filter: hue-rotate(270deg);
   }
    100% {
        filter: hue-rotate(360deg);
   }
}
.untitled__shutters {
    position: absolute;
    height: 150vmax;
    width: 150vmax;
    left: calc(50% - 75vmax);
    top: calc(50% - 75vmax);
    pointer-events: none;
    z-index: 2;
    animation: rotateFrame 10s linear infinite;
}
@keyframes rotateFrame {
    0% {
        transform: rotate(0deg);
   }
    100% {
        transform: rotate(180deg);
   }
}
.untitled__shutters:before, .untitled__shutters:after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    background-color: #b3401a;
    pointer-events: auto;
}
.untitled__shutters:before {
    bottom: 50%;
    animation: openTop 5s infinite;
}
@keyframes openTop {
    0% {
        transform: translate3d(-50%, 0, 0);
        animation-timing-function: cubic-bezier(0.8, 0, 0.1, 1);
   }
    40% {
        transform: translate3d(-50%, -65vmax, 0);
        animation-timing-functon: cubic-bezier(0.6, 0.04, 0.98, 0.335);
   }
    70% {
        transform: translate3d(-50%, -65vmax, 0);
        animation-timing-functon: cubic-bezier(0.6, 0.04, 0.98, 0.335);
   }
    100% {
        transform: translate3d(-50%, 0, 0);
        animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.335);
   }
}
.untitled__shutters:after {
    top: 50%;
    animation: openBottom 5s infinite;
}
@keyframes openBottom {
    0% {
        transform: translate3d(-50%, 0, 0);
        animation-timing-function: cubic-bezier(0.8, 0, 0.1, 1);
   }
    40% {
        transform: translate3d(-50%, 65vmax, 0);
        animation-timing-functon: cubic-bezier(0.6, 0.04, 0.98, 0.335);
   }
    70% {
        transform: translate3d(-50%, 65vmax, 0);
        animation-timing-functon: cubic-bezier(0.6, 0.04, 0.98, 0.335);
   }
    100% {
        transform: translate3d(-50%, 0, 0);
        animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.335);
   }
}
.untitled__slides {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #b3401a;
}
.untitled__slide {
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0;
    animation: showHideSlide infinite 20s steps(1);
}
@keyframes showHideSlide {
    0% {
        opacity: 1;
        pointer-events: auto;
        z-index: 1;
   }
    25% {
        opacity: 0;
        pointer-events: none;
        z-index: -1;
   }
    100% {
        opacity: 0;
        pointer-events: none;
        z-index: -1;
   }
}
.untitled__slide:nth-child(1) {
    animation-delay: 0s;
}
.untitled__slide:nth-child(1) .untitled__slideBg {
    background-image: url(images/gramatica\ limbii\ engleze.jpg);
}
.untitled__slide:nth-child(2) {
    animation-delay: 5s;
}
.untitled__slide:nth-child(2) .untitled__slideBg {
    background-image: url(images/expresii\ utile.jpg);
}
.untitled__slide:nth-child(3) {
    animation-delay: 10s;
}
.untitled__slide:nth-child(3) .untitled__slideBg {
    background-image: url(images/pronuntia\ in\ engleza.jpg);
}
.untitled__slide:nth-child(4) {
    animation-delay: 15s;
}
.untitled__slide:nth-child(4) .untitled__slideBg {
    background-image: url(images/vocabularul\ limbii\ engleze.jpg);
}
.untitled__slideBg {
    position: relative;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    background-color: #b3401a;
    background-blend-mode: hard-light;
    opacity: 1;
    z-index: -1;
    animation: bgInOut 5s infinite;
}
@keyframes bgInOut {
    0% {
        transform: rotate(-45deg) scale(1.1);
        animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
   }
    33% {
        transform: rotate(0deg);
   }
    50% {
        transform: rotate(0deg);
   }
    66% {
        transform: rotate(0deg);
        animation-timing-function: cubic-bezier(0.895, 0.03, 0.685, 0.22);
   }
    100% {
        transform: rotate(45deg) scale(0.9);
   }
}
.untitled__slideContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    color: white;
    font-family: Rubik Dirt;
    line-height: 0.8;
    letter-spacing: -0.04em;
    z-index: 2;
    opacity: 1;
    text-shadow: 0 0 0.5em rgba(179, 64, 26, 0.25);
    mix-blend-mode: lighten;
}
.untitled__slideContent span {
    display: block;
    font-size: 15vmin;
}
.button {
    font-family: Montserrat;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 2vmin;
    display: inline-block;
    position: relative;
    border: 3px solid white;
    box-shadow: -0.5vmin 0.5vmin 0 rgba(255, 255, 255, 0.5);
    background: transparent;
    margin-top: 5vmin;
    mix-blend-mode: lighten;
    color: white;
    padding: 2vmin 2vmin 1.8vmin 2vmin;
    letter-spacing: 0.1em;
    text-shadow: none;
    line-height: 1;
    transform: translate3d(0.5vmin, -0.5vmin, 0);
    transition: all 100ms linear;
}
.button:hover {
    transform: translate3d(1vmin, -1vmin, 0);
    box-shadow: -1vmin 1vmin 0 rgba(255, 255, 255, 0.5);
    background: white;
    color: black;
}
.button:active {
    transform: translate3d(0px, 0px, 0);
    box-shadow: 0px 0px 0 rgba(255, 255, 255, 0.5);
}






@import url(//fonts.googleapis.com/css?family=Lato:300:400);

body {
  margin:0;
}

h1 {
  font-family: 'Lato', sans-serif;
  font-weight:300;
  letter-spacing: 2px;
  font-size:48px;
}
p {
  font-family: 'Lato', sans-serif;
  letter-spacing: 1px;
  font-size:14px;
  color: #333333;
}

.header {
  position:relative;
  text-align:center;
  background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
  color:white;
}
.logo {
  width:50px;
  fill:white;
  padding-right:15px;
  display:inline-block;
  vertical-align: middle;
}

.inner-header {
  height:65vh;
  width:100%;
  margin: 0;
  padding: 0;
}

.flex { /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}

.content {
  position:relative;
  height:20vh;
  text-align:center;
  background-color: white;
}

/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
  .content {
    height:30vh;
  }
  h1 {
    font-size:24px;
  }
}
.gramatica-engleza {
  text-align: justify;
  margin-top: 30px;
  margin-right: 30px;
  margin-bottom: 30px;
  margin-left: 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5em;
  color:gray;

}

.lecție1{

  flex-wrap: wrap;
  display:flex;
  column-gap: 5px;
  justify-content: space-between;
  margin-top: 30px;
  padding-left: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-right: 30px;
  margin-bottom: 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5em;
  color:gray;
}

.gramthumb{

  width: 150px;
  height: 250px;
  border-radius: 10px;
  border: 2px solid #d8b60b;
  margin-bottom: 30px;
 
}

.flip-box {
  background-color: transparent;
  width: 150px;
  height: 250px;
  perspective: 1000px;
  margin-bottom: 30px;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  transform: rotateX(180deg);
}

.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-box-front {
  background-color: transparent;
  color: black;
}

.flip-box-back {
  background-color:transparent;
  color: white;
  transform: rotateX(180deg);
}

.gramaticaengleza{
 
  background-color: #018790;
  text-align: justify;
  padding-top: 30px;
  padding-right: 30px;
  padding-bottom: 30px;
  padding-left: 30px;
  font-family: Helvetica, Arial, sans-serif, sans-serif;
  font-size: 1.5em;
  color:black;
  
}

.cecontine{
  background-color:#F77754;
  text-align: left;
  padding-top: 30px;
  padding-right: 30px;
  padding-bottom: 30px;
  padding-left: 30px;
  font-family: Helvetica, Arial, sans-serif, sans-serif;
  font-size: 1.5em;
  color:rgba(0, 0, 0, 0.653);

}


.sprefilm{
  width: 100%;
  height: 60px;
  padding: 10px;

}



#continutlectie{

  width: auto;
  height: auto;
  background-color:white;
  text-align:justify;
  padding-top: 30px;
  padding-right: 30px;
  padding-bottom: 30px;
  padding-left: 30px;
  font-family: 'Raleway','Cambria', Cochin, Georgia, Times,Helvetica, sans-serif; 
  font-size: 1em;
  color:#031011e8;

}

.animate-charcter
{
   text-transform: uppercase;
  background-image: linear-gradient(
    -225deg,
    #231557 0%,
    #11da90 29%,
    #9513ff 67%,
    #2ebdb8 100%
  );
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  text-align: center;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 2s linear infinite;
  display: inline-block;
      font-size: 190px;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}
   
* {
  box-sizing: border-box;
}


h1 {
  color: #333;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 3rem;
  font-weight: 100;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  width: 1000px;
  margin-top: 100px;
  margin-bottom: 200px;
}

h1 span {
  font-size: 3rem;
  margin-left: auto;
}

.message {
  background-color: yellow;
  color: #333333;
  display: block;
  font-weight: 900;
  overflow: hidden;
  position: absolute;
  padding-left: 0.5rem;
  top: 0.2rem;
  left: 850px;
  animation: openclose 5s ease-in-out infinite;
}

.word1, .word2, .word3 {
  font-family: Arial, Helvetica, sans-serif;
}

@keyframes openclose {
  0% {
    top: 0.2rem;
    width: 0;
  }
  5% {
    width: 0;
  }
  15% {
    width: 230px;
  }
  30% {
    top: 0.2rem;
    width: 230px;
  }
  33% {
    top: 0.2rem;
    width: 0;
  }
  35% {
    top: 0.2rem;
    width: 0;
  }
  38% {
    top: -4.5rem;
    
  }
  48% {
    top: -4.5rem;
    width: 190px;
  }
  62% {
    top: -4.5rem;
    width: 190px;
  }
  66% {
    top: -4.5rem;
    width: 0;
    text-indent: 0;
  }
  71% {
    top: -9rem;
    width: 0;
    text-indent: 5px;
  }
  86% {
    top: -9rem;
    width: 285px;
  }
  95% {
    top: -9rem;
    width: 285px;
  }
  98% {
    top: -9rem;
    width: 0;
    text-indent: 5px;
  }
  100% {
    top: 0;
    width: 0;
    text-indent: 0;
  }
}

p {
  text-align: center;
  margin-left: 50px;
  border-right: solid 3px rgba(0,255,0,.75);
  white-space: nowrap;
  overflow: hidden;    
  font-family: 'Helvetica','Roboto', monospace;  
  font-size: 18px;
  color: rgba(50, 62, 188, 0.7);
}

/* Animation */
p {
  animation: animated-text 1s steps(29,end) 3s 1 normal both,
             animated-cursor 600ms steps(29,end) infinite;
}

/* text animation */

@keyframes animated-text{
  from{width: 0;}
  to{width: 800px;}
}

/* cursor animations */

@keyframes animated-cursor{
  from{border-right-color: rgba(0,255,0,.75);}
  to{border-right-color: transparent;}
}

@keyframes grow {
  0% { max-height: var(--lineHeight); }
  100% { max-height: calc(var(--lineHeight) * var(--lines)); }
}

@keyframes carriageReturn {
  0% { top: 0; }
  100% { top: calc(var(--lineHeight) * var(--lines)); }
}

@keyframes type {
  0% { width: 100%; }
  100% { width: 0%; }
}

@keyframes caret {
  0% { color: var(--bgColor); }
  100% { color: black; }
}

.typewriter {
 margin-left: 3%;
  --bgColor: white;
  --lines: 500;
  --lineHeight: 1.5rem;
  --timePerLine: 1s;
  --widthCh: 100%;
  --width: calc(var(--widthCh) * 1ch);
  /* do not touch the time property!!! */
  --time: calc(var(--lines) * var(--timePerLine));
  animation: grow var(--time) steps(var(--lines));
  animation-fill-mode: forwards;
  background: var(--bgColor);  
  line-height: var(--lineHeight);
  max-height: var(--lineHeight);
  overflow: hidden;
  position: relative;
  width: var(--width);
  /* word-break: break-all; */
}

.typewriter::before {
  content: "";
  animation: 
    type var(--timePerLine) linear infinite, 
    carriageReturn var(--time) steps(var(--lines)) var(--lines),
    caret 0.5s steps(2) infinite;
  background: var(--bgColor);
  border-left: 2px solid;
  bottom: 0;
  height: 2rem;
  position: absolute;
  right: 0;
  width: 100%;
}

.typewriter.no-caret::before {
  border-left-width: 0;
}

.typewriter.big-caret::before {
  border-left-width: 1ch;
}

.typewriter.monospace {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 
  Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, monospace;
}

.typewriter.monospace::before {
  animation: 
    type var(--timePerLine) steps(var(--widthCh)) infinite, 
    carriageReturn var(--time) steps(var(--lines)) var(--lines),
    caret 0.5s steps(2) infinite;
}
.astrodivider {
  margin:64px auto;
  width:400px; 
  max-width: 100%;
  position:relative;
}

.astrodividermask { 
    overflow:hidden; height:20px; 
}

.astrodividermask:after { 
      content:''; 
      display:block; margin:-25px auto 0;
      width:100%; height:25px;  
        border-radius:125px / 12px;
       box-shadow:0 0 8px #049372;
}
.astrodivider span {
    width:50px; height:50px; 
    position:absolute; 
    bottom:100%; margin-bottom:-25px;
    left:50%; margin-left:-25px;
    border-radius:100%;
   box-shadow:0 2px 4px #4fb39c;
    background:#fff;
}
.astrodivider i {
    position:absolute;
    top:4px; bottom:4px;
    left:4px; right:4px;
    border-radius:100%;
    border:1px dashed #68beaa;
    text-align:center;
    line-height:40px;
    font-style:normal;
     color:#049372;
}
#afivideo{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
}
#afivideo iframe{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

