/*--------------------------------------------
        DEMO-PAGE styles
        HORNIGGSBERGER GmbH
        Author: Mark Nowotny
        Author Email: mark@cookycat.com
        Version: 1.0
--------------------------------------------*/


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

body, html {
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #161b20;
    font-size: 100%;
    /* overflow: hidden; */
}

.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 100vh;

    background-color: #161b20;
}

.hero-section404 {
    justify-content: flex-start !important;
    padding: 13vh 0 13vh;
}

.svg-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 100%;
    margin-bottom: 10vh;

    /* background-color: #171b45; */
}

.logo-podlaga {
    width: 100%;
    max-width: 677px;
    height: auto;
    aspect-ratio: 677 / 422;
    
    background: linear-gradient(45deg, 
        rgba(212, 175, 69, 1) 33%, 
        rgba(245, 226, 150, 1) 37.41%, 
        rgba(198, 164, 66, 1) 39.90%, 
        rgba(154, 134, 73, 1) 45.23%, 
        rgba(247, 228, 151, 1) 50.41%, 
        rgba(226, 189, 83, 1) 53.64%, 
        rgba(111, 90, 37, 1) 59.86%, 
        rgba(224, 187, 80, 1) 66.18%, 
        rgba(246, 227, 150, 1) 70.09%, 
        rgba(212, 174, 67, 1) 73.77%, 
        rgba(246, 227, 150, 1) 78.14%, 
        rgba(212, 175, 69, 1) 86%
    );

    -webkit-mask-image: url(../images/h-logo-clipp-back.png);
    mask-image: url(../images/h-logo-clipp-back.png);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.75;
    mix-blend-mode: soft-light;
    animation: ColorMixAnimation 2s linear infinite alternate;
    z-index: 2;
    pointer-events: none;
    -webkit-mask-image: url(../images/h-logo-clipp-back.png);
    mask-image: url(../images/h-logo-clipp-back.png);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

@keyframes ColorMixAnimation {
    0% {
        background-color: #e2d410;
    }
    60% {
        background-color: #5d1919;
    }
    100% {
        background-color: #535c68;
    }
}

.clipp-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#main-name,
#sub-slogan,
#logo-out {
    fill: #ffffff;
}

#logo-clip {
    fill: none;
}

.answer-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.answer-title h1 {
    font-family: 'Resagokr',  sans-serif;
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 300;
    text-align: center;

    color: rgba(198, 164, 66, 1);
}

.answer-title .bigger-title {
    font-size: 3.2rem;
    line-height: 1;
    color: white;
    margin: 3vh 0 5vh;
}

.answer-title .button-a {
    font-family: 'Mona Sans',  sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    text-decoration: none;
    color: rgba(198, 164, 66, 1);
    transition: color 350ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.answer-title .button-a:hover {
    color: white;
}

.answer-title .button-a.active {
    color: white;
}



@media screen and (max-width: 576px) {

    .hero-section404 {
        padding: 8vh 40px 8vh;
    }
    
    .svg-container {
        max-width: calc(100vw - 80px);
        margin-bottom: 7vh;
    }

    .svg-container404 {
        max-width: 280px !important;
    }

    .answer-title .number {
        font-size: 1.8rem;
    }

    .answer-title h1 {
        font-size: 2rem;
    }

    .answer-title .bigger-title {
        font-size: 2.2rem;
        margin: 3vh 0 5vh;
    }
}
