@import url('https://fonts.googleapis.com/css2?family=MedievalSharp&display=swap');

body{
    margin: 0 auto;
    background-color: #4d0304;
    font-family: 'MedievalSharp', cursive;
    height: 100vh;
}

.header{
    display: block;
    background-image: url('../img/blanik.png');
    width: 100%;
    height: 20vh;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

.nadpis{
    text-align: center;
    color: #fff;
    font-size: 5em;
}

.main{
    background-color: #000000;
    height: 80vh;
    padding-top: 10vh;
}


.rytir{
    margin: 0 auto;
    width: 400px;
}

.kontakt{
    width: 25vw;
    text-align: center;
    margin: 0 auto;
}

.kontakty{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 0 auto;
    width: 90%;
    border-top-left-radius: 3px 20px;
    border-top-right-radius: 23px 130px;
    border-bottom-left-radius: 110px 19px;
    border-bottom-right-radius: 120px 24px;
    background-color: #4d0304;
    padding: 10px;
}

.info{
    padding: 10px;
    position: relative;
    background-color: rgba(255, 255, 255, .95);
    margin: 0 auto;
    border-top-left-radius: 3px 20px;
    border-top-right-radius: 23px 130px;
    border-bottom-left-radius: 110px 19px;
    border-bottom-right-radius: 120px 24px;
    box-shadow: 3px 4px 3px #4d0304;
}

.name{color: #fff}

.helma{
    width: 120px;
    height: 120px;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('../img/helma.png');
    border-radius: 50px;
    margin: 0 auto;
}
.helma2{
    width: 120px;
    height: 120px;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('../img/helma2.png');
    border-radius: 50px;
    margin: 0 auto;
}

@media screen and (max-width: 600px){
    .header{height: 10vh;}
    .nadpis{line-height: 5vh;}

    .kontakty{
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .kontakt{
        width: 90%;
        margin: 0 auto;

    }
}