/*! minireset.css v0.0.5 | MIT License | github.com/jgthms/minireset.css */
@import url(//db.onlinewebfonts.com/c/480e3d39ed40d6543721946a2d36ccff?family=RZ);
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
ul {
  list-style: none;
}
button,
input,
select,
textarea {
  margin: 0;
}
@font-face {font-family: "RZ Regular";
  src: url("480e3d39ed40d6543721946a2d36ccff.eot"); /* IE9*/
  src: url("480e3d39ed40d6543721946a2d36ccff.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
  url("480e3d39ed40d6543721946a2d36ccff.woff2") format("woff2"), /* chrome、firefox */
  url("480e3d39ed40d6543721946a2d36ccff.woff") format("woff"), /* chrome、firefox */
  url("480e3d39ed40d6543721946a2d36ccff.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  url("480e3d39ed40d6543721946a2d36ccff.svg#RZ Regular") format("svg"); /* iOS 4.1- */
}
html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
img,
video {
  height: auto;
  max-width: 100%;
}
iframe {
  border: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
  text-align: left;
}
.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}
.line{
    width: 50%;
    background-color: #191919;
    height:2px;
    margin-bottom:10rem;
}
h3 {
    font-size:2.5em;
    margin-bottom:10px;
}
.line2{
    width: 40%;
    background-color: #191919;
    height:2px;
    margin-bottom:5rem;
    margin-left:60%;
    margin-top:5rem;
}
svg:hover{
    opacity: 0.5;
   
}
svg{
    margin-top:20px;
    margin-right:10px;
}
body{
   
  /* font-family: 'Ruda', sans-serif;  */
  font-family: 'Montserrat', sans-serif;
font-weight: 200;
 color:#191919;
 /* font-family: "RZ"; src: url("//db.onlinewebfonts.com/t/480e3d39ed40d6543721946a2d36ccff.eot"); src: url("//db.onlinewebfonts.com/t/480e3d39ed40d6543721946a2d36ccff.eot?#iefix") format("embedded-opentype"), url("//db.onlinewebfonts.com/t/480e3d39ed40d6543721946a2d36ccff.woff2") format("woff2"), url("//db.onlinewebfonts.com/t/480e3d39ed40d6543721946a2d36ccff.woff") format("woff"), url("//db.onlinewebfonts.com/t/480e3d39ed40d6543721946a2d36ccff.ttf") format("truetype"), url("//db.onlinewebfonts.com/t/480e3d39ed40d6543721946a2d36ccff.svg#RZ") format("svg");  */
}
/* CUSTOM */

header{
  height:380px;
  background-color:#fff;
 padding-top: 3em;

}
.container{
  margin:0px 15px;
}
header .intro h1{
  font-size:2.3em;
  line-height: 1;
}
header .intro h2{
  font-size:1em;
}
header .intro > div{
  display:flex;
  align-items: flex-start;
}
header .intro > div > img{
  width:35%;
  margin-right:10px;
}
.works-section{
  background-color:#000;
  color:#fff;
  position:relative;
  /* padding-bottom:100px;*/
  height:580px; 
}
.works-section .project-links{
  display:flex;
  flex-direction: column;
  justify-content: center;
}
.works-section .project-links > div{
  color:#fff;
  padding:10px;
  text-decoration:none;
  font-weight: lighter;
  opacity:0.8;
  cursor: pointer;
}
.works-section .project-links > div:hover{
  opacity:1;
  transition: 0.3s;
}
.works-section > .container{
  position:relative;
  top:-140px;
  max-width:90%;
  margin:0 auto;
  text-align: center;
  
}
.works-section h2{
  font-size:2em;
  padding:5px 0px;
}
.highlight{ font-weight: bold !important; opacity:1 !important;}

.view-link, .siteLink{
  background-color:#fff;
  padding:5px 20px;
  color:#000;
  text-decoration: none;
  font-weight:400;
}
.view-link:hover,
.siteLink:hover{
  opacity:0.5;
  transition: 0.3s;
}
.button-container{
  margin:20px 0px;
  text-align: center;
}
.section-two{
  margin:2em 0;
}
.about-me{
  padding-bottom:20px;
}

.phone-container{
  display:flex;
  justify-content: center;
 
}
.phone-container > div{
  width:40%;

}
.phone-container > div > a {
  transition: all .3s ease-out;
  display:inline-block;
}
.phone-container > div > a:hover,
.third-phone:hover,
.fourth-phone:hover{
  transform: translate(2px, -5px);
}
.phone-container > div:nth-of-type(2){
  padding-top:80px;
  width:42%;
}
.second-page-img{
  margin:0 auto;
}
.third-phone{
width:52%;
/* position:relative; */

transform: rotate(8deg);
top:-50px;
/* bottom:-110px; */
left:0px;
transition: all .3s ease-out;
display:inline-block;
}
.fourth-phone{
  width:40%;
  position:absolute;
 top:0px;
  right:0px;
  transition: all .3s ease-out;
}
.phone-container-2{
  position:relative;
}
#contact{
  background-color:#000;
  color:#fff;
  padding:3em 0;
  margin-top:-60px;
}
#contact a{
  text-decoration:none;
}

/* recipes */

.white-background{
  background-color:#fff;
  padding:3em 0em 10em 0em;
}
.white-background > div > h1{
  font-size:2.8em;
}
.black-background{
  background-color:#000;
  position:relative;
}
.display-flex{
  /* display:flex;
  justify-content: space-between; */
  position:relative;
  top:-100px;
}
.display-flex > div{
 
  color:#fff;
  transition: all .3s ease-out;
  display: inline-block;
}
.display-flex > div:hover{
  transform: translate(2px, -2px);
}

.display-flex > div a{
  color:#fff;
  text-decoration: none;
  text-align:center;
}
.siteLink{
  color:#000 !important;
  text-align: center;
}
.home-link > a{
 
  color:#000;
  text-decoration: none;
  font-weight:400;
}
.home-link> a:hover{
  opacity:0.5;
}
.home-link{
margin-top:20px !important;
text-align: right;
}



 /* Modle */
  /* The Modal (background) */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #191919;
  }
  .popupSlides{text-align: center;}
  
  /* Modal Content */
  .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 80%;
    max-width: 1170px;
    border-radius:7px;
  }
  
  /* The Close Button */
  .close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 60px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* Hide the slides by default */
  .mySlides {
    display: none;
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: fixed;
    top: 50%;
    width: auto;
    padding: 16px;
    /* margin-top: -50px; */
    color: #fff;
    background-color:#000;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 10%;
    border-radius: 3px 0 0 3px;
  }
  .prev {
left:9%;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    /* background-color: rgba(0, 0, 0, 0.8); */
    opacity:0.5;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* Caption text */
  .caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
  }
  
  img.demo {
    opacity: 0.6;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }
  .modal-description{
    padding:15px;
    text-align:center;
    font-weight:600;
    border-bottom:2px solid black;
    font-size: 18px;
  }
  #alzati{
    position: relative;
    top: 189px;
    text-align: center;
  }
  @media only screen and (min-width:300px){
    header .intro h1{
      font-size:3.1em;
     
    }
    header .intro h2{
      font-size:1.35em;
    }
  }

@media only screen and (min-width:500px){
  .works-section .project-links{
    display:flex;
    flex-direction: row;
    justify-content: center;
  }
  .works-section{

    height:500px;
  }
}
@media only screen and (min-width:590px){
  #contact{
    margin-top:0px;
  }
}

  @media only screen and (min-width: 724px){
    header{
      height:400px;

    }
    header .intro > div{
    align-items: center;
  }
  header .intro > div > img{
    width:11%;
  }
  .section-two{
    display:flex;
    justify-content: space-between;
    position: relative;
  
  }
  .about-me{
    width:35%;
    margin-top:2em;
  }
  .portfolio-images{
    width: 60%;
    position: relative;
    top:-150px;
  }
  .works-section{
    height:700px;
  }
  .works-section > .container{ top:-170px;}
  .display-flex{
    display:flex;
    justify-content: space-between;
    position:relative;
    top:-100px;
  }
  .display-flex > div{
    width:47%;
  
  }
  .third-phone{
  
    position:absolute;}
}

  @media only screen and (min-width: 1024px){
    .container{
      margin:0px 2em;
    }
    .project-description{
      width:70%;
      margin:0 auto;
    }
    .works-section{
      height:850px;
    }
    .works-section .project-links > div{
      font-size:18px;
    }
    .portfolio-images{
    
      top:-220px;
    }


  }
  @media only screen and (min-width: 1200px){
    .container{
      margin:0px 4em;
     
    }
    .about-me{
      width:35%;
      margin-top:6em;
    }


  }
  @media only screen and (min-width: 1500px){
    .container{
      margin:0px auto;
      max-width:1500px;
      padding:0px 4em;
    }
    header{
      padding-top:3em !important;
    }
    .project-description{
      width:60%;
      max-width:900px;
      margin:0 auto;
      font-size:18px;
      
    }
    .works-section .project-links > div{
      font-size:22px;
    }
    .prev,
    .next {

      position: absolute;
  }
  .works-section{
    height:870px;
  }
  .next{right:0;}
  .prev{left:0;}
  .about-me > p{
    font-size:18px;
  }
}