@font-face {
    font-family: "Font";
    src: url("BasicallyAMonoMedium.ttf") format("truetype");
}

body {
    margin: 0;
}

#main-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr 100px;
}

header {
    position: relative;
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

#logo-container{
display: flex;
height: auto;
width: 100%;
}
#logo{
    width: 100%;
    height: auto;
}








#telephone{
    position: sticky;
    display: flex;
    grid-column: 1/3;
    grid-row: 2;
    width: 100%;
    height: 100%;
    justify-content: space-evenly;
}



.tf{
    margin: 0;
    padding-top: 5%;
    padding-bottom: 5%;
}

#telegram,#viber,#phone{
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black;
}

.icon{
    width:auto;
    height: 20px;
    margin-right: 5px;
}

main {
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 2fr 1fr 2fr;
    grid-auto-rows: auto;

    gap:20px 2%;
}
.price{
    color: green;
}
.inf{
    font-size: 19px;
}

.foto {
    place-self: center;
    width: 250px;
    height: 250px;

    background-color:white;
    border-radius: 20%;
}
.pet{
    
    height: 100%;
}

footer {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    background-color: rgba(0, 0, 0, 0.1);
}


#footText {
    height: 100%;
    width: 100%;
    grid-row: 2;;
    position: relative;
}

#footText p {
    position: absolute;
    margin-bottom: 3px;
    margin-left: 10px;
    bottom: 0px;
    font-size: 16px;
}

@media(max-width:1023px){
    .inf{
        font-size: 16px;
    }
    .foto{
        height: 200px;
        width: 200px;
    }
    main{
        grid-template-columns: 1fr 2fr;
    }
    #main-text{
        font-size: 20px;
    }

}

@media(max-width:599px){
    #telephone{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        justify-items: center;
    }
    #main-text{
        font-size: 16px;
    }

}

