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

  
}

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

 @font-face {
  font-family: 'Kaushan Script';
  src: url('/fontit/KaushanScript-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, #955da9, #78c9cd);
    background-blend-mode: overlay;
    background-repeat: repeat-y;
    background-position: center;
    height:100%;
}

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



/* ----------------------
   CONTAINERS
---------------------- */
.container, .info-container{
    color: var(--text-color);
    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;
    background-color: #a98cb4;
    border-radius:30px;
    width:40%;
    height:40%;
    padding:5%;
    justify-content: center;
    margin-right:10%;
    font-size: 1.5rem;
    font-family: 'Jockey One';
}



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:100%;
    height:100%;
    display:flex;
    flex-direction: row;
}

.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%;
    

}

.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-hero {
    width: 100%;
    height: 40%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10%;
}

.container-hero h2 {
    padding: 10% 0 0 10%;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 2rem;
}



.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%;
    

}

.info-container2{

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

.info-about-heading{

    font-family: 'Kaushan Script';
    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%; }

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

.logo {
    color: var(--text-color);
    width:80%;    
    margin-left:10%;
    font-family: 'Kaushan Script';
    text-decoration: none;
    font-size:2.5rem;
}

.navbar {
    display: flex;
    width: 80%;
    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); }

/* ----------------------
   BUTTONS
---------------------- */
.price-button, .start-button {
    background-color: #0e2a4fa6;
    width: 200px;
    height: 100px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.price-button:hover, .start-button:hover {
    box-shadow: white 0 0 5px 5px;
}

.price-button a, .start-button a {
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 2rem;
}

.start-button { margin-left: 45%; }

/* ----------------------
   HERO / SUB-CONTAINERS
---------------------- */
.sub-container-hero {
    margin-top: 15%;
    margin-left: 10%;
    margin-right:10%;
    width: 40%;
    height: 100%;
    animation: push 1s forwards;
}

.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);
}

.bottom-hero {
    margin-left: 50%;
    font-family: var(--font-main);
    font-size: 5rem;
    color: var(--text-color);
    width: 100%;
    height: 30%;
}

/* ----------------------
   PRICE PACKETS
---------------------- */
.price-packets {
    border-radius: 20px;
    width: 20%;
    height: 30%;
    padding: 2%;
    margin: 2%;
    background-color: var(--primary-color);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.price-packets:hover {
    box-shadow: 0 0 5px 5px white;
    background-color: rgb(6, 5, 43);
}

.price-packets li, .price-packets h2, .price-packets p {
    font-family: var(--font-main);
    color: var(--text-color);
}

.pakettiotsikko {
    font-family: var(--font-main);
    font-size: 3rem;
    color: var(--text-color);
    margin-left: 42%;
}

/* ----------------------
   GRID / ICONS
---------------------- */
.info-grid {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin:auto;
    justify-content: center;
    align-items: center;
    margin-bottom:10%;
}

.outer-grid{
    display:flex;
    flex-direction: row;
    width:90%;
    overflow:hidden;
    justify-content: center;
    align-items: center;
    gap: 20px;

}

.grid {
    width: 30%;
    height: 500px;
    background: linear-gradient(to right, #955da9, #78c9cd);
    border-radius: 2%;
    font-family: var(--font-main);
    color: var(--text-color);
    transition: transform 0.3s ease;
    

}

.grid-kuva{

    width:100%;
    height:50%;
    border-radius: 2%;
}
.grid-teksti{
    padding:5%;
}



.grid h2 { text-align: center; }
.grid:hover { 
    transform: scale(1.01); 
    background: linear-gradient(to right, #955da9, #78c9cd);
    
}

.icon-svg {
    width: 30%;
    height: 30%;
    transform: rotate(0deg);
}
.icon-svg:hover { animation: rotate 0.2s linear forwards; }


/*IMAGES*/

.image-box{
    width:80%;
    animation: push 1s forwards;
    transform: translateX(0%);

}

.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, .indexImage1:hover{
    transform: scale(1.05);
}

.indexImage1{

    border-radius: 20px;
    width: 500px;
    height:400px;
    margin-top:30%;
    transition: transform ease 0.3s;
    margin-left:20%;

}

.logo_image{

    width: 150px;
    height: 150px;
    border-radius: 10px;
}

.info-container3{

    display:flex;
    flex-direction: column;
    width:100%;
    font-size: 1.5rem;
    justify-content: center;
    align-items: center;


}

.tietoa-miten{

    width:100%;
    height:100%;
    justify-content: center;
    align-items: center;
    margin-bottom:20%;
    
}

.tieto-laatikko{

    width:40%;
    margin-left: 10%;
    
}

.tieto-laatikko1{

    width:100%;
    display:flex;
    flex-direction: row;
    
}

.sisempi-tieto{
    width:70%;
    height:70%;
    justify-content: center;
    align-items: center;
    display:flex;
    flex-direction:column;

}
.outline{
    font-family:'Kaushan Script' ;
}

.sisempi-tieto img{

width:40%;
height:40%;
border-radius:10%;

}

.ulompi-tieto-laatikko{

    display:flex;
    flex-direction: row;
    width:100%;
}





.hamburger-menu{

    display:none;
}
/* ----------------------
   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*/

.ball{

    background-color: #dbf1f2;
    width:5px;
    height:5px;
    border-radius: 50%;
    box-shadow: #e1e0cd 0 0 10px 20px;
    animation: float-around 20s infinite ease-in-out, blinking 2s infinite ease-in-out;
    margin:40px;
    z-index: -1;
    position: fixed;
    }

    .ball1{

    background-color: #dbf1f2;
    width:5px;
    height:5px;
    border-radius: 50%;
    box-shadow: #e1e0cd 0 0 10px 20px;
    animation: float-around-alt 25s infinite ease-in-out, blinking 2s infinite ease-in-out;
    margin:40px;
    z-index: -1;
    position: fixed;
    }
     .ball2{

    background-color: #dbf1f2;
    width:5px;
    height:5px;
    border-radius: 50%;
    box-shadow: #e1e0cd 0 0 10px 20px;
    animation: float-around 30s infinite ease-in-out, blinking 2s infinite ease-in-out;
    margin:40px;
    z-index: -1;
    position: fixed;
    }
     .ball3{

    background-color: #dbf1f2;
    width:5px;
    height:5px;
    border-radius: 50%;
    box-shadow: #e1e0cd 0 0 10px 20px;
    animation: float-around-alt 30s infinite ease-in-out, blinking 2s infinite ease-in-out;
    margin:40px;
    z-index: -1;
    position: fixed;
    }
     .ball4{

    background-color: #dbf1f2;
    width:5px;
    height:5px;
    border-radius: 50%;
    box-shadow: #e1e0cd 0 0 10px 20px;
    animation: float-around 30s infinite ease-in-out, blinking 2s infinite ease-in-out;
    margin:40px;
    z-index: -1;
    position: fixed;
    }
     .ball5{

    background-color: #dbf1f2;
    width:5px;
    height:5px;
    border-radius: 50%;
    box-shadow: #e1e0cd 0 0 10px 20px;
    animation: float-around-alt 30s infinite ease-in-out, blinking 2s infinite ease-in-out;
    margin:40px;
    z-index: -1;
    position: fixed;
    }
   
   .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;
        

    }

   .calendly-inline-widget{
    margin-top:5%;

   }

   .calendar{
    width:100%;
    height:150vh;
    display:flex;
    flex-direction: column;
   }

   .popup-seloste{
    display:none;
   }
  
   .popup-seloste.active{
    width:50%;
    height: 400px;
    display:flex;
    flex-direction:column;
    border-radius:10px;
    color:black;
    overflow-y: auto; 
    background-color: white;
    text-align: center;

   }

   .suostumukset{
    width:100%;
    display:flex;
    flex-direction: row;
    text-align: center;
    align-items: center;
    justify-content: center;
   }
   
   .suostumukset img{
    width:10%;
    cursor:pointer;
    margin-bottom:10%;
    
   }

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

   }

   .avaa-ehdot{
    text-decoration: underline;
    color:#041e41;
    cursor:pointer;
    
   }

   .ajanvaraussivu{
    display:flex;
    flex-direction:column;
    width:100%;
   }

   .inner-ajanvaraussivu{
    display:flex;
    flex-direction:column;
    margin-top:12%;
    width:100%;
    justify-content: center;
    align-items:center;

   }

   .perhoskuva{
    
    margin-bottom:40%;

   }

   .outer-price-container{
    display:flex;
    width:100%;
    flex-direction:column;
    justify-content: center;
    align-items:center;
    margin-bottom:20%;
   }

   .kuvajateksti{
    display:flex;
    flex-direction: row;
   }

   .teksti{
    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content:center;
   }
   .linkki{
        text-decoration: underline;
        color:#83dde4;
    }
    
/* ----------------------
   ANIMATIONS
---------------------- */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(90deg); }
}

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

/* Ensimmäinen pallo */
@keyframes float-around {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(50vw, 60vh); }
  40%  { transform: translate(90vw, 30vh); }
  60%  { transform: translate(70vw, 80vh); }
  80%  { transform: translate(20vw, 70vh); }
  100% { transform: translate(0, 0); }
}

@keyframes float-around-alt {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(70vw, 20vh); }
  40%  { transform: translate(40vw, 70vh); }
  60%  { transform: translate(90vw, 60vh); }
  80%  { transform: translate(10vw, 50vh); }
  100% { transform: translate(0, 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%);

    }
}

/* Toinen pallo, peilikuva vaakasuunnassa */







@keyframes blinking {

        0%, 100%{
            box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.182);
        }
         50% {
        box-shadow: 0 0 15px 5px rgba(255, 255, 255, 1);
  }
        
    }

/* ----------------------
   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;
    }

    .hamburger-menu{
        display:flex;
        width:30%;
        height:30%;
        margin-right:20%;
        
        
    }

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

    }

    .logo_image{
        width:40%;
        height:30%;
        margin-left:10%;
    }

    .bannertop{

        display: flex;
        flex-direction: column;
        width:100%;
        height:20%;
        margin:auto;
        background: linear-gradient(to right, #955da9, #78c9cd);
        justify-content:center;
        align-items: center;
        font-family: 'Jockey One';
    }

    .navbar{
        flex-direction: column;
        display: flex;
        position: absolute;
        top: 130px;
        left: 0;
        width: 40%;
        height:330px;
        background: linear-gradient(to right, #955da9, #78c9cd);
        z-index: 9999;
        border-top-right-radius: 10%;
        border-bottom-right-radius: 10%;
        animation: navbar-slide-out 1s forwards;
        padding:5%;
        
    }


    .navbar.active{
        animation: navbar-slide-in 1s forwards;
    }

    .navbar ul {
        display:flex;
        flex-direction: column;
    }

    .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:95%;
        margin: 0;
        padding:0;
        align-items: center;
        justify-content: center;
        margin-bottom:10%;
    }

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

    .grid:hover { 
    transform:scale(1.00);
    background: linear-gradient(to right, #955da9, #78c9cd);
    
}

    .tietoa-miten{
        width:100%;
        align-items: center;
        justify-content: center;
        display:flex;
    }
    .tieto-laatikko1{
        display:flex;
        flex-direction: column;
        width:100%;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding:0;
        text-align: center;
    }
    .sisempi-tieto{
        width:100%;
        align-items: center;
        justify-content: center;
    }

    .info-container2{
        display:flex;
        flex-direction: column;
        align-items:center;
        justify-content: center;
        width:100%;
        margin-top:40%;
    }
    .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-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
    }
    .info-about{
        width:100%;
    }

    /* Tietoa */

    .info-section{
        width:100%;
        
    }
    .oi-container{
        width:90%;
        display: flex;
        flex-direction: column;
        align-items:center;
        justify-content: center;
    }
    .info-container3{
        display:flex;
        flex-direction: column;
        width:100%;
        margin-top:20%;
        align-items:center;
        justify-content: center;

    }

    .ulompi-tieto-laatikko{
        display:flex;
        flex-direction:column;
        width:90%;
        align-items:center;
        justify-content: center;
    }
    .tieto-laatikko{
        width:90%;
        display:flex;
        flex-direction: column;
        align-items:center;
        justify-content: center;
    }

    .info-image{
        width:90%;
    }
    .kuva-itse{
        width:90%;
        height:100%;
    }

    /* Hinnasto */

    .kuvajateksti{
        width:90%;
    }

    .price-container{
        width:80%;
    }

    .perhoskuva{
        display:none;
    }

    /* Varaa aika */
    .calendar{
        width:90%;
        display:flex;
        flex-direction: column;
        margin-top:20%;
    }

    .ajanvaraussivu{
        width:100%;
        height:200vh;
        display:flex;
        flex-direction:column;
    }
    .palveluehdot{
        margin-top:50%;
        width:100%;
        display:flex;
        flex-direction: column;
        color:white;
        align-items: center;
        justify-content: center;
        font-family: 2rem;
    }

    .popup-seloste.active{
        width:90%;
        padding:5%;
        margin:5%;

    }

    
    

}

