@font-face {
    font-family: "Sweet Mavka Script";
    src: url("fonts/Sweet Mavka Script.otf") format("otf"),
       url("fonts/Sweet Mavka Script.ttf") format("ttf"),
       url("fonts/Sweet Mavka Script.woff") format("woff");
}

@font-face {
    font-family: "Merriweather";
    src: url("fonts/Merriweather-Bold.ttf") format("ttf"),
         url("fonts/Merriweather-Bold.woff") format("woff");
    font-style: normal;
    font-weight: 700;
}
@font-face {
    font-family: "Merriweather";
    src: url("fonts/Merriweather-Regular.ttf") format("ttf"),
         url("fonts/Merriweather-Regular.woff") format("woff");
    font-style: normal;
    font-weight: 400;
}
@font-face {
    font-family: "Merriweather";
    src: url("fonts/Merriweather-Light.ttf") format("ttf"),
         url("fonts/Merriweather-Light.woff") format("woff");
    font-style: normal;
    font-weight: 300;
}

*, *:before, *:after {
    font-family: "Merriweather";
    color: #2e2e2d;
    font-weight: 400;
    outline: none;
}

body {
    background: url('img/bg-image1.jpg');
    background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	margin: 0;
	padding: 0;
}

ul, li {
    list-style-type: none;
    padding: 0;
}

a {
    display: block;
    text-decoration: none;
}

h1, h2, h3, h4, p {
    margin: 0;
    padding: 0;
    display: block;
}

form {
    margin: 0;
}

.container {
    border-radius: 2rem;
    background: #fff;
}

.wrap {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
	padding: 0 1rem;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

#site-header {
    width: 100%;
    margin: 0 auto;
    animation: topToBottom ease 1s;
    padding-top: 1.2rem;
    margin-bottom: 1.5rem;
}

@keyframes topToBottom {
    0% {
      opacity: 0.2;
      transform: translateY(-5rem);
    }
    100% {
      opacity: 1;
      transform: translateY(0rem);
  }
}

#top-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#site-title a {
    font-family: "Sweet Mavka Script";
    font-size: 2.85rem;
    color: #4F4F4F;
}

/* Альтернативний стиль заголовка сайту
#site-title {
    font-family: "Merriweather";
    text-transform: uppercase;
    font-weight: 700;
    font-size: 2.5rem;
    color: #fff;
}*/

.search {
    position: relative;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-bottom: -0.5rem;
}

.search-input {
    width: 270px;
    height: 2.7rem;
    background: #fff;
    border-radius: 3.5rem;
    border: 1px solid transparent;
    font-family: sans-serif;
    font-weight: 500;
    line-height: 1.3;
    padding: 0 1.2rem;
    margin: 0;
}

.search-btn {
    position: absolute;
    top: calc(50% - 2rem/2);
    right: .3rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #dedde2;
    outline: none;
    border: none;
    -webkit-transition: background-color .3s;
    -o-transition: background-color .3s;
    transition: background-color .3s;
    margin: 0;
}

.search-btn:hover {
    background: #df3b57;
    cursor: pointer;
}

form svg {
    position: absolute;
    top: calc(50% - .9rem/2);
    right: calc(.6rem + .2em);
    width: .9rem;
    height: .9rem;
    -webkit-transition: color .3s;
    -o-transition: color .3s;
    transition: color .3s;
    pointer-events: none;
}

a:hover {
    transition: all .55s ease;
}

.menu-nav {
    display: flex;
    flex-direction: row;
    padding: 0 1rem;
    border-radius: 2rem;
    align-items: center;
    justify-content: space-around;
    font-size: 1.15rem;
    font-weight: 700;
    background-color: #fff;
}

.menu-nav a {
    line-height: 3.7rem;
    color: #3e3b3b;
    font-weight: 700;
    text-decoration: none;
}

.menu-nav a:hover {
    color: #ff6b6b;
}

.menu-item {
    text-transform: uppercase;
}

#menu-item-recommended a {
    color: #ff6b6b;
}

#menu-item-recommended a:hover {
    color: #73b62b;
}

.main {
    width: 100%;
    margin-bottom: 1.5rem;
}

@keyframes smallToBig {
    0% {
      transform: scale(0.9);
    }
    100% {
      transform: scale(1.0);
  }
}

.main-container {
    width: 100%;
    align-items: center;
    background: #fff;
    animation: smallToBig ease 1s;
}

.main-container-wrap {
    padding: 2.5rem 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.introduction-block {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin: 2rem 0 4rem 4rem;
}

.introduction-block p {
    margin-bottom: 1.5rem;
    color: #514e4e;
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 2.4rem;
    text-align: center;
}

.main-title {
    color: #514E4E;
    /*color: #df3b57 */
    font-size: 2.3rem;
    font-weight: 400;
    line-height: 3.2rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.5rem;
}

.btn {

}

.submit-btn {
    cursor: pointer;
    margin: 0 auto;
    outline: 0px;
    border: 0px;
    width: 250px;
    height: 54px;
    overflow: visible;
    display: flex;
    justify-content: space-around;
    -webkit-box-align: center;
    align-items: center;
    color: inherit;
    line-height: 24px;
    padding: 15px 24px;
    position: relative;
    text-transform: uppercase;
    background-color: #42c83f;
    border-radius: 3rem;
}

.submit-icon {
     width: 30px;
     height: 30px;
    
}

.submit-btn-label {
    margin-left: .5rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.main-mapa {
    width: 100%;
    margin-left: auto;
}

.main-mapa img {
    margin: 0 auto;
}

#site-footer {
    width: 100%;
    margin-bottom: 0;
    background: #fff;
    border-radius: 2rem 2rem 0 0;
    animation: bottomToTop ease 1s;
}

@keyframes bottomToTop {
    0% {
      opacity: 0.2;
      transform: translateY(5rem);
    }
    100% {
      opacity: 1;
      transform: translateY(0rem);
  }
}

.post-list {
    display: grid;
    grid-template-columns: 375px 375px 375px;
    grid-auto-rows: minmax(auto, 375px);
    grid-gap: 2.7rem 2.4rem;
    margin-top: 2.7rem;
}

.post-card {
    position: relative;
    overflow: hidden;
    bottom: 0;
    transition: ease .4s;
    animation: smallToBig ease 1s;
}

.post-card:hover {
    bottom: 1.5rem;
}

.post-card img {
    width: 100%;
    border: none;
    outline: none;
    /*border-radius: 2rem 2rem 0 0;*/
}

.post-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    background: #fff;
    z-index: 2;
}

.post-main {
    display: grid;
    grid-template-columns: 1.25fr 3fr;
    grid-gap: 1rem;
}

.post-header {
    position: sticky;
    top: 0;
    height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    animation: smallToBig ease .8s;
}

.post-header .post-card {
    margin-bottom: 1rem;
}

.post-header .post-card:hover {
    bottom: 0rem;
}

.post-header-contents {
    padding: 1.5rem 2rem;
}

.post-contents-title {
    font-size: 1.22rem;
    font-weight: 700;
    text-transform: uppercase;
}

.post-contents-item {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.5rem;
    font-weight: 400;
}

.post-contents-item a:hover {
    color: #ff6b6b;
}

.post-body {
}

.post-section {
    position: relative;
    margin-bottom: 1rem;
    padding: 1rem 2rem;
    animation: smallToBig ease .8s;
}

.post-section-header {
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    padding: .5rem 0;
    border-radius: 2rem 2rem 0 0;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    background: #E5DBAB;
}

.post-section a {
    color: #01baef;
}

.post-section a:hover {
    color: #df3b57;
}

.post-section-content {
    margin-top: 2rem;
    line-height: 1.5rem;
}

.post-section-content p {
    margin: .5rem;
}

.post-section-links .youtube {
    margin-bottom: 1rem;
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 1.5rem 2.5rem;
}

.footer-contacts {
    margin-top: .3rem;
}

.footer-contacts a {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    font-size: 15px;
    line-height: 35px;
    color: #393838;
}

.footer-contacts a:hover {
    color: #df3b57;
}

.footer-social {
    position: absolute;
    left: calc(50% - 9.6rem/2);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer-social .icon {
    width: 48px;
    height: 48px;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: 1rem;
}

.footer-lnu {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-left: auto;
}

.footer-lnu .icon {
    width: 80px;
    height: 80px;
}

.footer-support {
    margin-right: .8rem;
    text-align: right;
    font-size: 15px;
    line-height: 30px;
    color: #393838;
}