@font-face {
font-family: 'helmswald';
src: url('../font/helmswald.otf') format('opentype'),
font-weight: auto;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'UnifrakturMaguntia';
src: url('../font/UnifrakturMaguntia21.ttf') format('truetype'),
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Singfried';
src: url('../font/Singfried-01-Regular.ttf') format('truetype'),
font-weight: auto;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'troublemarker';
src: url('../font/FF_troublemarker.otf') format('opentype'),
font-weight: auto;
font-style: normal;
font-display: swap;
}



:root {
--body-bg: url("/img/bg/purpskull.gif");
--header-bg: url("/img/bg/purplespace.gif");
--aside-bg: url("/img/bg/pattern_524.gif");
--main-bg: url("/img/bg/pup2.gif");
--paint-bg: url("/img/bg/sky-bg.jpg");

--font-p: "Comic Sans MS", cursive;
--font: "Courier New", monospace;
--font-got: "helmswald", sans-serif;
--font-got-eng: "UnifrakturMaguntia", sans-serif;
--font-got-rus: "Singfried", sans-serif;
--font-h: "troublemarker", sans-serif;

.wrapper {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}



body {
    background-image: var(--body-bg);
    align-items: center;
    justify-content: center
}


header {
    grid-area: header;
    padding: 10px;
    display: flex;
    background-image: var(--header-bg);
    color: #C397E2;
    text-align: center;
    align-items: center;
    justify-content: space-around;
    border: 5px solid #552A6F;
    margin: auto;
    height:  50px;
    font-family: var(--font-got-rus);
    font-size: 20px;
    
    a {
      text-decoration: none;
      transition: color 0.3s ease;
    }
    a:link,
    a:visited {
      color: #C397E2;
    }
}

aside {
    grid-area: aside;
    color: #552A6F;
    text-align: center;
    border: 5px solid #552A6F;
    padding: 10px;
    margin: 10px 0;
    background-image: var(--aside-bg);
    height: 100%;
    float: left;
    width: 200px;
    font-family: var(--font-p);
    height: auto;
    
    a {
      text-decoration: none;
      transition: color 0.3s ease;
    }
    a:link,
    a:visited {
      color: blue;
    }
    a:hover {
      color: red; /* Цвет при наведении */
    }
}

/* Chat */

chat {
    grid-area: chat;
    float: left;
    width: 200px;
}

.chat {
    width: 220px;
    border: 5px solid #552A6F;
    height: 300px;
}


main {
    grid-area: main;
    padding: 10px;
    border: 5px solid #552A6F;
    background-color:#240c46;
    background-image: var(--main-bg);
    margin: 10px 0;
    width: 900px;
    float: right;
    h2 {
      color: #C397E2;
      font-family: var(--font-h);
    }
    h3 {
      color: #C397E2;
      font-family: var(--font-p);
    }
    
    p {
      color: white;
      font-family: var(--font);
      
    }
    li {
      color: white;
      font-family: var(--font);
    }
}

/* Guestbook */
.guestbook {
  text-align: center;
  align-items: center;
  justify-content: center;
  
}

.guestbook-book {
  width: 800px;
  height: 700px;
  border: 5px solid black;
}

/* Paint */
.paint-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    height: 600px;
    padding: 15px;
    border: 5px solid #552A6F;
    background-image: var(--paint-bg);
}

.paint-header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 100%;
}

.paint-paint {
  width: 800px;
  height: 100%;
  padding: 9px;
  margin: 15px;
  background-color: #a0a0a0;
  border: 1px solid #565656;
}

/* Updates */
.upd {
  h2 {
    text-align: center;
  }
}

.plans {
   h2 {
    text-align: center;
  }
}

.navigation {
    display: flex;
    flex-direction: column;
}

}