body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  font-size: 15px;
}
 
h1, h2, h3, h4, h5, h6 {
  margin: 0;
}
/* Container */
 
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: inline;
}
 
.intro__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
}
 
.header{
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(#1e3a8a, #f8fafc);
}
 
.header__title{
  margin: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 
.header_inner{
  margin: 20px 0px;
 
  display: flex;
  justify-content: space-between;
 
}
 
.logo_round {
    border-radius: 50%;
}
.wrapper{
  max-height: 80px;
  background: #464c9b;
  width: 200px;
}
 
.section__inner{
  margin: 0 auto;
  align: center;
    color: #f8fafc;
   font-size: 25px;
   font-family: 'Bad Script', cursive;
}
.section__tel{
  align: right;
 
      color: #ff5600;
   font-size: 25px;
font-family: 'IBM Plex Serif', serif;
}
 
 
.section__city{
alignment: right;
  width: 150px;
}
 
.nav {
  position:relative;
  z-index : 5;
 
  margin: 0 auto;
  align: center;
  font-size: 16px;
  text-transform: uppercase;
  overflow: hidden;
}
 
.nav__link{
  display: inline-block;
  vertical-align: top;
  margin: 0 20px;
  color: #5b21b6;
  text-decoration: none;
 
  transition:  color  .2s linear;
}
 
.nav__link:hover {
  color: #ff5200;
}
 
 
/* Intro*/
.intro {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 80vh;
 
  background:
  url("../images/intro.jpg" ) center no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}
 
.intro__inner{
  width: 100%;
  max-width: 1000px;
  margin: 200px 0;
  text-align: left;
 
}
 
 
.intro__title{
  font-size: 50px;
  font-weight: 1000;
  text-align: left;
  line-height: 1;
  color: #FFFFFF;
 
  font-family: 'Cormorant Garamond', serif;
}
 
 
 
.intro__order{
  width: 100%;
  max-width: 400px;
  margin: 200px 100px;
  text-align: left;
 
}
 
.order{
  font-size: 30px;
  font-weight: 1000;
  text-align: left;
  line-height: 1;
  color: #FFFFFF;
 
  display: list-item;
  font-family: 'Cormorant Garamond', serif;
}
 
 
 
.button {
 
   margin: 120px 50px;
 
  background-image: linear-gradient(to right, #ffaa41 0%, #e55d02 51%, #ffa744 100%) ;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  box-shadow: 0 0 20px #a95109;
  border-radius: 10px;
  background-size: 200% auto;
 
  transition:  .2s  ;
 
}
.button:hover {
  background-position: right ;
  color: #fff;
  text-decoration: none;
}
 
 
.reasons {
  display: flex;
  margin: 0 20px;
 
}
 
.reasons__suptitle{
  margin: 20px 0;
  color: #ff5600;
  font-size: 24px;
}
 
.reasons__header{
 
  width: 100%;
  max-width: 1000px;
 
  margin: 0 auto 40px;
  text-align: center;
 
}
 
 
.reason__item {
 
  color: #000000;
  position: relative;
  flex: 1 1 0;
  text-align: center;
  margin: 0px 10px;
 
}
 
.reason__title{
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  color: #000000;
  font-weight: bold;
 
}
 
 
 
@keyframes fade {
  0%{ opacity: 0; }
  10%{ opacity: 0; }
  20%{ opacity: 0; }
  30%{ opacity: 0; }
  40%{ opacity: 0; }
  50%{ opacity: 0; }
  60%{ opacity: 0; }
  70%{ opacity: 0; }
  80%{ opacity: 0; }
  90%{ opacity: 1;}
  100% { opacity: 0; }
}
 
 
 
 
 
 
 
/*   -------------- directions ----------------------*/
 
 
 
.directions{
  display: flex;
  justify-content: space-between;
}
 
.directions__suptitle{
  color: #ff5600;
  font-size: 24px;
  text-align: center;
  margin-top: 100px;
  margin-bottom: 20px;
}
.section__directions {
  /*  background:
  url("../images/ice.jpg" ) center no-repeat;
  height: 600px;*/
}
.direction__item{
  display: inline-flex;
  margin: 0px 100px;
  align-items: center;
}
 
.direction__title{
 color: black;
    font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  transition: transform .2s linear;
  padding-left: 20px;
  opacity:1;
 
}
 
 
.direction__item:hover .direction__icon img {
     opacity:0.5;
 
}
 
 
.direction__item:hover .direction__title{
  transform: translate3d(-20px, -20px, 0);
  font-size: 25px; /* ГђВ ГђВ°ГђВ·ГђВјГђВµГ‘в‚¬ Г‘Л†Г‘в‚¬ГђВёГ‘вЂћГ‘вЂљГђВ° */
  font-weight: bold; /* ГђвЂ“ГђВёГ‘в‚¬ГђВЅГђВѕГђВµ ГђВЅГђВ°Г‘вЂЎГђВµГ‘в‚¬Г‘вЂљГђВ°ГђВЅГђВёГђВµ */
  color: #ff1e00; /* ГђВ¦ГђВІГђВµГ‘вЂљ Г‘ВЃГ‘ВЃГ‘вЂ№ГђВ»ГђВєГђВё */
 
}
 
 
.direction__icon {
 /* background: linear-gradient(to bottom, #ff5600, #e55d02);
*/
}
 
.direction__icon img{
  display: block;
  transition: box-shadow 0.1s linear;
  width: 100px;
}
 
.direction__title:visited {
  color: #0022ff; /* ГђВ¦ГђВІГђВµГ‘вЂљ Г‘ВЃГ‘ВЃГ‘вЂ№ГђВ»ГђВєГђВё */
 
}
 
 
/* coast */
 
.coast__header{
 
  width: 100%;
  max-width: 1000px;
 
  margin: 0 auto 40px;
  text-align: center;
 
}
 
.coast__suptitle{
  color: #ff5600;
  font-size: 24px;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 40px;
}
 
.coast__title{
  color: black;
}
 
 
 
.button__panel{
  display: flex;
  justify-content: space-between;
  margin: 5px 50px;
}
 
.button_coast {
 
  background-image: linear-gradient(to right, #ffaa41 0%, #e55d02 51%, #ffa744 100%) ;
  border: none;
  color: white;
  padding: 15px 32px;
  text-decoration: none;
  justify-content: center;
  display: flex;
  align-items: center;
  text-align: justify;
  font-size: 16px;
  box-shadow: 0 0 20px #a95109;
  border-radius: 10px;
  background-size: 200% auto;
 
  transition:  .2s  ;
 
}
 
.button_coast:hover {
  background-position: right ;
  color: #ffffff;
  text-decoration: none;
    border: none;
 
}
 
 
 
 
.text_ref
{
  position:absolute;
 
    margin-top: 120px;
 
 
}
 
.logo_image {
  position:absolute;
   z-index : 1;
 
  margin-top: 200px;
  width: 250px;
  animation:  10s linear infinite;
  animation-delay: 0.2s;
  animation-duration: 3.5s;
  animation-iteration-count: infinite;
}
 
 
 
 
 
 
 
.button_coast:focus
{
  outline: none;
 
  background-image: linear-gradient(to right, #fcfcfc 0%, #ffaa41  51%, #ffffff 100%) ;
  background-position: right ;
  color: #a95109;
  text-decoration: none;
    border: none;
 
}
 
.places__suptitle{
  color: #ff5600;
  font-size: 24px;
  text-align: center;
  margin-top: 150px;
  margin-bottom: 20px;
}
 
 
.contact__line{
  display: inline-flex;
  margin: 0px 100px;
}
 
.usual__suptitle{
  color: #ff5600;
  font-size: 24px;
  text-align: center;
  margin-top: 150px;
  margin-bottom: 20px;
}
 
.coast__line{
  position: absolute;
  display: inline-flex;
  margin: 0px 20px;
  align-items: center;
}
 
.coast__icon img{
  display: block;
  transition: box-shadow 0.1s linear;
  width: 200px;
  margin: 20px 0px;
}
 
.text_usual
{
    color: black;
  display: flex;
  margin: 0px 20px;
 
}
 
 
.text_coast{
 
  position: absolute;
 
  color: black;
  display: flex;
  margin: 20px 250px;
  width: 800px;
  vertical-align: top;
 
 
 }
 
.text_coast_title
{
    font-weight: bold;
font-size: 18px;
}
 
.text_coast_main
{
 
}
 
 
 
 
.mary__line
{
  alignment: center;
    justify-content: space-between;
 
    display: inline-flex;
    margin: 0px 100px;
width: 1000px;
}
 
.about_mary_text
{
 width: 600px;
  margin: 0px 50px;
   color: black;
  display: flex;
    vertical-align: top;
 
}
 
.outer
{
    margin-top: 200px;
  text-align: center;
 
    width: 100%;
  padding: 30px 0px;
 
  background: linear-gradient(#15448f, #0f0f39);
    color: #ff5600;
 
}
 
.outer__golovin
{
  text-align: center;
    width: 100%;
   padding: 20px 0px;
 
 
 
  background: linear-gradient(#0f0f39, #000000);
    color: #ffffff;
 
}
 
.mary_logo
{
  width: 300px;
}
 
.photo__line
{
  alignment: center;
 
    display: inline-flex;
    margin: 20px 50px;
  padding: 0px 20px;
    justify-content: space-between;
 
      width: 1000px;
 
 
}
 
.mary_photo
{
    width: 480px;
 
}
 
 
.real_coast_header{
 
  width: 100%;
  max-width: 1000px;
 
  margin: 20px auto 20px;
  text-align: center;
 
}
 
.real_coast_subtitle
{
  margin-top: 220px;
  color: #ff5600;
  font-size: 24px;
}
 
.coasts {
  position: absolute;
  display: flex;
 
 
   margin-top: 20px;
}
 
 
.usual__text{
  color: #0022ff; 
  font-size: 20px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}
 
 
.text__suptitle{
 color: black;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  transition: transform .2s linear;
  padding-left: 20px;
  opacity:1;
}
 
 
 
.timeline-section {
    padding: 5rem 0;
    background-color: var(--color-white);
}
 
.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}
 
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-primary);
    transform: translateX(-50%);
}
 
.timeline-item {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
}
 
.timeline-item:nth-child(odd) {
    flex-direction: row;
}
 
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}
 
.timeline-date {
    width: 45%;
    padding: 1rem;
    text-align: right;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
 
.timeline-item:nth-child(even) .timeline-date {
    text-align: left;
    justify-content: flex-start;
}
 
.timeline-content {
    width: 45%;
    padding: 1.5rem;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    border-left: 3px solid var(--color-secondary);
}
 
.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 3px solid var(--color-secondary);
}
 
.timeline-content h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}
 
.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--color-white);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    z-index: 1;
}
 
/* Адаптивность для временной шкалы */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
 
    .timeline-item {
        flex-direction: row !important;
        justify-content: flex-start;
    }
 
    .timeline-date {
        width: 100px;
        text-align: left !important;
        justify-content: flex-start !important;
        padding-right: 1rem;
    }
 
    .timeline-content {
        width: calc(100% - 130px);
    }
 
    .timeline-item::before {
        left: 23px;
    }
}
 