@import url('https://fonts.cdnfonts.com/css/minecrafter');

*{
    padding: 0%;
    margin: 0;
}

/*fonty*/
@font-face {
    font-family: 'Minecraftia';
    src: url('./assets/img/minecraft/Minecraftia.ttf') format('truetype');
}

.minecrafter{
    font-family: 'minecrafter', sans-serif;
}

.minecraftia{
    font-family: "Minecraftia" !important;
}

.minecraftia *{
    font-family: "Minecraftia" !important;
}

/*header*/
body{
    background-color: #000000;
    overflow-x: hidden;
}

a{
    text-decoration: none;
}

.creeperIcon{
    width: 30px;
}

.creeperIconM{
    width: 30px;
}

.bar{
    width: 100%;
}

button{
    width: 38px;
    border: none;
    background-color: transparent;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topButtons {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 99;
    display: flex;
    gap: 10px;
    justify-self: end;
    align-items: center;
}

.topButtons > * {
    cursor: pointer;
}

h1{
    font-family: "UnifrakturMaguntia", cursive;
    font-weight: 500;
    font-style: normal;
    font-size: 120px;
    color: #FFFF;
}

h2{
    font-family: "IM Fell English", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
}

h4{
    color: aliceblue;
}

.redText{
    color: #881C0F;
}

.header{
    background-image: url(./assets/header_01.webp);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: -15px;
    position: relative;
}

.batHeader{
    background-image: url(./assets/img/headerPhotoDesktop.webp);
    height: auto;
    z-index: 0;
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 700px;
    margin-bottom: 5%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-position: center;
}

.batHeaderM{
    background-image: url(./assets/img/minecraft/minecraftBatHeader.webp);
    height: auto;
    z-index: 0;
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 700px;
    margin-bottom: 5%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-position: center;
}

.avatar{
    width: 25%;
    position: absolute;
    z-index: 0;
    margin-bottom: 80px;
}

.info{
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
} 

.contactButton{
    position: relative;
    display: flex;
    justify-content: center;
}


.headerContact{
    color: aliceblue;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*what I offer*/
.textSkills{
    padding-top: 5%;
    padding-left: 40px;
}

.buttons{
    display: flex;
    flex-direction: row;
    gap: 40px;
    padding-left: 40px;
    padding-top: 20px;
}

.buttonSkillsLonger{
    width: 30%;
}

.buttonSkills{
    width: 20%;
}

#skillsDesign{
    display: none;
}

.skillsCard {
    position: relative;
    width: 28%;
    aspect-ratio: 1/1;
    margin-top: 5%;
    margin-left: 50px;
}

.skillsImg{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition-duration: 1s;
}
.skillsImg:hover{
    opacity: 0;
}

.textskills{
    color: aliceblue;
    width: calc(100% - 40px);
    padding: 20px;
}

.skillsBars{
    display: flex;
    flex-direction: row;
    gap: 1%;
}

.language{
width: 100%;
}

.skillsLogo{
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    padding-top: 100px;
    overflow-x: scroll;
    flex-wrap: nowrap;
    white-space: nowrap;
    width: 100%;
    overflow-x: hidden;
}

.skills{
    display: inline-flex;
    gap: 30px;
    white-space: nowrap;
    flex-wrap: nowrap;
}

/*scroll*/
.logo{
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(103px*3);
    height: calc(74px*3);
    background-image: url(./assets/logo/logoBarGrey.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

.logoImg{
    width: 50%;
}

.figma{
    width: 30%;
}

.scrollProgrammingD{
    display: none !important;
}

.scrollProgramming{
    display: flex !important;
}

.scrollDesignD{
    display: none !important;
}

.scrollDesign{
    display: flex !important;
}

.w-full {
    width: 100%;
} 

/*projects*/
.projectBars{
    display: flex;
    flex-direction: row;
    margin-left: 3%;
    gap: 7%;
    flex-wrap: wrap;
}

#projectBarsDesign{
    display: none;
}

.projectImg{
    width: 400px;
    height: 400px;
    padding-top: 14%;
    object-fit: cover;
}

.visibility{
    visibility: hidden;
    display: none;
}

/*footer*/
.footerH{
    color: #881C0F;
}

.footerH2{
    font-size: 35px;
}

.footerIcon{
    width: 200%;
}

.footerContact{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 250px;
    margin-top: 2%;
    margin-bottom: 2%;
    width: 70%;
}

.footerNav{
    color: #881C0F;
}

.footerNavFlex{
    display: flex;
    flex-direction: column;
}

.footerFlex{
    margin-top: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footerIconFlex{
    width: 15%;
    display: flex;
    flex-direction: row;
    gap: 50px;
    padding-top: 10px;
}

/*kontaktní formulář*/
.flexForm{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 20px;
}

.flexForm > div{
    display: flex;
    flex-direction: column;
}

label{
    color:#881C0F;
    padding-bottom: 5px;
}

input, textarea{
    border-radius: 5px;
    border: none;
    outline: none;
    padding: 5px 10px;
    resize: none;
    background-color: rgb(111, 111, 111);
}

textarea{
    height: 50px;
    background-color: rgb(111, 111, 111);
}

::placeholder{
    color: #000000;
}

.send{
    background-color: #881C0F;
}

.c{
    position: absolute;
    color: #881C0F;
    margin-bottom: -250px;
}

/*responzivita pro mobil*/
@media only screen and (min-width: 200px) and (max-width: 699px){
    .nadpis{
        font-size: 60px;
        padding-left: 50px;
    }
    .buttonSkillsLonger {
        width: 40%; 
    }
    .batHeader{
        background-image: url(./assets/img/headerPhoto.webp);
        margin-bottom: 0;
        margin-top: 50px;
        width: 90%;
        background-position: unset;
    }
    .batHeaderM{
        background-image: url(./assets/img/minecraft/minecraftBatHeaderM.webp);
        margin-bottom: 0;
        margin-top: 50px;
        width: 90%;
        background-position: unset;
    }
    .avatar{
    margin-bottom: 120px;
    width: 43%;
    }
    .redText{
        font-size: 15px;
    }
    .info{
    bottom: 70px;
    left: 50%;
    } 
    .bar{
    width: 80%;
    margin-top: 5%;
    }
    .headerContact{
    font-size: 15px;
    margin-top: 2.5%;
    }
    .textskills{
    font-size: 10px;
    }
    .skillsImg{
    width: 80%;
    height: 80%;
    }
    .textSkills{
    font-size: 60px;
    }
    .language{
    width: 100%;
    }
    .buttonSkills{
    width: 40%;
    }
    .headerContact{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    }
    .headerContactD{
    position: absolute;
    color: aliceblue;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    }
    .skillsImg{
    width: 100%;
    height: 100%;
    object-fit: cover;
    }
    .textskills{
    font-size: 20px;
    margin-top: 5%;
    }
    .skillsBars{
    flex-direction: column;
    }
    .skillsCard{
    width: 60%;
    margin-left: 90px;
    }
    .projectImg{
    width: 300px;
    height: auto;
    padding-top: 14%;
    margin-left: 13%;
    object-fit: cover;
    }
    .projectBars{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 3%;
    gap: 10%;
    }
    .footerH{
    font-size: 80px;
    }
    .footerH2{
    font-size: 20px;
    }
    .footerNav{
    font-size: 20px;
    }
    .footerContact{
    gap: 10%;
    margin-top: 2%;
    margin-bottom: 2%;
    margin-left: -3%;
    }
    .footerIcon{
    width: 50%;
    margin-right: 1%;
    }
    .footerIconFlex{
    width: 20%;
    display: flex;
    flex-direction: row;
    gap: 10%;
    margin-left: 0%;
    }
    .logo{
    width: calc(103px*2);
    height: calc(74px*2);
    }
    .c{
    font-size: 15px;
    margin-bottom: -300px;
    }
    input, textarea{
        width: 100px;
    }
    .send{
    background-color: #881C0F;
    width: 50px;
    }
}

/*responzivita pro tablet*/
@media only screen and (min-width: 700px) and (max-width: 1000px){
    .nadpis{
        font-size: 100px;
    }
    .redText{
        font-size: 25px;
    }
    .batHeader{
    margin-bottom: 250px;
    }
    .batHeaderM{
    margin-bottom: 250px;
    }
    .avatar{
    margin-bottom: 260px;
    width: 30%;
    }
    .info{
    bottom: 50px;
    left: 50%;
    } 
    .language{
    width: 100%;
    }
    .headerContact{
    font-size: 20px;
    }
    .textskills{
    font-size: 25px;
    padding: 20px;
    }
    .headerContact{
    font-size: 20px;
    }
    .bar{
    width: 90%;
    }
    .skillsImg{
    width: 100%;
    height: 100%;
    }
    .textskills{
    font-size: 16px;
    }
    .textSkills{
    font-size: 75px;
    }
    .projectImg{
    width: 300px;
    height: 300px;
    padding-top: 14%;
    }
    .projectBars{
    margin-left: 8%;
    gap: 7%;
    }
    .skillsBars{
    display: flex;
    flex-direction: row;
    gap: 1%;
    margin-right: 5%;
    }
    .footerH{
    font-size: 80px;
    }
    .footerH2{
    font-size: 25px;
    }
    .logo{
    width: calc(103px*2);
    height: calc(74px*2);
    }
    .footerContact{
    gap: 100px;
    }
    .c{
    font-size: 20px;
    margin-bottom: -250px;
    }
}
