/* julius-sans-one-regular - latin */
@font-face {
  font-family: 'Julius Sans One';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/julius-sans-one-v14-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/julius-sans-one-v14-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/julius-sans-one-v14-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/julius-sans-one-v14-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/julius-sans-one-v14-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/julius-sans-one-v14-latin-regular.svg#JuliusSansOne') format('svg'); /* Legacy iOS */
}

/* raleway-regular - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/raleway-v28-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/raleway-v28-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/raleway-v28-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/raleway-v28-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/raleway-v28-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/raleway-v28-latin-regular.svg#Raleway') format('svg'); /* Legacy iOS */
}


/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v30-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v30-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}


/*-------------FONTS---------------*/
font-family: 'Julius Sans One', sans-serif;
font-family: 'Raleway', sans-serif;
font-family: 'Roboto', sans-serif;*/

body {
  /*background: #D0BBB9;*/
  margin: 0;
  font-family: 'Raleway', sans-serif;
}


h1 {
  font-family: 'Julius Sans One', sans-serif;
  color: #806F81;
  text-transform: capitalize;
  letter-spacing: 2px;
  font-size: 35px;
  float: left;
}

h2 {
  font-family: 'Julius Sans One', sans-serif;
  color: #806F81;
  /*text-transform: capitalize;*/
  letter-spacing: 2px;
  font-size: 30px;
}

h3 {
  font-family: 'Julius Sans One', sans-serif;
  color: #806F81;
  /*text-transform: capitalize;*/
  letter-spacing: 2px;
  font-size: 20px;
}

h4 {
  font-family: 'Julius Sans One', sans-serif;
  color: #806F81;
}

h6 {
  font-family: 'Julius Sans One', sans-serif;
  color: #806F81;
  font-size: 15px;
  letter-spacing: 3px;
}

hr {
  border: dotted #EAF6F6 15px;
  border-bottom: none;
  width: 8%;
  margin: 20px auto;

}

header {
  padding: 20px;
  margin: 15px;
  background-color: rgba(255, 255, 255, 0.9);
}

header::after {
  content: "";
  display: table;
  clear: both;
}

.navbar {
  width: 100%;
  margin: 5 auto;
  top: 0;
  left: 0;
  position: fixed;
  overflow: hidden;
  float: left;
  z-index: 1020;
  background-color: rgba(255, 255, 255, 0.85);
}

.logo {
  float: left;
  padding-left: 50px;
}

nav {
float: right;
margin-right: 220px;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav li {
  display: inline-block;
  margin-left: 80px;
  padding-top: 25px;
  position: relative;
}

nav a{
  color: darkgrey;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover {
  color: black;
}

nav a::before {
  content: "";
  display: block;
  height: 5px;
  background-color: #806F81;

  position: absolute;
  top: 0;
  width: 0;
  transition: all ease-in-out 250ms;
}

nav a:hover::before {
  width: 100%;
}


/*+++++++++++++++++++++++ Home Page ++++++++++++++++++++++++++++++++*/

.first_section {
  text-align: center;
  display: block;
  padding: 10px;
  margin-top: 30px;
}

.firstsectionbg {
  background-color: rgba(208, 187, 185, 0.5);
  position: relative;
  margin: auto;
  display: block;
  width: 85%;
  height: 400px;
  -webkit-transform: skew(10deg);
  -moz-transform: skew(10deg);
  -o-transform: skew(10deg);
  transform: skew(10deg);
  border-radius: 5px;
}

.banner_picture{
  text-align: center;
  height: 100%;
  transform: skew(-10deg);
}
/*----------------------Slogan ----------------------------*/
.intro {
  /*background-color: #D6EADF;*/
  text-align: center;
  margin-top: 0px;
  padding: 5px;
   animation: example1 10s linear;
}

.slogan {
  color: darkgrey;
}

/*--------------------SERVICES-----------------------------*/
.offers {
  text-align: center;
  margin: 20px;
  padding: 20px;

}

.services {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.services a {
  color: #806F81;
  text-decoration: none;
}

.services-img {

    position: relative;
    width: 280px;
    height: 350px;
    margin: 20px 0;
    border-radius: 5%; /*30%;*/
    color: white;
    text-align: center;
    text-indent: .1em;
    filter: opacity(0.5);
}
/*-------------------------POLAROID FRAME---------------------------------*//
.wrapper {
  display: flex;
  flex-wrap: wrap; 
  width: 100%;
  padding: 0 2rem;
  text-align: center;
  
}
.polaroid {
  background: #fff;
  padding: 1rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0,0,0,0.2);

}
.polaroid > img{
  max-width: 100%;
  max-height: 300px;
  /*width: 250px;
  height: 300px;*/
}

/*@media (min-width: 576px ) {
  .caption {
  font-size: 1.8rem;
  }
}*/

.caption {
  font-size: 1.6rem;
  text-align: center;
  line-height: 2em;
  font-family: 'Julius Sans One', sans-serif;
  color: #806F81;
}
.item {
	min-width: 360px;
  width: 30%;
  display: inline-block;
  margin-top: 2rem;
  filter: grayscale(50%);
}

.item a {
text-decoration: none;
}


.item .polaroid:before {
  content: '';
  position: absolute;
  z-index: -1;
  transition: all 0.35s;
}
.item:nth-of-type(4n+1) {
  transform: scale(0.8, 0.8) rotate(5deg);
  transition: all 0.35s;
}
.item:nth-of-type(4n+1) .polaroid:before {
  transform: rotate(6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  right: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.4);
}
.item:nth-of-type(4n+2) {
  transform: scale(0.8, 0.8) rotate(-5deg);
  transition: all 0.35s;
}
.item:nth-of-type(4n+2) .polaroid:before {
  transform: rotate(-6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.4);
}
.item:nth-of-type(4n+4) {
  transform: scale(0.8, 0.8) rotate(3deg);
  transition: all 0.35s;
}
.item:nth-of-type(4n+4) .polaroid:before {
  transform: rotate(4deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  right: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.3);
}
.item:nth-of-type(4n+3) {
  transform: scale(0.8, 0.8) rotate(-3deg);
  transition: all 0.35s;
}
.item:nth-of-type(4n+3) .polaroid:before {
  transform: rotate(-4deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.3);
}
.item:hover {
  filter: none;
  transform: scale(1, 1) rotate(0deg) !important;
  transition: all 0.35s;
}
.item:hover .polaroid:before {
  content: '';
  position: absolute;
  z-index: -1;
  transform: rotate(0deg);
  height: 90%;
  width: 90%;
  bottom: 0%;
  right: 5%;
  box-shadow: 0 1rem 3rem rgba(0,0,0,0.2);
  transition: all 0.35s;
}

/*--------------------------NEWS----------------------------------*/

.section {
  background-color: #D6EADF;
  text-align: center;
  padding: 5px;
  margin: 10px;
}

.block {
  text-align: left;
  margin: 30px 30% 30px 10%;  /* top right bottom left */
  padding: 10px;
}

.block_right {
  text-align: right;
  margin: 30px 10% 30px 30%;  /* top right bottom left */
  padding: 10px;

}
/*--------------------------Stories-------------------------------*/

/*a :hover {
  background-color: rgba(208, 187, 185, 0.5);
  border-radius: 100px;
  padding: 2px;
  transition: all ease-in-out 300ms;
}*/

.cta a{
  text-decoration: none;
  background-color: rgba(208, 187, 185, 0.5);
  border-radius: 50px;
  padding: 5px 20px;

  font-family: 'Julius Sans One', sans-serif;
  color: darkgrey;
  letter-spacing: 2px;
  font-size: 20px;
}

.cta :hover {
  color: white;
  /*background-color: rgba(208, 187, 185, 0.5);*/
  border-radius: 70px;
  padding: 5px 150px;  /*top right bottom left */
  transition: all ease-in-out 250ms;
}

.cta ::before {
  color: white;
  background-color: rgba(208, 187, 185, 0.5);
  border-radius: 70px;
  padding: 5px 150px;  /*top right bottom left */
  transition: all ease-in-out 250ms;
}

.cta :hover::before {
  width: 100%;
}


/*--------------------------FOOTER-------------------------------*/

footer {
  /*width: 100%;*/
  height: 80px;
  background-color: #D6EADF;
  text-align: center;
  margin-top: 100px;
  padding: 5px;
}
