@keyframes error-shake {
	0%,
	100% {
		transform: translateX(0);
	}

	10%,
	30%,
	50%,
	70% {
		transform: translateX(-0.5vh);
	}

	20%,
	40%,f
	60% {
		transform: translateX(0.5vh);
	}

	80% {
		transform: translateX(0.4vh);
	}

	90% {
		transform: translateX(-0.4vh);
	}
}


h1, h2, h3, h4, h5 {
    font-family: lato, sans-serif;
    color: white;
}

h3 {
    font-size: 6vh;
    vertical-align: middle;
}

#top {
    height: 100vh;
    width: 100vw;
    max-height: 100vh;
    max-width: 100vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    font-family: lato, sans-serif;
    color: white;
    padding: 8vh 2vw 0 2vw;
    position: relative;
}

#top-left {
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 2vh;
}

.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/static/img/home/bg.svg);
    background-repeat: repeat;
    z-index: -1;
    background-color: var(--bg);
}

.bg-color-only {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: -2;
}

.bg-bottom-fade, .bg-top-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 8vh;
    width: 100vw;
    z-index: -1;
    background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
}

.bg-top-fade {
    background: linear-gradient(to bottom, var(--bg) 0%, transparent 100%);
}

.phone {
    display: block;
    height: 62vh;
    width: auto;
    position: relative;
}

#features-content-box {
    padding: 10vh 0 0 0;
}

#feature-phone {
    width: auto;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.feature-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .3s;
}

#feature-screen {
    position: absolute;
    z-index: -1;
    background: #fff;
    overflow: hidden;
}

.full-block {
    height: 100vh;
    width: 100vw;
    position: relative;
    padding: 0 2vw;
}


.content-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content-box-h {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.feature {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--bright);
    border-radius: 2vh;
    color: white;
    font-family: lato, sans-serif;
    display: flex;
    flex-direction: column;
    padding: 2vh 2vw;
    gap: 1vh;
    transition: all .3s;
    transform: scale(0.8);
}

#feature-active {
    z-index: 2;
    transform: scale(1);
}

.feature h3 {
    font-size: 3vh;
    font-weight: 700;
    vertical-align: middle;
}

.feature p {
    font-size: 2vh;
    font-weight: 300;
    vertical-align: middle;
}

.feature h3, .feature p, .faq-head p, .price-price, .price-discount, h1, h2, h3, h4, h5 {
    margin: 0;
    padding: 0;
}

.feature * {
    text-align: center;
}

.button-feature {
    font-size: 1.5vh;
    align-self: flex-end;
    overflow: hidden;
    vertical-align: middle;
}

#features-slider, #features-bulbs {
    justify-content: center;
    position: relative;
    gap: 1vh;
    height: auto;
}

#features-slider * {
    will-change: transform;
}

#features-bulbs, .feature-bulb, #features-bulbs-runner {
    height: 1vh;
}

.feature-bulb, #features-bulbs-runner {
    flex: 1 1 auto;
    width: 1vh;
    border-radius: 100%;
    background: rgba(255, 255, 255, .5);
}

#features-bulbs-runner {
    top: 0;
    position: absolute;
    background: rgba(255, 255, 255, .9);
    transition: all .6s, left .2s;
}

#features-arrow-left, #features-arrow-right {
    position: absolute;
    top: calc(50% - 3vh);
    height: 6vh;
    cursor: pointer;
    transition: transform .3s;
    z-index: 4;
}

#features-arrow-right {
    right: unset;
}

#features-arrow-left:hover, #features-arrow-right:hover, #prices-arrow-left:hover, #prices-arrow-right:hover {
    transform: scale(1.05);
}

.features-bg-left, .features-bg-right {
    position: absolute;
    z-index: 10;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: var(--bg);
    background: linear-gradient(to right, var(--bg) 15%, transparent 100%);
}

.features-bg-right {
    background: linear-gradient(to left, var(--bg) 15%, transparent 100%);
}

#prices-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    transition: all .3s;
}

.price {
    background: var(--bg);
    border: 1px solid white;
    border-radius: 2vh;
    color: white;
    font-family: lato, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2vh 2vw;
    position: relative;
    transition: all .3s;
    gap: 3vh;
}

.price a {
    display: flex;
    align-items: center;
}

.price h3 {
    text-align: center;
    font-weight: 300;
    margin-bottom: 2vh;
    font-size: 6vh;
    vertical-align: middle;
}

.price-month, .price-year {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
}

.price-features {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1vh;
}

.price-feature {
    font-size: 2vh;
    font-weight: 200;
    vertical-align: middle;
}

.price-price, .price-discount {
    font-size: 3.8vh;
    font-weight: 800;
    vertical-align: middle;
}

.price-discount {
    text-decoration: line-through;
    color: rgba(255, 255, 255, .3);
    font-size: 3vh;
    vertical-align: middle;
}

.price .button-gray, .price .button-blue {
    width: 100%;
    text-align: center;
}

.price-best {
    position: absolute;
    right: -5vh;
    top: -5vh;
    width: 10vh;
    height: 10vh;
    z-index: 1;
    transform: rotate(5deg);
}

#prices-type, #auth-type {
    overflow: hidden;
    border: 1px solid var(--bright);
    height: 5vh;
    position: relative;
    z-index: 1;
}

#prices-type, #auth-type, #prices-type .price-type, #auth-type .auth-type {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#prices-type .price-type, #auth-type .auth-type {
    width: 50%;
    text-align: center;
    color: white;
    font-family: lato, sans-serif;
    font-size: 2vh;
    vertical-align: middle;
    cursor: pointer;
    height: 100%;
    transition: all .3s;
}

#price-runner, #auth-runner {
    position: absolute;
    width: 50%;
    height: 100%;
    background: var(--blue);
    z-index: -1;
    top: 0;
    left: 0;
    transition: all .6s;
}

.price-type ::before {
    content: "\2713  ";
    opacity: 0;
    transition: opacity .6s;
}

.price-type-active ::before {
    opacity: 1;
}

.resource {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.resource h3 {
    text-align: center;
}

#faq-box {
    background: var(--bg);
    border-radius: 2vh;
    color: white;
    font-family: lato, sans-serif;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all .3s;
    overflow: hidden;
    width: 42vh;
    will-change: transform;
}

.faq-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2vh 2vw;
    border: 1px solid white;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    gap: 2vw;
    background: var(--bg);
    transition: all .6s, border-radius .3s, border .3s;
}

.faq-head img {
    height: 100%;
    transition: all .6s;
}

.faq-head p {
    font-size: 2vh;
    vertical-align: middle;
}

.faq-head *, .close-cross img, .features-bg-left, .features-bg-right {
    pointer-events: none;
}

.faq-head-open {
    border-radius: 0 !important;
    border-bottom: 0px solid transparent !important;
}

.faq-wb {
    transition: all .6s;
    border-radius: 0 0 2vh 2vh;
}

.faq-head-open + .faq-wb {
    border-left: 1px solid white;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
}

.faq-head-open img {
    transform: rotate(180deg);
}   

.faq-body {
    background: var(--bright);
    padding: 0 2vw;
    max-height: 0;
    font-size: 1.5vh;
    font-weight: 300;
    vertical-align: middle;
    transition: all .2s linear, visibility 0s;
    overflow: hidden;
}

.faq-body a:link {
    text-decoration: underline;
}
.faq-body a:hover {
    text-decoration: dotted underline;
}

#wiki, #faq {
    gap: 2vh;
    z-index: 1;
}

#auth {
    visibility: hidden;
    position: fixed;
    top: 8vh;
    width: 100vw;
    height: 92vh;
    background-color: var(--bg);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: lato, sans-serif;
    transition: all .3s;
}

#auth-window {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    background: var(--nav);
    border-radius: 4vh;
    padding: 4vh;
    overflow: hidden;
    gap: 2vh;
    transition: all .6s;
}

#auth-window h3 {
    font-size: 4vh;
    vertical-align: middle;
}

.auth-type img {
    width: 2vh;
    height: 2vh;
}

#auth-body form {
    display: flex;
    flex-direction: column;
    gap: 2.5vh;
    align-items: center;
}

.auth-input {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    border: 2px solid var(--blue);
    border-radius: 0.5vh;
    height: 6vh;
    width: 100%;
}

.auth-input a {
    font-size: 1.5vh;
    vertical-align: middle;
    position: absolute;
    top: -.9vh;
    left: 1vh;
    background: var(--nav);
    padding: 0 0.5vh;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.auth-input .error {
    position: absolute;
    border-radius: 0.5vh;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: var(--nav);
    transition: opacity .6s linear;
    opacity: 1;
    z-index: 0;
    min-height: 100%;
    min-width: 100%;
    border: 2px solid red;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 1vh 0.5vw;
}

.auth-input img {
    width: 2.5vh;
}

.parent-submit {
    display: flex;
    flex-direction: row;
    transform: scale(1.15);
    align-items: center;
}

.auth-input input:focus + .auth-clue {
    opacity: 1;
}

.auth-clue {
    opacity: 0;
    overflow: hidden;
    position: absolute;
    top: 110%;
    font-size: 1.2vh;
    vertical-align: middle;
    transition: all .2s;
}

#phone-content img {
    width: 100%;
    height: 100%;
}

.close-cross {
    position: absolute;
    cursor: pointer;
    transition: all .3s;
}

.close-cross:hover {
    transform: scale(1.05) rotate(15deg);
}

.ehs-container * {
    font-weight: 200;
}

.ehs-container b {
    font-weight: 600;
}

.ehs-list {
    text-align: center;
}
