@import url('https://fonts.googleapis.com/css2?family=Hachi+Maru+Pop&display=swap');


html,body{
    margin: 0;
    height: 100%;
}
body::after{
    position:absolute; width:0; height:0; overflow:hidden; z-index:-1; /* hide images */
    content:url(pictures/pt_icon2_2.png) url(pictures/pt_icon2_hover5.png);   /* load images */
}

.page{
    height: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: repeat url("bg4.png");
    flex-wrap: wrap;
}
.top_line .text{
    font-size: 18px;
    color: #ae7a52;
    padding-left: 35px;
    padding-right: 35px;
    font-family: 'Hachi Maru Pop', sans-serif;
    font-weight: 900;

}

.top_line{
    height: 65px;
    width: 100%;
    background: #ffcfaf;
    border: 3px #ae7a52 solid;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
    position: unset;
}

.block{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    /*height: 600px;*/
    /*width: 1200px;*/
    /*background: #9C0746;*/
    border-radius: 35px;
    /*padding-top: 15px;*/
}

.block div{
    margin-right: 35px;
    margin-bottom: 35px;
    border-radius: 35px;
    height: 250px;
    width: 250px;
    box-shadow: 10px 10px 21px 15px rgba(25, 56, 50, 0.51);
}

.new{
    background: grey;
    display: none;
}

.pt, .ht, .fr{
    height: 150px;
    width: 150px;
    border: none;
    cursor: pointer;

}

.aboutMe{
    bottom: 5px;
}

/*.pt:hover, .ht:hover, .fr:hover{*/
.ht:hover, .fr:hover, .pt:hover{
    opacity: 80%;
}

.pt{
    background: center / contain url("pictures/pt_icon2_2.png");
}
/*.pt:hover{*/
/*    background: center / contain url("pictures/pt_icon2_hover5.png");*/
/*    !*box-shadow: 10px 10px 21px 15px rgba(25, 56, 50, .41);*!*/
/*    !*box-shadow: 21px 15px 10px 10px rgba(25, 56, 50, 0.51);*!*/
/*}*/

.ht{
    background: center / contain url("pictures/hn.png");
}

.fr{
    background: center / contain url("pictures/fr.png");
}

@media (max-height: 480px) and (orientation: landscape){
    html, body {
        display: flex;
        flex-direction: column;
    }
    .page {
        flex-grow: 1;
        align-items: unset;
    }
    .top_line {
         margin-bottom: unset;
    }
    .block div {
        height: 150px;
        width: 150px;
    }

}