@import url('https://fonts.googleapis.com/css?family=Raleway');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

body{
  overflow: hidden;
  font-family: 'Raleway', sans-serif;

}

#problem{
    display: block;
 }

#problem_mobile{
    display: none;
  }

.card{
  background-color: #323232;
  padding: 2em;
  width: 70%;
  height: 100vh;
  text-align: right;
  font-size: 1.8rem;
  position: absolute;
  top: 100vh;
  right: 0;
  transition: top 700ms cubic-bezier(.25,.56,.46,1.04);
}

article{
  width: 30%;
  height: 100vh;
  position: absolute;
  top: 100vh;
  left: 0;
  transition: top 750ms ease;
  background-size: cover;
  background-position: center center;
}

.art1{
  top: 0;
}

.sec1{
  top: 0;
}
.sec1 p, .sec2 p{
  padding-left: 20%;
  padding-right:20%;
  font-size: 1.2vw;
}

@media screen and (max-width: 1100px ) {
  .sec1 p, .sec2 p, .sec5 p{
    font-size:1.9vw;
  }
}
@media screen and (max-width: 800px ) {
    .sec1 p, .sec2 p, .sec5{
        font-size:15px;
    }
}
.art1 img {
    height:100%;
    width:100%;
}
.art2 img{
  height: 100%;
  width:100%;
}

.art3 img{
  height:100%;
  width:100%;
  object-position: center;
}


h1{
  text-align: center;
  font-size: 5vh;
  margin-top: 20px;
  color: white;

}

#problem p, #problem_mobile p{
  text-align: left;
  margin-top: 30px;
  color: white;
}

.sec2{
  text-align: center;
  padding-top: 100px;
  width:70%;
}
.sec3{
  color: #aaa;
  font-size: 1.2vw;
  padding-top: 5%;
  padding-left:8%;
  padding-right:8%;

}
.sec4{
  color: #aaa;
  font-size: 1.2vw;
  padding-top: 5%;
  padding-left:8%;
  padding-right:8%;
}
@media screen and (max-width: 1200px ) {
    .sec3 p, .sec4 p{
        font-size:1.9vw;
    }
}
.sec4 a{
  color: #c7c7c7;
  top: 2vh;
  font-size:15px;
  text-decoration: none;
}

.sec4 a:hover{
  text-decoration: underline;
}
.sec5{
  background-color: #fff;
  font-size: 1.5vw;
  line-height: 1.2;
}

.sec5 p, .sec5 h1{
  color: #165EA4 !important;
padding-right: 20%;
  padding-left: 20%;
  text-align: center;
}

.scrolling{
  position: fixed;
  height:6vh;
  width:auto;
  left:60%;
  z-index:30;
  bottom:11%;
}

.scrolling:hover{
  cursor: pointer;
}
@media screen and (min-width: 600px ){
  footer {
    position: fixed;
    z-index: 99;
    bottom: 0;
    width: 100%;
    height: 70px;
    color: white;
  }


  footer p {
    font-weight: lighter;
    font-size: 13px;
  }
}

@media screen and (max-width: 600px ) {

  article{
    width: 70%;
    margin: auto;
  }
  #problem{
    display: none;
  }

  #problem_mobile{
    display: block;
  }
  *,
*:after,
*:before {
  box-sizing: border-box;
}

html {
  height: 100%;
  width: 100%;
}

body {
  position: relative;
  height: 100%;
  width: 100%;
  background: white;
  color: #eee;
  margin: 0;
  font-family:'Montserrat', sans-serif;
  line-height: 1.3;
  letter-spacing: 0.002em;
  font-size: 12px;
}

 a {
  outline: none;
  text-decoration: none;
  color: #fff;
  transition: .2s;
}

h2 {
  margin-top: 60px;
  font-size: 23px;
  color: #fff;
}

.back-link {
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}
.back-link:hover, .back-link:focus {
  border-color: #fff;
  color: #fff;
}

.article__pointer {
  position: absolute;
  left: 20%;
  height: 100px;
  width: 100px;
  margin: -50px 0 0 -50px;
  display: flex;
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.article__pointer_blue {
  top: 25%;
 background-image:url(/assets/imgs/da_sistemare/AdobeStock_48974688.jpg) ;
 background-size: cover;
  box-shadow: 0 0 0 3px #2980b9;
}
.article__pointer_blue:hover, .article__pointer_blue:focus {
  box-shadow: 0 0 0 20px #2980b9;
}
.article__pointer_red {
  top: 45%;
  background-image: url(/assets/imgs/da_sistemare/AdobeStock_192687921_mod.jpg);
  background-size: cover;
  box-shadow: 0 0 0 3px #2F4F4F ;
}
.article__pointer_red:hover, .article__pointer_red:focus {
  box-shadow: 0 0 0 20px #2F4F4F  ;
}
.article__pointer_yellow {
  top: 65%;
  background-image: url(/assets/imgs/da_sistemare/AdobeStock_166939308_mod.jpg);
  background-size: cover;
  box-shadow: 0 0 0 3px #e67e22;
}
.article__pointer_yellow:hover, .article__pointer_yellow:focus {
  box-shadow: 0 0 0 20px #e67e22;
}

.article_title{
  font-size: 20px;
  margin-top: -10px;
  margin-left: 300px;
  color: #2980b9;
  font-weight: bold;
}

#problem_mobile .article_title {
    color: #165EA4;

}
.article__layer {
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  height: 100px;
  width: 900px;
  border-radius: 100%;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  will-change: transform;
  -webkit-transform: scale(0);
          transform: scale(0);
  transition: .6s ease-in-out;
}
.article__layer_blue {
  background: #2980b9;
  box-shadow: 0 0 0 100vw #2980b9, 0 0 0 100vh #2980b9;

}
.article__layer_red {
  background: #2F4F4F ;
  box-shadow: 0 0 0 100vw #2F4F4F , 0 0 0 100vh #2F4F4F ;
}
.article__layer_yellow {
  background: #e67e22;
  box-shadow: 0 0 0 100vw #e67e22, 0 0 0 100vh #e67e22;
}
.article__panel {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: scale(0.95);
          transform: scale(0.95);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  will-change: opacity, transform;
  transition: .2s;
}
.article__panel:target {
  opacity: 1;
  visibility: visible;
  -webkit-transform: scale(1);
          transform: scale(1);
  transition: .2s .4s;
}

.article__panel:target ~ a {
  z-index: 1;
}

.article__panel:target ~ a span {
  -webkit-transform: scale(1);
          transform: scale(1);
}

.article__panel_blue {
  background: #2980b9;
}

.article__panel_red {
  background: #2F4F4F ;
}

.article__panel_yellow {
  background: #e67e22;
}

.article__body {
  max-height: 600px;
  width: 70%;
  flex: 0 0 100%;
  padding: 40px 20px;
  line-height: 1.6;
  letter-spacing: .025em;
  color: rgba(255, 255, 255, 0.75);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.article__container {
  font-size: 12px;
}

.article__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

footer{
  position: fixed;
  bottom: 0;
}
}