html {
    display: flex;
    
    justify-content: center; 
    align-items: center;
    place-items: center;
}

body {
    margin: 0;
    height: 1500px;
    width: 600px;
    justify-content: center; 
    align-items: center;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;

}

header, footer {
    text-align: center;
    padding: 1em;
    background-color: #333;
    color: white;
}

nav a {
    padding: 0 10px;
    color: white;
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-left: 10px;
    margin-right: 10px;
    text-decoration: none;
    text-align: center;
}

.link-container {
    display: flex;
    justify-content: center; /* Center links inside the container */
    flex-grow: 1; 
    font-size: x-large;
}

main {
    padding: 20px;
}

.page {
    background-color: #ffffff;
    
    margin: 50px auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}


#mailfooter {
    color: white
}


.h2 {
    color: #333;
    margin-bottom: 0px;
    font-size:xx-large;
    font-weight: bold;
}

p {
    margin: 0px 0;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

select,
input[type="text"],
input[type="date"],
input[type="email"],
input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-sizing: border-box; /* Includes padding and border in the element's total width and height */
}

input[type="text"]:focus,
input[type="email"]:focus {
    border-color: #007bff;
    outline: none;
}

select {
    width: 150px
}

input[type="date"] {
    width: 150px
}

input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Responsive design adjustments */
@media (max-width: 600px) {
    .page {
        margin: 0px;
        padding: 0px;
    }

    label, input[type="submit"] {
        text-align: center;
    }

    input[type="text"],
    input[type="email"] {
        width: calc(100% - 20px); /* Adjusts width taking padding into account */
    }
}

.instagram-icon {
    height: 40px; /* Adjust height to fit within the header */
    width: auto;  /* Maintain aspect ratio */
    margin-left: 10px; /* Add spacing from other elements */
    cursor: pointer; /* Indicates the image is clickable */
}

/*
@media (min-width: 768px) {
    header, main, footer {
        max-width: 720px;
        margin: auto;
    }

    nav {
        display: flex;
        justify-content: center;
    }
}
*/