/* ----------------------
   VARIABLES
---------------------- */
:root {
  --primary-color: #041e41;
  --secondary-color: #0d0dc6;
  --accent-color: #0bc9d3;
  --text-color: white;
  --font-main: 'Jockey One', sans-serif;
  --font-heading: 'Jockey One', sans-serif;

  
}

@font-face {
  font-family: 'Jockey One';
  src: url('/fontit/JockeyOne-Regular.woff2') format('woff2');
  font-display: swap;
}



/* ----------------------
   GLOBAL STYLES
---------------------- */
html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: var(--font-main);
    color: var(--text-color);
}

body {
    width: 100%;
   /* background: linear-gradient(to right, #170e9d, #57a13e); */
    
    background: linear-gradient(135deg, #070b14, #0b3d3d);
    background-blend-mode: overlay;
    background-repeat: repeat-y;
    background-position: center;
    height:100%;
}

/* ----------------------
   LINKS
---------------------- */
a {
    color: var(--text-color);
    text-decoration: none;
}

 .whatsapp2{
        margin-top:0;
    }

.bannertop {
    height: 20%;
    padding: 2% 0;
    width: 100%;
    position: fixed;
    display: flex;
    z-index: 9999;
    animation: push 1s forwards;
    transform: translateX(0%);
    justify-content: flex-end;
    
}

.bannertop a {
    color:white;
    margin-top:3%;
}

.logo {
    color: var(--text-color);
    width:100%;    

}

.logo_wapp{
    width:100%;
    height:100%;
    margin-left:10%;
}

.logo_image{

    width: 350px;
    height: 250px;
    border-radius: 10px;
}

   
.navbar {
    display: flex;
    width: 100%;
    font-size: 1.5rem;
    font-family: var(--font-main);
    
}

.navbar ul li{

    transition: transform 0.3s ease;
}

.navbar ul {
    display: flex;
    width: 50%;
    gap:15px;
    list-style: none;
    padding: 2%;
    
    
}

.navbar li:hover { transform: scale(1.2); }

/* ----------------------
   CONTAINERS
---------------------- */
.container, .info-container{
    
    font-size: 1.5rem;
    font-family: var(--font-main);
    width: 50%;
    margin: auto;
    padding: 2%;
    border-radius: 10%;
}

.info-section{
    width:100%;
    display:flex;
    flex-direction: row;
    margin-bottom:10%;
}

.oi-container{

    width:100%;
    display:flex;
    flex-direction: row;
    margin-top:20%;
}

/*moroo*/

form{
    display:flex;
    flex-direction: column;
    
    width:30%;
    height:30%;
    padding:5%;
    justify-content: center;
    margin-right:10%;
    font-size: 1.5rem;
    font-family: 'Jockey One';
    color: white;
}

.contact-container h2 {
    font-size: 3rem;
}



input {

    width:90%;
    height:50px;
    margin-bottom:5%;
    background-color: "white";
    font-family: 'Jockey One';
    color:black;
    font-size: 2rem;
}

button{
    margin-top:5%;
    width:30%;
    height:40px;
    background-color: #cfdae7;
    border-radius: 20px;
    font-family: 'Jockey One';
    transition: box-shadow 0.3s ease;
}


button:hover{

    box-shadow: white 0 0 5px 5px;
}

textarea{

    width:90%;
    height:75px;
    background-color: "white";
    font-family: 'Jockey One';
    color:black;
    font-size:2rem;
}

.container-contact {
    display: flex;
    justify-content: center;
    width:100%;
    align-items: center;
    flex-direction: row;
    height:100vh;
}

.contact-section{
    width:100%;
    height:100vh;
}

.contact-header{

    justify-content: center;
    text-align: center;
    align-items: center;
    font-size: 3rem;
    

}

.contact-container{
    width:80%;
    height:100%;
    display:flex;
    flex-direction: row;
    margin-left:10%;
}

.contact-header p{
    margin:0;
}
.contact-ball{

    background-color: #0e2a4fa6;
    border-radius: 50%;
    width:80px;
    height:80px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    transition: transform ease 0.3s;
}

.contact-ball:hover{

    outline:white solid 2px;
    transform: scale(1.10);
    box-shadow: white 0 0 5px px;
}

.icon-svg1{

    width:50%;
    height: 50%;
    margin-right:5%;
    transition: transform ease 0.5s;
    
}



.contact-box{

   
    width:50%;
    height:100%;
    padding:2%;
    font-size: 2rem;
    display:flex;
    flex-direction: column;
    margin-left:10%;
    margin-top:3%;
    

}

.contact-box p{
    font-size: 1rem;
}

.contact-row img {
    width: 24px;
    height: 24px;
}
.contact-row{
    display:flex;
    flex-direction: row;
   
}

.contact-row p {
    
    font-size:2rem;
    margin-top:10px;
    margin-left:15px;
}




/* Container variations */




.container-contact {
    display: flex;
    justify-content: space-between;
    width:100%;
    align-items: center;
    flex-direction: row;
    padding: 5%;
    
}


.contact1{

    width:20%;
    text-align: center;
}

.contact2{
    
    width:20%;
}

.contact-row img {
    width: 24px;
    height: 24px;
}


.pricing-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.info-about {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    margin-bottom:10%;
    height:100%;

}

.info-container2{

    width:100%;
    margin-top:10%;
}

.info-about-heading{

    font-family: 'Jockey One';
    font-size: 3rem;
    text-align: center;
}

.contact-info {
    display: flex;  
    justify-content: center;
    width:100%;
}

.hero-2{
    display:flex;
    flex-direction: row;
    width:100%;    
}
/* ----------------------
   HEADER / NAVBAR
---------------------- */
.site-header { width: 100%; }



/* ----------------------
   BUTTONS
---------------------- */
.button1 {
    
    background-color: green;
    width: 200px;
    height: 100px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
  
    
}

.button2 {
    
    background-color: green;
    width: 200px;
    height: 100px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    
    
}
.button3 {
    
    background-color: green;
    width: 200px;
    height: 100px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    margin-left:2%;
    
    
    
    
}

.button1:hover, .button2:hover, .button3:hover {
    box-shadow: white 0 0 5px 5px;
}

.button1 a a {
    color: white;
    
    font-family: var(--font-main);
    font-size: 2rem;
}



/* ----------------------
   HERO / SUB-CONTAINERS
---------------------- */

.container-hero {
    width: 100%;
    height: 90%;
    display: flex;
    justify-content: center;
    margin-bottom: 10%;
    flex-direction: column;
}

.container-hero h2 {
   
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 2rem;
}
.sub-container-hero {
    align-items: center;
    justify-content: center;
    margin-bottom:10%;
    margin-right:30%;
    width: 90%;
    height: 100%;
    animation: push 1s forwards;
    display: flex;
    flex-direction: column;
}

.iisipalvelu-mainos{
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    width:100%;
    margin-bottom:10%;
   

}

.viestiboxi{
    display: flex;
    flex-direction: row;
    width:68%;
    align-items: center;
    justify-content: center;
    height:100%;
    margin-left:15%;
    
}

.iisipalvelu-mainos h2 {
    margin-bottom:10%;
}

.sub-container-hero h1 {
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 3rem;
}
.sub-container-hero p {
    font-size: 1.5rem;
    color: var(--text-color);
    font-family: var(--font-main);
}



/* ----------------------
   GRID / ICONS
---------------------- */
.info-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin:auto;
    justify-content: center;
    align-items: center;
    margin-bottom:10%;
    scroll-margin-top: 120px;
    height:100%;
}

.info-grid2 {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin:auto;
    justify-content: center;
    align-items: center;
    margin-bottom:10%;
    scroll-margin-top: 120px;
    height:600px;
}

.outer-grid2{
    display:flex;
    flex-direction: row;
    width:90%;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height:650px;
    
    

}

.outer-grid{
    display:flex;
    flex-direction: row;
    width:90%;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height:800px;
    margin-top:5%;

}

.grid {
    width: 30%;
    height: 100%;
   
    background: linear-gradient(to right, white);
    border-radius: 2%;
    font-family: var(--font-main);
    color: black;
    transition: transform 0.3s ease;
    margin-bottom:10%;
    

}

.grid-kuva{

    width:100%;
    height:50%;
    border-radius: 2%;
}
.grid-teksti2{
    margin-top:10%;
    padding:5%;
    font-size:1.4rem;
    background: linear-gradient(to right, white);
    
}

.grid-teksti{
    padding:5%;
    background: linear-gradient(to right, white);
    
}


.grid h2 { text-align: center; }
.grid:hover { 
    transform: scale(1.01); 
    background: white;
    
}




/*IMAGES*/



.container-image{
    width:40%;
}
.container-image img{
    width:100%;
    height:100%;
    border-radius: 20px;
    margin-left: 5%;
    transition: transform 0.3s ease;
}

.container-image img:hover{
    transform: scale(1.05);
}

.indexImage1{

    border-radius: 20px;
    width: 50%;
    height:20%;
    margin-top: 10%;
    margin-left:15%;
    transition: transform ease 0.3s;
    
    

}





/* ----------------------
   FOOTER
---------------------- */
.site-footer {
    margin-top: 10%;
    text-align: center;
    padding: 5% 0;
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--text-color);
    opacity: 0.8;
}
.text-svg{
    width:10%;
    height:10%;
}


/*VISUALS*/


   .info-image{
    width:30%;
    margin-left:10%;
   }

    /* TIETOA*/

    .info-image img{

        border-radius: 10%;
        
    }
    .price-section{

        width:100%;
    }
    .price-container{
        width:100%;
        height:150vh;
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size:1.3rem;
        

    }

   
    
/* ----------------------
   ANIMATIONS
---------------------- */

@keyframes push {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0%); }
}



@keyframes navbar-slide-in {
    0%{
        transform: translateX(-150%);
    }
    100%{
        transform: translateX(0%);

    }

}
@keyframes navbar-slide-out {
    0%{
        transform: translateX(0%);
    }
    100%{
        transform: translateX(-150%);

    }
}

@media (max-width: 2000px){html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: var(--font-main);
    color: var(--text-color);
}

body {
    width: 100%;
   /* background: linear-gradient(to right, #170e9d, #57a13e); */
    
    background: linear-gradient(135deg, #070b14, #0b3d3d);
    background-blend-mode: overlay;
    background-repeat: repeat-y;
    background-position: center;
    height:100%;
}

/* ----------------------
   LINKS
---------------------- */
a {
    color: var(--text-color);
    text-decoration: none;
}

 .whatsapp2{
        margin-top:0;
    }

.bannertop {
    height: 20%;
    padding: 2% 0;
    width: 100%;
    position: fixed;
    display: flex;
    z-index: 9999;
    animation: push 1s forwards;
    transform: translateX(0%);
    justify-content: flex-end;
    
}

.bannertop a {
    color:white;
    margin-top:3%;
}

.logo {
    color: var(--text-color);
    width:100%;    

}

.logo_wapp{
    width:100%;
    height:100%;
    margin-left:10%;
}

.logo_image{

    width: 350px;
    height: 250px;
    border-radius: 10px;
}

   
.navbar {
    display: flex;
    width: 100%;
    font-size: 1.5rem;
    font-family: var(--font-main);
    
}

.navbar ul li{

    transition: transform 0.3s ease;
}

.navbar ul {
    display: flex;
    width: 50%;
    gap:15px;
    list-style: none;
    padding: 2%;
    
    
}

.navbar li:hover { transform: scale(1.2); }

/* ----------------------
   CONTAINERS
---------------------- */
.container, .info-container{
    
    font-size: 1.5rem;
    font-family: var(--font-main);
    width: 50%;
    margin: auto;
    padding: 2%;
    border-radius: 10%;
}

.info-section{
    width:100%;
    display:flex;
    flex-direction: row;
    margin-bottom:10%;
}

.oi-container{

    width:100%;
    display:flex;
    flex-direction: row;
    margin-top:20%;
}

/*moroo*/

form{
    display:flex;
    flex-direction: column;
    
    width:30%;
    height:30%;
    padding:5%;
    justify-content: center;
    margin-right:10%;
    font-size: 1.5rem;
    font-family: 'Jockey One';
    color: white;
}

.contact-container h2 {
    font-size: 3rem;
}



input {

    width:90%;
    height:50px;
    margin-bottom:5%;
    background-color: "white";
    font-family: 'Jockey One';
    color:black;
    font-size: 2rem;
}

button{
    margin-top:5%;
    width:30%;
    height:40px;
    background-color: #cfdae7;
    border-radius: 20px;
    font-family: 'Jockey One';
    transition: box-shadow 0.3s ease;
}


button:hover{

    box-shadow: white 0 0 5px 5px;
}

textarea{

    width:90%;
    height:75px;
    background-color: "white";
    font-family: 'Jockey One';
    color:black;
    font-size:2rem;
}

.container-contact {
    display: flex;
    justify-content: center;
    width:100%;
    align-items: center;
    flex-direction: row;
    height:100vh;
}

.contact-section{
    width:100%;
    height:100vh;
}

.contact-header{

    justify-content: center;
    text-align: center;
    align-items: center;
    font-size: 3rem;
    

}

.contact-container{
    width:80%;
    height:100%;
    display:flex;
    flex-direction: row;
    margin-left:10%;
}

.contact-header p{
    margin:0;
}
.contact-ball{

    background-color: #0e2a4fa6;
    border-radius: 50%;
    width:80px;
    height:80px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    transition: transform ease 0.3s;
}

.contact-ball:hover{

    outline:white solid 2px;
    transform: scale(1.10);
    box-shadow: white 0 0 5px px;
}

.icon-svg1{

    width:50%;
    height: 50%;
    margin-right:5%;
    transition: transform ease 0.5s;
    
}



.contact-box{

   
    width:50%;
    height:100%;
    padding:2%;
    font-size: 2rem;
    display:flex;
    flex-direction: column;
    margin-left:10%;
    margin-top:3%;
    

}

.contact-box p{
    font-size: 1rem;
}

.contact-row img {
    width: 24px;
    height: 24px;
}
.contact-row{
    display:flex;
    flex-direction: row;
   
}

.contact-row p {
    
    font-size:2rem;
    margin-top:10px;
    margin-left:15px;
}




/* Container variations */




.container-contact {
    display: flex;
    justify-content: space-between;
    width:100%;
    align-items: center;
    flex-direction: row;
    padding: 5%;
    
}


.contact1{

    width:20%;
    text-align: center;
}

.contact2{
    
    width:20%;
}

.contact-row img {
    width: 24px;
    height: 24px;
}


.pricing-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.info-about {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    margin-bottom:10%;
    height:100%;

}

.info-container2{

    width:100%;
    margin-top:10%;
}

.info-about-heading{

    font-family: 'Jockey One';
    font-size: 3rem;
    text-align: center;
}

.contact-info {
    display: flex;  
    justify-content: center;
    width:100%;
}

.hero-2{
    display:flex;
    flex-direction: row;
    width:100%;    
}
/* ----------------------
   HEADER / NAVBAR
---------------------- */
.site-header { width: 100%; }



/* ----------------------
   BUTTONS
---------------------- */
.button1 {
    
    background-color: green;
    width: 200px;
    height: 100px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
  
    
}

.button2 {
    
    background-color: green;
    width: 200px;
    height: 100px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    
    
}
.button3 {
    
    background-color: green;
    width: 200px;
    height: 100px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    margin-left:2%;
    
    
    
    
}

.button1:hover, .button2:hover, .button3:hover {
    box-shadow: white 0 0 5px 5px;
}

.button1 a a {
    color: white;
    
    font-family: var(--font-main);
    font-size: 2rem;
}



/* ----------------------
   HERO / SUB-CONTAINERS
---------------------- */

.container-hero {
    width: 100%;
    height: 90%;
    display: flex;
    justify-content: center;
    margin-bottom: 10%;
    flex-direction: column;
}

.container-hero h2 {
   
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 2rem;
}
.sub-container-hero {
    align-items: center;
    justify-content: center;
    margin-bottom:10%;
    margin-right:30%;
    width: 90%;
    height: 100%;
    animation: push 1s forwards;
    display: flex;
    flex-direction: column;
}

.iisipalvelu-mainos{
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    width:100%;
    margin-bottom:10%;
   

}

.viestiboxi{
    display: flex;
    flex-direction: row;
    width:68%;
    align-items: center;
    justify-content: center;
    height:100%;
    margin-left:15%;
    
}

.iisipalvelu-mainos h2 {
    margin-bottom:10%;
}

.sub-container-hero h1 {
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 3rem;
}
.sub-container-hero p {
    font-size: 1.5rem;
    color: var(--text-color);
    font-family: var(--font-main);
}



/* ----------------------
   GRID / ICONS
---------------------- */
.info-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin:auto;
    justify-content: center;
    align-items: center;
    margin-bottom:10%;
    scroll-margin-top: 120px;
    height:100%;
}

.info-grid2 {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin:auto;
    justify-content: center;
    align-items: center;
    margin-bottom:10%;
    scroll-margin-top: 120px;
    height:600px;
}

.outer-grid2{
    display:flex;
    flex-direction: row;
    width:90%;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height:650px;
    
    

}

.outer-grid{
    display:flex;
    flex-direction: row;
    width:90%;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height:500px;
    margin-top:5%;

}

.grid {
    width: 30%;
    height: 100%;
   
    background: linear-gradient(to right, white);
    border-radius: 2%;
    font-family: var(--font-main);
    color: black;
    transition: transform 0.3s ease;
    margin-bottom:10%;
    

}

.grid-kuva{

    width:100%;
    height:50%;
    border-radius: 2%;
}
.grid-teksti2{
    margin-top:10%;
    padding:5%;
    font-size:1.4rem;
    background: linear-gradient(to right, white);
    
}

.grid-teksti{
    padding:5%;
    background: linear-gradient(to right, white);
    
}


.grid h2 { text-align: center; }
.grid:hover { 
    transform: scale(1.01); 
    background: white;
    
}




/*IMAGES*/



.container-image{
    width:40%;
}
.container-image img{
    width:100%;
    height:100%;
    border-radius: 20px;
    margin-left: 5%;
    transition: transform 0.3s ease;
}

.container-image img:hover{
    transform: scale(1.05);
}

.indexImage1{

    border-radius: 20px;
    width: 50%;
    height:20%;
    margin-top: 10%;
    margin-left:15%;
    transition: transform ease 0.3s;
    
    

}





/* ----------------------
   FOOTER
---------------------- */
.site-footer {
    margin-top: 10%;
    text-align: center;
    padding: 5% 0;
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--text-color);
    opacity: 0.8;
}
.text-svg{
    width:10%;
    height:10%;
}


/*VISUALS*/


   .info-image{
    width:30%;
    margin-left:10%;
   }

    /* TIETOA*/

    .info-image img{

        border-radius: 10%;
        
    }
    .price-section{

        width:100%;
    }
    .price-container{
        width:100%;
        height:150vh;
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size:1.3rem;
        

    }}
    

@media (max-width: 1400px){

    h1{
        font-size: 3rem;
    }


    p{
        font-size: 1rem;
    }

    h2{
        font-size: 2rem;
    }

    body{
        width:100%;
        display: flex;
        flex-direction: column;
        padding:0;
        margin:0;
    }

    

    .logo{
        display:flex;
        flex-direction: row;
        width:100%;
        align-items:center;
        justify-content: center;

    }

    .grid-teksti2{
    margin-top:10%;
    padding:5%;
    font-size:1.4rem;
    background: linear-gradient(to right, white);
    
}
    .logo_image{
        width:100%;
        height:100%;
        margin-top: 10%;
        
    }

    .logo-wapp{
    width:100%;
    height:100%;
    margin-top: 8%;
    margin-left:60%;
}
     .button1{
        margin-left:0;
    }
    .button2{
        margin-left:8%;
        margin-top:10%;
}

.button3{
    margin-left:2%;
}

    .indexImage1{
        margin-bottom:40%;
    }
    .bannertop{

        display: flex;
        flex-direction: column;
        width:100%;
        height:15%;
        margin:auto;
        
        justify-content:center;
        align-items: center;
        font-family: 'Jockey One';
    }

    .iisipalvelu-mainos{
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    width:85%;
    margin-right:5%;
    margin-left:10%;
    
    

}

.iisipalvelu-mainos h2 {
    font-size:2rem;

}

.iisipalvelu-mainos h1 {
    font-size:2rem;

}

    .container-hero{

        display:flex;
        flex-direction: column;
        font-size:1rem;
        width:90%;
        margin-top: 30%;
        padding:0;
    }
    .sub-container-hero{
        width:90%;
        justify-content: center;
        align-items: center;
        margin: 10%;
        padding:0;
    }
    .sub-container-hero h1{
        font-size: 2rem;
    }
    .sub-container-hero p{
        font-size: 1rem;
    }

    .info-about-heading{
        font-size: 2rem;
    }
    

    
   
    .indexImage1{
        width:100%;
        padding:0;
        margin: 0;
    }
    .image-box{
        display:none;
    }
    .info-grid, .outer-grid{
        display:flex;
        flex-direction: column;
        width:70%;
        margin: 0;
        padding:0;
        align-items: center;
        justify-content: center;
        margin-bottom:10%;
        height:100%;
    }

    .info-grid2{
        display:flex;
        flex-direction: column;
        width:50%;
        margin: 0;
        padding:0;
        align-items: center;
        justify-content: center;
        margin-bottom:10%;
        height:100%;
    }

    .button1:hover, .button2:hover, .button3:hover{
       box-shadow: white 0 0 0 0 ;
    }

    .info-about{
        display:flex;
        align-items:center;
        justify-content: center;
    }
    .grid{
        width:100%;
        margin: 0;
        padding:0;
        height:100%;
        
    }

    

    .outer-grid{
        height:100%;
    }
    


   
    .contact-container{
        display:flex;
        flex-direction: row;
        margin: 0;
        padding:0;
        width:80%;
        justify-content: center;
        align-items: center;
        margin-left:10%;
        
    }
    form{
        width:70%;
        margin-left:10%;
        
    }
    .contact-box{
        width:100%;
        font-size: 1rem;
        margin-bottom:10%;
        padding:0;
        display:flex;
        flex: column;
        justify-content: center;
        align-items: center;
    }

    .contact-row{
        width:100%;
    }

    .contact-ball{
        width:25%;
    }
    .contact-row p{
        font-size: 1rem;
        margin-top: 6%;
        padding:0
    }
   
    /* Tietoa */

    .info-section{
        width:100%;
        
    }
   


    .info-image{
        width:90%;
    }

    form{
        margin-left:20%;
        width:80%;
    }
   
    .button1{
        margin-left:0;
    }
    .button2{
        margin-left:8%;
    }

    .viestiboxi{
        width:80%;
        margin-left:10%;
    }

    .grid:hover { 
    transform: scale(1.0); 
    background: white;
    
}



}






/* ----------------------
   MEDIA QUERIES
---------------------- */





@media (max-width: 1000px){

    h1{
        font-size: 3rem;
    }


    p{
        font-size: 1rem;
    }

    h2{
        font-size: 2rem;
    }

    body{
        width:100%;
        display: flex;
        flex-direction: column;
        padding:0;
        margin:0;
    }

   

    .logo{
        display:flex;
        flex-direction: row;
        width:100%;
        align-items:center;
        justify-content: center;

    }

    .logo_image{
        width:80%;
        height:80%;
        
    }

   .logo-wapp{
    width:100%;
    height:100%;
    margin-top: 10%;
}

    .bannertop{

        display: flex;
        flex-direction: column;
        width:100%;
        height:20%;
        margin:auto;
        background: linear-gradient(135deg, #0f172a, #0b3d3d);
        justify-content:center;
        align-items: center;
        font-family: 'Jockey One';
    }

    .iisipalvelu-mainos{
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    width:85%;
    margin-right:5%;
    margin-left:10%;

}

.iisipalvelu-mainos h2 {
    font-size:2rem;

}

.iisipalvelu-mainos h1 {
    font-size:2rem;

}

    .container-hero{

        display:flex;
        flex-direction: column;
        font-size:1rem;
        width:90%;
        margin-top: 30%;
        padding:0;
    }
    .sub-container-hero{
        width:90%;
        justify-content: center;
        align-items: center;
        margin: 10%;
        padding:0;
        margin-bottom:20%;
    }
    .sub-container-hero h1{
        font-size: 2rem;
    }
    .sub-container-hero p{
        font-size: 1rem;
    }

    .info-about-heading{
        font-size: 2rem;
    }
    

    
   
    .indexImage1{
        width:100%;
        padding:0;
        margin: 0;
    }
    .image-box{
        display:none;
    }
    .info-grid, .outer-grid{
        display:flex;
        flex-direction: column;
        width:70%;
        margin: 0;
        padding:0;
        align-items: center;
        justify-content: center;
        margin-bottom:10%;
        margin-left:5%;
        margin-right:5%;
        height:2500px;
    }

    .info-grid2{
        display:flex;
        flex-direction: column;
        width:90%;
        margin: 0;
        padding:0;
        align-items: center;
        justify-content: center;
        margin-bottom:10%;
        height:1500px;
    }

    .button1:hover, .button2:hover, .button3:hover{
       box-shadow: white 0 0 0 0 ;
    }

    .info-about{
        display:flex;
        align-items:center;
        justify-content: center;
    }
    .grid{
        width:100%;
        margin: 0;
        padding:0;
        height:500px;
        
    }

    .outer-grid{
        height:2100px;
    }
    

    .contact-header{
        margin-right:0;
    }
   
    .contact-container{
        display:flex;
        flex-direction: column;
        margin: 0;
        padding:0;
        width:70%;
        justify-content: center;
        align-items: center;
        margin-left: 20%;
        
    }
    form{
        width:80%;
        margin-left:0;
        
    }
    .contact-box{
        width:80%;
        font-size: 1rem;
        margin-bottom:10%;
        margin-right:25%;
        padding:0;
        display:flex;
        flex: column;
        justify-content: center;
        align-items: center;
    }

    .contact-row{
        width:100%;
    }

    .contact-ball{
        width:25%;
    }
    .contact-row p{
        font-size: 1rem;
        margin-top: 6%;
        padding:0
    }
    .info-about{
        width:100%;
    }

    /* Tietoa */

    .info-section{
        width:100%;
        
    }
   


    .info-image{
        width:90%;
    }

    form{
        margin-left:20%;
        width:80%;
    }
   
    .button1{
        margin-left:0;
    }
    .button2{
        margin-left:42%;
    }

    .button3{
    margin-left:2%;
}

    .viestiboxi{
        width:80%;
        margin-left:10%;
    }

    .grid:hover { 
    transform: scale(1.0); 
    background: white;
    
}





}

@media (max-width: 500px){

    h1{
        font-size: 3rem;
    }


    p{
        font-size: 1rem;
    }

    h2{
        font-size: 2rem;
    }

    body{
        width:100%;
        display: flex;
        flex-direction: column;
        padding:0;
        margin:0;
    }

   

    .logo{
        display:flex;
        flex-direction: row;
        width:60%;
        align-items:center;
        justify-content: center;
        height:100%;

    }

    .logo-wapp{
    width:100px;
    height:100px;
    margin-left:0;
    margin-top:20%;
    
    
    
}

.logo_image{
        width:100%;
        height:100%;
        margin-top: 10%;
        
    }

    

    

    .bannertop{
        
        display: flex;
        flex-direction: column;
        width:100%;
        height:15%;
        margin:auto;
        background: linear-gradient(135deg, #0f172a, #0b3d3d);
        justify-content:center;
        align-items: center;
        font-family: 'Jockey One';
    }

    .iisipalvelu-mainos{
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    width:85%;
    margin-right:5%;
    margin-left:10%;

}

.iisipalvelu-mainos h2 {
    font-size:2rem;

}

.iisipalvelu-mainos h1 {
    font-size:2rem;

}

    .container-hero{

        display:flex;
        flex-direction: column;
        font-size:1rem;
        width:90%;
        margin-top: 30%;
        padding:0;
    }
    .sub-container-hero{
        width:90%;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding:0;
    }
    .sub-container-hero h1{
        font-size: 2rem;
    }
    .sub-container-hero p{
        font-size: 1rem;
    }

    .info-about-heading{
        font-size: 2rem;
    }
    

    
   
    .indexImage1{
        width:100%;
        padding:0;
        margin: 0;
    }
    .image-box{
        display:none;
    }
    .info-grid, .outer-grid{
        display:flex;
        flex-direction: column;
        width:95%;
        margin: 0;
        padding:0;
        align-items: center;
        justify-content: center;
        margin-bottom:5%;
    }

    .info-grid2{
        display:flex;
        flex-direction: column;
        width:95%;
        margin: 0;
        padding:0;
        align-items: center;
        justify-content: center;
        margin-bottom:0;
        height:100%;
    }

     .outer-grid2{
        display:flex;
        flex-direction: column;
        width:95%;
        margin: 0;
        padding:0;
        align-items: center;
        justify-content: center;
        margin-bottom:5%;
        height:100%;
    }

    .button1:hover, .button2:hover, .button3:hover{
       box-shadow: white 0 0 0 0 ;
    }

    .info-about{
        display:flex;
        align-items:center;
        justify-content: center;
    }
    .grid{
        width:100%;
        margin: 0;
        padding:0;
        height:50%;
        
    }

   
    


   
    .contact-container{
        display:flex;
        flex-direction: column;
        margin: 0;
        padding:0;
        width:90%;
        justify-content: center;
        align-items: center;
        
    }
    form{
        width:90%;
        margin-left:10%;
        
    }
    .contact-box{
        width:90%;
        font-size: 1rem;
        margin-left:25%;
        padding:0;
        display:flex;
        flex: column;
        justify-content: center;
        align-items: center;
    }

    .contact-row{
        width:100%;
    }

    .contact-ball{
        width:25%;
    }
    .contact-row p{
        font-size: 1rem;
        margin-top: 6%;
        padding:0
    }
    .info-about{
        width:100%;
    }

    /* Tietoa */

    .info-section{
        width:100%;
        
    }
   


    .info-image{
        width:90%;
    }

    form{
        margin-left:20%;
        width:80%;
    }
   
    .button1{
        margin-left:0;
    }
    .button2{
        margin-left:8%;
        margin-top:10%;
}

.button3{
    margin-left:2%;
}

    .viestiboxi{
        width:80%;
        margin-left:10%;
    }

    .grid:hover { 
    transform: scale(1.0); 
    background: white;
    
}



}
