@import url('https://fonts.googleapis.com/css?family=Montserrat:400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    background-color: black;
    color: white;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

iframe {
    width: 100%;
    height: 100vh;
    border: none;
}

a:link, a:visited, a:active {
	color: red;
    font-weight: 500;
    text-decoration: none;
}

a:hover {
    color: darkred;
    font-weight: 500;
    text-decoration: none;
}

.hero {

    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;    
    text-align: center;
    color: white;    
    background-image: linear-gradient(rgba(0, 0, 0, 0.1),rgba(0, 0, 0, 0.9)), url('kuvat/41938801300_3a2aa5195f_k.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero2 {

    width: 100%;
    height: 100vh;
    color: white;    
    background-image: linear-gradient(rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.5)), url('kuvat/29876101748_719d5a8a98_o.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 5em;
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1em;
}

.hero h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.5em;
    line-height: 1.3em;
    
}

.hero .btn {
    display: block;
    width: 220px;
    padding: 25px 15px 25px 15px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.2em;
    border: 3px solid white;
    border-radius: 60px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

.hero .btn:hover  {
    background-color: white;
    color: black;
}

.container {
    position: relative; 
}


h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 3em;
    margin-bottom: 30px;
    line-height: 1.3;
}

#galleria {
    margin-right: 40px;
    margin-left: 40px;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.5em;
    margin: 20px 0 40px 0;
    line-height: 1.3em;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.2em;
    margin: 20px 0 20px 0;
}

b { 
    font-weight: 700;
}

.valk_full {
    
    color: black;
    background-color: #1c1c1c;
    width: 100%;
    min-height: 300px;
    overflow-x: hidden;
}

#col1, #col2, #col3, #col4, #col5 {
    
    font-size: 1em;
    line-height: 1.4;
    margin: auto;
    width: 50%;
    padding: 50px;
    overflow-x: hidden;
    line-height: 1.8;
}

#col1 {

    padding-bottom: 100px;
}

#col2 {
    
    width: 70%;
    padding: 50px 0 50px 0;
    
}


#col3 {
    
    color: white;
    background-color: #1c1c1c;
    width: 100%;
    padding: 50px 0 50px 0;
    text-align: center;
    box-sizing: border-box;

}

#col4 {
    
    width: 100%;
    /* max-width: 1680px; */
    text-align: center;
    /* margin: auto; */
    padding-bottom: 100px;
    padding: 50px 0 100px 0;
}

#col5 {
    
    color: white;
    background-color: #1c1c1c;
    width: 70%;
    text-align: left;
    padding: 50px 20px 100px 20px;
}

#footer {
    
    width: 100%;
    margin-top: 100px;   
}

#cv1 {
    
    width: 40%;
    float: left;
    margin: auto;
    min-height: 300px;
    overflow: auto;
    padding-right: 20px;
}

#cv2 {
    
    margin: auto;
    width: 55%;
    min-height: 300px;
    overflow: auto;
}

#cv3 {
    min-height: 300px;
    overflow: auto;  
}

.osaaminen {
    
    width: 80%;
    height: auto;
    padding-top: 50px;
    margin: auto;
    text-align: center;
}

.omakuva {
    width: 280px;
    height: auto;
    clip-path: polygon(50% 100%, 100% 100%, 10% 0%);
    -webkit-clip-path: polygon(50% 100%, 100% 100%, 10% 0%);
    display: inline-block;
    float: right;
    margin-bottom: 15px;
}

.kortti {
    position: relative; 
    width: 60vw;
    height: auto;
    float: left;
}

.copy {
    position: absolute;
    bottom: 0px;
    right: 0px;
    padding-left: 20px;
    padding-right: 20px;
}

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


#loader {
	display: inline-block;
	position: relative;
	width: 800px;
	height: 800px;
	top: 50%;
	left: 50%;
	margin-left: -400px;
	margin-top: -400px;
}

rect {
-webkit-transform-origin: 100% 100%;
     transform-origin: 100% 100%;
}

.blobs {
 -webkit-filter: url("#goo");
    filter: url("#goo");
    width: 100%;
}

.blob {
	fill: white;
    opacity: 0.5;
    
}

.bg-cover {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	z-index: 1;
	transition: all 350ms ease;
	opacity: 1;
	visibility: hidden;
	pointer-events: none;
}

.reveal {
	opacity: .70;
	display: block;
	pointer-events: auto;
	visibility: visible;
}

.hamburger-shell {
	margin: 0;
	position: fixed;
	overflow: hidden;
	width: 70px;
	height: 100px;
	overflow: auto;
	left: calc(100% - 100px);
	top: 20px;
	cursor: pointer;
    z-index: 99;
}

.top, .middle{
	position: absolute;
	width: 62px;
	height: 8px;
	background-color: #fff;
	transition: all 350ms ease-in-out;
	top: 20px;
    border-radius: 4px;
}

.middle {
	top: 40px;
}

#menu {
	position: fixed;
	left: calc(100% - 292px);
	top: 10px;
	color: #fff;
	display: none;
	margin: 120px 30px;
	text-decoration: none;

	font-size: 20px;
	text-transform: uppercase;
	color: #fff;
	padding: 24px;
	width: 200px;
	text-align: right;
    z-index: 99;
}

#menu li {
	text-decoration: none!important;
	padding-bottom: 10px;
	margin-bottom: 12px;
	border-bottom: 1px solid white;
	list-style: none;
}


#menu a {
	text-decoration: none;
    color: #fff;
    transition: all 150ms ease;
}

#menu a:hover {
	color: red;
	padding-right: 3px;
}

.rotate {
	transform: rotate(225deg);
	-webkit-transform: rotate(225deg);
	top: 30px;
	background-color: red;
	height: 4px;
}

.rotate-back {
	transform: rotate(-225deg);
	-webkit-transform: rotate(-225deg);
	top: 30px;
	background-color: red;
	height: 4px;
}

.top {
    -webkit-animation-delay: 100ms;
}

.middle {
    -webkit-animation-delay: 250ms;
}

.bottom {
	-webkit-animation-delay: 400ms;
}

.menu-name {

	font-weight: 600;
	color: #fff;
	font-size: 19.5px;
	text-decoration: none;
	position: absolute;
	top: 56px;
	left: -1px;
	transition: all 350ms;
}

.bump {
	top: 64px;
	color: red;
}


.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.copy {
    position: absolute;
    top: 200px;
    right: 10px;
}

.copy p {
    font-size: 0.8em;
    text-align: right;
    margin: 0 0 10px 0;
    z-index: 1;
}

.footer-container {
    position: relative;
}

.copy-container {
    position: relative;
}

.footer-container .toinen-kuva {
    opacity:0;
    position: absolute;
    top:0;
    left:0;
    z-index:1;
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

.footer-container:hover .toinen-kuva {
    opacity:1;
}

#scroll {
    position:fixed;
    right:30px;
    bottom:20px;
    cursor:pointer;
    width:40px;
    height:40px;
    z-index:99;
    background-color:#333;
    display:none;
    -webkit-border-radius:60px;
    -moz-border-radius:60px;
    border-radius:6px
}

#scroll span {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-10px;
    margin-top:-14px;
    height:0;
    width:0;
    border:10px solid transparent;
    border-bottom-color:#fff;
}

#scroll:hover {
    background-color: red;
    opacity:1;
    filter:"alpha(opacity=100)";
    -ms-filter:"alpha(opacity=100)";
}

.kuvaohje {
    font-style: italic;
    font-size: 0.8em;
    text-align: center;
}

.kuvaohje i {
    margin-left: 7.5px;
    font-size: 1.4em;
}

#col5 i {
    margin-right: 7.5px;
}

@media only screen and (max-width: 1000px) {

    h1 {
        font-size: 2.5em;
        padding-right: 75px;
        text-align: left;
        padding-left: 20px;
    }
    
    h2 {
        font-size: 1.6em;
        padding-right: 75px;
        text-align: left;
        padding-left: 20px;
    }
    
    h3 {
        font-size: 1.4em;
        padding-left: 20px;    
    }
    
    p {
        padding-right: 75px;
        text-align: left;
        padding-left: 20px;
    }
    
    #galleria {
        margin-right: 0px;
        margin-left: 0px;
    }

    #cv1, #cv2 {
        width: 100%;
        float: left;
        padding: 0px;
    }

    #col1, #col2, #col3, #col4, #col5 {
        width: 100%;
        padding: 20px 0 50px 0px;
    }
    
    .valk_full {
        width: 100%;
        padding: 0;
    }
    
    .hero h1 {
        font-size: 4em;
        padding: 0 55px;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 1.5em;
        padding: 0 55px;
        text-align: center;
    }
    
    #kortti {
        width: 90vw;
    }
    
    #footer {
        margin-top: 40px;
        padding: 0;
    }
    
    .top, .middle {
        width: 40px;
        height: 6px;
        border-radius: 2px;
    }
    
    .menu-name {
        font-weight: 500;
        font-size: 13px;
        top: 46px;
        left: -1px;
    }
    
    .middle {
	    top: 35px;
    }
    
    .hamburger-shell {
        left: calc(100% - 55px);
        top: 0px;
    }
    
    .rotate {
        top: 30px;
        height: 2px;
    }

    .rotate-back {
        top: 30px;
        height: 2px;
    }
    
    .bump {
	    top: 55px;
    }
    
    #menu {
        left: calc(100% - 215px);
        margin: 90px 0px;
        padding: 0px;
    }
    
    #scroll {
        position:fixed;
        right:15px;
        bottom:20px;
    }
    
    .copy {
        top: 140px;
        right:50px;
        z-index: 99;
    }
    
    .copy p {
        font-size: 0.7em;
    }
    
    .svg {
        width: 300px;
    }
}

@media only screen and (max-width: 600px) {

    .hero, .hero2 {
        height: auto;
        padding: 100px 0 60px 0;
    }

    .omakuva {
        display: none;
    }
    
    .hero .btn {
        width: 150px;
        padding: 15px 10px 15px 10px;
        font-size: 1em;
    }
    
    .hero h1 {
            font-size: 3em;
            padding: 0 20px;
    }
        
    .hero h2 {
            font-size: 1.2em;
            padding: 0 20px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.1em;
    }
    
    h3 {
        font-size: 1em;    
    }
    
    .copy {
        top: 0px;
        right: 0px;
    }
    
    .copy p {
        font-size: 0.6em;
    }

    /* p, h1, h2, h3 {
        padding-right: 40px;
    } */

    #loader {
        top: 200px;
    }
}