/*
Index Page
*/
@font-face {
    font-family: Great Vibes;
    font-display: swap;
    src: url("../fonts/GreatVibes-Regular.ttf");
}

#intro-page body {
    background-color: #191919;
    font-family: "Great Vibes", sans-serif;
}

#intro-page .intro-text {
    margin-top: 130px;
    opacity: 0;
    z-index: 7;
    text-align: center;
    color: black;
    align-items: center;
    justify-content: center;
    top: 25%;
    font-size: 32px;
    -webkit-animation: on 0.6s ease-in-out 3.7s forwards;
    -moz-animation: on 0.6s ease-in-out 3.7s forwards;
    -o-animation: on 0.6s ease-in-out 3.7s forwards;
    animation: on 0.6s ease-in-out 3.7s forwards;
}

#intro-page .intro-text p {
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    -webkit-animation: type 0.3s steps(60, end) 3.7s;
    -moz-animation: type 0.3s steps(60, end) 3.7s;
    -o-animation: type 0.3s steps(60, end) 3.7s;
    animation: type 0.3s steps(60, end) 3.7s;
}

#intro-page .intro-text p:nth-child(2) {
    -webkit-animation: type2 0.5s steps(60, end) 3.7s;
    -moz-animation: type2 0.5s steps(60, end) 3.7s;
    -o-animation: type2 0.5s steps(60, end) 3.7s;
    animation: type2 0.5s steps(60, end) 3.7s;
}

#intro-page .intro-text button {
    border: none;
    opacity: 0;
    background: #191919;
    color: #f5f5f5;
    border: 1px solid hsl(0, 0%, 10%);
    letter-spacing: 2px;
    padding: 0.5rem 2.5rem;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 5px 10px whitesmoke;
    -webkit-transition: color 0.5s, background-color 0.5s;
    -moz-transition: color 0.5s, background-color 0.5s;
    -ms-transition: color 0.5s, background-color 0.5s;
    -o-transition: color 0.5s, background-color 0.5s;
    transition: color 0.5s, background-color 0.5s;
    -webkit-animation: on 0.6s ease-in-out 4s forwards;
    -moz-animation: on 0.6s ease-in-out 4s forwards;
    -o-animation: on 0.6s ease-in-out 4s forwards;
    animation: on 0.6s ease-in-out 4s forwards;
}

#intro-page .intro-text button:hover {
    background: grey;
    color: #191919;
    border: 1px solid #191919;
}

#intro-page .splash {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
}

#intro-page .splash_logo {
    font-family: Great Vibes, sans-serif;
    position: absolute;
    margin: -15px 0 0 -25px;
    top: 45vh;
    z-index: 5;
    left: 50vw;
    width: 150px;
    text-align: center;
    height: 150px;
    font-size: 42px;
    color: white;
    opacity: 1;
    will-change: opacity;
    -webkit-animation: logo 0.3s ease-in 1.5s forwards,
    off 0.6s ease-in-out 3.2s forwards;
    -moz-animation: logo 0.3s ease-in 1.5s forwards,
    off 0.6s ease-in-out 3.2s forwards;
    -o-animation: logo 0.3s ease-in 1.5s forwards,
    off 0.6s ease-in-out 3.2s forwards;
    animation: logo 0.3s ease-in 1.5s forwards, off 0.6s ease-in-out 3.2s forwards;
}

#intro-page .splash_logo:before {
    display: block;
    position: absolute;
    left: 15px;
    bottom: -5px;
    width: 20px;
    height: 1px;
    background-color: #757474;
    content: "";
}

#intro-page .splash_logo:after {
    display: block;
    position: absolute;
    left: 15px;
    top: -5px;
    width: 20px;
    height: 1px;
    background-color: #757474;
    content: "";
    will-change: width;
}

#intro-page .splash_svg {
    position: relative;
    margin: auto;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
}

/*--------------------------------------------------------------------------------------------------------------------*/
/*    SVG                                                                                                             */
/*--------------------------------------------------------------------------------------------------------------------*/

#intro-page .splash_svg svg {
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}

#intro-page .splash_svg svg rect {
    width: 100%;
    height: 100%;
    fill: #f5d300;
    stroke: none;
    -webkit-clip-path: polygon(45vw 40vh, 55vw 40vh, 55vw 60vh, 45vw 60vh);
    clip-path: polygon(45vw 40vh, 55vw 40vh, 55vw 60vh, 45vw 60vh);
    -webkit-animation: expand 0.7s ease-in forwards 2.7s;
    -moz-animation: expand 0.7s ease-in forwards 2.7s;
    -o-animation: expand 0.7s ease-in forwards 2.7s;
    animation: expand 0.7s ease-in forwards 2.7s;
}

#intro-page .splash_minimize {
    position: absolute;
    margin: auto;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 4;
}

#intro-page .splash_minimize svg {
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}

#intro-page .splash_minimize svg rect {
    width: 100%;
    height: 100%;
    -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 100vw 100vh, 0vw 100vh);
    clip-path: polygon(0vw 0vh, 100vw 0vh, 100vw 100vh, 0vw 100vh);
    -webkit-animation: scale 0.2s ease-out forwards 1s,
    hide 1.3s ease-out forwards 1.2s;
    -moz-animation: scale 0.2s ease-out forwards 1s,
    hide 1.3s ease-out forwards 1.2s;
    -o-animation: scale 0.2s ease-out forwards 1s,
    hide 1.3s ease-out forwards 1.2s;
    animation: scale 0.2s ease-out forwards 1s, hide 1.3s ease-out forwards 1.2s;
}

@-webkit-keyframes scale {
    100% {
        -webkit-clip-path: polygon(45vw 40vh, 55vw 40vh, 55vw 60vh, 45vw 60vh);
        clip-path: polygon(45vw 40vh, 55vw 40vh, 55vw 60vh, 45vw 60vh);
    }
}

/*--------------------------------------------------------------------------------------------------------------------*/
/*    Webkit Animation                                                                                                             */
/*--------------------------------------------------------------------------------------------------------------------*/



@-moz-keyframes scale {
    100% {
        -webkit-clip-path: polygon(45vw 40vh, 55vw 40vh, 55vw 60vh, 45vw 60vh);
        clip-path: polygon(45vw 40vh, 55vw 40vh, 55vw 60vh, 45vw 60vh);
    }
}

@-o-keyframes scale {
    100% {
        -webkit-clip-path: polygon(45vw 40vh, 55vw 40vh, 55vw 60vh, 45vw 60vh);
        clip-path: polygon(45vw 40vh, 55vw 40vh, 55vw 60vh, 45vw 60vh);
    }
}

@keyframes scale {
    100% {
        -webkit-clip-path: polygon(45vw 40vh, 55vw 40vh, 55vw 60vh, 45vw 60vh);
        clip-path: polygon(45vw 40vh, 55vw 40vh, 55vw 60vh, 45vw 60vh);
    }
}

@-webkit-keyframes hide {
    100% {
        fill: transparent;
    }
}

@-moz-keyframes hide {
    100% {
        fill: transparent;
    }
}

@-o-keyframes hide {
    100% {
        fill: transparent;
    }
}

@keyframes hide {
    100% {
        fill: transparent;
    }
}

@-webkit-keyframes off {
    100% {
        opacity: 0;
    }
}

@-moz-keyframes off {
    100% {
        opacity: 0;
    }
}

@-o-keyframes off {
    100% {
        opacity: 0;
    }
}

@keyframes off {
    100% {
        opacity: 0;
    }
}

@-webkit-keyframes on {
    100% {
        opacity: 1;
    }
}

@-moz-keyframes on {
    100% {
        opacity: 1;
    }
}

@-o-keyframes on {
    100% {
        opacity: 1;
    }
}

@keyframes on {
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes logo {
    100% {
        color: #191919;
    }
}

@-moz-keyframes logo {
    100% {
        ccolor: #191919;
    }
}

@-o-keyframes logo {
    100% {
        color: #191919;
    }
}

@keyframes logo {
    100% {
        color: #191919;
    }
}

@-webkit-keyframes type {
    0% {
        width: 0;
    }
}

@-moz-keyframes type {
    0% {
        width: 0;
    }
}

@-o-keyframes type {
    0% {
        width: 0;
    }
}

@keyframes type {
    0% {
        width: 0;
    }
}

@-webkit-keyframes type2 {
    0% {
        width: 0;
    }
    50% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@-moz-keyframes type2 {
    0% {
        width: 0;
    }
    50% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@-o-keyframes type2 {
    0% {
        width: 0;
    }
    50% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes type2 {
    0% {
        width: 0;
    }
    50% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@-webkit-keyframes expand {
    25% {
        -webkit-clip-path: polygon(0vw 0vh, 55vw 40vh, 55vw 58vh, 45vw 58vh);
        clip-path: polygon(0vw 0vh, 55vw 40vh, 55vw 60vh, 45vw 60vh);
        fill: white;
    }
    50% {
        -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 55vw 60vh, 45vw 60vh);
        clip-path: polygon(0vw 0vh, 100vw 0vh, 55vw 60vh, 45vw 60vh);
        fill: #f5d300;
    }
    75% {
        -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 55vw 60vh, 0vw 100vh);
        clip-path: polygon(0vw 0vh, 100vw 0vh, 55vw 60vh, 0vw 100vh);
        fill: white;
    }
    100% {
        -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 100vw 100vh, 0vw 100vh);
        clip-path: polygon(0vw 0vh, 100vw 0vh, 100vw 100vh, 0vw 100vh);
        fill: #f5d300;
    }
}

@-moz-keyframes expand {
    25% {
        -webkit-clip-path: polygon(0vw 0vh, 55vw 40vh, 55vw 58vh, 45vw 58vh);
        clip-path: polygon(0vw 0vh, 55vw 40vh, 55vw 60vh, 45vw 60vh);
        fill: white;
    }
    50% {
        -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 55vw 60vh, 45vw 60vh);
        clip-path: polygon(0vw 0vh, 100vw 0vh, 55vw 60vh, 45vw 60vh);
        fill: #f5d300;
    }
    75% {
        -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 55vw 60vh, 0vw 100vh);
        clip-path: polygon(0vw 0vh, 100vw 0vh, 55vw 60vh, 0vw 100vh);
        fill: white;
    }
    100% {
        -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 100vw 100vh, 0vw 100vh);
        clip-path: polygon(0vw 0vh, 100vw 0vh, 100vw 100vh, 0vw 100vh);
        fill: #f5d300;
    }
}

@-o-keyframes expand {
    25% {
        -webkit-clip-path: polygon(0vw 0vh, 55vw 40vh, 55vw 58vh, 45vw 58vh);
        clip-path: polygon(0vw 0vh, 55vw 40vh, 55vw 60vh, 45vw 60vh);
        fill: white;
    }
    50% {
        -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 55vw 60vh, 45vw 60vh);
        clip-path: polygon(0vw 0vh, 100vw 0vh, 55vw 60vh, 45vw 60vh);
        fill: #f5d300;
    }
    75% {
        -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 55vw 60vh, 0vw 100vh);
        clip-path: polygon(0vw 0vh, 100vw 0vh, 55vw 60vh, 0vw 100vh);
        fill: #ffffff;
    }
    100% {
        -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 100vw 100vh, 0vw 100vh);
        clip-path: polygon(0vw 0vh, 100vw 0vh, 100vw 100vh, 0vw 100vh);
        fill: #f5d300;
    }
}

@keyframes expand {
    25% {
        -webkit-clip-path: polygon(0vw 0vh, 55vw 40vh, 55vw 58vh, 45vw 58vh);
        clip-path: polygon(0vw 0vh, 55vw 40vh, 55vw 60vh, 45vw 60vh);
        fill: white;
    }
    50% {
        -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 55vw 60vh, 45vw 60vh);
        clip-path: polygon(0vw 0vh, 100vw 0vh, 55vw 60vh, 45vw 60vh);
        fill: #f5d300;
    }
    75% {
        -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 55vw 60vh, 0vw 100vh);
        clip-path: polygon(0vw 0vh, 100vw 0vh, 55vw 60vh, 0vw 100vh);
        fill: white;
    }
    100% {
        -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 100vw 100vh, 0vw 100vh);
        clip-path: polygon(0vw 0vh, 100vw 0vh, 100vw 100vh, 0vw 100vh);
        fill: #f5d300;
    }
}

#intro-page html {
    box-sizing: border-box;
}

#intro-page img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: 50%;
}

/*--------------------------------------------------------------------------------------------------------------------*/
/*    Responsive media screen                                                                                         */
/*--------------------------------------------------------------------------------------------------------------------*/

@media screen and (min-width: 40em) {
    img {
        width: 66.6%;
    }
}

@media screen and (min-width: 601px) {
    #intro-page .intro-text {
        font-size: 36px;
    }
}

@media screen and (max-width: 600px) {
    #intro-page .intro-text {
        font-size: 24px;
    }
}

@media only screen and (max-width: 860px) {
    #welcome-page .intro-text {
        display: none;
    }
}

