/*Color palette - some of my favorite colors. Cohesive colors.  */
:root {
    --navy: #2F3A4A;
    --dark: #1A1A1A;
    --gray: #E5E5E5;
    --white: #FFFFFF;
}

/* Global */
body {
    margin: 0;
    /*Play around with the fonts*/
    font-family: Arial, sans-serif;
    background: var(--gray);
    color: var(--dark);
}

header {
    background: var(--navy);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: flex;
/*defines how the browser distributes teh space between and aorund content items along the container's main axis (MDN Web Docs)*/
    justify-content: center;
    gap: 20px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    padding: 8px 14px;
    transition: 0.3s;
}
/*mouse-click*/
nav a:hover,
nav a.active {
    background: var(--white);
    color: var(--navy);
    border-radius: 4px;
}

/*Hero - the area up top of the webpage/website. Add an image or create one- ??*/
.hero {
    background: var(--white);
    padding: 60px 20px;
    text-align: center;
}
/*hour of operations*/
.hours {
    background: var(--white);
    padding: 20px;
    margin: 20px;
    border-radius: 6px;
    text-align: center;
}

/*The columns*/
.columns {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.columns div {
    background: var(--white);
    padding: 20px;
    flex: 1;
    border-radius: 6px;
}

/*Menu*/
table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background: var(--white);
}

th, td {
    padding: 12px;
    border-bottom: 1px solid var(--gray);
}

th {
    background: var(--navy);
    color: var(--white);
}


.gallery .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    padding: 20px;
}

.gallery img {
    width: 100%;
    border-radius: 6px;
}

.contact-form {
    width: 90%;
    max-width: 500px;
    margin: 20px auto;
    background: var(--white);
    padding: 20px;
    border-radius: 6px;
}

label {
    display: block;
    margin-top: 10px;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
}

button {
    margin-top: 15px;
    padding: 10px;
    width: 100%;
    background: var(--navy);
    color: var(--white);
    border: none;
    cursor: pointer;
}

button:hover {
    background: var(--dark);
}


footer {
    text-align: center;
    padding: 20px;
    background: var(--navy);
    color: var(--white);
    margin-top: 40px;
}


@media (max-width: 700px) {
    .columns {
        flex-direction: column;
    }
}
