/* CSS files add styling rules to your content */

/* https://www.color-hex.com/color/e5ab70 */

body {
  background-color: #EADDCC;
  background-image: url("images/cork.png");
  background-size: auto;
  font-family: "Benton Sans", "Helvetica Neue", helvetica, arial, sans-serif;
  margin: 0;
  transition-timing-function: ease;
}

div.row {
  width: 100%;
  padding-top: 25px;
  margin: 0px auto;
}
div.row.top {
  max-width: 800px; 
}
div.row.break {
  margin: 0;
  padding: 0;
  height: 0; 
}
div.row.trailers {
  max-width: 600px; 
}
div.row.bottom {
  max-width: 350px; 
}

div.column {
  width: 100%; /*80%;*/
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

div.links {
  width: 25%;
  max-width: 250px;
  float: left;
  margin: 0 auto;
}
.link {
/*   background: url(https://cdn.glitch.com/c15cc3a4-bb3c-40c7-9c20-653fce2cde27%2Fold-envelope-1506802.jpg?1525808734886) no-repeat;
  background-size: 320px 300px; */
  width: 250px;
  /*height: 200px;*/
  /*font-size: 5em;*/
/*   transform: rotate(1deg); */
/*   background-color: #CBFAFA; */
  padding: 10px;
/*   background-color: #BFD641; */
  background: linear-gradient(185deg, #b7b759, #e5e570  10%, #e5e570  90%, #b7b759);
}

div.row .note img.icon {
  position:relative;
  top:3px;
  display: inline;
  height: 1em;
  width: 1em;
  margin: 0 5px;
}

.note {
  box-shadow: 0 5px 6px rgba(0,0,0,.25);
  float: left;
  margin: 16px;
  border: 1px solid rgba(0,0,0,.25);
  display: inline-block;
  position: relative;
  transition: transform 0.15s;
}

div:hover.note {
  border: 1px solid rgba(0,0,0,.75);
  transform: scale(1.1);
}

.text {
  margin: 10px;
}

div.wavy {
  margin: 0;
  padding: 0;
  position: relative;     
}
div.wavy span {
  position: relative;
  display: inline-block;
  animation: wave-text 1.5s ease-in-out infinite;
  animation-delay: calc(0.05s * var(--i));
}
div.wavy img.dogtective {
  width: 40px;
  height: 40px;
  position: relative;
  top: 10px;
}
@keyframes wave-text {
  0% {
    transform: translateY(0px);
  }
  40% {
    transform: translateY(-5px);
  }
  80%,100% {
    transform: translateY(0px);
  }
}


/* stickers */

img.sticker {
  position: absolute;
}
img.sticker.stacksquatch {
  left: 10px;
  top: 20px;
  transform: rotate(-11.5deg);
}
img.sticker.believe {
  right: 120px;
  top: 120px;
  transform: rotate(11.5deg) scale(0.5);
}
.sticker.alien {
  left: 600px;
  top: 700px;
  transform: rotate(47deg) scale(0.8);
}
img.sticker.ball {
  left: 0;
  top: 650px;
  transform: rotate(2deg) scale(0.5);
}



/* media queries */


@media only screen and (max-width: 400px) {
  body div.pin {
    display: none;
  }
  div.row div.note.photo {
    height: 250px;
    width: 250px;
  }
    div.row div.note.photo img {
    height: 170px;
    width: 210px;
  }
  body div.row div.logo {
    min-width: 270px;
    font-size: 1.2em;
    height: 310px;
  }
  body div.row div.link {
    margin: 3%;
    width: calc(50% - 36px);
  }
  div.column div.trailers {
    display: none;
  }
}

@media only screen and (max-width: 640px) {
  body div.row .links {
    width: 100%;
    max-width: none;
  }
  div.row div.links .link {
    padding: 5px;
    width: calc(50% - 44px);
  }
  div.row .note.photo {
    width: 300px;
    height: 300px;
    font-size: 1.5em;
    background-color: #fff;
    display: inline-block;
    margin: 0 5px;
    position:relative;
    margin-bottom: 20px;
  }
  div.pin {
    width: 15px;
    height: 15px;
    box-shadow: 0 5px 4px rgba(0,0,0,.55);
    top: 2px;
  }
  div.row {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  div.row div.logo {
    max-width: 280px;
    width: 80%;
    height: 320px;
  }
  div.row .note {
    font-size: 1.2em;
  }
  body img.sticker.believe {
    visibility: hidden;
  }
  div.row .carousel {
    padding: 0;
  }
  div.row .ad.contact {
    height: 210px;
    font-size: 1.4em;
  }
  div.row .ad.contact address {
    font-size: 1em;
  }
  div.column div.row.trailers .trailer {
    margin: 16px 0;
    padding: 10px;
  }
}

@media only screen and (max-width: 900px) {
  div.row .links .link {
    width: 100%;
  }
  img.sticker {
    visibility: hidden; 
  }
  img.sticker.believe {
    visibility: visible;
  }
  div.column {
    width: 100%; /*90%;*/ 
  }
  div.row .note {
    transform: none;
    margin: 10px 0;
  }
  div:hover.note {
    border: 1px solid rgba(0,0,0,.25);
  }
  div.trailers {
    padding: 0;
  }
  div.column div.row.trailers {
    width: 500px;
  }
  div.trailer { /* 16:9 aspect ratio */
    width: 400px;
    height: 225px;
  }
  div.trailer iframe {
    width: 400px;
    height: 225px;
  }
}

@media only screen and (max-width: 1200px) {
  div .logo {
    width: 350px;
  }
  div.row .note {
    margin: 16px;
  }
  div.row .link {
    width: 250px; 
  }
  /*div.row.top, div.row.bottom {
     width: 100%; 
  }*/
  img.sticker.alien {
    display: none;
  }
}


/* logo */

.logo {
  width: 400px;
  height: 390px;
  font-size: 1.5em;
  transform: rotate(-.6deg);
  background-color: #b7d4f2;
  text-align: center;
  padding: 10px;
}
.logo h1 {
  /*font-family: "Amaranth", helvetica, arial, sans-serif;
  margin-bottom: 10px;*/
  margin: 0;
}
.logo h1 img {
  width: 100%;
}
.logo p {
  font-size: 0.8em;
  margin: 16px;
}
.logo ul {
  font-family: "Amaranth", helvetica, arial, sans-serif;
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-size: 1.2em;
}


/* trailers */

.trailers {
  width: 500px;
}
.trailer { /* 16:9 aspect ratio */
  width: 500px;
  height: 281px;
  transform: rotate(.4deg);
  background-color: #e5e570;
  padding: 20px;
}
.trailer iframe {
  width: 100%;
  height: 281px;
}



/* photo */

div.row.photos {
  display: block;
  text-align: center;
  width: 100%;
/*   height: 500px; */
/*   overflow-x: scroll;
  padding: 20px;
  margin: 0;
  white-space: nowrap; */
  padding: 0;
  overflow:hidden;
}

.carousel {
  display:block;
  width: 100%;
/*   height: 500px; */
  overflow-x: auto;
  padding: 30px 10px 10px 10px;
  margin: 0;
  white-space: nowrap; 
}

.photo {
  float: none;
  width: 280px;
  height: 280px;
  font-size: 1.5em;
/*   -webkit-transform: rotate(-1.5deg);
  -moz-transform: rotate(-1.5deg); */
  background-color: #fff;
  font-family: 'Caveat', cursive;
  display: inline-block;
  margin: 0 10px;
  position:relative;
  margin-bottom: 20px;
  vertical-align: middle;
}

.photo img {
  width: 250px;
  height: 200px;
  margin: 15px auto;
  display: block;
}

.photo:nth-child(1) {
  transform: rotate(-1.2deg);
}
.photo:nth-child(2) {
  transform: rotate(-.7deg);
}
.photo:nth-child(3) {
  transform: rotate(.2deg);
}
.photo:nth-child(4) {
  transform: rotate(-1.4deg);
}
.photo:nth-child(5) {
  transform: rotate(.8deg);
}



/* ad */

.ad {
/*   font-size: 0.9em; */
  background: linear-gradient(185deg, #b75a59, #e57170  10%, #e57170  90%, #b75a59);
}
.ad.contact {
  transform: rotate(-1.8deg);
  width: 300px;
  height: 310px;
  font-size: 2em;
  font-family: 'Caveat', cursive;
/*   background: url('https://cdn.glitch.com/c15cc3a4-bb3c-40c7-9c20-653fce2cde27%2Fcontact.png?1525839992424');
  background-repeat: no-repeat;
  background-size: 300px 350px; */
/*   linear-gradient(to left, lime, lime 28px, red 77%, cyan); */
}
.ad.contact address {
  font-size: 0.8em;
}
.ad.gob {
  transform: rotate(1.3deg);
  width: 250px;
  height: 220px;
  text-align:justify;
  font-family: "Times New Roman", Times, serif;
/*   font-size: 0.9em; */
}
.ad img {
  width: 90px;
  margin: 10px;
  display: block;
  padding: 5px 0 0 0;
  float: left;
}
.gob img, .gob .text {
  padding-top: 10px;
}



/* pin */

.pin {
  border-radius: 50%;
  width: 20px;
  height: 20px;
/*   -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.55);
  -moz-box-shadow: 0 3px 6px rgba(0,0,0,.55); */
  box-shadow: 0 7px 6px rgba(0,0,0,.55);
  margin: 0 auto;
  margin-top: 2px;
  position: absolute;
  left: 50%;
}
body div.row .links .pin {
  top: 2px;
}

body div.row .header .pin {
  background-image: radial-gradient(deeppink 50%, black 100%);
}
body div.row .photo .pin {
  background-image: radial-gradient(lightskyblue 50%, black 100%);
}
body div.row .ad .pin {
  background-image: radial-gradient(khaki 50%, black 100%);
}
