/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 14px;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* Resets */

* {
    box-sizing: border-box;
}

ul, ol {
    list-style: none;
    margin: 0;
}

li {
    display: block
}

a {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
    font-family: 'open_sansbold';
    src: url('fonts/OpenSans-Bold-webfont.eot');
    src: url('fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-Bold-webfont.woff') format('woff'),
         url('fonts/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sansbold_italic';
    src: url('fonts/OpenSans-BoldItalic-webfont.eot');
    src: url('fonts/OpenSans-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-BoldItalic-webfont.woff') format('woff'),
         url('fonts/OpenSans-BoldItalic-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-BoldItalic-webfont.svg#open_sansbold_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sansextrabold';
    src: url('fonts/OpenSans-ExtraBold-webfont.eot');
    src: url('fonts/OpenSans-ExtraBold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-ExtraBold-webfont.woff') format('woff'),
         url('fonts/OpenSans-ExtraBold-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-ExtraBold-webfont.svg#open_sansextrabold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sansextrabold_italic';
    src: url('fonts/OpenSans-ExtraBoldItalic-webfont.eot');
    src: url('fonts/OpenSans-ExtraBoldItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-ExtraBoldItalic-webfont.woff') format('woff'),
         url('fonts/OpenSans-ExtraBoldItalic-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-ExtraBoldItalic-webfont.svg#open_sansextrabold_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sansitalic';
    src: url('fonts/OpenSans-Italic-webfont.eot');
    src: url('fonts/OpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-Italic-webfont.woff') format('woff'),
         url('fonts/OpenSans-Italic-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-Italic-webfont.svg#open_sansitalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sanslight';
    src: url('fonts/OpenSans-Light-webfont.eot');
    src: url('fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-Light-webfont.woff') format('woff'),
         url('fonts/OpenSans-Light-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sanslight_italic';
    src: url('fonts/OpenSans-LightItalic-webfont.eot');
    src: url('fonts/OpenSans-LightItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-LightItalic-webfont.woff') format('woff'),
         url('fonts/OpenSans-LightItalic-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-LightItalic-webfont.svg#open_sanslight_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sansregular';
    src: url('fonts/OpenSans-Regular-webfont.eot');
    src: url('fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sanssemibold';
    src: url('fonts/OpenSans-Semibold-webfont.eot');
    src: url('fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-Semibold-webfont.woff') format('woff'),
         url('fonts/OpenSans-Semibold-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-Semibold-webfont.svg#open_sanssemibold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sanssemibold_italic';
    src: url('fonts/OpenSans-SemiboldItalic-webfont.eot');
    src: url('fonts/OpenSans-SemiboldItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-SemiboldItalic-webfont.woff') format('woff'),
         url('fonts/OpenSans-SemiboldItalic-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-SemiboldItalic-webfont.svg#open_sanssemibold_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

body {
    font-family: 'open_sansregular';
    font-size: 14px;
    background-color: #5C6E73;
    transition-duration: 0s;
}

* {
    transition: all 0.2s ease-out;
}


/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
    height: 70px;
    font-family: 'open_sanssemibold';
    /*padding: 0 7%;*/
    width: 100%;
    position: fixed;
    z-index: 1000;
    top: 0;
    background-color: rgba(0, 161, 145, 0.85);
    transition-duration: 0s;
    
}


.navigation {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

nav a {
    text-decoration: none;
    text-transform: uppercase;
    color: #E0FCFA;
    height: 70px;
    padding: 0 50px;
    line-height: 70px;
    display: block;
}

nav a:hover {
    background-color: #E0FCFA;
    color: rgb(0, 167,145);
}

.navlogo {
    float: left;
    height: 40px;
    margin: 15px 0px 15px 50px;
}

.subnav {
    position: fixed;
    height: 70px;
    width: 100%;
    background-color: #5C6E73;
    top: 0;
    box-shadow: 0px 8px 17px 0px rgba(0, 0, 0, 0.2), 0px 6px 20px 0px rgba(0, 0, 0, 0.19);
    /*background-image: url("../img/bg.png");*/
}

/* COVERR default style */
/* Resize on 16:9 on bigger AND small screen, FIX THIS */

.homepage-hero-module {
    max-width: 100%;
    height: auto;
    border-right: none;
    border-left: none;
    position: relative;
    padding-top: 56.25%;
    z-index: 1;
}
.no-video .video-container video,
.touch .video-container video {
    display: none;
}
.no-video .video-container .poster,
.touch .video-container .poster {
    display: block !important;
}
.video-container {
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: #000;
}
.video-container .poster img {
    width: 100%;
    bottom: 0;
    position: absolute;
}
.filter {
    position: absolute;
    background: rgba(54, 64, 66, 0.4);
    width: 100%;
}
.video-container video {
    position: absolute;
    z-index: 0;
    bottom: 0;
}
.video-container video.fillWidth {
    width: 100%;
}
.filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* END COVERR deafult style */

.landing {
    position: relative;
}

.landing img {
    height: 200px;
}

.landing h1 {
    font-family: "open_sansbold";
    letter-spacing: 0.6rem;
    margin-top: 1rem;
    margin-bottom: 1.4rem;
}

.landing h4 {
    font-family: "open_sanslight";
    font-weight: 100;
}

.separator {
    height: 1px;
    width: 400px;
    background-color: #E0FCFA;
    margin: 0 auto;
    border-top: 0;
}

/* Box div */

.containerino {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.particle-container {
    position: relative;
}

.box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    width: 690px;
    height: 460px;
    margin: 0 auto;
}

.box {
    height: 200px;
    width: 200px;
    background-color: #FF371F;
}


/*Colors*/

.white {
    background-color: #E0FCFA;
}
.gray-1 {
    background-color: #C2E3E3;
}
.gray-2 {
    background-color: #9DB8C0;
}
.gray-3 {
    background-color: #5C6E73;
}
.red {
    background-color: #FF371F;

}

/* ==========================================================================
   Text
   ========================================================================== */

/*Colors*/

.text-white {
    color: #E0FCFA;
}
.text-gray-1 {
    color: #C2E3E3;
}
.text-gray-2 {
    color: #9DB8C0;
}
.text-gray-3 {
    color: #5C6E73;
}
.text-red {
    color: #FF371F;
}

/*Aligment*/

.center {
    text-align: center;
}

/*Size*/

p {
    font-size: 1.2em;
}

h1 {
    font-size: 4.2em;
}

h4 {
    font-size: 1.8em;
}









/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}



.style {
    filter: blur(5px);
    overflow: hidden;
}

.style-cont {
    overflow: hidden;
    width: 400px;
    height: 400px;
    margin: 0 auto;    
}

.style:hover {
    filter: blur(0px);
}

/*--Sfondo svg-- much lols--*/

#sfondo-svg {
    position: absolute;
    width: 100%;
}

header {
    height: 100%;
    height: 100vh;
    padding: 10% 20% 0;
    box-shadow: 0px 10px 20px 10px rgba(28,34,35,0.55);
}

.full-bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
}

.prova {
    width:  100%;
    height: 100vh;
    background-color: #364042;
}

/* Portfolio */

section {
    width:  100%;
    min-height: 100vh;
    background-color: #364042;
    overflow: auto;
    position: relative;
}


.image-box {
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 250px;  
    display: flex;
    background: linear-gradient(
        rgba(0, 167, 149, 0.45), 
        rgba(0, 167, 149, 0.45)
        ),
        url(../img/img1.jpg);  
    border: 20px rgba(0, 167, 149, 0.45) solid;
}

.flex-container-portfolio {
    display: flex;
    justify-content: space-around;
    align-items: center;
    align-content: space-around;
    flex-wrap: wrap;
    height:581px;
}

.image-box h4 {
    font-size: 1.5em;
    display: block;
    border: 3px #E0FCFA solid;
    text-align: center;
    padding: 6px 10px;
    margin: 0px;
    width: 194px;
}

.image-box h4:hover {
    background-color: #E0FCFA;
    color: #00A795;
}

.poly {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/graf1.svg);
    background-size: 100% 100%;
}

header .poly {
    background: url(../img/grafo-h1.svg) no-repeat center 101%/100%;
}


.flipped {
    transform: rotateY(180deg);
}

#grafica {
    background: linear-gradient(
        rgba(0, 167, 149, 0.45), 
        rgba(0, 167, 149, 0.45)
        ),
        url(../img/img1.jpg);  
}

#branding {
    background: linear-gradient(
        rgba(0, 167, 149, 0.45), 
        rgba(0, 167, 149, 0.45)
        ),
        url(../img/img2.jpg);  
}

#web {
    background: linear-gradient(
        rgba(0, 167, 149, 0.45), 
        rgba(0, 167, 149, 0.45)
        ),
        url(../img/img3.jpg);  
}

.arrow {
    display: inline-block;
    border-left: 8px #E0FCFA solid;
    border-top: 8px transparent solid;
    border-bottom: 8px transparent solid;
    border-top: 8px transparent solid;
    margin-right: 4px;
}

.row {
    padding: 0 41px;
    margin: 5vh 0;
}

.skill-section {
    width: 371px;
    float: left;
}

.skill-section + .skill-section {
    margin-left: 165px;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {@font-face {font-family: 'open_sansregular';
src: url('fonts/OpenSans-Regular-webfont.svg#open_sansregular') format(‘svg’);
}}

.skill-section h3 {
    background: url(../img/grafo.svg) no-repeat;
    background-size: cover;
    padding: 10px 0 10px 20px;
}

.skill-section  ul {
    padding: 0;
}


/* Other stuff again no pls */

.intro {
    min-height: auto;
    width: 100%;
    background-color: rgb(0, 161, 145)
}

.intro .container {
    margin-top: 5%;
    margin-bottom: 5%;
}

h2 {
    font-family: 'open_sanslight';
    font-size: 2.7rem;
}

h3 {
    font-family: 'open_sanslight';
    font-size: 2.2rem;
}

h5 {
    font-family: 'open_sansregular';
    font-size: 1.4rem;
}

p {
    font-size: 1.3rem;
    line-height: 2rem;
}

.work {
    min-height: auto;
    width: 100%;
    background-color: rgb(61, 67, 68);
    overflow: hidden;

}

.boxwork {
    overflow:hidden;
    height: 250px;
    width: 10%;
    min-width: 200px;
    background: url('https://designtrainingcamp.com/wp-content/uploads/2015/12/custom-web-design-html5-responsive.jpg') center center/cover;
    position: relative;
    cursor: pointer;
    display: inline-block;
    margin-top: 40px;
 
}

.workpoly {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background: url(../img/grafo-h1-grey.svg) no-repeat center 101%/200%;
}

.workpoly.top {
    background: url(../img/grafo-h1-grey.svg) no-repeat center 101%/200%;
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1) scaleX(1.01);
    filter: FlipV;
    -ms-filter: "FlipV";
}

.work .poly {
    background: url(../img/grafo-h1.svg) no-repeat center 101%/100%;
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1.01) scaleX(1.01);
    filter: FlipV;
    -ms-filter: "FlipV";
}

.boxwork h2 {
    margin: 0;
	font-size: 24px;
	alignment-adjust: central;
    text-align: center;
    /*line-height: 200px;*/
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    position: relative;
    z-index: 1;
}
	/*
.olè h2 {
	bottom: 0;
	line-height: 30px;
	text-align: center;
	text-wrap:normal;

	}
	*/
	
.olè:hover h2 {
	text-align:center;
	
	} 

.overlay {
    bottom: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(61, 67, 68, 0.5);
}

.boxwork:hover .overlay {
    height: 175px; /*37*/
}

.boxwork:hover h2 {
    -moz-transform: translate(0, 80px);
    -o-transform: translate(0, 80px);
    -webkit-transform: translate(0, 80px);
    transform: translate(0, 80px);
}

.flexcontainer {
    display: flex;
    width: 100%;
    justify-content: space-around;
    flex-wrap: wrap;
}

.sep {
    width: 100%;
    height: 500px;
    position: relative;
    background: url('http://www.jetdesignstudio.co.uk/wp-content/uploads/2014/07/JETBackground1800x938.jpg') center center/cover;
    background-attachment: fixed;
}

.sep .overlay {
    background-color: rgba(224, 252, 250, 0.2)
}

.sep .poly {
    background: url(../img/grafo-h1-grey.svg) no-repeat center 101%/100%;
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1.01) scaleX(1.01);
    filter: FlipV;
    -ms-filter: "FlipV";
}

.work .container {
    margin-top: 20%;
    margin-bottom: 5%;
}

.container {
    margin: 0 20% 0;
}

.about {
    background-color: #E0FCFA;
    color: rgb(0, 171, 145);
}

.about .container {
    margin-top: 5%;
}

.round {
    border-radius: 50%;
    display: block;
    margin: 0 10px 20px;
    max-width: 120px;
}

.card:hover .round {
    transform: scale(1.1);
}

.card {
    min-width: 100px;
    background-color: white;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 20px 20px 50px;
    margin: 40px 0;
    position: relative;
    cursor: pointer;

}

.rombo {
	
	width: 150px;

	
	}

.card h5, .card p {
    margin: 0.5rem 0;
    line-height: 1.6rem;
}

.job {
    font-size: 1rem;
    font-family: 'open_sanssemibold';
    text-transform: uppercase;
    color: rgb(116, 122, 123);
}

.card-poly {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 40px;
    width: 100%;
    background: url(../img/grafo-h1.svg) no-repeat center 101%/100%;
}

/*Modal Styles*/

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

.modal-open {
    overflow: hidden;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: scroll;
}

.fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}

.fade.in {
    opacity: 1;
}

.modal-backdrop {
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
}

.modal.fade.in .modal-dialog {
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
}

.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform .3s ease-out;
    -o-transition: -o-transform .3s ease-out;
    transition: transform .3s ease-out;
    -webkit-transform: translate(0,-25%);
    -ms-transform: translate(0,-25%);
    -o-transform: translate(0,-25%);
    transform: translate(0,-25%);
}

.modal-dialog {
    width: 600px;
    margin: 30px auto;
    position: relative;
}

.modal-content {
    position: relative;    
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5);
    box-shadow: 0 3px 9px rgba(0,0,0,.5);
    background: #E0FCFA url(../img/grafo-h1.svg) no-repeat center 101%/100%;
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll
}

.close {
    padding: 1px 14px;
    float: right;
    outline: none;
    border: 0;
    margin: 0;
    background-color: transparent;
    font-size: 2.2rem;
    border-radius: 7px;
}

.close:hover {
    background-color: rgba(255,255,255,0.2) ;
}

.modal-header {
    background-color: rgb(0,161,145);
    color: white;
    padding: 10px 10px 10px 20px;
    margin: 0;
}

.modal h3 {
    margin: 0;
    font-family: 'open_sanssemibold';
}

.modal-body {
    color: rgb(61,67,68);
    padding: 0 20px;
}

.modal-footer {
    padding: 0 20px 20px 20px;
}