/* typewriter */

.typewriter {
    position: relative;
    margin: 0 auto;
    color: #EEB46C !important;
    border-right: 1vw solid;
    font-size: 7.5vw !important;
    text-align: center;
    white-space: nowrap;
    letter-spacing: .15em;
    overflow: hidden;
    transform: translateY(-50%);
    z-index: 2;
    animation:
        typewriter 1s steps(9) 1s 1 normal both,
        blinkTextCursor 800ms steps(9) infinite normal;
}


@media only screen AND (max-width: 900px) {
    .home-container {
        zoom: 80%;
    }
}


@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 6.5em;
    }
}

@keyframes blinkTextCursor {
    from {
        border-right-color: #F9735D;
    }

    to {
        border-right-color: transparent;
    }
}


/* general */

.home-container {
    position: relative;
    margin: 30vh 10vw 10vw;
}

.home-text {
    color: white;
    font-size: 1.5em;
    line-height: 2em;
    z-index: 3 !important;
}



.home-title {
    color: #fcffad;
    font-family: "Cornerstone";
    font-size: 5em;
    position: relative;
    margin: auto;
    letter-spacing: 0.3em;
}

.highlight1 {
    color: #a9c793;
}

.highlight2 {
    color: rgb(192, 64, 64);
}

.footer-home {
    position: absolute;
    bottom: 0;
    padding-bottom: 0;
    width: 100%;
    background-color: #21644e;
    z-index: 5;
}

.home-logo {
    justify-content: center;
    align-items: center;
    margin-bottom: 3vw;
}

.home-logo img {
    width: 15em;
}

.mono {
    font-family: "PT Mono";
    color: #528d63;
    font-size: 1.2em;
    letter-spacing: 0.15em;
}


/* Button */

.btn-container {
    width: 600px;
    height: 90px;
    color: #fff;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    outline: none;
}

.home-btn {
    width: 600px;
    height: 90px;
    line-height: 42px;
    padding: 0;
    border: none;
    text-decoration: none;
}

.home-btn span {
    position: relative;
    padding-top: 20px;
    display: block;
    width: 100%;
    height: 100%;
}

.home-btn:before,
.home-btn:after {
    position: absolute;
    content: "";
    right: 0;
    top: 0;
    background: #fcffad;
    transition: all 0.3s ease;
}

.home-btn:before {
    height: 0%;
    width: 2px;
}

.home-btn:after {
    width: 0%;
    height: 2px;
}

.home-btn:hover {
    background: transparent;
    box-shadow: none;
}

.home-btn:hover:before {
    height: 100%;
}

.home-btn:hover:after {
    width: 100%;
}

.home-btn span:hover {
    color: #fcffad;
}

.home-btn span:before,
.home-btn span:after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    background: #fcffad;
    transition: all 0.3s ease;
}

.home-btn span:before {
    width: 2px;
    height: 0%;
}

.home-btn span:after {
    width: 0%;
    height: 2px;
}

.home-btn span:hover:before {
    height: 100%;
}

.home-btn span:hover:after {
    width: 100%;
}

/* Counter */

.counter-container {
    position: fixed;
    flex: 0;
}

.counter-text {
    color: transparent;
    font-family: "Rubik Mono";
    font-size: 25em;
}


/* Map */

.territory {
    fill: #042a1f;
    transition: fill 1s ease-in-out;
}

.map {
    right: 100px;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    scale: 2.5;
    z-index: 0;
}

/* Click to scroll button */

.click-scroll {
    position: relative;
    margin: auto;
    width: 200px;
    height: 100px;
}

.click-scroll span {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 4px solid #fcffad;
    border-bottom: 4px solid #fcffad;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb05 1.5s infinite;
    animation: sdb05 1.5s infinite;
    box-sizing: border-box;
}

@-webkit-keyframes sdb05 {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        -webkit-transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

@keyframes sdb05 {
    0% {
        transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}