@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@1,700&family=Rubik&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 100%
}

body {
    background: url(background.jpg) no-repeat center center fixed;
    background-size: cover;
    font-family: 'Rubik', serif;
}

#video {
    position: fixed;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -2
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    min-height: 960px
}

.profile-card {
    max-width: 480px;
    padding: 32px;
    margin: 6em 1em 3em 1em;
    background-color: rgba(255, 255, 255, .9);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    text-align: center
}

.about {
    margin: 36px auto 12px auto;
    padding: 16px 0 0 0;
    border-top: 1px solid hsl(0, 0%, 90%);
    border-bottom: 1px solid hsl(0, 0%, 90%)
}

.info {
    margin-top: 12px;
    text-transform: uppercase;
    font-size: .8em;
    animation: text-warning 2s ease-in infinite
}

@keyframes text-warning {
    0% {
        color: #747474
    }

    50% {
        color: #ca0000
    }

    100% {
        color: #747474
    }
}

img.profil {
    width: 120px;
    height: 120px;
    margin-top: -6em;
    border-radius: 50%;
    background-color: white;
    padding: 1px 3px 6px 3px;
    transition: all .5s ease-in-out
}

img.profil:hover {
    transform: scale(1.1)
}

img.logo {
    width: 120px
}

img.portfolio {
    width: 100%;
    max-width: 320px
}

h1 {
    font-family: 'Lobster Two', serif;
    font-size: 2em;
    color: #DD7E6B
}

h2 {
    font-size: 1.2em;
    font-weight: 400;
    margin-bottom: .5em
}

p {
    color: hsl(0, 0%, 30%);
    line-height: 1.3;
    margin-bottom: 16px
}

p span {
    color: hsl(0, 0%, 70%)
}

a#kapcsolat {
    display: block;
    max-width: 200px;
    margin: 16px auto;
    padding: 16px 32px;
    text-decoration: none;
    background-color: #CA9E67;
    border-radius: 16px;
    color: rgba(255, 255, 255, .9);
    transition: all .5s ease-in-out
}

a#kapcsolat:hover {
    background-color: #AD7658;
    color: rgba(255, 255, 255, 1)
}

.location {
    width: 12px;
    margin-right: 8px
}

.no-js .preloader {
    display: none
}

.js .preloader {
    display: block;
    position: absolute;
    left: 100px;
    top: 0
}

.preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background: url(loader.svg) center no-repeat #f3f3f3
}