/* You can add global styles to this file, and also import other style files */


/* html, body { height: 100%; } */
html {
    transition: color 300ms, background-color 300ms, filter 300ms;
    scroll-behavior: smooth;
}
/* html.dark-mode {
    filter: invert(95%) hue-rotate(180deg);
} */
/* https://jsfiddle.net/vrbq1gf3/1/ */
html[data-theme='dark'] {
    /* background: rgb(41, 41, 41);
    color: rgb(238, 203, 3); */
    /* background-color: rgb(41, 41, 41); */
    filter: invert(95%) hue-rotate(180deg)
}

html[data-theme='dark'] img {
  filter: invert(95%) hue-rotate(180deg)
}

body { 
    margin: 0; 
    /* font-family: Roboto, "Helvetica Neue", sans-serif; */
    font-family: "Basier circle", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    /* font-family: "GT Eesti Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif; */
    -webkit-font-smoothing: antialiased;
}

h1 {
    font-size: 4rem !important;
}
h2.subtitle {
    font-size: 2rem !important;   
}

[class*="has-background"].has-background {
    background-color: #FBFBFD;
}

.card.is-usp  {
    max-width: 50vw;
    margin: 0 auto;
}

.card {
    background-color: transparent;
    box-shadow: none;
    color: #998DA0;
    max-width: 100%;
    position: relative;
}

.tile .card {
    background:rgba(246,250,255);
    border-radius: 3em;
    min-height: 55em;
}
.vr {
    border-left:2px solid rgb(230, 228, 228);height:1.7rem; align-self: center;
}

.menu-label {
    font-size: 1.375rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #463853;
}

.hero.is-warning {
    background-color: #ffdd57;
    color: rgba(0,0,0,0.7);
}

.wrap-speaking {
    border-radius: 91% 9% 90% 10% / 29% 82% 18% 71%; 
    /* background-color: rgb(254, 199, 39); */
    background: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);
    color: snow; 
    
}

#cookie-consent {
    visibility: hidden;
}

.wrap-listening {
    border-radius: 91% 9% 90% 10% / 29% 82% 18% 71%; 
    background-color: rgb(215, 246, 112);
    color: snow; 
}

.wrap-writing {
    border-radius: 91% 9% 90% 10% / 29% 82% 18% 71%; 
    /* background-color: rgb(124, 228, 202); */
    background: linear-gradient(90deg, #00C9FF 0%, #92FE9D 100%);
    /* background-color: rgb(32, 230, 212); */
    color: snow; 
}
/* https://9elements.github.io/fancy-border-radius/full-control.html#28.85.80.9-32.91.82.15-. */
.wrap-reading {
    border-radius: 91% 9% 90% 10% / 29% 82% 18% 71%; 
    /* background-color: rgb(243, 163, 128); */
    /* background: linear-gradient(45deg, #3023AE 0%, #f09 100%); */
    background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%);
    color: snow; 
}

.screens .screen {
    position: absolute;
    top: 0;
    left: 60%;
    width: 100%;
    height: 100%;
    max-width: 380px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%);
    transition: all 688ms ease;
}
.screens .screen.is-active {
    opacity: 1;
    visibility: visible;
}
.align-self-stretch {
    -ms-flex-item-align: stretch;
    -ms-grid-row-align: stretch;
    align-self: stretch;
}

.screens {
    position: relative;
}

@media screen and (min-width: 769px) {
    .cc-window {
        max-width: 24em;
        left: auto;
    }
}

.cc-window a:not(.button) {
    text-decoration: underline;
    color: #463853;
}

.cc-window {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 1.5rem;
    z-index: 99;
    background-color: white;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%);
    border-radius: 10px;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 172ms ease 500ms, transform 258ms ease 500ms;
    background-image: url(https://getbedtimestories.com/assets/images/cookie-monster-948af3ae.jpg?1588602928);
    background-size: 116px 88px;
    background-repeat: no-repeat;
    background-position: bottom right;
}

/* .mat-button:hover {
    color: $white;
    background: $white;
} */

.is-centered-absolute {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%)!important;
}

#hero {
    background-size: cover;
    background-position-x: center;
    /* background-color: #67cae1;
    background-image: linear-gradient(225deg,#67cae1,#7bd5d7); */
    /* background: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%); */
    /* https://cssgradient.io/ */
    /* background: rgb(255,77,33);
    background: linear-gradient(90deg, rgba(255,77,33,1) 0%, rgba(252,176,69,1) 100%); */
    /* background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%); */
}

#services {
    background: url(./assets/undraw_File_searching_re_3evy.svg);
    background-position: right 20px bottom 10px;
    background-repeat: no-repeat;
    /* background: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%); */
}

textarea {
    font-size: 1.5em !important;
}

#hero .navbar.is-transparent {
    background-color: transparent;
}

.service-buttons {
    justify-content: center !important;
}

.logos::before {
    content: '';
    position: absolute;
    width: 50%;
    left: 25%;
    top: 0;
    border-top: 1px solid #ebebeb;
}


footer {
    box-shadow: 0px 5px 10px rgb(245, 243, 243) inset;
    /* background: url();
    background-size: cover; */
    /* background: rgb(131,58,180);
    background: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%); */
    /* --gutterWidth: 24px;
    margin: 60px 0;
    padding: 60px var(--gutterWidth); */
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAD1BMVEX////19fXn5+fo6Ojl5eU/mVj3AAAAHElEQVR4AWMYkUDIEE3AxAlNQMUZTUBYcUSGFABtQAFVBCjxewAAAABJRU5ErkJggg==);
    background-size: 16px;
}

.modal {
    transition: opacity 172ms ease 500ms, transform 258ms ease 500ms;
    z-index: 999;
} 

/* .is-child {
    background: rgba(246,250,255, 1);
    border-radius: 10px;
    padding: 1rem;
} */

.blob {
    position: absolute;
    top: 0;
    left: 0;
    fill: #e6b7cd;
    width: 10vmax;
    z-index: -1;
    animation: move 10s ease-in-out infinite;
    transform-origin: 50% 50%;
  }
  
  @keyframes move {
    0%   { transform: scale(1)   translate(10px, -30px); }
    38%  { transform: scale(0.8, 1) translate(80vw, 30vh) rotate(160deg); }
    40%  { transform: scale(0.8, 1) translate(80vw, 30vh) rotate(160deg); }
    78%  { transform: scale(1.3) translate(0vw, 50vh) rotate(-20deg); }
    80%  { transform: scale(1.3) translate(0vw, 50vh) rotate(-20deg); }
    100% { transform: scale(1)   translate(10px, -30px); }
  }

.brand {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    line-height: 1;
}
.brand .brand-icon {
    width: 56px;
    height: 56px;
    margin-right: 1rem;
    transition-duration: 172ms;
    will-change: width, height, margin-right;
}
.brand .brand-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #463853;
    transition-duration: 172ms;
    will-change: transform;
}
.brand .brand-subtitle {
    margin-top: 0.25rem;
    font-size: 1.125rem;
    font-weight: normal;
    color: #998DA0;
    opacity: 1;
    transition-duration: 172ms;
    will-change: opacity, transform;
}

@media screen and (max-width: 1023px) {
    .navbar-menu a.has-text-white {
        color: #4a4a4a !important;
    }
    .navbar-menu a.has-text-white:hover {
        color: #3273dc !important;
    }
}

@keyframes bdSlowln {
    0% { 
        opacity: 0;
        transform: scale(.9);
    }

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

#tertiary-header-action {
    right: 1.5em;
    top: 1.5em;
    z-index: 99;
    position: fixed;
}

.slidein-from-top {
    -webkit-animation: slidein-from-top 300ms 1 ease-out; /* Safari 4+ */
    -moz-animation:    slidein-from-top 300ms 1 ease-out; /* Fx 5+ */
    -o-animation:      slidein-from-top 300ms 1 ease-out; /* Opera 12+ */
    animation:         slidein-from-top 300ms 1 ease-out; /* IE 10+, Fx 29+ */
}
@keyframes slidein-from-top {
    from {
      transform: translateY(-150%);
    }
  
    to {
      transform: translateY(0%);
    }
}

.slideout-in-top {
    -webkit-animation: slideout-in-top 1s 1 ease-out; /* Safari 4+ */
    -moz-animation:    slideout-in-top 1s 1 ease-out; /* Fx 5+ */
    -o-animation:      slideout-in-top 1s 1 ease-out; /* Opera 12+ */
    animation:         slideout-in-top 1s 1 ease-out; /* IE 10+, Fx 29+ */
}
@keyframes slideout-in-top {
    from {
      transform: translateY(0%);
    }
  
    to {
      transform: translateY(-150%);
    }
}

.slidein {
    -webkit-animation: slidein 1s 1 ease-out; /* Safari 4+ */
    -moz-animation:    slidein 1s 1 ease-out; /* Fx 5+ */
    -o-animation:      slidein 1s 1 ease-out; /* Opera 12+ */
    animation:         slidein 1s 1 ease-out; /* IE 10+, Fx 29+ */
}
@keyframes slidein {
    from {
      transform: translateX(-150%);
    }
  
    to {
      transform: translateX(0%);
    }
  }

.slideout {
    -webkit-animation: slideout 1s 1 ease-out; /* Safari 4+ */
    -moz-animation:    slideout 1s 1 ease-out; /* Fx 5+ */
    -o-animation:      slideout 1s 1 ease-out; /* Opera 12+ */
    animation:         slideout 1s 1 ease-out; /* IE 10+, Fx 29+ */
}
@keyframes slideout {
    from {
        opacity: 0;
        transform: translateX(+150%);
    }
  
    to {
        opacity: 1;
      transform: translateX(0%);
    }
  }

.slidedown {
    opacity: 0;
    -webkit-animation: slidedown 0.5s 1 ease-out forwards; /* Safari 4+ */
    -moz-animation:    slidedown 0.5s 1 ease-out forwards; /* Fx 5+ */
    -o-animation:      slidedown 0.5s 1 ease-out forwards; /* Opera 12+ */
    animation:         slidedown 0.5s 1 ease-out forwards; /* IE 10+, Fx 29+ */
}
@keyframes slidedown {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
  
    to {
        opacity: 1;
      transform: translateY(0%);
    }
  }

.slideup {
    opacity: 0;
    -webkit-animation: slideup 1s 0.5s 1 ease-out forwards; /* Safari 4+ */
    -moz-animation:    slideup 1s 0.5s 1 ease-out forwards; /* Fx 5+ */
    -o-animation:      slideup 1s 0.5s 1 ease-out forwards; /* Opera 12+ */
    animation:         slideup 1s 0.5s 1 ease-out forwards; /* IE 10+, Fx 29+ */
}
@keyframes slideup {
    from {
        opacity: 0;
        transform: translateY(-1rem);
    }
  
    to {
        opacity: 1;
        transform: translateY(0%);
    }
  }


.btn-grad {background-image: linear-gradient(to right, #FF512F 0%, #DD2476  51%, #FF512F  100%)}
.btn-grad {
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
}

.btn-grad:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}
  
/* @keyframes box {
    0% {
      opacity: 0;
      transform: translateY(8px) scale(0.95);
    }
    100% {
      opacity: 1;
      transform: translateY(0px) scale(1);
    }
} */

@keyframes box {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

