#teamet{
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 1fr);
    align-content: space-evenly;
    justify-content: space-evenly;
    text-align: center;
    gap: 15px;
}

#tea{
    text-align: center;
    font-family: Arial, sans-serif;
    text-shadow: 2px 4px 4px rgb(29, 29, 30);
}
.info > h3{
    text-align: center;
    font-family: Arial, sans-serif;
}
.parent{
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    /*box-shadow: 5px 5px 15px  #07232e;
    border: 2px solid #07232e;*/
}

.bilde{
    min-width: 200px;
    border-radius: 2px;
    max-width: 30%;
    box-shadow: 10px 15px 8px rgb(29, 29, 30);
}
.info{
    padding: 3px;
    min-width: 200px;
    border-radius: 2px;
    max-width: 40%;
    /*border: 4px solid #07232e;*/
    background-color: #0e0e3b;
    box-shadow: 10px 15px 8px rgb(29, 29, 30);
}
.bilde > img{ 
    border: 3px solid #0e0e3b;
    border-radius: 2px;
    width: 100%;
    height: 100%;   
    object-fit: cover !important;   
}

.hidden{
    display: none;
}

#hvorfor {
    text-align: center;
    font-size: 24px;
    padding: 20px;
    font-family: Arial, sans-serif;
    text-shadow: 2px 5px 4px rgb(29, 29, 30);
}
#hvorfor > p{
    text-shadow: none;
    color: #0e0e3b;

}

#hvorfor h1:hover{
    color: #89948d;
    border-radius: 4px;
}
.info > p{
    font-size: 20px;
    font-family: Arial, sans-serif;
}
body {
    color: #e7e7e7;
}

@media screen and (max-width: 768px) {
    .parent {
        flex-direction: column;
        align-items: center;

    }

    .info{
        min-width: 200px;
        max-width: 80%;
    }

    .bilde, .info {
        width: 100%;
    }
    .bilde{
        max-width: 80%;
    }
}

footer {
    text-align: center;
    padding: 10px;
    background-color:  #0e0e3b;
    color:  #f2f2f2;
    font-size: 20px;
    font-family: Arial, sans-serif;
}

