/* Fonts */

@font-face {
  font-family: sansation;
  src: url(Sansation_Regular.woff); /* url of the font */
  font-weight:normal;
}

@font-face {
   font-family: sansation;
   src: url(Sansation_Bold.woff);
   font-weight: bold;
}

@font-face {
  font-family: Hyning;
  src: url(HyningsHandwritingV2-Regular.woff); /* url of the font */
  font-weight:normal;
}

@font-face {
  font-family: Lobster;
  src: url(Lobster-Regular.woff); /* url of the font */
  font-weight:normal;
}

/*Header*/

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #E68405;
  display: flex;
  justify-content: center;
  font: 16pt sansation, sans-serif;
}

ul li a {
  display: block;
  color: #f2f2f2;
  padding: 14px 16px;
  text-decoration: none;
}

ul li a:hover {
  background-color: #F0E6CE;
  color: #0580E6;
}


/*Body*/

body {margin:0;}

.kofi {
  position:absolute;
  position: fixed;
  top: 40px;
  z-index:1;
  width:210px;
}

.button {
  background-color: #0580E6;
  border: none;
  color: white;
  padding: 10px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

table {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #ddd;
  padding: 8px;
  width: 16.6%;
}

tr:nth-child(even){background-color: #f2f2f2;}

tr:hover {background-color: #ddd;}

th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #219AF2;
  color: white;
}



body {
  margin: 0;
  padding: 0;
}

h2, p {
  margin: 10px;
}



.main {
  padding: 16px;
  margin-top: 30px;
  height: 9000px; /* Used in this example to enable scrolling */
  }

body {
  background: #F9F7DC;
  background: linear-gradient(135deg, rgba(249, 247, 220, 1) 0%, rgba(240, 175, 99, 1) 100%);
  background-attachment: fixed;
  background-position: 50% 0%;
  background-repeat: no-repeat;
}


  h1 {
  margin: .5%;
  text-align: center; 
  font-weight: bold;
  font-size: 36px;
  color: #DE650D;
}


/* Boxes */

div.title {
  margin-top: 50px;
  margin-bottom: 10px;
  margin-right: 100px;
  margin-left: 100px;
  padding-right: 20px;
  padding-left: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  border: 0px solid black;
  border-radius: 10px;
}



div.transbox {
  margin-top: 10px;
  margin-bottom: 50px;
  margin-right: 50px;
  margin-left: 50px;
  background-color: rgba(222, 233, 232, 0.5);
  padding-right: 100px;
  padding-left: 100px;
  padding-top: 20px;
  padding-bottom: 20px;
  border: 1px solid black;
  border-radius: 30px;
}

div.transbox p {
  margin: 2%;
  font-size: 18px;
  color: #000000;
  font: 18pt Hyning, sans-serif;
  font-stretch:semi-expanded;
}
 
  div.transbox h1 {
  margin: .5%;
  text-align: center; 
  font-weight: bold;
  color: #DE650D;
  font: 36pt Lobster, sans-serif;
}

  div.transbox h2 {
  margin: .5%;
  text-align: center; 
  font-weight: bold;
  color: #E68405;
  font: 28pt Lobster, sans-serif;
}

div.transbox ol {
  margin: 2%;
  color: #000000;
  list-style-type: circle;
  font: 16pt Hyning, sans-serif;
  justify-content: flex-start;
  align: left;
}

div.transbox ol li a {
  padding: 20px 20px;

}



/* Featurette  */

div.feature {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 50px;
  margin-left: 50px;
  background-color: rgba(247, 213, 89, 0.25);
  padding-right: 10px;
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  border: 0px dotted rgba(222, 101, 13);
  border-radius: 40px;
}



/* Advert Gallery */

* {
  box-sizing: border-box;
}

div.advert {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

div.advert-item {
  margin: 5px;
  min-width: 450px;
  max-width: 95%;
  width: calc(45% - 100px);
  height: auto;
}

div.advert-item img {
  min-width: 450px;
  width: calc(100%);
  height: auto;
}

div.advert-item:hover {
  border: 0px solid rgba(230, 132, 5);
}



/* Image Gallery */

* {
  box-sizing: border-box;
}

div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

div.gallery-item {
  margin: 5px;
  width: calc(30% - 50px);
}

div.gallery-item:hover {
  border: 5px solid #E68405;
}

div.gallery-item img {
  width: 100%;
  height: auto;
}

div.gallery-item div.desc {
  padding: 10px;
  text-align: center;
}


@media only screen and (max-width: 1300px) {
  div.gallery-item {
    width: calc(30% - 20px);
  }
}

@media only screen and (max-width: 1050px) {
  div.gallery-item {
    width: calc(50% - 20px);
  }
}


@media only screen and (max-width: 800px) {
  div.gallery-item {
    width: calc(100% - 20px);
  }
}
