:root {
    --primary-color: #B7E4F7;
    --secondary-color: #133E87;
    --tertiary-color_1: #608BC1;
    --tertiary-color_2: #CBDCEB;
}

div.flex-container{
    height: 90vh;
}

div.flex-container .body{
    margin-top: 5%; 
}


div.horizontal-scroll{
    scrollbar-width: none;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;


    display: flex;
    flex-direction: row;
    justify-content: normal;
    /* align-items: center; */
}

div.horizontal-scroll:hover {
    scrollbar-width: auto;
    overflow-y: auto;
}

div.horizontal-scroll::-webkit-scrollbar {
    background-color: transparent;
}
div.horizontal-scroll::-webkit-scrollbar-thumb {
    background-color: #ffffff;
    border-radius: 10px;
    border: 4px solid transparent; /* This adds spacing */
    background-clip: content-box; /* Ensures the background color doesn’t bleed into the border */
}

.container {
    border: 2px solid none;
    border-radius: 10px;
    transition: width 0.5s ease;
    overflow: hidden;
    box-sizing: border-box;

    height: 550px;
    min-width: 350px;
    background-color: aliceblue;
    border-radius: 6px;
    margin-left: 100px;
    display: flex;
    flex-direction: row;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

.container.expanded {
    min-width: 700px;  
}

.box {

    min-width: 350px;
    min-height: 550px;
    box-sizing: border-box;
    overflow: hidden;
}

.box1{
    display: flex;
    flex-direction: column;
}

.box2 {
    max-width: 0;
    opacity: 0;
    transition: max-width 0.5s ease, opacity 0.5s ease;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.box2.show {
    max-width: 350px;
    opacity: 1;
}

div.content-img-box {
    height: 350px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

img.content-img {
    height: 250px;
    width: 250px;
    border-radius: 50%;
}

p{
    color: var(--secondary-color);
}

p.content-title {
    margin-left: 20px;
    font-weight: 600;
    font-size: 20px;
    margin-top: 10px;
}

.box a{
    margin-top: 10px;
    margin-left: 20px;
    margin-bottom: 50px;

    color: var(--secondary-color);
}

p.content-method {
    margin-left: 20px;
    font-weight: 400;    
    font-size: 16px;   
}

.process-btn{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    background-color: var(--secondary-color);
    border: none;
    color: aliceblue;

    padding: 12px 28px;
    text-align: left;
    text-decoration: none;
    font-size: 20px;
    margin: 0 20px 10px;
    cursor: pointer;
    border-radius: 8px;

}

div.process-btn:hover {
    background-color: var(--tertiary-color_1);
}

div.container:last-child {
    margin-right: 100px;
}

.box-content-card{
    
    height: 250px;
    width: 280px;
    border: 1px solid  var(--tertiary-color_1);
    border-radius: 8px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    
}

.card-title{
    margin-left: 20px;
    padding-top: 20px;
    font-weight: 600;
    font-size: 25px;
    margin-top: 10px;
    flex-grow: 0;
}

.card-buttons-column{
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;   
}

.container_handling{
    /* margin-top: 100px; */
    margin-left: 100px;
    border: 2px solid none;

    height: 550px;
    min-width: 500px;
    background-color: aliceblue;
    border-radius: 6px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: space-evenly;
}

.container_handling .handling_title{
    width: 80%;
    font-weight: 600;
    font-size: 25px;
    
    margin: 0 auto; /* centers the block */
    text-align: justify;
    text-align-last: center; /* center the last line */
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    word-spacing: 0.5px;
}

.container_handling img{
    width: 80%;
    margin: 0 10px;
    border-radius: 10px;
    /* border: 2px solid var(--secondary-color); */
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

.container_handling img:hover{
    cursor: pointer;
    transform: scale(1.01);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


/* laptop normal */
@media (max-width:1440px) {

    .container_handling{
        margin-top: 30px; 
        min-width: 300px;
        height: 450px;
    }
    
    .container_handling .handling_title{
        width: 80%;
        font-weight: 600;
        font-size: 20px;
        
    }
    
    .container_handling img{
        width: 90%;
    }

    .container {
        margin-top: 30px;  
        height: 450px;
        min-width: 300px;
        margin-top: 30px; 
    }


    .container.expanded {
        min-width: 600px;  
    }
    
    .box {
        min-width: 300px;
        min-height: 450px;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .box1{
        display: flex;
        flex-direction: column;
    }

    .box2.show {
        max-width: 300px;
    }
    .box-content-card{
        height: 210px;
        width: 240px;
    }


}

/* tablets */
@media (max-width:768px) {

    .container_handling{
        margin-top: 30px;
        margin-left: 10px;  
        min-width: 300px;
        height: 500px;
    }
    
    .container_handling .handling_title{
        width: 80%;
        font-weight: 600;
        font-size: 20px;
        
    }
    
    .container_handling img{
        width: 90%;
    }

    .container {
        margin-top: 30px;  
        height: 500px;
        min-width: 300px;
        margin-top: 30px;
        margin-left: 10px;  
    }

    div.container:last-child {
        margin-right: 10px;
    }

    .container.expanded {
        min-width: 600px;  
    }
    
    .box {
        min-width: 300px;
        min-height: 500px;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .box1{
        display: flex;
        flex-direction: column;
    }

    .box2.show {
        max-width: 300px;
    }
    .box-content-card{
        height: 210px;
        width: 240px;
    }
}

/* small smartphones = ok */
@media (max-width:400px) {
    div.horizontal-scroll{
        height: 90vh;
    }

    .container_handling, .container {
        margin-top: 10px;  
    }
}