@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

* {box-sizing: border-box;}

body { 
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: rgb(73, 73, 73);
}

.header {
  overflow: hidden;
  background-color: #333333;
  padding: 20px 30px;
  margin-bottom: 2em;
}

.header img#header-logo {
    width: 8em;
    min-width: 7em;
    float: left;
    text-align: center;
    display: block;
}

.header a {
  float: left;
  color: rgb(224, 224, 224);
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 6px;
  padding-bottom: 6px;
  text-decoration: none;
  font-size: 18px; 
  line-height: 30px;
  border-radius: 4px;
  font-family: "Lexend";
  font-weight: 600;
}
.header a:hover {
    color: #953135;
}
.header a:active {
    color: #742528;
}
.header a:visited {
    color: rgb(224, 224, 224);
}


.header-right {
  float: right;
}


hr {
  width: 95%;
}

#main-body h1#main-page-h1 {
    color: rgb(224, 224, 224);
    font-family: "Lexend";
    font-weight: 500;
    text-align: center;
    font-size: xx-large;
    text-shadow: 2px 2px black;
}
#main-body p#main-page-p1 {
    color: rgb(224, 224, 224);
    font-family: "Lexend";
    font-weight: 300;
    font-size: larger;
    text-align: center;
    text-shadow: 2px 2px black;
}
#main-page-short {
    max-width: 75%;
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.download-button {
    color: rgb(224, 224, 224);
    font-family: "Lexend";
    font-weight: 300;
    font-size: large;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    display: block;
    text-align: center;
    background: #2b2b2b;
    background: -webkit-linear-gradient(0deg,rgba(43, 43, 43, 1) 50%, rgba(82, 82, 82, 1) 100%);
    background: -moz-linear-gradient(0deg,rgba(43, 43, 43, 1) 50%, rgba(82, 82, 82, 1) 100%);
    background: linear-gradient(0deg,rgba(43, 43, 43, 1) 50%, rgba(82, 82, 82, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2B2B2B",endColorstr="#525252",GradientType=0);
    padding: 0.5em;
    border-radius: 0.5rem;
    text-shadow: 2px 2px black;
    box-shadow: 0px 0px 0.3em black;
    transition: ease-in 0.1s;
    text-decoration: none;
}
#download-button-a {
    text-decoration: none;
}
.download-button:hover {
  box-shadow: 0px 0px 0.5em #aaaaaa;
}
.download-button:active {
  box-shadow: 0px 0px 0.5em black inset;
}



.dialog {
  border: 0.5em lightgrey solid;
  background-color: #333333;
  font-family: "Lexend";
  color: white;
  width: max-content;
  max-width: 70%;
}

#main-background-container {
  background-color: #333333;
  width: 80%;
  max-width: 100%;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  height: max-content;
  padding: 1em 1em 1em 1em;
  flex-direction: column;
  box-shadow: 0 0 1em black ;
  margin-bottom: 1em;
}

#main-background-container img#aptibanner {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

#post-content-div {
  width: 95%;
  height: max-content;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
}

#post-content-left {
  display: flex;
  flex: 7 7 0;
  margin-right: 2em;
  flex-direction: column;
}
#post-content-left h3 {
  font-family: "Lexend";
  color: rgb(224, 224, 224);
  margin: 0 0 0 0;
}
#post-content-left p {
  font-family: "Lexend";
  color: rgb(224, 224, 224);
  margin: 0.5em 0.5em 0.5em 0.5em;
}
#post-content-right p {
  font-family: "Lexend";
  color: rgb(224, 224, 224);
  margin: 0.5em 0.5em 0.5em 0.5em;
}
#post-content-right h2 {
  color: rgb(224, 224, 224);
  font-family: "Lexend";
}
.yt-embed {
  display: block;
  margin-left: auto;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-right: auto;
  aspect-ratio: 16/9;
  width: 80%;
  height: 80%;
}
#post-content-right {
  display: flex;
  flex: 3 3 0;
  margin-left: 2em;
  justify-content: start;
  padding: 1em 1em 1em 1em;
  flex-direction: column;
}
#left-bottom-end {
  visibility: hidden;
}


@media screen and (max-width: 1100px) {
  #main-background-container {
    width: 100%;
    background-color: rgb(73, 73, 73);
    box-shadow: 0px 1.5em 1em -24px black inset,
    0px -1.5em 1em -24px black inset;
  }
  .header {
    margin-bottom: 0;
}
}

@media screen and (max-width: 890px) {
  #post-content-div {
    flex-direction: column;
  }
  #post-content-left {
    margin-right: 0;
  }
  #post-content-right {
    margin-left: 0;
    text-align: center;
  }
  #left-bottom-end {
  visibility: visible;
}
}

@media screen and (max-width: 550px) {

    .header {
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
    }
    .header img#header-logo {
        width: 8em;
        min-width: 7em;
        float: center;
        text-align: center;
        display: block;
    }
  .header a {
    float: left;
    display: flex;
    text-align: left;
    justify-content: space-evenly;
  }
  
  .header-right {
    display: none;
  }

  #main-body h1#main-page-h1 {
    font-size: x-large;
}
#main-body p#main-page-p1 {
    font-size:medium;
}
#main-page-short {
    max-width: 90%;
}
#main-background-container {
  width: 100%;
  padding: 0.5em 0.5em 1em 0.5em;
  background-color: rgb(73, 73, 73);
}
#main-background-container img#aptibanner {
  width: 80%;
}
.dialog {
  max-width: 100%;
}

}

.full-width {
  width: 100%;
}