* {
  box-sizing: border-box;

  margin: 0;
  padding: 0;

  /* font-family: 'Montserrat Alternates', sans-serif; */
}

::selection {
  background: #ffbf80;
}

a:hover {
  text-decoration: none;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}



/* -------Header------- */

.main-logo{
  display: inline-block;
  width: 150px;
  height: 150px;
  padding: 0.5rem;
}

.title{
  display: inline-block;
  font-size: 70px;
  padding: 0.5em;
  text-align: center;
  font-family: 'Lobster', cursive;
  color: #404040;
}

header {
  background-color: #ffad5c;
  
}

.header-top{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

/* ------------------------------- */







/* -------Slider------- */

body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none;}
img {vertical-align: middle;}

.slideshow-container {
  width: 100%;
  position: relative;
  margin: auto;
  background-color: #52A8FF;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;

  padding: 16px;
  margin-top: -22px;

  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.slider-title{
  text-align: center;
  font-size: 28px;
}

.slider-text {
  width: 450px;
  height: 450px;

  background-color: #f2f2f2;
  border-radius: 7px;
  color: #404040;
  font-size: 20px;
  padding: 8px 12px;

  position: absolute;
  bottom: 85px;
  left: 120px;
}

.slider-text2{
 overflow: auto;
 height: 350px;
 width: 415px;
}

.slider-row{
  font-size: 26px;
  padding: 10px 25px;
}

.slider-row2{
  font-size: 26px;
}

.slider-row3{
  font-size: 26px;
  padding: 10px 25px;
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dot {
  height: 15px;
  width: 15px;

  cursor: pointer;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

/* ------------------------------- */








body {
  font-family: 'Alegreya Sans', sans-serif;
}

h1 {
  text-align: center;
  color: #404040;

  padding: 0.5em;
}

h2 {
  text-align: left;
  color: #404040;
  font-size: 28px;

  padding: 20px;
}

h3 {
  color: #404040;
  font-size: 26px;
}

p{
  font-size: 25px;
}







/* -------Раздели------- */

table {
    font-size: 0.85rem;
    width: 100%;
    border: unset;
    border-spacing: 30px;
    table-layout: fixed;
}

tbody tr td:hover {
  box-shadow: 0 6px 18px 0 #bdd0fd;
  transition: box-shadow 350ms ease-in-out;
}

td, th {
    vertical-align: top;
    box-shadow: 0 6px 14px 0 rgba(0, 0, 0, .12);
    border: 1px solid #e4e8f0;
    border-radius: 5px;
    padding: 15px;
}

td h2 {
    font-family: Bahnschrift Semibold;
    font-weight: 100;
    font-size: 2em;
}

tfoot td {
    background: #52A8FF;
    border: 1px solid #52A8FF;
    box-shadow: 0 6px 18px 0 #bdd0fd;
    transition: all 350ms ease;
    text-align: center;
    vertical-align: middle;
    border-radius: 5px;

    padding: 1rem 1.5rem;
}

tfoot td:hover {
    box-shadow: 0 6px 30px 0 #52A8FF;
}

tfoot td a {
  font-family: 'Alegreya Sans', sans-serif;
    text-decoration: unset;
    font-size: 20px;
    color: white;
    font-weight: 300;
}

/* ------------------------------- */






/* -------Footer------- */

.footer-title{
  display: inline-block;
  font-size: 70px;
  padding: 0.5em;
  text-align: center;
  font-family: 'Lobster', cursive;
  color: #404040;
}



footer {
  background-color: #ffad5c;
}

.footer-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  padding-bottom: 3rem;
}

.email:hover {
  background-color: white;
}

.email_img {
  width: 45px;
}

.pmg-photo{
  width: 600px;
  height: 175px;
}

.map{
  width: 45vw;
  height: 100%;
}

.footer-logo {
  width: 150px;
  text-align: center;
}

.right-footer{
  margin: 10px;
}

.right-footer-p{
  padding: 10px;
}

.bottom-footer {
  display: flex; 
  flex-direction: row;
  justify-content: space-around;

  padding-bottom: 3rem;
}

/* ------------------------------- */





/* -------Responsive design------- */

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

@media (max-width: 1200px) {
  .bottom-footer {
    flex-direction: column;
    justify-content: center;
  }

  .map{
    width: 80%;
    height: 500px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .pmg-photo{
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-text{
    padding-left: 100px;
    font-size: 22px;
  }

  .right-footer-p{
    font-size: 22px;
    text-align: left;
    padding-left: 100px;
  }

  .right-footer-h1{
    padding-left: 100px;
    font-size: 50px;
    text-align: left;
  }

}

@media (max-width: 550px){
  h2{
    font-size: 50px;
  }
}

/* ------------------------------- */