/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Modern Font */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    
    /* Center Content Horizontally & Vertically */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensures full height */
    position: relative;
}

body {
    background-image: url('../images/bg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0; /* Tar bort standardmarginaler */
    height: 100vh; /* Säkerställer att bakgrunden täcker hela visningsområdet */
}

.center-circle {
    position: absolute; /* Använd absolut positionering för att centrera cirkeln */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrera cirkeln exakt */
    width: 300px; /* Justera storleken efter behov */
    height: 300px; /* Justera storleken efter behov */
    background-color: violet;
    border-radius: 50%;
    opacity: 0.5; /* Justera opaciteten efter önskemål */
}

/* Background Circle */
body::before {
    content: "";
    position: absolute;
    width: 60vw; /* Responsive width */
    height: 60vw; /* Responsive height */
    max-width: 600px; /* Prevents it from being too large */
    max-height: 600px;
    background: radial-gradient(circle, #6C63FF 0%, #3F3D56 100%);
    
    /* Center the circle */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* Ensures the background remains behind everything */
    z-index: -1;
    border-radius: 50%;
}

/* Centered Content */
.container {
    width: 90%;
    max-width: 600px; /* Adjust size to fit within the circle */
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center; /* Centers text */
}

/* Header */
header {
    text-align: center;
}

/* Logo Styling */
.logo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

/* Contact Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Adds spacing between form elements */
}

form label {
    font-weight: bold;
}

form input,
form textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
}

form textarea {
    resize: vertical; /* Allows users to resize the textarea */
    min-height: 100px; /* Makes it larger initially */
}

form button {
    margin-top: 10px;
    padding: 12px;
    background: #6C63FF;
    color: white;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

form button:hover {
    background: #5149d3;
}