/*Her lager jeg rammene rundt bilde og tekst*/
.alle {
    border: 2px solid #bbb; 
    padding: 0px; 
    border-radius: 12px;
    margin: 10px; 
    background-color: #fff;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3); 
}
.alle img {
    max-width: 100%; 
    height: auto; 
    display: block;
    border-radius: 10px 10px 0 0;
    margin: 0px; 
}
.alle p {
    font-size: 16px;
}
.alle p,h1,h2,h3,h4,h5,h6 {
    padding: 5px;
    margin: 0px; 
    color: #333;
}
.alle h2 {
    font-weight: 600;
    font-size: larger;
    color: black;
}

.about-the-board {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 20px;
    justify-self: center;
}

.tbc_container{
    display: flex;
    gap: 20px;
    max-width: 50%;
    margin: 0 auto;
}

.about-the-board {
    width: 50%;
    justify-content: center;
}

.tbc_box{
    text-align: left;
    max-width: 50%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tbc_container img{
    width: 100%;
    height: auto;
    margin-top: 10px;
}

.deloitte_img {
    transform: scale(0.9)translateY(-25px);
}

.tbc_box h2{
    font-size: larger;
    font-weight: bold;
}

.tbc_box p{
    font-size: 16px;
}

/*Her lager jeg oppsettet, slik at de ulike info-boksene er satt opp riktig*/
.about-the-board {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 20px;
    justify-items: center;}

@media (max-width: 1024px) {
    body {
        flex-direction: column;
    }

    .about-the-board, .tbc_container, .tbc_box, .deloitte_img {
        width: 100%;
        max-width: 100%;
    }

    .tbc_box, .tbc_container{
        flex-direction: column;
        justify-content: space-around;
    }
}

@media (min-width: 1024px) {
    .about-the-board {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;}

    .hele-skjermen {
        grid-column: span 6;}

    .todelt-skjerm {
        grid-column: span 3;}

    .tredelt-skjerm {
        grid-column: span 2;}}
