.first, .last {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
}
.first > div:nth-of-type(1) {
    display: grid;
    align-items: start;
    justify-items: end;
    padding: 12vh 35px 0 0;
}
.last > div:nth-of-type(1) {
    display: grid;
    align-items: center;
    justify-items: end;
    padding: 0 35px 0 0;
}
.nav {
    padding: 25px 0 0 65px;
    font-size: 20px;
    font-weight: 500;
}
.nav a {
    padding-left: 15px;
}
.first > div:nth-of-type(2) {
    background-color: #E9E6D7;
    padding: 12vh 0 12vh 12vh;
}
.last > div:nth-of-type(2) {
    display: grid;
    align-items: center;
    background-color: #E9E6D7;
    padding: 12vh;
}
.last > div:nth-of-type(2) > div {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr auto;
}
.images {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}
.images > div {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: transparent;
    opacity: 0;
    z-index: 0;
    animation: slideshow__fade 30s linear infinite 0s;
    backface-visibility: hidden;
}
.images > div:not(:first-of-type) {
    position: absolute;
    top: 0;
    left: 0;
}
.images > div:nth-of-type(1) {
    background-image: url(../images/home/1.jpg);
    animation-delay: 0s;
    opacity: 1;
}
.images > div:nth-of-type(2) {
    background-image: url(../images/home/2.jpg);
    animation-delay: 5s;
}
.images > div:nth-of-type(3) {
    background-image: url(../images/home/3.jpg);
    animation-delay: 10s;
}
.images > div:nth-of-type(4) {
    background-image: url(../images/home/4.jpg);
    animation-delay: 15s;
}
.images > div:nth-of-type(5) {
    background-image: url(../images/home/5.jpg);
    animation-delay: 20s;
}
.images > div:nth-of-type(6) {
    background-image: url(../images/home/6.jpg);
    animation-delay: 25s;
}
.phone {
    display: flex;
    align-items: center;
    gap: 15px;
}
#about {
    display: grid;
    grid-template-columns: 2fr 1.125fr;
}
#about > div {
    padding: 75px 0;
    gap: 25px;
}
#about p {
    font-size: 18px;
    margin-bottom: 20px;
}
#about > div:nth-of-type(1) {
    display: grid;
    align-items: center;
    justify-items: end;
    padding-right: 25px;
}
#about > div:nth-of-type(1) > div:nth-of-type(1) {
    background: #F8F6EE;
    width: 650px;
    height: 455px;
    align-self: end;
    padding: 25px;
}
#about > div:nth-of-type(1) > div:nth-of-type(2) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-self: start;
}
#about > div:nth-of-type(2) {
    display: grid;
    background-color: #A2AEA2;
    align-items: center;
    justify-items: start;
}
#about > div:nth-of-type(2) > div {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    gap: 25px;
    padding-left: 25px;
}
#about .image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 200px;
    height: 135px;
}
.img_1 {
    background-image: url(../images/about/1.jpg);
}
.img_2 {
    background-image: url(../images/about/2.jpg);
}
.img_3 {
    background-image: url(../images/about/3.jpg);
}
.img_4 {
    background-image: url(../images/about/4.jpg);
}
.img_5 {
    background-image: url(../images/about/5.jpg);
}
.img_6 {
    background-image: url(../images/about/6.jpg);
}
.img_7 {
    background-image: url(../images/about/7.jpg);
}
.bttn {
    display: grid;
    place-content: center;
    padding: 25px;
}
#gallery, .unset {
    min-height: unset;
}
#slider_1, #slider_2, #slider_3 {
    height: 200px;
}
#slider_1 a, #slider_2 a, #slider_3 a {
    height: 100%;
    width: 100%;
}
#slider_1 a img, #slider_2 a img, #slider_3 a img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 1024px) {
    .first, .last {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
    .first > div:nth-of-type(1),
    .last > div:nth-of-type(1) {
        justify-items: start;
        padding: 15px 25px;
        width: 100%;
        position: relative;
    }
    .last > div:nth-of-type(1) {
        justify-items: center;
    }
    .first > div:nth-of-type(1) img {
        width: 175px;
        height: 74px;
    }
    .first > div:nth-of-type(2),
    .last > div:nth-of-type(2) {
        padding: 10vh 0 10vh 0;
    }
    .last > div:nth-of-type(2) > div {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0 25px;
    }
    .last > div:nth-of-type(2) > div > img {
        width: 100%;
        height: auto;
    }
    #burger {
        display: block;
    }
    #about {
        grid-template-columns: 1fr;
        place-content: center;
    }
    #about > div:nth-of-type(1),
    #about > div:nth-of-type(2) {
        justify-items: center;
        padding: 0;
    }
    #about > div:nth-of-type(1) > div:nth-of-type(1),
    #about > div:nth-of-type(1) > div:nth-of-type(2) {
        width: 100%;
        padding: 25px;
        height: unset;
    }
    #about > div:nth-of-type(2) > div {
        grid-template-rows: 1fr;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 25px;
        width: 100%;
    }
    #about .image {
        width: 100%;
    }
    .img_7 {
        display: none;
    }
  }
  @media only screen and (max-width: 465px) {
    #slider_1, #slider_2, #slider_3 {
        height: 100px;
    }
    #contact img:not(.phone img) {
        width: 100%;
        height: auto;
        margin-top: 35px;
    }
  }