/* Reset default styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  margin-top: 30px;
  font-family: Roboto, Arial;
  color: white;
  font-size: 16px;
  background: linear-gradient( #ffbb80, #80FFB3);
  height: auto;
  min-height: 100%;
  background-attachment: fixed;
}

h1 {
  font-family: "Press Start 2P";
  font-size: 32px;
  font-weight: bold;
  line-height: 1.2;
  margin: 20px 0px 10px 0px;
}

h2 {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.2;
  margin: 15px 0;
}

h3 {
  font-family: "Press Start 2P";
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  padding: 10px 0;
}

h4 {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  width: 100%;
  text-align: center;
  padding: 15px 15px 0px 15px;
}

p {
  padding:15px;
  text-align: justify;
}

ul {
  padding: 15px;
  margin: 0 auto;
  text-align: justify;
  width: 80%;
}

table {
  margin: 10px auto;
  padding: 0px 0px 20px 0px;
  width: 80%
}

td, th {
  border: 2px solid white;
  padding: 5px;
}

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.buttonClass {
  background-color: #80CCFF;
  box-shadow: 2px 2px 5px #523a4d;
  color: white;
  margin: 15px 25%;
  border: none;
  width: 50%;
  height: 50px;
}

pre {
  margin: 0 20px;
  border-radius: 5px;
  box-shadow: 2px 2px 5px #523a4d;
  background-color: #80CCFF;
  overflow: scroll;
}

.page-image {
  display: flex;
  margin: 0 auto;
  border-radius: 5px;
  max-width: 75%;
}

.box-image {
  display: flex;
  padding: 15px 0px 0px 0px;
  margin: 0 auto;
  border-radius: 10px;
  width: 75%;
  max-height: 250px;
  object-fit: cover;
  object-position: top;
}

.header {
  background-color: #ff80e5;
  box-shadow: 2px 2px 5px #523a4d;
  border-radius: 5px;
  width: 60%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.header h1 {
  width: 100%;
  text-align: center;
}

.navbar .nav-list {
  width: 100%;
  margin: 0 auto;
  padding: 0px 0px 10px 0px;
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  list-style: none;
}

.blog-header {
  background-color: #ff80e5;
  box-shadow: 2px 2px 5px #523a4d;
  border-radius: 5px;
  width: 60%;
  margin: 10px auto;
  display: flex;
}

span {
  color: #ffffff;
  margin: 10px auto;
  width: 100%;
  text-align: center;
}

.blog-header h3 {
  background-color: #ff80e5;
  color: #ffffff;
  margin: 10px;
  width: 100%;
  text-align: center;
  border-radius: 5px;
}

.blog-sub-header {
  background-color: #ff80e5;
  width: 60%;
  margin: 0px auto;
  display: flex;
  border-radius: 5px;
  box-shadow: 2px 2px 5px #523a4d;
}

.blog-sub-header span {
  color: #ffffff;
  width: 100%;
  text-align: center;
}


.box-grid-1 {
  width: 60%;
  margin: 10px auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 10px;
}

.box-big {
  background-color: #ff80e5;
  height: 400px;
  box-shadow: 2px 2px 5px #523a4d;
  border-radius: 5px;
}

.box-page {
  width: 60%;
  margin:10px auto;
  background-color: #ff80e5;
  height: auto;
  box-shadow: 2px 2px 5px #523a4d;
  border-radius: 5px;
}

.box-small-column {
  height: 400px;
  display: grid;
  grid-template-columns: auto;
  grid-gap: 10px;
}

.box-grid-2 {
  width: 60%;
  margin: 10px auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 10px;
}

.box-small {
  background-color: #ff80e5;
  height: 195px;
  box-shadow: 2px 2px 5px #523a4d;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.box-small p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  max-height: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.box-big p {
  font-size: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  max-height: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shape-row {
  position: fixed;
  top: 50px;
  left: 3.5vw;
  z-index: -1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  height: 100%;
  width: 100%;
}

.shape {
  width: 3vw;
  height: 3vw;
  border-radius: 25%;
  background-color: #B8E1FF;
  animation: rotate-color 10s infinite linear;
  
}

@keyframes rotate-color {
  0% {
    transform: rotate(0deg);
    background-color: #FFBB80;
  }
  33% {
    transform: rotate(360deg);
    background-color: #80CCFF;
  }
  66% {
    transform: rotate(720deg);
    background-color: #FF80E5;
  }
  100% {
    transform: rotate(1080deg);
    background-color: #FFBB80;
  }
}


@media screen and (max-width: 1100px) {
  .blog-sub-header {
width: 80%;
  }
  .box-page {
width: 80%;
  }
  .box-grid-1 {
    width: 80%;
  }
  .box-grid-2 {
    width: 80%;
  }
  .blog-header {
    width: 80%;
  }
  .header {
        width: 80%;
  }
  .box-small p {
    max-height: 90px;
    -webkit-line-clamp: 4;
  }
}