/* Structure */
:root{
    --main-background-color: grey;
    --primary-color: cornflowerblue;
    --gallery-color: white;
}

body {
    background: var(--main-background-color);
    font-family: Arial, Helvetica, sans-serif;
}

#content {
    background:white;
    width:70%;
    margin:auto; /* center */
    border-radius:5px;
 
}

header, footer {
    background: var(--primary-color);
    color:white;
    position: relative;
    padding: 20px 0;
}

main {
    padding:5px;
}


/*Playing With Position*/
#logo{
   float: left;
   height: 75px;
   width: 75px;
   position: absolute;
   top: 10px;
   left: 10px;
}


/* Navigation */

#main-nav ul {
    padding-left:0;
}

#main-nav li {
    list-style-type: none;
    text-align: center;
    border-bottom:1px solid white;
}

#main-nav li {
    background: var(--gallery-color);
}


#main-nav a {
    color:black;
    text-decoration: none;  /* remove the underlines */
    border-bottom:1px solid transparent;
}

#main-nav a:hover {
    border-bottom:1px solid black;
}

#main-nav a:hover{
    color: crimson;
}

/* Typography */
header h1 {
    text-align: center;
}

footer p {
    text-align:center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
}
h2{
    text-align: center;
}
select, textarea {
    width: 60%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Guest Selection */
.guest-selection {
    display: flex;
    align-items: center;
    gap: 10px;
}

.guest-selection button {
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
}

/* Submit Button */
#submit-btn {
    background: cornflowerblue;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#submit-btn:hover {
    background: darkblue;
}

/* Success Message */
#success-message {
    display: none;
    color: black;
    font-weight: bold;
    margin-top: 10px;
}

/* Larger screens */
@media only screen and (min-width: 768px) { 
    .columns {
        display:flex;
    }

    #main-nav li {
        flex:1;
    }

    #main-nav li:not(:last-child) {
        border-right: 1px solid white;
    }
    
}