/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

header a.active {
    background-color: rgba(136, 20, 20, 0.58);
    color: rgb(255, 242, 0);
    margin: 0px auto;
  }

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
    line-height: 187px;
    color: rgb(0, 0, 0);  
   
    background-color:rgba(136, 20, 20, 0.58);
    background-repeat: no-repeat;
    background-size: cover;
}
header {
    width: 100%;
    height:200px;
    background-color: rgba(136, 20, 20, 0.58);
    padding: 20px;
    text-align: center; 

}
main article p {

    background-color: rgba(136, 20, 20, 0.58);
}

main article img {
    width: 100%;
    height: auto;
}
main article {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.center {
    text-align: center;
}
nav ul li {

    display: inline-block;
    margin-right: 30px;
}
main, footer {
    padding: 20px;
}
main article p {
   /* max-width: 60ch; */
    max-width: 1800px;
}

main {
    background-color:rgba(136, 20, 20, 0.58);
    text-align: center;
}
hr.rounded {
    border-top: 8px solid #000000;
    border-radius: 5px;
}
.grid {
    position: relative;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 2000px;
}
footer {
    background-color: rgba(31, 29, 29, 0);
}

.fancy-button {
    background-color: rgb(206, 35, 232);
    padding: 5px 15px;
    border-radius: 10px;
    box-shadow: 2px 4px 10px #000000e2;
}
.fancy-button:hover {
    background-color: rgb(16, 24, 101); 
    color: rgb(174, 158, 14);
}

/* Styling the Form */

input[type=text], 
input[type=password],
input[type=submit],
textarea {
    display: block;
    padding: 10px;
    border: 1px solid yellow;
    margin-bottom: 20px;
    border-radius: 10px;
    width: 260px;
}