* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
}

header p {
    font-size: 1.2rem;
}

nav {
    background-color: #222;
    padding: 10px;
    display: flex;
    justify-content: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 1rem;
    margin: 0 10px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #444;
}

.index-tekst{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 100px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.row-1{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
img{
    max-width: 40%;
    border-radius: 8px;
}
.row-1:hover{
    transform: scale(1.05); 
    transition: 1s;
}
img:hover{
    transform: rotate(360deg);
    transition: 1s;

}
.contact-section {
    padding: 20px;
    margin: 0 auto;
    max-width: 1000px;
    text-align: center;
}

.contact-section h2 {
    font-size: 1.8rem;
    color: #333;
    margin-top: 20px;
}

.contact-section p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

form {
    margin-top: 20px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

form button {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #444;
    transform: skew(20deg);
    transition: 1s;
}
.index-tekst:hover{
    transform: rotatey(360deg);
    transition: 1s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

body{
    animation: fadeIn 1s ease-in-out;
}