@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
       
       
        * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: url(../img/bg.png), repeat;
  background-attachment: fixed;
  font-family: "Nunito Sans", sans-serif;
}


.side {
    background: url(../img/side.png);
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: fixed;
    
}
b, strong {
  color: #a79327;
}

i, em {
  color: #333;
}

/* Link styling */
a {
  text-decoration: none;
}

a:hover {
  color: #007bff;
}

/* Ensures that when hovering over a <a> tag, its child elements (e.g., <i> icons) inherit the hover color. */
a:hover > * { color: inherit; }

/* Styling for input and textarea elements */
input, textarea {
  padding: 8px;
  border: 1px solid #ccc;
  background-color: #fff;
  width: 100%;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

/* Button styling */
button {
  padding: 8px 16px;
  border: 1px solid #888;
  background-color: #555;
  color: #fff;
  cursor: pointer;
  text-align: center;
  display: inline-block;
}

button:hover {
  background-color: #444;
}

/* Ensures text fields have consistent font styles across browsers. */
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
}

blockquote {
    border-left: 1px solid #a79327;
    padding: 10px;
    font-size: 12px;
}


/* LAYOUT CSS STARTS HERE */

#container {
    margin: 0 auto;
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
    margin-left: 650px;
    z-index: 1;
    position: relative;
    margin-top: 10px;

}

#content {
  background: #fff;
  padding: 10px;
  flex: 1;
}

#header {
    background: url('../img/header.png');
    width:100%;
    height: 58px;
}

.box {
    background: url('../img/box.png');
    padding: 17px;
    width: 720px;
    min-height: 80px;
    margin: auto;
    margin-bottom: 10px;
    color: #000;
    line-height: 17px;
    
}


/* The Links */

.links {
    position: fixed;
    top:720px;
    left: 10px;
    width: 600px;
    height: 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 8px;
}

.clear, .clear a:link {
    background-image: url('../img/clear.png');
      width: 200px;
        height: 38px;
     
}

.clear:hover, .clear a:hover {
    background-image:url('../img/clear_hover.png');
}


.about, .about a:link {
    background-image: url('../img/about.png');
      width: 200px;
        height: 38px;
     
}

.about:hover, .about a:hover {
    background-image:url('../img/about_hover.png');
}

.fans, .fans a:link {
    background-image: url('../img/fans.png');
      width: 200px;
        height: 38px;
         
}

.fans:hover, .fans a:hover {
    background-image:url('../img/fans_hover.png');
}

.join, .join a:link {
    background-image: url('../img/join.png');
      width: 200px;
        height: 38px;
         
}

.join:hover, .join a:hover {
    background-image:url('../img/join_hover.png');
}

.affies, .affies a:link {
    background-image: url('../img/affies.png');
      width: 200px;
        height: 38px;
         
}

.affies:hover, .affies a:hover {
    background-image:url('../img/affies_hover.png');
}


.codes0, .codes0 a:link {
    background-image: url('../img/codes.png');
      width: 200px;
        height: 38px;
         
}

.codes0:hover, .codes0 a:hover {
    background-image:url('../img/codes_hover.png');
}

.login, .login a:link {
    background-image: url('../img/login.png');
      width: 200px;
        height: 38px;
         
}

.login:hover, login a:hover {
    background-image:url('../img/login_hover.png');
}

.logout, .logout a:link {
    background-image: url('../img/logout.png');
      width: 200px;
        height: 38px;
         
}

.logout:hover, .login a:hover {
    background-image:url('../img/logout_hover.png');
}

.edit, .edit a:link {
    background-image: url('../img/edit.png');
      width: 200px;
        height: 38px;
         
}

.edit:hover, .edit a:hover {
    background-image:url('../img/edit_hover.png');
}


/* Responsive CSS (phones and tablets) */
@media (max-width: 768px) {
  #container {
    padding: 10px;
    flex-direction: column;
  }
  #footer {
    padding: 15px;
    order: 3;
  }
  #content {
    padding: 15px;
    order: 1;
  }
}