* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    overflow: hidden;
}

@font-face {
    font-family: HKGrotesk;
    src: url(HKGrotesk-SemiBold.otf);
}

html {
    text-rendering: optimizeLegibility;
    overflow: hidden;
    height: 100%;
}

body {
    height: 100%;
    overflow: hidden;
}
/***********************************************************************
 *  Header
 **********************************************************************/
header {
    height: 100%;
    overflow: hidden;
}

.top {
    height: 100%;
    overflow: hidden;
}

.bg {
    z-index: -1;
    position: absolute;
    right: 0;
    height: 100%;
    width: 24%;
    background-color: #F4C3CC;
}

.girl {
    z-index: 10;
    position: absolute;
    bottom: 0;
    height: 65%;
    width: auto;
    left: 58%;
}

.buttons {
    position: absolute;
    bottom: 0;
    padding: 0 0 27px 67px;
}

/***********************************************************************
 *  Hover Effect
**********************************************************************/
.instagram,
.mail {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    height: auto;
    text-decoration: none;
    font-family: "HKGrotesk";
    font-size: 18px;
    color: rgb(35, 32, 32);
    line-height: 3;
    padding: 0px 20px;
    border-radius: 4px; 
    -webkit-transition: .3s; 
    -webkit-transition: 0.3s; 
    transition: 0.3s;
    overflow: hidden;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.instagram {
    margin-right: 20px;
}

.instagram span,
.mail span {
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

.instagram:hover,
.mail:hover {
    color: rgb(236,141,158);
}

.instagram:hover {
    margin-right: 18px;
}

.instagram:hover > span,
.mail:hover > span{
    opacity: 1;
    -webkit-transform: translate(0, 100%);
            transform: translate(0, 100%);
}

.instagram:after {
	content: "Sleduj mě";
    position: absolute;
    opacity: 0;
	width: 100%;
	height: 100%;
    left: 14px;
	-webkit-transform: translate(-30%, 0);
	        transform: translate(-30%, 0);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    color: rgb(236,141,158);
}

.mail:after {
    content: "napiš mi";
    position: absolute;
    opacity: 0;
	width: 100%;
	height: 100%;
    left: 14px;
	-webkit-transform: translate(-30%, 0);
	        transform: translate(-30%, 0);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    color: rgb(236,141,158);
}

.instagram:hover::after,
.mail:hover::after{
	opacity: 1;
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
} 

/***********************************************************************
 *  Logo
**********************************************************************/
#svgwrapper {
    display: inline-block;
    stroke: rgb(0, 0, 0);
    fill: none;
    width: 480px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

.logo-path {
    display: block;
    margin: 0 auto;
    position: absolute;
    top: calc(20% + 20px);
} 

.logo-path {
    stroke-dasharray: 2600;
    stroke-dashoffset: 2600;
}

.underline {
    stroke-width: 20;
    -webkit-animation: letter-animation 5s linear forwards;
            animation: letter-animation 5s linear forwards;
    -webkit-animation-delay: 5.6s;
            animation-delay: 5.6 s;
}

.e-1 {
    stroke-width: 15;
    -webkit-animation: letter-animation 10s linear forwards;
            animation: letter-animation 10s linear forwards;
    -webkit-animation-delay: 4.9s;
            animation-delay: 4.9s;
}

.d-1 {
    stroke-width: 10;
    -webkit-animation: letter-animation 8s linear forwards;
            animation: letter-animation 8s linear forwards;
    -webkit-animation-delay: 4.4s;
            animation-delay: 4.4s;
}

.e-2 {
    stroke-width: 9;
    -webkit-animation: letter-animation 8s linear forwards;
            animation: letter-animation 8s linear forwards;
    -webkit-animation-delay: 4s;
            animation-delay: 4s;
}

.d-2 {
    stroke-width: 12;
    -webkit-animation: letter-animation 8s linear forwards;
            animation: letter-animation 8s linear forwards;
    -webkit-animation-delay: 3.6s;
            animation-delay: 3.6s;
}

.o {
    stroke-width: 9;
    -webkit-animation: letter-animation 8s linear forwards;
            animation: letter-animation 8s linear forwards;
    -webkit-animation-delay: 3.4s;
            animation-delay: 3.4s;
}

.o-2 {
    stroke-width: 8;
    -webkit-animation: letter-animation 8s linear forwards;
            animation: letter-animation 8s linear forwards;
    -webkit-animation-delay: 3s;
            animation-delay: 3s;
}

.t-3 {
    stroke-width: 10;
    -webkit-animation: letter-animation 8s linear forwards;
            animation: letter-animation 8s linear forwards;
    -webkit-animation-delay: 2.5s;
            animation-delay: 2.5s;
}

.t-2 {
    stroke-width: 10;
    -webkit-animation: letter-animation 8s linear forwards;
            animation: letter-animation 8s linear forwards;
    -webkit-animation-delay: 2.2s;
            animation-delay: 2.2s;
}

.a-1 {
    stroke-width: 20;
    -webkit-animation: letter-animation 5s linear forwards;
            animation: letter-animation 5s linear forwards;
    -webkit-animation-delay: 1.8s;
            animation-delay: 1.8s;
}

.t-1 {
    stroke-width: 20;
    -webkit-animation: letter-animation 5s linear forwards;
            animation: letter-animation 5s linear forwards;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

.k-1 {
    stroke-width: 18;
    -webkit-animation: letter-animation 5s linear forwards;
            animation: letter-animation 5s linear forwards;
}

@-webkit-keyframes letter-animation {
    0% {
        stroke-dashoffset: 2600;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes letter-animation {
    0% {
        stroke-dashoffset: 2600;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

/***********************************************************************
 *  Media Query
 **********************************************************************/
@media only screen and (max-width: 900px) {
    .girl {
        height: 55%;
    }

    #svgwrapper {
        width: 300px;
    }
}

@media only screen and (max-width: 800px) {
    .buttons {
        padding: 0 0 27px 47px;
    }
}

@media only screen and (max-width: 730px) {
    .buttons {
        background-color: white;
        width: 100%;
        z-index: 20;
        height: 15vh;
        padding: 10px 40px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .instagram,
    .mail {
        font-size: 14px;
    }

    .top {
        height: 85%;
        position: relative;
    }

    .bg {
        width: 40%;
    }

    .girl {
        height: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, 0%);
                transform: translate(-50%, 0%);
    }

    #svgwrapper {
        top: 34%;
    }
}

@media only screen and (max-width: 470px) {
    .buttons {
        height: 12%;
    }

    .top {
        height: 88%;
    }

    #svgwrapper {
        width: 320px;
        top: 37%;
    }
}

@media only screen and (max-width: 400px) {
    #svgwrapper {
        width: 300px;
    }
}

@media only screen and (max-width: 340px) {
    .buttons {
        padding: 10px 12px;
    }
}

@media only screen and (max-width: 1100px) and (max-height: 1400px) and (min-width: 730px){
    .girl {
        height: 50%;
        left: 48%;
    }   

    #svgwrapper {
        width: 300px;
    }
}