* {
	margin: 0;
}

body {
  background-color: #f5eeee;
}

.header {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-image: url(../img/trava.png);
}

.logo_text {
  display: flex;
  flex-direction: row;
  margin: auto 0;
}

.menubar {
  margin: auto 0;
  width: 100%;
  max-width: 900px;
}

.menu_cs {
  margin: auto 0;
  width: 100%;
  max-width: 250px;
}

.menu_net {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding-right: 10px;
}

.logo_text h2 {
  color: #ffffff;
  text-decoration: underline;
  font-size: 14px;
  font-family: 'Courier New', Courier, monospace;
  padding: 25px 0 0 10px;
}

.logo_text img {
  margin-left: 10px;
  width: 150px;
  height: 150px;
}

.logo_text a {
  text-decoration: none;
  color: #ffffff;
}

.menu_head {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.menu_head a {
  text-decoration: none;
  color:#fdfdfd;
  font-weight: bold;
}

.menu_head a:hover {
  color: rgb(207, 243, 3);
}

.menu_head li.selected a {
  color: rgb(207, 243, 3);
}

.menu_cs img {
  width: 30px;
  height: 30px;
}

.menu_net li {
  display: inline;
}

.sos {
  display: flex;
  flex-direction: row;
  width: fit-content;
  margin: 0 auto;
}

.sos img {
  margin: 7px 0;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 10%), 0 3px 4px -3px rgb(0 0 0 / 30%);
  box-sizing: border-box;
}

/* one */

.one {
width: auto;
height: 600px;
background-image: url(../img/cat_dog1.jpg);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}

.one h1 {
  color: blue;
  text-transform: uppercase;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  font-size: 35px;
  line-height: 1.5;
  padding: 50px 0 0 20px;
}

/* too */

.too {
  width: auto;
  height: auto;
  margin: 50px auto;
}

.too p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-style: italic;
  line-height: normal;
  text-indent: 20px;
  margin-top: 1.0em;
  margin-bottom: 0.9em;
  margin-left: 20px;
  margin-right: 20px;
  color: rgb(3, 3, 22);
}

.too a {
  color: blue;
}

.too a:hover {
  color:blue;
}

.too b {
  color:blue;
}

.rekviz {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-style: italic;
text-align: center;
color: rgb(3, 3, 22);
margin-top: 100px;
color:blue;
}

.rekviz_p .card_pr {
  margin-top: 100px;
}

.rekviz_p img {
  width: 600px;
  height: auto;
  margin-top: 50px;
}

.rekviz_p p {
  font-size: 40px;
  color:rgb(167, 14, 14);
  margin-top: 30px;
}

.reg {
  margin-top: 100px;
}

.reg p {
  font-size: 40px;
}

.svid {
  width: 600px;
  height: auto;
  margin: 50px 0;
}

/* tree */

.tree {
  width: auto;
  height: auto;
  margin: 50px auto;
}

.tree h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 35px;
  font-weight: bold;
  margin: 20px auto;
  text-align: center;
  text-transform: uppercase;
}

.foto_main {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.foto_main img {
  width: auto;
  height: 200px;
  border: 2px solid #000000;
  border-radius: 4%;
}

.foto_main p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
}

.foto_main a {
  text-decoration: none;
  font-family: 'Courier New', Courier, monospace;
  color: #000000;
}

/* sub_menu */

.sub_menu {
  width: 400px;
  height: auto;
  padding: 0;
}

.sub_menu li a {
  font-size: 18px;
  display: block;
  height: 100%;
}

.sub_menu li {
  background-color:#5d5d5d9c;
  border: solid #ffffff 1px;
  border-radius: 5%;
  float: left;
  margin-left: 22px;
  width: 100px;
  height: auto;
  text-align: center;
}

.menu_head li ul {
  display: none;
}

.sub_menu li:last-child {
  float: right;
  margin-right: 30px;
}

.sub_menu  li:nth-child(2) {
  margin-left: 20px;
}

.menu_head li:hover ul {
  display: block;
 }

 .menu_head_sub {
  position: relative;
  padding-top: 10px;
}

.sub_menu  {
  position: absolute;
  left: -110px;
}

.menu_head li {
  display: inline-block;
  padding: 10px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
}

.menubar .sub_menu {
  margin-top: -12px;
  font-size: 20px;
}

.sub_menu li {
  padding: 0;
}

 /* footer */

 .footer {
   width: auto;
   height: 80px;
   text-align: center;
   background-image: url(../img/trava.png);
 }

 .footer p {
  color: #ffffff;
  font-size: 20px;
  font-family: 'Courier New', Courier, monospace;
  padding-top: 10px;
 }

 .footer img {
  width: 40px;
  height: 40px;
 }

 /* cats */

 .foto_cats {
   margin-bottom: 30px;
 }

 .foto_cats_wrapper {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

 .foto_cats h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 50px;
  text-align: center;
  font-weight: bold;
  color: #2b2828;
  margin-top: 30px;
 }

 .container {
  position: relative;
  width: 350px;
  height: 500px;
}

.foto_cats .foto_cats_wrapper figure img {
  object-fit: cover;
  width: 350px;
  height: 500px;
}

.foto_cats .foto_cats_wrapper img {
  border: 2px solid #55c5e9;
  border-radius: 5%;
  width: 100%;
}

.foto_cats .foto_cats_wrapper figcaption {
  text-align: center;
  font-style: italic;
  font-size: 24px;
  font-weight: bold;
  margin-top: 10px;
}

.card {
  position: absolute;
  width: 350px;
  height: 500px;
  background: lightgray;
  border: 2px solid #55c5e9;
  border-radius: 5%;
  opacity: 0;
  left: -1px;
  top: 2px;
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}

.card:hover {
  opacity: 0.75;
}

.card p {
  font-style: italic;
  font-size: 24px;
  font-weight: bold;
  color: rgb(3, 49, 87);
  line-height: 2;
  padding: 0px 10px;
}

.foto_cats .foto_cats_wrapper .container {
  display: inline-block;
  margin: 30px 10px;
}

/* kittens */

.foto_kittens {
  margin-bottom: 30px;
}

.video .center {
  margin-left: auto;
  margin-right: auto;
  display: block;
  border: solid 2px #55c5e9;
  border-radius: 5%;
}



.foto_kittens_wrapper {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

.foto_kittens h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 50px;
  text-align: center;
  font-weight: bold;
  color: #2b2828;
  margin-top: 30px;
 }

.foto_kittens .foto_kittens_wrapper figure img {
  width: 350px;
  height: 500px;
  object-fit: cover;
}

.foto_kittens .foto_kittens_wrapper img {
  border: 2px solid #55c5e9;
  border-radius: 5%;
  width: 100%;
}

.foto_kittens .foto_kittens_wrapper figcaption {
  text-align: center;
  font-style: italic;
  font-size: 24px;
  font-weight: bold;
  margin-top: 10px;
}

.foto_kittens .foto_kittens_wrapper .container {
  display: inline-block;
  margin: 30px 10px;
}

/* dogs */

.foto_dogs {
  margin-bottom: 30px;
}

.foto_dogs_wrapper {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

.foto_dogs h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 50px;
  text-align: center;
  font-weight: bold;
  color: #2b2828;
  margin-top: 30px;
 }

.foto_dogs .foto_dogs_wrapper figure img {
  object-fit: cover;
  width: 350px;
  height: 500px;
}

.foto_dogs .foto_dogs_wrapper img {
  border: 2px solid #55c5e9;
  border-radius: 5%;
  width: 100%;
}

.foto_dogs .foto_dogs_wrapper figcaption {
  text-align: center;
  font-style: italic;
  font-size: 24px;
  font-weight: bold;
  margin-top: 10px;
}

.foto_dogs .foto_dogs_wrapper .container {
  display: inline-block;
  margin: 30px 10px;
}




/* help */

.how_help {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  font-weight: bold;
  line-height: normal;
  list-style: none;
}

.conteiner h1 {
  font-size: 50px;
  text-align: center;
  color: #bb1717;
  margin-top: 30px;
}

.zagolovok {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.zagolovok p {
  text-align: center;
  font-size: 24px;
  font-style: italic;
  color: rgb(9, 9, 100);
  line-height: 2;
  padding: 0px 10px;
  width: 500px;
}

.zagolovok img {
  width: auto;
  height: 300px;
  border: 2px solid #000000;
  border-radius: 4%;
}

.bank {
  padding: 0 0;
}

.bank p {
  color: rgb(0, 95, 16);
}

.zag {
  margin-top: 80px;
}

.help {
  margin-top: 30px;
  font-size: 20px;
  color: rgb(0, 95, 16);
}

.how_help h2 {
  font-size: 30px;
}

ul {
  list-style-type: none;
  line-height: 2;
}

.colortext {
  color: red;
}

.vol {
  margin-top: 50px;
}

.vol h2 {
  font-size: 50px;
  color: rgb(45, 6, 134);
}

.volonter {
  font-size: 24px;
  font-style: italic;
  color: rgb(9, 9, 100);
  line-height: 2;
  margin-top: 50px;
  margin-bottom: 100px;
}

.volonter h2 {
  color: rgb(12, 71, 5);
}

.foto_zab img {
  width: auto;
  height: 300px;
  border: 2px solid #000000;
  border-radius: 4%;
}

.princ {
  float: left;
  margin: 0 5px 0 70px;
}

.kity {
  float: right;
  margin-right: 70px;
}

/* contact */

.map {
  position: relative;
  height: 754px;
  width: 100%;
}

.map .adres {
  font-weight: bold;
  font-size: 50px;
  text-align: center;
  color: #bb1717;
  margin: 50px 0;
  padding: 5px 10px;
  position: absolute;
  top: -25px;
  left: 677px;
  border: 3px solid #151718;
  border-radius: 3%;
  background-color: #d5e2d4;
  z-index: 1;
}

.map_foto {
  height: 754px;
  width: 100%;
}

.berezovo p {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: rgb(1, 1, 22);
  line-height: 2;
  padding: 5px 10px;
  border: 2px solid #151718;
  border-radius: 2%;
  background-color: #d5e2d4;
  position: absolute;
  width: 250px;
  height: auto;
  top: 123px;
  left: 100px;
}

.form_h {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: rgb(8, 8, 117);
  margin: 10px auto;
}

.form {
  padding: 20px 20px;
  margin: auto;
  width: 500px;
  border: 2px solid #056899;
  border-radius: 4%;
  margin-bottom: 10px;
  background-color: #abd78c;
}

/* Кнопка Наверх */

.scrollup {
  width:40px;
  height:40px;
  opacity:0.3;
  position:fixed;
  bottom:50px;
  right:100px;
  display:none;
  text-indent:-9999px;
  background: url(../img/icon_top.png) no-repeat;
}

iframe {
  width: 400px;
  height: 321px;
  margin: 5px 0;
}

 /* CSS Mobile */

 @media screen and (max-width: 1199px) {
  .menu_head {
    flex-direction: column;
}
 }

 @media screen and (max-width: 823px) {
  .logo_text {
    flex-direction: column;
}

.tree .foto_main {
  flex-direction: column;
  text-align: center;
}
 }

 @media screen and (max-width: 523px) {
  .menu_net {
    flex-direction: column;
}

  .menu_head a {
      font-size: 18px;
  }
}

 @media screen and (max-width: 393px) {
  .menu_cs img {
    width: 20px;
    height: 20px;
 }
}

 .menu_head {
  padding: 0;
}
 @media screen and (max-width: 414px) {
   .menu_head {
    line-height: 1.3;
   }

  .menu_head li {
    padding: 0;
  }

  .sos {
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
  }

  .sos img {
    width: 320px;
    margin: auto;
  }

  .one {
    width: auto;
    height: 143px;
  }

  .one h1 {
    padding: 102px 0 0 20px;
    font-size: 12px;
  }

  .too {
    margin: 10px auto;
  }

  .too p {
    text-align: center;
    font-size: 15px;
  }

  .tree {
    margin: 15px auto;
  }

  .tree h2 {
    color: #0839c3;
    font-size: 24px;
  }

  .rekviz {
    margin-top: 22px;
  }

  .rekviz_p img {
    width: 320px;
    height: 337px;
    margin-top: -8px;
 }

 .rekviz_p p {
    font-size: 24px;
    font-weight: bold;
    margin-top: 5px;
 }

 .rekviz_p .card_pr {
    margin-top: 19px;
  }

  .reg {
    margin-top: 20px;
  }

 .reg p {
  font-size: 25px;
  }

.svid {
  width: 320px;
  height: auto;
  margin-top: 20px;
  margin-bottom: 0;
  }

 .sub_menu {
  width: 152px;
  height: auto;
  padding: 0;
 }

.sub_menu li a {
  font-size: 15px;
  display: block;
  height: 100%;
 }

 .sub_menu li {
  background-color:#2b73399c;
 }

 .card {
  width: 310px;
  height: 414px;
  left: -1px;
  top: -1px;
 }

 .card p {
  font-size: 19px;
 }

 /* media dogs */
 .foto_dogs {
  margin-bottom: -17px;
 }

 .foto_dogs h1 {
  font-size: 25px;
  font-weight: bold;
  color: #0d0ab9;
  margin-top: 11px;
 }

.foto_dogs .foto_dogs_wrapper .container {
  margin: 0px 10px;
 }

.foto_dogs .foto_dogs_wrapper figure img {
  width: 310px;
  height: 414px;
 }

 /* media cats */
 .foto_cats h1 {
  font-size: 25px;
  color:#0d0ab9;
  margin-top: 10px;
 }

.foto_cats .foto_cats_wrapper figure img {
  width: 310px;
  height: 414px;
 }

 .foto_cats {
  margin-bottom: -17px;
 }

.foto_cats .foto_cats_wrapper .container {
  margin: 0px 10px;
 }

 /*  media kittens */
 .foto_kittens h1 {
  font-size: 25px;
  color:#0d0ab9;
  margin-top: 10px;
 }

.foto_kittens .foto_kittens_wrapper figure img {
  width: 310px;
  height: 414px;
 }

 .foto_kittens {
  margin-bottom: -17px;
 }

.foto_kittens .foto_kittens_wrapper .container {
  margin: 0px 10px;
 }

 /*  media help */
 .how_help .conteiner h1 {
  font-size: 20px;
  margin-top: 10px;
 }

 .zagolovok {
  width: 100%;
  display: contents;
  justify-content: center;
  margin-top: 50px;
 }

 .zagolovok img {
  width: auto;
  height: 255px;
 }

 .zagolovok p {
  text-align: center;
  font-size: 18px;
  width: auto;
 }

 .how_help h2 {
  font-size: 20px;
  margin-top: 10px;
 }

.help {
  margin-top: 0px;
  font-size: 18px;
  text-align: center;
 }

 .spisok {
  padding: 0 10px;
  margin: 10px;
 }

 .help ul {
  font-style: italic;
  line-height: 1.3;
}

 .volonter {
  font-size: 18px;
  text-align: justify;
  margin: 10px;
 }

 .foto_zab img {
   display: none;
 }

 /*  media contact */
 .map {
  height: auto;
  width: 100%;
}

.map .adres {
  position: unset;
  margin: 0;
  font-size: 30px;
}

.map_foto {
  display: none;
}

.berezovo p {
    position: unset;
    margin: 0 auto;
    width: auto;
  }

  .footer p {
    font-size: 8px;
  }

  .form {
    width: 277px;
  }

  .form textarea {
    width: 280px;
  }

  /* Yandex кнопка */
  iframe {
    width: 100%;
    height: 346px;
  }
}