/* Main - Home */
*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    text-decoration: none;
    
}

body {
    width: 95%;
    border: solid 2px;
    margin: auto;
    max-width: 3200px;
    min-width: 700px;
    margin-top: 8px;
    border-radius: 3px;
    margin-bottom: 8px;
}

#hd1{
    position: relative;
    display: flex;
    width: auto;
    height: 70px;
    background-color:  rgba(34, 132, 168, 0.486);
    justify-content: center;
    align-items: center;
    font-family: permanent Marker;
    font-size-adjust: calc(1.2);
    text-decoration: none;
    overflow: hidden;
}


#ul1{
    position: relative;
    list-style-type: none;
    display: flex;
    gap: 90px;
    width: auto;
    height: 50px;
    background: linear-gradient(to bottom, rgb(82, 110, 73), rgb(172, 226, 137)); 
    bottom: 826px;
    padding: 12px;
    flex-direction: end;
    font-size: larger;
    top: 000000000000000.1px;
    justify-content: center;
    
}



#text1{
    text-align: center;
    font-size: 2.2em;
    color: rgba(69, 72, 66, 0.64);
    position: absolute;
    top: 400px;
    right: 200px;
    overflow: hidden;
    width: 590px;

}

main {
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    overflow: hidden;

}



#footer1 {
    height: 57px;
    width: auto;
    background-color: rgb(65, 109, 109);
    text-align: center;
    line-height: 57px; 
    position: relative;
    font-size: 1.2em;
}


/* Projekt */

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    background-color: #f9f9f9;
}


.gallery-item {
    width: 300px;
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #ddd;
}


.gallery-item p {
    padding: 15px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.gallery-item a {
    text-decoration: none;
    color: inherit;
}

/* Tekniker */
.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 15px;
}

.container > div {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    padding: 20px;
    text-align: center;
}

.container a {
    display: block;
    margin-bottom: 15px;
}

.container img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.container img:hover {
    transform: scale(1.05);
}

.container p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.6;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .container > div {
        max-width: 100%;
    }

    .container p {
        font-size: 1em;
    }
}

/* Om */
#kontakt-info {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#kontakt-info h2 {
    font-family: 'Permanent Marker', sans-serif;
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

#kontakt-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

#kontakt-info table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#kontakt-info th,
#kontakt-info td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#kontakt-info th {
    background-color: #007bff;
    color: white;
    font-size: 1.1rem;
}

#kontakt-info td {
    background-color: #fff;
}

#kontakt-info a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

#kontakt-info a:hover {
    color: #0056b3;
    text-decoration: underline;
}
