@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.anchor {
    padding: 80px;
}

html {
  scroll-behavior: smooth;
}

body	{
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
	font-family: Inter;
}

a	{
	text-decoration: none;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
	color: #67cef9;
}

a:hover	{
	opacity: 0.6;
}

h1 {
	font-size: 6vw;
	text-transform: uppercase;
	text-shadow: 0 0 15px #000;
}

h2	{
	font-size: 26px;
	padding: 0 3%;
}

p	{
	padding: 0 3%;
	font-size: 18px;
}

.subheading {
	color: #67cef9;
	padding: 0 0 0 9%;
	font-weight: bold;
	margin: 5px 0 20px 0;
	float: left;
	width: 100%;
	font-size: 18px;
}

.gridContainer	{
	width: 90%;
	margin: 0 auto;
	padding: 50px 0;
}

img	{
	width: 100%;
}

.top	{
	background: url(../img/main.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	height: 100vh;
	opacity: 0;

    animation-name: fadeIn;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-duration: 1s;
    animation-fill-mode:forwards;
}

.top.travius	{
	background: url(../img/travius_main.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	height: 100vh;
	opacity: 0;

    animation-name: fadeIn;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-duration: 1s;
    animation-fill-mode:forwards;
}

.top.low	{
	height: 50vh;
}

.header {
	background: none;
	position: fixed;
	width: 100%;
	z-index: 100;
	-webkit-transition: all 350ms ease-in-out;
	-moz-transition: all 350ms ease-in-out;
	-ms-transition: all 350ms ease-in-out;
	-o-transition: all 350ms ease-in-out;
	transition: all 350ms ease-in-out
}

.header.scrolled {
	background: #67cef9;
}

.header.scrolled #hamitems a, .header.scrolled .langSwitch ul li a	{
	text-shadow: none;
}

.topLogo {
	float: left;
	margin: 6% 0 6% 4%;
	width: 50%;
}

.dropbtn {
	color: white;
	padding: 12px 10px 0 10px;
	font-size: 26px;
	border: none;
	cursor: pointer;
	margin: 0;
}

.dropbtn:hover {
  opacity: 0.6;
}

.dropdown {
	float: right;
}
.dropdown-content {
	display: none;
	width: 100%;
	overflow: auto;
	background: #67cef9;
}

.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {background-color: #ddd;}

.show {display: block;}

.langSwitch {
	margin: 5px 0 0 0;
	padding: 0;
	width: auto;
	float: left;
}

.langSwitch ul	{
	list-style: none;
	color: #fff;
}

.langSwitch ul li	{
	display: inline-block;
}

.langSwitch ul li a	{
	color: #fff;
	text-shadow: 0 0 5px #000
}

.mainMenu {
	list-style: none;
	color: #fff;
	
}

.mainMenu li {
	display: inline-block;
}

.headlineBlock {
	width: 100%;
	max-width: 518px;
	margin: 40vh auto 0 auto;
	padding: 32px 0 0 0;
	text-align: center;
	color: #fff;
}

.top.low .headlineBlock {
	margin: 10vh auto 0 auto;
}

.column-container {
	display: inline-block;
	margin: 20px 0 20px 0;
	width: 100%;
}

.column-container.blue {
	background: #67cef9;
	color: #fff;
}

.column {
	width: 100%;
	padding: 15px 0;
}

.column h2 {
	padding: 0 5%;
}

.column p {
	padding: 0 5% 0;
}

.col-2 {
	width: 100%;
	padding: 0;
}

.col-2.center	{
	text-align: center;
}

.col-3 {
	width: 100%;
	margin: 15px 0 30px 0;
	padding: 0;
}

.slogan {
	color: #67cef9;
	font-size: 22px;
	font-style: italic;
}

.button_link {
	padding: 2% 3%;
	border: 2px solid #000;
	text-transform: uppercase;
	color: #000;
	font-weight: bold;
	margin: 10px 5% 10px 5%;
	display: inline-block;
}

.button_link.light {
	border-color: #fff;
	color: #fff;
}

.headingBlock	{
	display: inline-block;
	width: 100%;
	margin: 20px 0 10px 0;
	text-align: center;
}



/*--- UUTISET ---*/

.newsBlock	{
	display: inline-block;
	padding: 20px 0 20px 0;
	border-bottom: 1px solid #67cef9;
}

.newsBlock img {
	width: 94%;
	max-width: 450px;
	margin: 0 3%;
}

.time	{
	color: #67cef9;
	padding: 0 3%;
}

button	{
	padding: 2% 3%;
	border: 2px solid #000;
	text-transform: uppercase;
	color: #000;
	font-weight: bold;
	margin: 10px 0 0 3%;
	display: inline-block;
	background: none;
	text-decoration: none;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
}

button:hover	{
	opacity: 0.6;
}

.modal {
  display: none;
  position: fixed; 
  z-index: 1; 
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}



/*-------*/


.icon	{
	max-width: 100px;
}

.backtotop	{
	color: #fff;
	background: #67cef9;
	padding: 10px 15px;
	width: 30px;
	border-radius: 10px;
	font-weight: bold;
	position: fixed;
	bottom: 20px;
	right: 20px;
	text-align:center;
	display: none;
}

.backtotop.visible	{
	display: block;
}

footer {
	background: #454545;
	display: inline-block;
	width: 100%;
	text-align:center;
	color: #fff;
	font-size: 14px;
}

.footerLogo {
	float: left;
	width: 10%;
	padding: 14px 0;
}

@media only screen and (min-width: 768px) {
    /* Style adjustments for viewports that meet the condition */

h1 {
	font-size: 50px;
}

.topLogo {
	float: left;
	width: 15%;
	padding: 20px 0 20px 5%;
	margin: 1%;
}
	
.langSwitch {
	width: 13%;
	margin: 15px 0 0 0;
	float: right;
}

.dropdown	{
	display: none;
}
	
.dropdown-content {
	display: block;
	width: 65%;
	overflow: auto;
	background: none;
	float: left;
	margin: 25px 0 0 0px;
}

.dropdown-content a {
  color: #fff;
  padding: 12px 5px;
  text-decoration: none;
  display: inline-block;
}
	
.column-container {
	display: flex;
	align-items: center;
}

.slogancol {
	align-self: end;
}

.col-2 {
	width: 50%;
}

.col-3 {
	width: 33%;
	margin: 15px 0 30px 0;
}

.text-columns	{
	-moz-column-gap: 10px;
	-webkit-column-gap: 10px;
	column-gap: 10px;
}

.text-columns.two	{
	-moz-column-count: 2;
	-webkit-column-count: 2;
	column-count: 2;
	text-align:left;
}

.text-columns.three	{
	-moz-column-count: 3;
	-webkit-column-count: 3;
	column-count: 3;
	text-align:center;
}

.newsBlock	{
	display: flex;
	align-items: center;
}

.newsBlock img {
	width: 50%;
}

	
}



@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
	
}