@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

          /* SIDENAV PREFERENCES */
.button { 
  font-size: 2em;
  float: right;
  z-index: 900;
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4); 
}

.button :hover {
  transform: scale(1.3);
  transition: 0.4s ease;
  color: #88c7fa;
}

.sidenav {
  font-family: 'Lato';
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.701);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  backdrop-filter: blur(10px) ;
}

.sidenav a {
  padding: 1% 10% 10% 10%;
  text-decoration: none;
  font-size: 1.5em;
  color: #ffffff;
  display: block;
  transition: 0.4s;
}

.sidenav a:hover {
  color: #88c7fa;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 3em;
  margin-left: 50px;
  color: rgba(255, 255, 255, 0);
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}
/* SIDENAV END */

          /* HEADER PREFERENCES */
header{
  z-index: 997;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 200px;
  transition: 0.5s ease;
  background-color: rgba(0, 0, 0, 0.032);
}
.KasperTiainen{
  z-index: 998;
  font-family: 'Rock salt';
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4); 
  font-size: 1.5em;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 3px;
}
.KasperTiainen:hover{
  color: #88c7fa;
}
/* HEADER END */

          /* HOME PAGE SECTION PREFERENCES */
section{
  padding: 100px 200px;
  backdrop-filter: blur(5px)
}

.home{
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.home .content{
  z-index: 2;
  color: white;
  width: 70%;
  margin-top: 50px;
}

.home .content h1{
  font-size: 4em;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 5px;
  line-height: 75px;
  margin-bottom: 20px;
}

.home .content h1 span{
  font-size: 1.2em;
  font-weight: 600;
}

.home .content p{
  font-size: 1.5em;
  margin-bottom: 65px;
}

.home video { /* HOME PAGE VIDEO */
  z-index: 000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  padding: 0;
}             /* HOME PAGE VIDEO END */
/* HOME PAGE SECTION END */

          /* HOME PAGE RESPONSIVENESS */
@media (max-width: 1040px)
{
  header {
    padding: 12px 20px;
  }
  section {
    padding: 100px 20px;
  }
}
/* HOME PAGE RESPONSIVENESS END */

          /* FOOTER PREFERENCES */
footer{
  background-color: rgba(0, 0, 0, 0.925);
  height: auto;
  width: 100%;
  font-family: 'Lato';
  padding-top: 30px;
  color: white;
}
.footer-navigation-items a{
  position: relative;
  left: 30px;
  margin-right: 10px;
  color: white;
  text-transform: uppercase;
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;

}
.footer-navigation-items a:hover{
  color: #88c7fa;

}
.footer-content{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  text-transform: capitalize;

}
.footer-content h3{
  font-family: 'Rock salt';
  font-size: 2em;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 3em;
  letter-spacing: 3px;
}
.footer-content p{
  max-width: 500px;
  margin-top: 5px;
  line-height: 30px;
  font-size: 1em;
}

.socialmedia a{
  display: inline;
  align-items: center;
  justify-content: center;
  margin: 2em 1em 1.5em 1em;
  padding-top: 20px;
  transition: 0.5s ease;
  font-size: 1.5em;
  color: white;
}
.socialmedia :hover{
  transform: scale(1.3);
  transition: 0.4s ease;
  color: #88c7fa;
}
.footer-copyright{
  background-color: rgba(255, 255, 255, 0.062);
  width: 100%;
  height: auto;
  margin-top: 10px;
  padding: 10px 0;
  text-align: center;
}
.footer-copyright p{
  font-size: 1em;
  word-spacing: 1.5px;
  text-transform: capitalize;
}
/* FOOTER END */


          /* ABOUT PAGE SECTION PREFERENCES */
.about{
  padding: 300px;
  min-height: 100vh;
  width: 100%;
	padding: 100px 0px;
	background-color: #19191917;
  display: block;
	align-items: center;
	justify-content: center;
}

.about .main{
	width: 1130px;
	max-width: 95%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-around;
}

.about .about-text{
  width: 550px;
  font-family: 'Lato';
}

.about .main h1{
	color: white;
	font-size: 5em;
	text-transform: capitalize;
	margin-bottom: 20px;
  font-family: 'Lato';
}
.about .main h1 span{
  font-size: 2.2em;
  font-weight: 600;
}
.about .main p{
	color: rgba(255, 255, 255, 0.8);
	letter-spacing: 1px;
	line-height: 28px;
	font-size: 1.2em;
	margin-bottom: 45px;
  border-radius: 1%;
  background-color: rgba(0, 0, 0, 0.11);
}
.about .profilepicture img{
  height: auto;
  width: 300px;
  border-radius: 1%;
  box-shadow: 10px 10px 100px rgba(214, 203, 203, 0.719);
}
/* ABOUT PAGE END */


          /* BACKGROUND IMAGE PREFERENCESS */
.background-image{
  background: url(background.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  background-position:center center;
}
/* BACKGROUND IMAGE END */


          /* PORTFOLIO PAGE PREFERENCES */
.portfolio {
  font-family: 'EB Garamond', serif;
  margin: 0 auto;
  max-width: 80%;
  padding-top: 10%;
  padding-bottom: 10%;
  position: relative;
  color: white;
  backdrop-filter: blur(10px) ;
}

.container {
  padding: 10px 20px;
  position: relative;
  overflow: hidden;
  width: 50%;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.portfolio-content {
  padding: 20px 30px;
  background-color: rgba(0, 0, 0, 0.461);
  position: relative;
  border-radius: 2px;
}

.portfolio-content h2{
  text-align: left;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 2em;
  overflow: hidden;
}
.vastamaki{
  width: 100%;
  height: auto;
  border-radius: 2px;  
}
@media screen and (max-width: 700px) {
  .right{
    left: 0;
  }
  .portfolio {
    margin: 0 auto;
    max-width: 100%;
  }
  .container {
    width: 100%;
  }
}

/* PORTFOLIO END */


          /* IFRAME PREFERENCES */
.videobox {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.videobox-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border:none;
  border-radius: 2px;
}
/* IFRAME END */


          /* PORTFOLIO IMAGE GALLERY PREFERENCES */
.image-gallery-heading{
  text-align: center;
  font-size: 2em;
  padding-bottom: 1%;
  color: white;
  font-family: 'EB Garamond', serif;
}

.Ruudukko{
  width: 70%;
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 8%;
  margin-left: auto;
  margin-right: auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-gap: 20px;
}

.gallery img {
  width: 100%;
}
/* PORTFOLIO IMAGE GALLERY END */

          /* CONTACT PAGE PREFERENCES */
.contact-content{
  margin: 0 auto;
  max-width: 80%;
  padding-top: 6%;
  padding-bottom: 10%;
  position: relative;
  color: white;
  backdrop-filter: blur(10px) ;
}

.contact-info{
  padding-top: 20%;
  padding-left: 4%;
  display: inline-block;
  position: absolute;
  text-align: center;
  color: white;  
}
.contact-content h1{
  display: inline-block;
  font-size: 3em;
  color: white;  
}
.contact-content a{
  color: white;
  text-decoration: none;
}
.contact-content a:hover{
  color: #00ddff;
  text-decoration: none;
}

.contact-content img{
  vertical-align: middle;
  height: auto;
  max-width: 40%;
  border-radius: 2%;
  box-shadow: 10px 10px 100px rgba(214, 203, 203, 0.719);
}
@media screen and (max-width: 360px) {
  .contact-content h1{
    font-size: 0.6em;
  }
  .contact-info{
    font-size: 0.6em;
  }
}
/* CONTACT END */