@font-face {
  font-family: "BebasNeue Bold";
  src: url(/fonts/BebasNeueBold.woff2) format("woff2");
}
@font-face {
  font-family: "Raleway";
  src: url(/fonts/Raleway.woff2) format("woff2");
}
:root {
  --black: #272727;
  --beige: #ab8264;
  --light-beige: #efe9e3;
  --white: #f9f4f0;
  --green: #396448;
  --light-green: #56986e;
  --beige-gradient: linear-gradient(
    177.31deg,
    rgba(171, 130, 100, 0) -8.42%,
    #ab8264 97.76%
  );
  --green-gradient: linear-gradient(
    0deg,
    #466b34 0%,
    rgba(70, 107, 52, 0) 100%
  );
}
* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  background-color: var(--white);
}
h1,
h2,
h3,
button,
#phone {
  font-family: "BebasNeue Bold";
}
nav,
p,
caption,
label,
input,
textarea,
#contacts,
li {
  font-family: "Raleway";
}
section,
header,
footer {
  max-width: 134rem;
  width: 100%;
  margin: 0 auto;
}
#about-dogs-section, #our-dogs-section, #knowledge-base-section, #news-section, footer{
  max-width: none;
}
nav > ul,
nav,
header {
  display: flex;
}
header {
  position: absolute;
  left: 0;
  right: 0;
  top: 2rem;
  margin: auto;
  height: 12rem;
  align-items: center;
  z-index: 1;
  justify-content: space-between;
  padding: 0 1rem;
  gap: 1rem;
}
header > a {
  max-width: 6.5rem;
  width: 100%;
}
h1 {
  font-size: 7rem;
  line-height: 120%;
  max-width: 56.8rem;
  width: 100%;
}
h2 {
  font-size: 6.8rem;
  line-height: 120%;
  text-align: center;
}
h3,
button,
#phone {
  font-size: 2.8rem;
  line-height: 120%;
}
p,
li,
#contacts {
  font-size: 1.8rem;
  line-height: 140%;
}
label,
input,
textarea {
  font-size: 1.8rem;
  line-height: 120%;
}
nav {
  font-size: 1.6rem;
  line-height: 120%;
  gap: 5rem;
}
.caption {
  font-size: 1.4rem;
  line-height: 120%;
  color: var(--beige);
}
.caption-div{
  display: flex;
  justify-content: space-between;
}
a {
  text-decoration: none;
  font-style: normal;
}
li {
  list-style-type: none;
  text-align: center;
}
input,
textarea {
  border: 0.2rem solid var(--beige);
  border-radius: 2rem;
  margin-bottom: 2rem;
  padding: 2rem 3rem;
  background-color: var(--white);
}
input{
  max-width: 31rem;
  width: 100%;
}
textarea {
  resize: none;
  padding-top: 3rem;
}
label {
  font-weight: 700;
  margin-bottom: 1rem;
}
::placeholder {
  color: var(--beige);
}
footer > div > p:first-child {
  color: #56986e;
}
#left-menu > li > a {
  color: black;
}
#right-menu > li > a {
  color: var(--white);
}
#left-menu,
#right-menu {
  gap: 3rem;
  padding: 0;
}
#left-menu{
  min-width: 47rem;
}
#right-menu{
  min-width: 30rem;
}
#phone > a,
#contacts > div > a {
  color: var(--white);
}
#phone {
  align-self: center;
  text-align: center;
  min-width: 18rem;
}
#right-main-section > div {
  background-color: var(--light-beige);
  border-radius: 2rem;
  display: flex;
  max-width: 45rem;
  width: 100%;
  height: 8.2rem;
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  gap: 2rem;
  padding: 2.4rem 3rem;
  align-items: center;
}
#right-main-section > div > img {
  max-width: 3rem;
  width: 100%;
  align-self: center;
}
#right-main-section > p {
  align-self: center;
}
#main-section {
  display: flex;
  height: 83rem;
  position: static;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}
#right-main-section {
  max-width: 65.5rem;
  width: 100%;
  height: 100%;
  background-image: url(/img/main-dog.jpg);
  border-radius: 0 0 3rem 3rem;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  background-position-x: right;
}
#left-main-section > .green-button {
  max-width: 28.2rem;
  width: 100%;
  margin-right: 1rem;
}
#left-main-section > .white-button {
  max-width: 18.1rem;
  width: 100%;
}
#left-main-section > p {
  max-width: 48.14rem;
  width: 100%;
  margin-bottom: 5rem;
}
#left-main-section{
  width: 100%;
}
.green-button {
  color: var(--white);
  background-color: var(--green);
}
.white-button {
  color: var(--green);
  background-color: var(--white);
}
button {
  border: 0.1rem solid var(--green);
  border-radius: 2rem;
  height: 8.2rem;
  max-width: 28.2rem;
  width: 100%;
  cursor: pointer;
}
#our-dogs-section > ul > li {
  border: 0.1rem solid var(--green);
  color: var(--green);
  border-radius: 1rem 1rem 0 0;
}
#our-dogs-section > ul > li:first-child {
  color: var(--white);
  background-color: var(--green);
}
#our-dogs-section > div > h2{
  padding-top: 4rem;
}
#p1,
#p2,
#about-us-section > div > div > div {
  background-color: var(--light-beige);
  border-radius: 3rem;
}
#p1,
#p2{
  padding: 2rem;
  margin-bottom: 0;
}
#about-us-section > div {
  display: flex;
}
#about-us-section > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
#about-us-section > div > div > div {
  max-width: 58rem;
  width: 100%;
  height: 26rem;
  background-image: url(/img/dog-in-corner.svg);
  padding: 3rem;
  padding-top: 2rem;
  
}
#about-us-section > div > div > div > p{
  font-size: 2.8rem;
}
#p1 {
  max-width: 42rem;
  width: 100%;
}
#p2 {
  max-width: 30rem;
  width: 100%;
}
#p1,
#p2 {
  height: 14.8rem;
}
img[alt="dog1"] {
  max-width: 35rem;
  width: 100%;
}
img[alt="dog2"] {
  max-width: 19rem;
  width: 100%;
  height: 14.8rem;
  align-self: center;
}
#about-us-section > div > img {
  max-width: 37rem;
  width: 100%;
  align-self: center;
}
#our-dogs-section > div {
  background-color: var(--green);
  border-radius: 5rem;
  color: var(--white);
}
#why-we-section > div > div > div {
  background-color: var(--light-beige);
  border-radius: 3rem;
  max-width: 42.7rem;
  width: 100%;
  height: 20rem;
  padding: 3rem 0 0 2rem;
}
#why-we-section > div > div > div:first-child{
  background-image: url(/img/advantage1.svg);
}
#why-we-section > div > div > div:nth-child(2){
  background-image: url(/img/advantage2.svg);
}
#why-we-section > div > div > div:nth-child(3){
  background-image: url(/img/advantage3.svg);
}
#why-we-section > div > div > div:last-child{
  background-image: url(/img/advantage4.svg);
}
#about-dogs-section > ul > li {
  border: 0.1rem solid var(--beige);
  color: var(--beige);
  border-radius: 1rem 1rem 0 0;
}
#about-dogs-section > ul > li:first-child {
  color: var(--white);
  background-color: var(--beige);
}
#about-dogs-section > div > h2 {
  color: var(--white);
}
#about-dogs-section > div {
  background-color: var(--beige);
  border-radius: 5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 5rem;
  gap: 3rem;
  width: 100%;
}
#about-dogs-section > div > button{
  margin: 2rem 20rem;
  flex: 0 0 auto;
}
#about-dogs-section > div > div {
  display: flex;
  flex-wrap: wrap;
  height: 73.1rem;
  align-content: space-between;
  justify-content: space-between;
}
#about-dogs-section > div > div > div {
  max-width: 31rem;
  width: 100%;
  height: 19.4rem;
  background-color: var(--light-beige);
  border-radius: 3rem;
  padding: 3rem;
}
#about-dogs-section > div > div > div > h3{
  margin: 0 0 1rem 0;
}
#about-dogs-section > div > div > div > img{
  max-width: 2.2rem;
  width: 100%;
  margin: 0 1rem 1rem 0;
  border-radius: 0;
}
#about-dogs-section > div > div > div > p{
  margin: 0;
}
#about-dogs-section > div > div > div:first-child {
  max-width: 65.5rem;
  width: 100%;
  height: 29rem;
}
#about-dogs-section > div > div > div:first-child > h3{
  margin-bottom: 3rem;
}
#faq-section{
  margin-bottom: 15rem;
}
#faq-section > p {
  text-align: center;
  margin-bottom: 4rem;
}
#faq-section > div{
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
#faq-section > div > div {
  border: 0.1rem solid var(--beige);
  border-radius: 3rem;
  padding: 3rem 4rem;
  display: flex;
  gap: 1.2rem;
  justify-content: space-between;
}
#faq-section > div > div > div{
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}
#faq-section > div > div > img{
  cursor: pointer;
}
#faq-section > div > div:first-child > p{
  margin-top: 0;
  max-width: 84rem;
  width: 100%;
}
#faq-section > div > div > h3{
  margin: 0;
}
#faq-section > div > div:first-child {
  background-color: var(--light-beige);
  border: none;
  flex-direction: column;
}
#faq-section > h2{
  margin: 10rem 0 4rem 0;
}
#faq-section > div > div > div > img{
  cursor: pointer;
}
#knowledge-base-section > ul > li {
  border: 0.1rem solid var(--green);
  color: var(--green);
  border-radius: 1rem 1rem 0 0;
}
#knowledge-base-section > ul > li:first-child {
  color: var(--white);
  background-color: var(--green);
}
#knowledge-base-section > div {
  background-color: var(--green);
  border-radius: 5rem;
}
#knowledge-base-section > div {
  color: var(--white);
}
footer {
  background-color: var(--beige);
  border-radius: 6rem 6rem 0 0;
  color: var(--white);
  gap: 5rem;
}
#contacts > a {
  color: var(--white);
}
img {
  border-radius: 3rem;
}
#our-dogs-section,
#about-dogs-section,
#knowledge-base-section,
footer {
  width: 100%;
}
section > ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: -1rem;
  padding-left: 0;
}
section > ul > li {
  padding: 2rem;
  font-weight: 700;
  font-family: "BebasNeue Bold";
  font-size: 2.8rem;
  cursor: pointer;
}
#our-dogs-section > div > h2,
#knowledge-base-section > div > h2,
#about-dogs-section > div > h2 {
  margin-top: 0;
}
#our-dogs-section > div > div > div {
  min-width: 42.7rem;
  width: 100%;
  height: 37rem;
  position: relative;
  padding: 0 2.4rem;
  border-radius: 3rem;
}
#our-dogs-section > div > div > div:first-child{
  background-image: url(/img/our-dogs-dog1.jpg);
}
#our-dogs-section > div > div > div:nth-child(2){
  background-image: url(/img/our-dogs-dog2.jpg);
  background-repeat: no-repeat;
}
#our-dogs-section > div > div > div:last-child{
  background-image: url(/img/our-dogs-dog3.jpg);
}
#our-dogs-section > div > div{
  display: flex;
  gap: 3rem;
  justify-content: space-between;
}
#our-dogs-section > div{
  display: flex;
  flex-direction: column;
  align-items: center;
}
#our-dogs-section > div > button{
  max-width: 30rem;
  width: 100%;
  margin: 3rem 0;
}
#about-dogs-section > div > h2{
  width: 100%;
  margin: 0;
}
#our-dogs-section > div > div > div > p{
  font-family: "BebasNeue Bold";
  font-weight: 700;
  font-size: 2.8rem;
  position: absolute;
  bottom: 0;
  left: 5rem;
}
#our-dogs-section{
  margin-top: 10rem;
}
#why-we-section > div > div {
  max-width: 88.4rem;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 8.5rem;
}
#why-we-section > div {
  display: inline-block;
}
#about-dogs-section > div > div {
  max-width: 65.5rem;
  width: 100%;
}
#about-dogs-section > div > img {
  max-width: 65.32rem;
  width: 100%;
  height: 73.1rem;
}
#knowledge-base-section > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#knowledge-base-section > div > div {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}
#knowledge-base-section > div > div > div{
  max-width: 42.7rem;
  width: 100%;
  height: 37rem;
  position: relative;
}
#knowledge-base-section > div > div > div > p{
  font-family: "BebasNeue Bold";
  font-weight: 700;
  font-size: 2.8rem;
  position: absolute;
  bottom: 0;
  left: 3rem;
}
#knowledge-base-section > div > button{
  max-width: 30rem;
  width: 100%;
  margin: 4rem 0 6rem 0;
}
#knowledge-base-section > div > h2{
  margin: 5rem 0 4rem 0;
}
#news-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#news-section > div {
  display: flex;
  gap: 3rem;
}
#news-section > h2{
  margin-top: 10rem;
}
#news-1 {
  max-width: 65.55rem;
  width: 100%;
}
#news-1 > div:last-child{
  height: 26.2rem;
}
#news-1 > div > h3{
  margin: 0;
}
#news-1  > div > p{
  margin-bottom: 0;
}
#news-2 {
  background-color: var(--white);
  border-radius: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  max-width: 65rem;
}
#news-2 > img{
  height: 20rem;
  max-width: 34.3rem;
  width: 100%;
}
#news-2 > div{
  height: 20rem;
  max-width: 30rem;
  width: 100%;
  padding: 3rem;
}
#news-2 > div > h3{
  margin: 1rem 0;
  font-size: 2.2rem;
}
#news-section > div > div > div {
  background-color: var(--light-beige);
  border-radius: 3rem;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
#news-section > button{
  margin-top: 4rem;
}
#img-news{
  background-image: url(/img/news-dog1.jpg);
  max-width: 65.6rem;
  width: 100%;
  height: 37.9rem;
  background-position-x: center;
}
#form-section{
  margin-top: 10rem;
}
#form-section > p {
  text-align: center;
  margin: 0 0 5rem 0;
}
#form-section > div > img {
  max-width: 65.4rem;
  width: 100%;
}
form {
  height: 48.3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(5, auto);
  margin-right: 4rem;
  column-gap: 2rem;
}
form > button{
  max-width: 30rem;
  width: 100%;
}
#form-section > div > div {
  display: inline-block;
}
#form-section > div{
  max-width: 134rem;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 3rem;
}
#form-section > h2{
  margin-bottom: 4rem;
}
label[for="name"] {
  grid-column: 1;
  grid-row: 1;
}
label[for="email"] {
  grid-column: 2;
  grid-row: 1;
}
#name {
  grid-column: 1;
  grid-row: 2;
  height: 7.2rem;
}
#email {
  grid-column: 2;
  grid-row: 2;
  height: 7.2rem;
}
label[for="message"] {
  grid-column: 1;
  grid-row: 3;
}
#message {
  grid-column: 1 / span 2;
  grid-row: 4;
  height: 17.6rem;
}
button[type="submit"] {
  grid-column: 1;
  grid-row: 5;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 5rem 7rem;
  position: relative;
  bottom: 0;
  margin-top: 10rem;
}
footer > div:last-child {
  display: flex;
  gap: 5rem;
}
footer > div:last-child > div > ul > li{
  margin-bottom: 1.5rem;
}
footer > div:last-child > div {
  display: flex;
  flex-direction: column;
}
footer > div:last-child > div > ul {
  padding-left: 0;
}
footer > div:last-child > div > h3{
  text-align: center;
}
footer > div:first-child {
  display: flex;
}
#contacts {
  display: flex;
  flex-direction: column;
}
footer > div:first-child > div > ul {
  display: flex;
}
footer > div:first-child > a {
  max-width: 11.2rem;
  width: 100%;
  height: 20.9rem;
}
#about-us-section > h2{
  margin-top: 10rem;
}
#why-we-section > h2{
  margin-top: 10rem;
}
#why-we-section{
  height: 71.7rem;
  margin-bottom: 15rem;
}
#why-we-section > img{
  position: absolute;
  margin-left: -20rem;
  z-index: -1;
}
footer > div > div > ul{
  padding-left: 0;
  margin: 2rem 0;
}
a{
  width: 100%;
  cursor: pointer !important;
  z-index: 100000;
}
img[alt='logo'], img[alt='lens']{
  border-radius: 0;
}
#contacts > div > img{
  border-radius: 0;
}
footer > div > div > ul > li > img {
  border-radius: 1rem;
}
footer > div > div > ul{
  gap: 1rem;
  cursor: pointer;
}
footer > div > div > p{
  cursor: pointer;
}
footer > div > a{
  margin: 2.8rem 4rem 0 0;
}
footer > div:first-child > div > h3{
  margin-bottom: 1.3rem;
}
footer > div:last-child > div > ul{
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 28rem;
  gap: 0;
}
html, body{
  margin: 0;
  overflow-x: hidden;
}
#grid-header{
  background-color: var(--beige);
  position: static;
  width: 100%;
  height: 15rem;
  padding: 3rem 7rem;
  border-radius: 0 0 5rem 5rem;
}
a[href="/grid.html"], a[href="/index.html"], a[href="/form.html"],
a[href="/demo.html"]{
  color: black;
}
#first-grid{
  display: grid;
  height: 50rem;
  max-width: 50rem;
  width: 100%;
  margin: 5rem auto;
  background-color: black;
  grid-template-columns: repeat(4, 2fr) 1fr;
  grid-template-rows: repeat(5, 2fr) 1fr;
  gap: 1rem;
  border: 1rem solid black;
}
.cell-1, .cell-13{
  background-color: red;
  grid-column: 1/3;
}
.cell-2, .cell-3, .cell-4, .cell-5, .cell-6, .cell-7,
.cell-8, .cell-12, .cell-14{
  background-color: white;
}
.cell-5{
  grid-column: 1/3;
}
.cell-6{
  grid-column: 3/5;
}
.cell-7{
  grid-column: 5/6;
  grid-row: 2/4;
}
.cell-8{
  grid-column: 1/3;
  grid-row: 3/4;
}
.cell-9{
  background-color: blue;
  grid-row: 3/5;
  grid-column: 3/5;
}
.cell-10, .cell-11{
  background-color: yellow;
  grid-column: 5/6;
  grid-row: 4/6;
}
.cell-11{
  grid-row: 5/7;
  grid-column: 1/2;
}
.cell-12{
  grid-row: 5/7;
  grid-column: 2/3;
}
.cell-13{
  grid-column: 3/5;
  grid-row: 5/7;
}
.cell-14{
  grid-row: 6/7;
  grid-column: 5/6;
}
.dashboard{
  display: grid;
  grid-template-rows: 2fr 1fr 1fr;
  grid-template-columns: 1fr 2fr 1fr 1fr 2fr;
  height: 70rem;
  background-color: white;
  border: 1rem solid black;
  gap: 2rem;
  padding: 2rem 2rem 2rem 0;
  grid-template-areas: 
    "menu chart-1 chart-1 chart-1 chart-1"
    "menu chart-2 chart-3 chart-3 chart-4"
    "menu chart-5 chart-5 chart-6 chart-6";
}
.dashboard-cell-1{
  grid-area: menu;
  background-color: black;
  color: white;
}
.dashboard-cell-1 > ul{
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-evenly;
}
.dashboard-cell-1 > ul > li{
  cursor: pointer;
}
.dashboard-cell-2{
  grid-area: chart-1;
  background-image: url(/img/chart-1.jpeg);
  background-size: cover;
}
.dashboard-cell-3{
  grid-area: chart-2;
  background-image: url(/img/chart-2.jpeg);
  background-size: cover;
}
.dashboard-cell-4{
  grid-area: chart-3;
  background-image: url(/img/chart-3.jpeg);
  background-size: cover;
}
.dashboard-cell-5{
  grid-area: chart-4;
  background-image: url(/img/chart-4.jpeg);
  background-size: cover;
}
.dashboard-cell-6{
  grid-area: chart-5;
  background-image: url(/img/chart-5.jpeg);
  background-size: cover;
}
.dashboard-cell-7{
  grid-area: chart-6;
  background-image: url(/img/chart-6.jpeg);
  background-size: cover;
}
#ram-section{
  width: auto;
}
.ram{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  margin: 5rem;
  justify-items: center;
  gap: 2rem;
}
.photo-1{
  background-image: url(/img/gallery-1.png);
  background-size: cover;
}
.photo-2{
  background-image: url(/img/gallery-2.png);
  background-size: cover;
}
.photo-3{
  background-image: url(/img/gallery-3.png);
  background-size: cover;
}
.photo{
  max-width: 25rem;
  width: 100%;
  height: 25rem;
  display: flex;
  justify-content: center;
}
.photo > a{
  max-width: 50%;
  place-self: center; 
  display: inline-flex;
  justify-content: center;
  color: white;
  background-color: black;
  padding: 1.2rem 2.4rem;
  border-radius: 1rem;
}
img[alt='burger']{
  display: none;
  border-radius: 0;
  cursor: pointer;
}
@media(max-width: 1024px){
  nav{
    display: none;
  }
  #phone > a{
    margin-left: 10rem;
  }
  #our-dogs-section > div > div > div:last-child{
    display: none;
  }
  #about-us-section > div > img{
    display: none;
  }
  #about-us-section > div > div{
    justify-content: center;
  }
  #why-we-section > img{
    position: relative !important;
    z-index: -1;
    top: 32rem;
    margin-top: -32rem;
  }
  #knowledge-base-section > div > div > div:last-child{
    display: none;
  }
  #about-dogs-section > div > img{
    height: auto !important;
  }
  img[alt='burger']{
    display: block;
  }
  #form-section > div > img{
    width: 50%;
    height: 50%;
  }
  #form-section > div{
    align-items: center;
    gap: 0;
  }
}
@media(max-width: 500px){
  #phone{
    display: none;
  }
  nav{
    display: none;
  }
  img[alt='burger']{
    display: block;
  }
  #left-main-section{
    position: absolute;
    z-index: 1;
    top: 10rem;
    margin-top: 5rem;
  }
  #right-main-section{
    width: 100vw;
  }
  #right-main-section > div{
    display: none;
  }
  header{
    min-width: 0;
    width: 100vw;
    padding: 0 2rem;
  }
  #main-section{
    text-align: center;
    color: var(--white);
  }
  #left-main-section > h1{
    font-size: 5rem;
  }
  #main-section{
    height: 55rem;
  }
  #left-main-section > button{
    max-width: none !important;
    width: 100%;
    margin: 1rem 0;
  }
  section{
    min-width: 0;
  }
  #knowledge-base-section > ul{
    margin-bottom: -8rem;
  }
  #knowledge-base-section > ul > li{
    height: 15rem;
  }
  #knowledge-base-section > ul > li{
    padding-top: 2.5rem;
  }
  #why-we-section > div > div{
    margin: 0;
    margin-top: 17rem;
    justify-content: center;
  }
  #why-we-section > img{
    margin: 0;
    width: 100vw;
    left: 0;
    margin-top: -32rem;
  }
  #our-dogs-section > div > div > div{
    min-width: 82vw;
  }
  #about-us-section{
    margin-top: 25rem;
  }
  #about-dogs-section > div > img{
    height: 35rem;
  }
  #about-dogs-section > div > div > div:first-child,
  #knowledge-base-section > div > div > div:first-child{
    display: none;
  }
  #about-dogs-section > div > div{
    gap: 2rem;
    height: 110rem;
    justify-content: center;
  }
  #about-dogs-section > div > div > div{
    height: auto;
  }
  #about-dogs-section > div > button{
    margin: 0;
  }
  #news-2{
    display: none;
  }
  #news-1 > div:last-child{
    height: 36rem;
  }
}
@media(max-width: 1320px){
  #about-us-section > div > div{
    justify-content: center;
  }
  #about-us-section > div{
    justify-content: center;
    gap: 2rem;
  }
  #about-us-section > div > div > div > p{
    width: 55rem;
  }
  img[alt="dog1"]{
    order: -2;
  }
  #p2{
    order: -1;
    margin-top: 0;
    height: auto;
    width: 26rem;
    font-size: 2rem;
  }
  #p1{
    margin-top: 0;
    font-size: 2rem;
  }
  #about-us-section > div > div > div{
    width: 63rem;
    max-width: none;
  }
}
@media(max-width: 1040px){
  #phone{
    font-size: 2.2rem;
  }
}
@media(max-width: 1085px){
  #left-menu, #right-menu{
    gap: 2rem;
  }
  nav{
    gap: 0;
  }
}
@media(max-width: 972px){
  h1{
    font-size: 6rem;
  }
  #left-main-section > .white-button,
  #left-main-section > .green-button{
    max-width: none;
  }
}
@media(max-width: 801px){
  h1{
    font-size: 5rem;
  }
}
@media(max-width: 633px){
  h1{
    font-size: 4rem;
  }
}
@media(max-width: 625px){
  #about-us-section > div > div{
    flex-direction: column;
    max-width: 70%;
  }
  #about-us-section > div > div > div, #about-us-section > div > div > p,
  #about-us-section > div > div > img{
    min-width: 100vw;
    max-width: 100vw;
    font-size: 1.6rem;
  }
  #about-us-section > div > div > div > p{
    font-size: 1.6rem;
  }
  #about-us-section > div > div > div{
    height: auto;
  }
  #about-us-section > div > div > img{
    min-width: 0;
    height: auto;
  }
  #about-us-section > div > div > p,
  #about-us-section > div > div > div{
    min-width: 0;
    width: 100%;
  }
  #about-us-section > div > div > div > p{
    width: 31rem;
  }
}
@media(max-width: 470px){
  #about-us-section > div > div > div > p{
    width: 15rem;
  }
  #p1{
    height: auto;
  }
  #left-main-section > h1, #about-us-section > h2{
    font-size: 4rem;
  }
}
@media(max-width: 1350px){
  #our-dogs-section > div > div > div{
    min-width: 31.7rem;
  }
}
@media(max-width: 675px){
  #our-dogs-section > div > div > div{
    min-width: 0;
    width: 64vw;
  }
  #our-dogs-section > div > div > div:first-child{
    display: none;
  }
  #our-dogs-section > ul > li:last-child,
  #about-dogs-section > ul > li:last-child,
  #knowledge-base-section > ul > li:last-child{
    display: none;
  }
  #our-dogs-section > ul > li, #about-dogs-section > ul > li,
  #knowledge-base-section > ul > li{
    padding: 1rem;
    height: 8rem;
  }
  #our-dogs-section > ul, #about-dogs-section > ul{
    margin-bottom: -3rem;
  }
}
@media(max-width: 1340px){
  #why-we-section{
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  #why-we-section > img{
    position: static;
    margin-left: 0;
    width: 50%;
    order: -1;
    min-width: 46rem;
  }
  #why-we-section > h2{
    margin-bottom: 0;
    order: -2;
  }
}
@media(max-width: 874px){
  #why-we-section > div > div{
    justify-content: center;
  }
}
@media(max-width: 460px){
  #why-we-section > img{
    min-width: 100%;
  }
}
@media(max-width: 305px){
  #about-dogs-section > div > h2{
    font-size: 5rem;
  }
}
@media(max-width: 720px){
  #about-dogs-section > div > div{
    justify-content: center;
    gap: 2rem;
    height: auto;
  }
  #about-dogs-section > div > div > div{
    max-width: none;
  }
}
@media(max-width: 595px){
  #about-dogs-section > div > div > div:first-child{
    height: auto;
  }
}
@media(max-width: 1360px){
  #knowledge-base-section > div > div > div > img{
    width: 100%;
  }
  #knowledge-base-section > div > div > div > p{
    position: relative;
    bottom: 10rem;
  }
}
@media(max-width: 1000px){
  #knowledge-base-section > ul > li{
    height: 15rem;
  }
  #knowledge-base-section > ul{
    margin-bottom: -5rem;
  }
}
@media(max-width: 400px){
  #knowledge-base-section > ul > li{
    font-size: 2.2rem;
    padding: 0;
  }
  #knowledge-base-section > ul{
    gap: 0;
  }
}
@media(max-width: 425px){
  #knowledge-base-section > ul > li{
    font-size: 2.2rem;
  }
}
@media(max-width: 335px){
  #knowledge-base-section > div > div{
    margin-bottom: -10rem;
  }
}
@media(max-width: 860px){
  #knowledge-base-section > div > div{
    flex-direction: column;
  }
}
@media(max-width: 1096px){
  #news-1 > div:last-child{
    height: auto;
  }
}
@media(max-width: 1009px){
  #news-2 > div{
    max-width: 34.3rem;
  }
  #news-2{
    gap: 3rem;
  }
  #news-1, #news-2{
    width: 50%;
  }
  #news-2 > div:last-child, #news-2 > img[alt="dogs"]{
    display: none;
  }
}
@media(max-width: 1280px){
  form{
    display: flex;
    flex-direction: column;
  }
}
@media(max-width: 720px){
  #form-section > div{
    flex-direction: column;
    gap: 2rem;
  }
  #form-section > div > img{
    order: -1;
  }
  #form-section > div > div{
    width: 50%;
  }
  form{
    margin-right: 0;
    width: 100%;
  }
  input{
    max-width: none;
  }
  button[type="submit"]{
    max-width: 100%;
  }
}
@media(max-width: 500px){
  #news-1{
    width: 100%;
  }
  #form-section > div, form{
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
  }
  #form-section > div > img{
    display: none;
  }
  #form-section > div > div, textarea{
    width: 100%;
  }
  form{
    margin: 0;
  }
  input{
    max-width: none;
  }
}
@media(max-width: 1130px){
  footer > div:last-child{
    flex-wrap: wrap;
  }
  footer > div:last-child > div > ul{
    height: auto;
    align-items: flex-start;
  }
  footer > div:last-child > div > ul > li{
    text-align: left;
  }
  footer > div:last-child > div{
    align-items: flex-start;
  }
  footer > div:last-child > div > h3{
    text-align: left;
  }
}
@media(max-width: 850px){
  footer > div, footer{
    flex-direction: column;
    align-items: center;
  }
  footer > div:first-child{
    align-items: flex-start;
  }
  footer > div:last-child{
    flex-direction: row;
    gap: 5rem;
    justify-content: center;
  }
  footer{
    min-width: 0;
    width: 100vw;
  }
  footer > div:last-child > div{
    height: 39.6rem;
  }
}


/* 1. Стилизация ::selection */
::selection {
  background-color: var(--beige);
  color: var(--white);
}

/* 2. Псевдоклассы и анимации для ссылок и кнопок */
a,
button {
  transition: all 0.3s ease;
  display: inline-block;
}

a:hover,
button:hover {
  transform: scale(1.05) rotate(1deg);
  background-color: var(--light-green);
  color: var(--light-beige);
  box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.2);
}

a:active,
button:active {
  transform: scale(0.95);
  background-color: var(--green);
}

a:focus,
button:focus {
  outline: 0.2rem solid var(--beige);
  outline-offset: 0.4rem;
}

/* 3. Стили для placeholder */
input::placeholder,
textarea::placeholder {
  color: var(--beige);
  font-style: italic;
  font-family: "Raleway", sans-serif;
  opacity: 1;
}

/* 4. Плавный transition для input, textarea при фокусе */
input,
textarea {
  transition: border-color 0.3s, background-color 0.3s;
}

input:focus,
textarea:focus {
  border-color: var(--green);
  background-color: var(--light-beige);
  outline: none;
}
