@font-face{
    font-family: Merriweather;
    src: url('Merriweather-Regular.ttf');
    font-display: swap;
}
@font-face{
    font-family: MerriweatherSansLight;
    src: url('MerriweatherSans-Light.ttf');
    font-display: swap;
}
@font-face{
    font-family: MerriweatherSansBold;
    src: url('MerriweatherSans-Bold.ttf');
    font-display: swap;
}

* {box-sizing: border-box;}

/* Set a background color */

/* The actual timeline (the vertical ruler) */
.time-line-bg{
    position: relative;
    width: 100%;
    max-width: 1920px;
    height: 120%;
    background-image: url("../story-living-cannes/img/1920X1080_mapa_base_rafu_sin_logo.jpg");
    -webkit-background-position: center top;
    -moz-background-position: center top;
    -o-background-position: center top;
    background-position: center top;

    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;

    background-repeat: no-repeat;
    
    
    background-attachment: inherit;
        -webkit-background-attachment: inherit;
        -moz-background-attachment: inherit;
        -o-background-attachment: inherit;
    /*background-color: #F1F1F3;*/
    background-origin: border-box;
  
}


.palais{
    position:absolute;
    margin-top: 19%;
    margin-left: 7%;
}
.beach{
    position:absolute;
    margin-top: 12%;
    margin-left: 24%;
}
.croisette{
    position:absolute;
    margin-top: 10%;
    margin-left: 37%;
}
.carton{
    position:absolute;
    margin-top: 13%;
    margin-left: 51%;
}
.martinez{
    position:absolute;
    margin-top: 19%;
    margin-left: 66%;
}
.palm{
    position:absolute;
    margin-top: 30%;
    margin-left: 80%;
}



.time-line-img{
   width: 160px;
   height: auto;
   cursor: pointer;
}
.time-line-img:hover{
    animation-name: polaroid;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
    
}
@keyframes polaroid {
  0%   {
    transform: rotate(0deg) translate(0px, 0px);
  }
  25%  {
  transform: rotate(10deg) translate(-15px, 0px);
  }
  50%  {
      transform: rotate(-5deg) translate(8px, 0px);
  }
  100% {
      transform: rotate(0deg) translate(0px, 0px);
  }
}
@media only screen and (max-width: 600px) {
  .time-line-bg{
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500%;
    background-image: url("../story-living-cannes/img/1080_mapa_basemobile_sin_logo.jpg");
    
    -webkit-background-position: center top;
    -moz-background-position: center top;
    -o-background-position: center top;
    background-position: center top;

    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;

    background-repeat: no-repeat;
      -webkit-background-repeat: scroll;
    -moz-background-repeat: scroll;
    -o-background-repeat: scroll;
  
    
    background-attachment: scroll;
    -webkit-background-attachment: scroll;
    -moz-background-attachment: scroll;
    -o-background-attachment: scroll;
    
    background-origin: border-box;
  
    }
    .palais{
        position: relative;
        margin-left: auto;
        margin-right: auto;
        display: block;
        margin-top: 1%;
        
       
    }
    .beach{
        position: relative;
        margin-left: auto;
        margin-right: auto;
        display: block;
        margin-top: 1%;
        
        
    }
    .palm{
        position: relative;
        margin-left: auto;
        margin-right: auto;
        display: block;
        margin-top: 1%;
        
       
    }
    .martinez{
        position: relative;
        margin-left: auto;
        margin-right: auto;
        display: block;
        margin-top: 1%;
        
        
    } 
    .carton{
        position: relative;
        margin-left: auto;
        margin-right: auto;
        display: block;
        margin-top: 1%;
        
        
    } 
    .croisette{
        position: relative;
        margin-left: auto;
        margin-right: auto;
        display: block;
        margin-top: 1%;
        
       
    }
    .time-line-img{
        width: 300px;
        height: auto;
        cursor: pointer;
        padding: 5px;
    }
    .media-margin{
        height: 100px;
    }
    .img-logo-cannes{
        width: 150px;
        height: auto;
        margin-left: -10%;
    }    
}