/* Import font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* GLOBAL STYLING */
* {
 padding: 0;
 margin: 0;
 box-sizing: border-box;
 font-family: "Montserrat", sans-serif;
}

/* STYLE STRUCTURAL AREAS */
/* HEADER */
header {
    background-color: tomato;
    display: flex;
    gap: 20px;
    height: 40px;
    align-items: center;
}

/* Update nav list */
header nav ul li {
    list-style: none;
}

header nav ul {
    display: flex;
    justify-content: space-around;
}

header h1 {
    padding-left: 20px;
    color: white;
}

header nav {
    flex: 1;
    padding-right: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}

/* button {

} */

/* MAIN */
main {
    padding: 20px;
}

/* FOOTER */
footer {
    background-color: chartreuse;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

footer p {
    text-align: center;
    height: 30px;
    line-height: 30px;
}

footer ul {
    position: absolute;
    bottom: 0;
    right: 20px;
    display: flex;
    width: 100px;
    justify-content: space-between;
}

footer ul li {
    list-style: none;
}

footer ul li a {
    font-size: 23px;
    /* text-decoration: none; */
}

/* Icon styling */
/*i {

} */

/* MESSAGE STYLING */
.success, .error {
    position: absolute;
    top: 10%;
    color: white;
    font-size: 30px;
    padding: 20px;
    border-radius: 10px;
}

.success {
    background-color: green;
}

.error {
    background-color: red;
}