*{
    box-sizing: border-box;
}
body{
    margin-top: 0;
    margin-bottom: 0;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}
#ruta{
    display: flex;
    flex-direction: column;
    width: 80%;
    min-width: 800px;
    max-width: 1600px;
    margin: 0 auto;
    border: 2px solid rgb(0, 0, 0);
    min-height: 100vh;
}
header{
    padding: 1px;
    border-bottom: 1.5px solid;
    background-color: #007bb9;
}
header h1{
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-style: normal;
    margin-left: 50px;
    text-align: left;
    font-size: 50px;
    padding: 1px;
}
nav{
    display: flex;
    justify-content: space-between;
    background-color: #0097cd;
}
nav ul{
    display: flex;
    list-style: none;
}
nav li a{
    text-decoration: none;
    padding: 20px;
    color: black;
    position: relative;
}
.aktiv::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -0px;
    width: 100%;
    height: 3px;
    background-color: rgb(0, 221, 0);
    border-radius: 2px;
}
nav li a:hover{
    color:  white;
}
#tekniker{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #35dce8;
    padding: 40px 20px;
}
.box{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    align-items: stretch;
}
.rubrik{
    display: flex;
    align-items: stretch;
    background-color: #21ff9f;
    border: 2px solid #1c1ca0;
    border-radius: 10px;
    transition: transform 0.3s;
    gap: 20px;
}
.rubrik:hover{
    transform: translateY(-5px);
}
.rubrik .text_2{
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}
.rubrik .text_2 h2{
    font-family: "Permanent Marker", cursive;
}
.rubrik .bild_2{
    width: 200px;
    display: flex;
}
.rubrik img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
#projekt{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #48c5e4;
    padding: 40px 20px;
}
.projekt_box{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    justify-items: center;
    align-items: stretch;
}
.projekt_box .rad{
    grid-column: 1 / 3;
    justify-self: center;
    width: 50%;
}
.projekt_ruta{
    background-color: #21ff9f;
    border: 2px solid #1c1ca0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    height: 100%;
    overflow: hidden;
}
.projekt_ruta img{
    width: 95%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
    margin-top: 2.5%;
    align-self: center;
    border: 2px solid #1c1ca0;
}
.projekt_ruta h3{
    margin: 10px 0 5px 0;
    font-size: 24px;
}
.projekt_ruta p{
    font-size: 16px;
    padding: 20px;
}
#om{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-color: #2c8caa;
    padding: 20px;
}
.ruta_om{
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    width: 60%;
    max-width: 700px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
}
.ruta_om h2{
    font-size: 22px;
    font-family: "Permanent Marker", cursive;
}
.text_om{
    font-size: 20px;
    line-height: 1.4;
}
.kontakt{
    background: #e8ffff;
    border: 2px solid #1c1ca0;
    border-radius: 10px;
    padding: 10px;
}
.kontakt p{
    font-size: 16px;
}
main{
    display: flex;
    background-color: #C9FBFF;
    flex: 1;
    padding: 20px;
}
main .text{
    width: 50%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
main .text p{
    font-size: 30px;
    text-align: center;
}
main .bild{
    width: 50%;
    display: flex;
    float: right;
    padding: 20px;
    justify-content: center;
    align-items: center;
}
main .bild img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

footer{
    background-color: rgb(0, 151, 205);
    padding: 10px;
    text-align: center;
}
footer a{
    text-decoration: none;
    color: #ffffff;
}
footer a:hover{
    background-color: black;
    text-decoration: underline;
}
