html{
    font-size: 16pt;
}
body {
    min-height: 100vh;
}
main {

  margin-top: 0.5rem;
  padding: 0.5rem 0;

}
.main-header {
    padding: 3rem 0;
}
.main-header h1 {
    font-family: 'Permanent Marker', cursive;
    font-size: 3rem;
    margin: 0;
}
nav ul li a {
    font-size: 1.8rem;
}
nav {
    padding: 0 2rem;
    height: auto;
}
h2{
    font-size: 2.8rem;
    margin-bottom:1rem;
    text-align: center;
    font-family: 'Permanent Marker', cursive;
}
.container {
    width: 95%;
    max-width: 70rem;
    margin:0 auto;
    padding:1rem;
}
p {
    max-width: 40rem;
    line-height: 1.7;
    font-size: 1.45rem;
}
.teknik {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 3rem 0;
}
.projekt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 3rem 0;
}
.projekt-bilder {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.projekt-bild,
.teknik img {
    width: 25rem;
    height: auto;
}
.om-tabell {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.om-tabell th,
.om-tabell td {
    padding: 0.8rem;
    border-bottom: 1px solid #ccc;
    text-align: left;
}
.active{
    background-color:#5360AC;
    color: white;
}
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.text{
    margin-left: 1rem;
}
@media (max-width: 600px) {

    .teknik,
    .projekt-row {
        flex-direction: column;
        text-align: center;
    }

    .projekt-bilder {
        align-items: center;
    }

    .projekt-bild,
    .teknik img {
        width: 80%;
        max-width: 250px;
        margin: 1rem auto;
        display: block;
    }
    .om-tabell th,
    .om-tabell td {
        font-size: 0.9rem;
    }
}
