/*fonty*/
@import url('https://fonts.cdnfonts.com/css/minecrafter');

*{
    padding: 0%;
    margin: 0;
    overflow: hidden;
}

.minecrafter{
    font-family: 'minecrafter', sans-serif;
}

@font-face {
    font-family: 'Minecraftia';
    src: url('./assets/img/minecraft/Minecraftia.ttf') format('truetype');
}

.minecraftia{
    font-family: "Minecraftia" !important;
}

.minecraftia *{
    font-family: "Minecraftia" !important;
}

/*header*/
a{
    text-decoration: none;
}

body{
    background-image: url(./assets/img/borderContactBlack.webp);
    background-color: black;
    width: 100%;
    height: 100vh;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.triangle {
    position: absolute;
    top: 0;
   width: 50px;
   height: 50px;
   background-color:transparent;
}

.photo{
    display: flex;
    position: relative;
    justify-content: center;
    width: 90%;
    margin-bottom: 2.5%;
    margin-left: -3%;
}

.batHeader{
    background-image: url(./assets/img/headerPhotoDesktop.webp);
    height: auto;
    z-index: 0;
    background-size: contain;
    background-repeat: no-repeat;
    width: 80%;
    height: 700px;
    margin-bottom: -25%;
    margin-left: 5%;
}

.batHeaderM{
    background-image: url(./assets/img/minecraft/minecraftBatHeader.webp);
    height: auto;
    z-index: 0;
    background-size: contain;
    background-repeat: no-repeat;
    width: 80%;
    height: 700px;
    margin-bottom: -25%;
    margin-left: 5%;
}

.avatar{
    width: 25%;
    z-index: -1;
    position: absolute;
    margin-top: 8%;
    margin-left: 4%;
}

h1{
    color: aliceblue;
    font-family: "UnifrakturMaguntia", cursive;
    font-size: 90px;
    font-style: normal;
}

h2{
    color: #881C0F;
    font-family: "IM Fell English", serif;
    font-size: 35px;
}

/*kontaktní údje*/
.contactInfo{
    display: flex;
    flex-direction: column;
    justify-content: center;
    float: right;
    width: 48%;
    margin-right: 5%;
}

.iconFlex{
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding-top: 20px;
}

.icon{
    width: 70px;
}

/*responzivita na mobil*/
@media only screen and (min-width: 200px) and (max-width: 699px){
    body{
    flex-direction: column;
    justify-content: center;
    gap: 5%;
    }
    .batHeader{
    background-image: url(./assets/img/headerPhoto.webp);
    margin-bottom: 200px;
    width: 100%;
    margin-top: 10%;
    }
    .batHeaderM{
    background-image: url(./assets/img/minecraft/minecraftBatHeaderM.webp) !important;
    margin-bottom: 200px;
    width: 90%;
    margin-top: 10%;
    }
    .avatar{
    width: 45%;
    margin-top: 48%;
    }
    .photo{
    width: 90%;
    margin-top: -15%;
    }

    .contactInfo{
    width: 70%;
    margin-top: -130%;
    }

    h2{
    font-size: 15px;
    }

    h1{
    font-size: 50px;
    }
    .icon{
    width: 40px;
    }
}

/*responzivita na tablet*/
@media only screen and (min-width: 700px) and (max-width: 1000px){
    body{
    flex-direction: column;
    justify-content: center;
    }

    .photo{
    width: 100%;
    margin-bottom: 15%;
    }
    .batHeader{
    width: 90%;
    height: 700px;
    margin-bottom: 0;
    margin-top: 0%;
    margin-left: 5%;
    }
    .batHeaderM{
    width: 90%;
    height: 700px;
    margin-bottom: 0;
    margin-top: 0%;
    margin-left: 5%;
    }
    .avatar{
    margin-top: 8%;
    margin-left: 4%;
    width: 30%;
    }

    .contactInfo{
    width: 80%;
    margin-left: 30%;
    margin-top: -57%;
    }

    h2{
    font-size: 25px;
    }

    h1{
    font-size: 60px;
    width: 200%;
    }
    .icon{
    width: 50px;
    }
    .iconFlex{
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding-top: 10px;
    }
}

