/* body */
body {
	background-image: url(../img/background_2.png);
    display: flex;
    background-size: 74%;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;

}

html, body {width:100%; overflow-x:hidden}



.wrap{
    max-width: 1366px;
    width: 100%;
    display: flex;
    flex-direction: column;
   /* justify-content: space-evenly;
    flex-wrap: wrap;*/

}

.wrap_content_glowna{
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    
}

/* style for header: logo + img */
header {
	width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
 header .content{
 	width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;

 }
 .header_img{
	width: 45%;
	}

.header_img img{
    width: 90%;
    height: 90%;
    object-fit: cover;
}

.header_h1{
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}


 .content .header_h1 h1{
    align-content: flex-end;
    margin-top: 0;
    margin-bottom: 0;
    color: #a57d8b;
    font-family: "Emilys Candy", serif, "Trebuchet MS", Verdana, sans-serif;
    font-weight: lighter;
    font-style: normal;
    font-size: 2.4rem;
    text-transform: uppercase;
    text-shadow: 0px 0px 2px #a3982b;
    text-align: center;
    -webkit-text-stroke: 0.5px #603c6b;
}
.header_bot{
	background-position: center;
    background-image: url(../img/flags.png);
    background-size: contain;
    width: 100%;
    height: 57px;
    background-repeat: repeat-x;
    margin-bottom: 1rem;
}


/* manu(navigation) */
.navbar{
	width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 20px 0px;
  flex-wrap: wrap;
}


.menu {
    margin: 10px 20px;
    border-radius: 45px;
    padding: 10px 30px;
    box-shadow: -4px -1px 3px #a3982b;
    transition: background-color 1.3s;
    position: relative;
    display: inline-block;
    width: 10%;
    min-width: 135px;
    text-align: center;
}


.menu:hover{
  background-color: #ad3fad; 
  transition: background-color 1.3s;
}



.link_menu {
    text-decoration: none;
    color: #9E71CE;
    font-size: 1.8rem;
    padding: 5px 10px;
    text-align: center;
    font-family: "Margarine", serif, "Trebuchet MS", Verdana, sans-serif;
    /* text-shadow: -3px -3px 5px #a3982b; */
    text-transform: uppercase;
    font-weight: 800;
   
}

.menu:hover .link_menu{
	color: #fdec41;
	text-shadow: 0px 0px 6px black;
	transition: background-color 1.3s;
}


/* плавное появление выпадающих элементов меню */

@keyframes fade_in_show {
     0% {
          opacity: 0;
          transform: scale(0)
     }

     100% {
          opacity: 1;
          transform: scale(1)
     }
}

@keyframes showNav {
  from {opacity: 0;}
  to {opacity: 1;}
}

.dropdown{
    display: none;
    position: absolute;
    width: 100%;
    z-index: 1;
    left: 0;
    margin-top: 10px;

}

.dropdown_item{
    display: flex;
    flex-direction: column;
    font-size: 2rem;
    margin: 10px 0px;
    border-radius: 45px;
    box-shadow: 0px 0px 2px black;
    transition: background-color 1.3s;
    position: relative;
    width: 100%;
    background-color: #ad3fad; 
}

.dropdown_item a{
    text-decoration: none;
    color: #c98470;
    font-size: 1rem;
    padding: 5px 10px;
    text-align: center;
    font-family: "Margarine", serif, "Trebuchet MS", Verdana, sans-serif;
    text-shadow: 0px 0px 2px black;
    text-transform: uppercase;
    outline: none;
    white-space: nowrap;
}

.menu:hover .dropdown{
  display: block;
  animation: showNav 1s
}

.dropdown_item:active {
  transform: translate(-1px, -1px);
  box-shadow: 0px 0px 0px #a3982b;
}


.dropdown_item:hover a{
  color: #fdec41;
  text-shadow: 0px 0px 3px black;
  transition: color 0.8s;
}

.withoutdropdown:active{
  transform: translate(-1px, -1px);
  box-shadow: 0px 0px 0px #a3982b;
}

.active_page{
    background-color: #ad3fad;
    color: #fdec41;
    text-shadow: 0 0 5px black;
    box-shadow: none;
}


/*контент главная  */
.text_image_glowna{
    display: flex;
    flex-direction: row;
}

.costiumy div:nth-child(1){
  flex-shrink: 0;
}

.text_glowna{
    display: flex;
    flex-direction: column;
    width: 65%;
    padding: 30px;
}


.image_glowna{
  width: 35%;
  padding: 30px;
  align-content: center;
}

.text_image_glowna_fullscreen{
    width: 90%;
  padding: 30px;
  align-content: center;
}

.text_image_glowna_fullscreen img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 25px;
}

.image_glowna img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 25px;
}



.wrap_content_glowna h2{
    text-decoration: none;
    color: #9E71CE;
    font-size: 2.4rem;
    padding: 5px 10px;
    text-align: center;
    font-family: "Margarine", serif, "Trebuchet MS", Verdana, sans-serif;
    text-shadow: -3px -3px 3px #e7db1f;
    text-transform: uppercase;
    }
.wrap_content_glowna h3{
    text-decoration: none;
    color: #c98470;
    font-size: 1.8rem;
    padding: 5px 10px;
    text-align: center;
    font-family: "Margarine", serif, "Trebuchet MS", Verdana, sans-serif;
    /*text-shadow: 2px 2px 1px #302f1f;*/
    margin-top: 13px;
    margin-bottom: 40px;
}
.wrap_content_glowna .h3_bottom{
        font-size: 1.3rem;
    }
.wrap_content_glowna h4{
    align-self: center;
    text-decoration: none;
    max-width: 1080px;
    color: #9e71ce;
    font-size: 1.8rem;
    text-align: center;
    padding: 5px 10px;
    font-family: "Margarine", serif, "Trebuchet MS", Verdana, sans-serif;
    text-shadow: 1px 1px 1px #34333f;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
    
.wrap_content_glowna p{
  text-decoration: none;
    color: #9e71ce;
    font-size: 1.3rem;
    padding: 5px 10px;
    font-family: "Margarine", serif, "Trebuchet MS", Verdana, sans-serif;
    text-shadow: 1px -1px 0px #9e71ce;
    margin-top: 13px;
    margin-bottom: 13px;
    text-align: center;
}



.wrap_content_glowna a{
    color: #71b98d;
    font-size: 2rem;
    padding: 5px 10px;
    font-family: "Margarine", serif, "Trebuchet MS", Verdana, sans-serif;
    text-shadow: 1px -1px 0px #9e71ce;
    text-transform: uppercase;
    margin-top: 13px;
    margin-bottom: 13px;
}




.text_image_glowna_part_1{

    background-color: rgb(255 253 229 / 35%);
    border-radius: 30px;
    box-shadow: -2px 3px 10px #a39696;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.text_image_glowna_part_2{
    background-color: rgb(255 253 229 / 35%);
    border-radius: 30px;
    box-shadow: -2px 3px 10px #a39696;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    




/*контент oferta cards */
.content_oferta{
    box-shadow: -2px 3px 10px #a39696;
    display: flex;
    max-width: 1200px;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-evenly;
    background-color: rgb(255 253 229 / 35%);
    border-radius: 30px;
    padding: 50px 0px;
}




.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    scale: 1.03;
}
 

.card{
  display: flex;
  flex-direction: column;
  width: 35%;
  min-width: 300px;
  transition: 0.3s;
  max-height: 350px;
  margin: 25px 0px;
  border-radius: 20px;
}
.card a{
    background-color: #915ba0;
    text-decoration: none;
    color: #fdec41;
    font-size: 1.5rem;
    text-align: center;
    font-family: "Margarine", serif, "Trebuchet MS", Verdana, sans-serif;
    text-shadow: -3px -3px 5px #302f1f;
    text-transform: uppercase;
    border-radius: 10px 10px 10px 10px;

  
}

.card a img{
  width: 100%;
  object-fit: cover;
  border-radius: 10px 10px 0px 0px;
  
}



/*galery*/

.content_galery .wrap h2{
  text-decoration: none;
    color: #9E71CE;
    font-size: 3.4rem;
    padding: 5px 10px;
    text-align: center;
    font-family: "Margarine", serif, "Trebuchet MS", Verdana, sans-serif;
    text-shadow: -3px -3px 3px #302f1f;
    text-transform: uppercase;
}


.galery{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
}

.galery a{
  width: 20rem;
  height: 30rem;
  margin: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.galery a img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.galery a img:hover{
  transform: scale(1.2);
}

/*galery*/

/*cennik*/

.cennik_kost_p{
    text-align: center;
}
.cennik_kost_a{
    text-align: center;
}





/* низ: ссылки контакты и тд */


footer{
	width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #915ba0;
   
}
.btn{
	font-family: "Emilys Candy", serif, "Trebuchet MS", Verdana, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3rem;
    color: #fdec41;
    text-shadow: -3px -3px 5px #000000;
    text-transform: uppercase;
    text-align: center;
    border-radius: 20px;
    margin-top: 30px;
    margin-bottom: 0;
}

.contacts{
  display: flex;
  flex-direction: column;
  margin: 20px;
}
.contacts a{
  margin: 10px;
  text-decoration: none;
  color: #fdec41;
  font-size: 20px;
  text-align: center;
  font-family: "Margarine", serif, "Trebuchet MS", Verdana, sans-serif;
  text-shadow: -3px -3px 5px #000000;
      letter-spacing: 3px;

}
.contacts i{
  font-size: 25px;
}



.back-to-top {
    background: #915ba0;
    border-radius: 50%;
    position: fixed;
    bottom: -50px;
    padding: 10px 12px;
    right: 50px;
    cursor: pointer;
    transition: 0.3s all;
}

.back-to-top.active {
    bottom: 50px;
    transition: 0.3s all;
    box-shadow: 0px 0px 1px 1px #fdec41
}








@media only screen and (max-width: 768px) {
    

  /* Target portrait smartphones */

header .content{
    flex-direction: column;
    align-content: center;
    }


    .header_img {
        width: 95%;
        display: flex;
        flex-direction: column;
    }

    .header_img a{
        text-align: center;
    }


    .header_h1{
        width: 95%;
    }

    .content .header_h1 h1{
        font-size: 1.3rem;
    }

    .header_bot {
        background-position: center;
        background-size: contain;
        width: 107%;
        height: 57px;
        background-repeat: repeat-x;
        margin-bottom: 1rem;
    }

    .text_image_glowna {
        display: flex;
        flex-direction: column;
    }

    .text_image_glowna_part_1 {
        width: 95%;
        align-self: center;
    }

    .text_image_glowna_part_2 {
        width: 95%;
        align-self: center;
    }
    
    .navbar{
        padding:0;
    }
    .wrap_content_glowna h2{
        margin-top: 15px;
        margin-bottom: 15px;
        font-size: 2rem;
    }
    
    .wrap_content_glowna h3{
        font-size: 1.4rem;
    }
    .wrap_content_glowna h3 .h3_bottom{
        font-size: 1.3rem;
    }

    
    
    .wrap_content_glowna h4 {
        margin-top: 1rem;
        margin-bottom: 1rem;
        font-size: 1.2rem;
        text-shadow: none;
    }
    
    
    
    .text_glowna {
        display: flex;
        flex-direction: column;
        width: 85%;
        padding: 0;
        align-self: center;
        padding-bottom: 10px;
    }

    .wrap_content_glowna p{
        text-shadow: none;
        font-size: 1.2rem;

    }
    
    

    .image_glowna {
        width: 90%;
        align-self: center;
        order: -1;
        padding: 0;
    }
    
    .content_oferta {
     align-self: center;
     width: 95%;
        }
    
    .menu   {
        min-width: 75px;
        background-color: #ad3fad;
        display: flex;
        justify-content: center;
        width: 22%;
    }
    
    
    
    .menu .link_menu {
        font-size: 1.5rem;
        text-shadow: 0px -2px 2px black;
        color: #fffbd0;
        padding: 0;
        -webkit-tap-highlight-color: transparent;
    }

    
    .menu:hover .dropdown {
        display: none;
    }
    
    .menu:active{
      transform: translate(-1px, -1px);
      box-shadow: 0px 0px 0px #a3982b;
    }

    .menu .active_page_0{
        color: #fdec41;
    }
    .contacts a {
        font-size: 1rem;
    }

    .btn {
        font-size: 2rem;
    }
    
    
    
    
    
    
    
    
    
    
    
}
    
    


 


