:root {
    --primary-color: #4CAF50;
    --secondary-color: #ffffff;
    --font-color: #333;
    --font-family: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: var(--font-color);
    line-height: 1.6;
}

header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 0;
    text-align: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav a {
    text-decoration: none;
    color: var(--font-color);
    font-weight: 700;
    margin: 0 1rem;
}

nav a:hover {
    color: var(--primary-color);
}


.container {
    width: 95vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-top: 0%;
}

.green-square {
    width: 90%;
    height: 90%;
    background-color: #369639;
    color: lime;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    text-align: center;
    border-radius: 12px;
    
}

.barering {
    margin-bottom: 5%;
}

.textboks {
 margin-bottom: 35%;
}

.hero {
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 500%;
    margin-bottom: 1rem;
}



footer {
    color: var(--secondary-color);
    text-align: center; 
    padding: 1rem;
    margin-top: 2rem;
    width: 100%; 
    max-width: 90%;
    margin-left: auto;
    margin-right: auto; 
    box-sizing: border-box; 
}

.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #45a049;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    footer {
        padding: 0.5rem; 
    }
}
@media (max-width: 900px){
    .barering {
        margin-bottom: 5%;
    }
    
    .textboks {
     margin-bottom: 80%;
    }
}
@media (max-height: 500px){
    .barering {
        margin-bottom: 5%;
    }
    
    .textboks {
     margin-bottom: 10%;
    }

}