@font-face {
  font-family: "BodoniCondC";
  src: local("BodoniCondC"), url("./fonts/BodoniCondC.otf") format("opentype");
  font-weight: normal;
}

@font-face {
  font-family: "GlacialIndifference";
  src: local("GlacialIndifference"), url("./fonts/GlacialIndifference-Regular.otf") format("opentype");
  font-weight: normal;
}


* {
  margin: 0 auto;
}

* a {
  text-decoration: none;
  color: black;
}

h1 {
  text-align: center;
  font-family: "BodoniCondC";
  font-weight: 100;
}

h3 {
  font-family: "BodoniCondC";
  font-weight: 100;
  font-size: 30px;
}

h4 {
  font-family: "GlacialIndifference";
}

.center {
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.dimensions {
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 20px;
  width: calc(100% - 10%);
  height: calc(100% - 10%);
  border-left: 5px solid #472516;
  border-right: 5px solid #472516;
  border-top: 5px solid #472516;
  border-bottom: 5px solid #472516;
}

.neighbours {
  width: 60%;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 2px;
}

.blinkies {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.noticeboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: calc(100% - 10%);
  height: calc(100% - 10%);
  background-image: url('./Assets/0_noticeboard.png');
  border-left: 25px solid #472516;
  border-right: 25px solid #472516;
  border-top: 25px solid #472516;
  border-bottom: 25px solid #472516;
}

.desk {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: calc(100% - 10%);
  height: calc(100% - 10%);
}

@media (max-width: 1200px) {
  .noticeboard {
    grid-template-columns: 1fr;
  }
  .desk{
    grid-template-columns: 1fr;
  }
  .section {
    width: 100%;
    margin-bottom: 20px;
  }
}

.message {
  width: 300px;
  margin: 0 auto;
  padding: 20px;
  padding-top: 10px;
  box-shadow: 0 10px 10px 2px rgba(0,0,0,0.3);
  margin-bottom: 40px;
  background-color: white;
}

.blog {
  background-color: maroon;
}

.read {
  background-color: #b86366;
}

.right {
  -webkit-transform: rotate(2deg);
  -moz-transform: rotate(2deg);
  -o-transform: rotate(2deg);
  -ms-transform: rotate(2deg);
  transform: rotate(2deg);
}

.left {
  -webkit-transform: rotate(-2deg);
  -moz-transform: rotate(-2deg);
  -o-transform: rotate(-2deg);
  -ms-transform: rotate(-2deg);
  transform: rotate(-2deg);
}

/* Navigation */
.navbar {
  padding: 10px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  background-color: white;
}

.navbar .links {
  margin: auto;
}
.navbar a {
  text-decoration: none;
  padding: 6px;
  color: black;
}
.navbar a:hover {
  color: white;
}

/* honeycomb */

.content {
  display: flex;
  margin: auto;
  padding: 20px;
  width: calc(var(--s) * 3 + 6 * var(--m)); 
  /*variables for honeycomb & hexagons*/
  --s: 200px;
  --m: 4px;
  --f: calc(var(--s) * 1.732 + 4 * var(--m) - 1px);
}

div.hexagon {
  width: var(--s); 
  height: calc(var(--s) * 1.1547);
  margin: var(--m);
  display: inline-block;

  text-align: center;
  line-height: calc(var(--s) * 1.1547);

  clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
  
  margin-bottom: calc(var(--m) - var(--s) * 0.2886);

  transition: all 150ms ease-in-out;
}

.honeycomb::before {
  content: "";
  width: calc(var(--s) / 2 + var(--m));
  float: left;
  height: 20%;
}

.honeycomb::after {
  content: "";
  width: calc(var(--s) / 2 + var(--m));
  float: left;
  height: 20%;
}



/* star */
div.star {
  height: 200px;
  width: 200px;
  background-color: pink;
  -webkit-clip-path: polygon(50% 0, 79% 90%, 2% 35%, 98% 35%, 21% 90%);
  clip-path: polygon(50% 0, 79% 90%, 2% 35%, 98% 35%, 21% 90%);
  text-align: center;
  line-height: 200px;
  display: inline-block;
}