html, body {
    box-sizing: border-box;
}

form, input, button, textarea, select {
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
}

header {
    margin: 0;
    background-color: #d3c1a5;
    color: #4a3f35;
    font-family: Tahoma, sans-serif;
}

body {
    margin: 0;
    background-color: #d3c1a5;
    color: #4a3f35;
    font-family: Tahoma, sans-serif;
    font-size: 16px;
}

main {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    background: #d3c1a5;
    text-align: center;
    color: #4a3f35;
}

main img {
    height: 300px;
    max-width: 200px;
}

h1, h2, h3 {
    margin: 1em auto;
    text-align: center;
    color: #3c7199;
}

p, a {
    margin: 1em auto;
    text-align: center;
}

nav {
    display: flex;
    justify-content: center;
    gap: 15px;
}
nav a:hover {
    color: #033358;
}

a:hover {
    color: #033358;
}

a {
    text-decoration: none;
    font-weight: bold;
    color: #3f759e;
}

ul {
    text-align: center;
    list-style-position: inside;
}

section {
    text-decoration: none;
    font-weight: bold;
    color: #4a3f35;
}

footer {
    margin-top: 20px;
    background-color: #59493a;
    color: #f8f5f0;
    text-align: center;
    padding: 10px;
}

@media screen and (min-width: 981px) and (max-width: 1400px) {
    #colorbox {
        background-color: #d3c1a5;
    }
}

@media screen and (min-width: 601px) and (max-width: 980px) {
    #colorbox {
        background-color: #d3c1a5;
    }
}

@media screen and (min-width: 370px) and (max-width: 600px) {
    #colorbox {
        background-color: #d3c1a5;
    }
    main {
        width: 95%;
    }
}

form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: auto;
    border: 2px solid #c3b091;
}


label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
    color: #5d4b3e;
}

input[type="text"], input[type="file"] {
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #a48c74;
    border-radius: 4px;
    background-color: #f8f5f0;
    color: #4a3f35;
}

button, input[type="submit"], input[type="reset"] {
    background-color: #3f759e;
    color: white;
    border: none;
    padding: 10px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
}

button:hover, input[type="submit"]:hover, input[type="reset"]:hover {
    background-color: #2a4559;
}

.course-entry {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.course-entry input {
    flex-grow: 1;
    background-color: #f8f5f0;
    border: 1px solid #a48c74;
}

.course-entry button {
    background-color: #b5651d;
    padding: 5px 10px;
    color: white;
    border-radius: 4px;
    transition: background-color 0.3s ease;

}

.course-entry button:hover {
    background-color: #8b4513;
}
