@import url('https://fonts.googleapis.com/css?family=Open+Sans|Playfair+Display+SC');

* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    font: normal 18px 'Open Sans', sans-serif;
    background: #fafafa;
    color: #333;
}

main {
    background-color: #fcc10fa4;
    border-radius: 50px
    
}

header {
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    margin: 3rem;
    display: flex;
    flex-direction: column; /* Display elements in a column */
    align-items: center; /* Horizontally center the content */
}

h1 {
    font: normal 3em 'Playfair Display SC', serif;
    text-align: center; /* Center the text */
    margin-bottom: 10px; /* Add some space below the h1 */
}

nav {
    max-width: 900%;
    width: 100%; /* Ensure nav takes full width */
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Horizontally center the navigation links */
}

nav a {
    padding: 1em;
    position: relative;
}


nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    transform: scaleX(0);
    background: #333;
    transition: 0.7s transform cubic-bezier(0.06, 0.9, 0.28, 1);
}

nav a:hover::after {
    transform: scaleX(1)
}

#logo {
    margin-left: 3rem;
    max-width: 20rem;
    padding-top: 1rem;
}