

body {
   margin: 0;
    font-family: Arial;
    background-image: url('tausta-indexfi.jpg');
    background-size: cover;

    background-repeat: no-repeat;
    /* Make the background image cover the entire area */
    background-position: top center;
/* Center the background image */
}

h1 {
    text-align: center;
    color: white;
    font-family: "Yrsa", serif;
    font-weight: 600;
    padding-top: 1vh;
    padding-bottom: 1vh;
    font-size: 3em;
}
h2{
    margin-block-start: 0.9em;
    margin-block-end: 0.4em;
      
       color: rgb(15, 92, 159);
       font-family: "Yrsa", serif; 
   }

   hr {
    width: 75%;
    height: 1px;
    background-color: rgba(126, 149, 192, 0.721);
    border: none;
   }

   
.container{
    margin-bottom: 15vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    
}

.container-content {
    width: 100%;
    max-width: 68%;
    background-color: white;
    border-radius: 30px;
    padding: 25px;
    padding-left: 5%;
    padding-right: 5%;
    box-shadow: 0 5px 10px rgba(14, 47, 88, 0.348);
    margin-right: 5%;
    margin-left: 5%;
}
.container-text{
   display: flex;
   flex-direction: row;
justify-content: center;
   gap: 50px;
   margin-bottom: 4vh;
 
  }

  .container-text-box{
   margin-top: 2vh;
    /* max-width: 60vh; */
    max-width:25vw;
    

  
  }

  .container-text-box-last{
    display: flex;
flex-direction: column;
    align-items: center;
  }

.bank-text{
    display: flex;
   flex-direction: row;
   gap: 20px;
}
.bank-text p {
    margin-block-start: 0.1em;
}


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

    body {
        background-image: url('tausta-indexfi-mobile-2.jpg');
        background-size:auto;
    }

    .container{
        padding-top: 10vh;
        margin-bottom: 8vh;
        
    }

    .container-text{
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 0.5vh;
       }

       .container-content{
        border-radius: 30px;
        background-color: white;
        margin:2vh;
        padding: 3vh;
        padding-left: 10%;
        padding-right: 10%;
        padding-bottom: 10%;
        
    }
   
       .container-text-box{
        max-width: 100vw;
        margin-top: 0;
      
       }

       .container-text-box p{
        margin-bottom: 0;
      
       }

    .bank-text{
        display: flex;
    justify-items: start;
    align-items: start;
    flex-direction: column;
    gap:0;
    
    
    }
       
    .bank-text p {
        margin:8px;
    }

}
