* {
    box-sizing: border-box;
    margin:0;
    padding:0;
  }

@font-face {
    font-family: chipper;
    src: url(font/Chipper-Regular.ttf);
}

/* @font-face {
    font-family: shadows;
    src: url(font/ShadowsIntoLight-Regular.ttf);
} */


  body {
    background: #fff;
    background-image: url(img/slider-bg.jpg);
    background-repeat: repeat-x;
    background-position: center 290px;
    background-size: 1040px;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
  }

body.innerpage {
    background-image: url(img/about_bg.jpg);
    background-repeat:repeat-y;
    background-position: 67% 0;
    background-size: 380px;
}


h1, h2, h3 {
    font-family: "Shadows Into Light", cursive;
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-size: 33px;
    margin-top: 80px;
    text-align: center;
}

h2 {
    font-size: 48px;
}

p {
    font-size: 16px;
    line-height: 150%;
    margin-bottom: 25px;

}

.header {
    margin:0 auto;
    max-width: 1048px;
    height:295px;
    display: flex;
}

.header .logo {
    flex:1;
}

.header .logo a {
    position: relative;
    top: 45px;
    left:70px;
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(img/marcio-nicolosi-logo.png);
    background-repeat: no-repeat;
    background-size:contain;
}

.header .nav {
    flex:1;
}

.header .nav {
    margin-top: 40px;
    text-transform: capitalize;
    position: relative;
    z-index: 10;
}

.header .nav ul li {
    display: inline;
    text-transform: capitalize;
    margin: 0 20px 0 20px;
}

.header .nav ul li:last-child {
    margin: 0 0 0 20px;
}

.header .nav ul li a {
    font-family: "Shadows Into Light", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 36px;
    text-decoration: none;
    color: #000;
    cursor: pointer;
}

.header .nav ul li a:hover {
    color: #ccc;
}


.wrapper {
    position: relative;
    margin:0 auto;
    max-width: 1048px;
    height:240px;
    margin-top:-80px;
    padding-left:110px;
    padding-right:110px;
}

.wrapper .heading-home{
    float:right;
    margin-bottom:53px;
    padding-right: 10%;

}

body.innerpage .wrapper {
    padding-left:20px;
    padding-right:20px;
}

.left-col {
    float: left;
    width: 25vw;
    padding:100px 0 150px 0;
}

.left-col h1 {
    margin-bottom:30px;
}

.right-col {
    position: absolute;
    right:30%;
    top:200px;
    height: 100%;
    width: 300px;
    padding:100px 0 150px 0;
}

.right-col img {
    width: 100%;
}

.swiper {
    width: 100%;
    height:100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
}

.th-one:hover .overlay, .th-two:hover .overlay, .th-three:hover .overlay, .th-four:hover .overlay, .th-five:hover .overlay, .th-six:hover .overlay {
    opacity: 1;
    cursor: pointer;
}

.th-one {
    background-image: url(img/thumb1.jpg);
    background-size: cover;
    background-position: center center;
}

.th-two{
    background-image: url(img/thumb2.jpg);
    background-size: cover;
    background-position: center center;
}

.th-three {
    background-image: url(img/thumb3.jpg);
    background-size: cover;
    background-position: center center;
}

.th-four {
    background-image: url(img/thumb4.jpg);
    background-size: cover;
    background-position: center center;
}

.th-five {
    background-image: url(img/thumb5.jpg);
    background-size: cover;
    background-position: center center;
}

.th-six {
    background-image: url(img/thumb6.jpg);
    background-size: cover;
    background-position: center center;
}

.text {
    height: 100%;
}

.text a { 
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    padding-top:25%;
    font-family: "Shadows Into Light", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    text-decoration: none;
    line-height: 100%;
}

.text a span { 
    font-size: 18px;
}

.topnav {
    flex: 1;
    overflow: hidden;
  }
  
  .topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    font-family: "Shadows Into Light", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 36px;
    text-decoration: none;
    color: #000;
    cursor: pointer;
  }
  
  .topnav a:hover {
    color: #ccc;
  }
  
  .topnav a.active {
    background-color: #04AA6D;
    color: white;
  }
  
  .topnav .icon {
    display: none;
  }

  .lightboxcontainer {
    width:100%;
    text-align:left;
  }
  .lightboxleft {
    width: 40%;
    float:left;
  }
  .lightboxright {
    width: 60%;
    float:left;
  }
  .lightboxright iframe {
    min-height: 390px;
  }
  .divtext {
    margin: 36px;
  }
  
@media(max-width:2100px) {
    .left-col {
        width: 28vw;
    }
}

@media(max-width:1700px) {
    .left-col {
        width: 35vw;
    }
    .right-col {
        right:20%;
    }
    body.innerpage {
        background-position: 78% 0;
    }
}

@media(max-width:1300px) {
    .left-col {
        width: 45vw;
    }
    .right-col {
        right:10%;
    }
    body.innerpage {
        background-position: 93% 0;
    }
}

@media(max-width:1000px) {
    .wrapper .heading-home {
        padding-right: 2%;
    
    }

    .wrapper .heading-home h2 {
        font-size: 300%;
    }
}

@media(max-width:850px) {
    body {
        background-position: center 420px;
        background-size: 1040px;
      }

    .header .logo a {
        background-repeat: no-repeat;
        background-size:contain;
        background-position: center center;
    }

    .topnav {
        flex: 0.2;
    }

    .topnav a {display: none;}
    .topnav a.icon {
        float: right;
        display: block;
    }

    .topnav.responsive {
        position:fixed;
        width: 100%;
        height: 100%;
        background-color: rgb(0, 0, 0);
        text-align:center;
        z-index: 100;
    }
    
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: center;
        color: #fff;
        margin-top: 30px;
    }

    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
        margin-top: 0;
    }

    .wrapper {
        position: relative;
        margin:0 auto;
        max-width: 1048px;
        height:240px;
        margin-top:60px;
        padding-left:70px;
        padding-right:70px;
    }

    .wrapper .heading-home{
        width: 100%;
        display: block;
    }

    .wrapper .heading-home h2 {
        font-size: 48px;
        text-align: center;
    }

    .overlay {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 1;
        transition: .5s ease;
    }
    
    .th1:hover .overlay, .th2:hover .overlay, .th3:hover .overlay, .th4:hover .overlay, .th5:hover .overlay, .th6:hover .overlay {
        opacity: 1;
        cursor: pointer;
    }
    
    .text {
        margin-top: 0;
    }
    
    .text a { 
        display: block;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.3);
        padding-top:170px;
    }

    .left-col {
        padding-top:30px;
    }

    .left-col h1 {
        margin-top:10px;
    }

    .right-col {
        margin-top: 30px;
    }

    .lightboxleft {
        width: 100%;
      }
      .lightboxright {
        width: 100%;
      }
      .divtext {
        margin: 12px;
      }

}

@media(max-width:470px) {
    body {
        background-position: center 370px;
        background-size: 1040px;
      }

    body.innerpage {
        background-image: none;
    }
    .nav {
        display: none;
    }
    .header .logo a {
        position: relative;
        top:0;
        left:0;
        background-size:85%;
        background-position: 50% 50%;
    }

    .wrapper {
        margin-top:20px;
    }

    .wrapper .heading-home h2 {
        font-size: 36px;
    }

    .content h1 {
        font-size: 28px;
    }

    .left-col {
        width: 90vw;
        padding-top:0;
    }

    .left-col h1 {
        margin-top:0;
        margin-bottom: 450px;
    }

    .right-col {
        width: 100vw;
        margin-top: 30px;
    }

    .right-col img {
        width: 300px;
        margin-left:15%;
    }

}

@media(max-width:405px) {

    .wrapper .heading-home h2 {
        font-size: 30px;
    }

}

  