
html, body {
  margin: 0px;
  padding: 0px;
  background-color: rgb(253, 68, 112);
}

a:link, a:visited, a:hover, a:active{
  text-decoration: none;
  cursor: pointer;
}
.sidebar {
  padding-top: 10px;
  display: inline-block;
  position: fixed;
  background-color: rgb(255, 255, 245);
  height: 100%;
  width: 10%;
  text-overflow: ellipsis;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

.sidebar-button{
  display: block;
  border: none;
  border-radius: 0px;
  background-color: rgb(255, 255, 245);
  color: rgb(42, 40, 41);
  font-size: 20px;
  font-weight: bold;
  height: 40px;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-button:hover{
  cursor: pointer;
}

.sidebar-button-image{
  object-fit: scale-down;
  height: 100%;
  vertical-align: middle;
}

.sidebar-button-text{
  display: inline;
  margin: 0px;
}

.sidebar-button-current-page{
  display: block;
  border: none;
  height: 50px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  background-color: rgb(1, 8, 79);
  color: rgb(255, 255, 245);
  font-size: 20px;
  width: calc(100% + 20px);
  text-align: left;
  padding-right: 25px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-button-current-page:hover{
  cursor: pointer;
}

.main-body {
  display: block;
}

.header-image{
 width: 100%;
 display: block;
}

.footer-image{
  width: 100%;
  display: block;
 }

.content-block{
  background-color: rgb(255, 255, 245);
  width: 70%;
  padding-top: 2%;
  padding-left: 2%;
  padding-right: 2%;
  padding-bottom: 2%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-wrap: wrap;
}

.downloads-text-and-image{
  flex-basis: 100px;
  flex-grow: 1;
  flex-shrink: 1;
  padding-left: 20px;
  padding-right: 20px;
}

.downloads-title{
  color: rgb(42, 40, 41);
  font-size: 34px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding-right: 10px;
  display: block;
  white-space: nowrap;
}

.downloads-image{
  width: 100%;
  height: 75%;
  margin-right: -0.5vmax;
  margin-left: -0.5vmax;
  border-radius: 5px;
  border-style: solid;
  border-width: 0.5vmax;
  border-color: rgb(42, 40, 41);
  display: block;
  object-fit: cover;
}

.horizons-invite-form {
  display: block;
  width: 100%;
  border: none;
  height: 110vmin;
}

.before-you-continue{
  margin: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
  color: rgb(42, 40, 41);
  font-size: 40px;
  font-weight: bold;
  padding-left: 120px;
  padding-right: 120px;
}

.form-link{
  color: rgb(1, 8, 79);
  text-decoration: underline;
}

.welcome-to{
  color: rgb(253, 205, 80);
  text-align: center;
  font-family: 'Nunito', 'Roboto Slab', sans-serif;
  font-weight: 1000;
  font-size: 40px;
  display: block;
  width: 100%;
  margin-bottom: 0px;
}

.madison-horizons{
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 0px;
  font-family: 'Roboto Slab', 'Nunito', sans-serif;
  font-weight: 900;
  color: rgb(1, 8, 79);
  font-size: 90px;
}

.server-explanation-container{
  display: inline;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

.server-explanation{
  font-family: 'Nunito', 'Roboto Slab', sans-serif;
  font-weight: 500;
  color: rgb(42, 40, 41);
}

.server-invite-button-container{
  display: inline;
  width: 30%;
  margin-left: 2%;
  background-color: rgb(49, 51, 56);
  padding: 32px;
  border-radius: 5px;
  text-align: center;
  height: 300px;
}

.server-icon{
  display: inline;
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

.welcome-text{
  color: rgb(184, 185, 191);
  font-family: "gg sans", "Noto Sans", "Helvetica Neue", "Helvetica", "Arial", "sans-serif";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  text-rendering: optimizeLegibility;

}

.server-name{
  margin-top: 8px;
  color: rgb(243, 244, 245);
  font-family: "gg sans", "Noto Sans", "Helvetica Neue", "Helvetica", "Arial", "sans-serif";
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  text-rendering: optimizeLegibility;
}

.join-button{
  align-items: center;
  background-color: rgb(88, 101, 242);
  border-radius: 3px;
  margin-top: 40px;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 16px;
  padding-right: 16px;
  font-family: "gg sans", "Noto Sans", "Helvetica Neue", "Helvetica", "Arial", "sans-serif";
  color: rgb(255, 255, 255);
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  height: 44px;
  width: 70%;
  border: none;

}

.currently-running-servers-container{
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.currently-running-servers-title{
  text-align: center;
  display: block;
  width: 100%;
  font-family: 'Roboto Slab', 'Nunito', sans-serif;
  font-weight: 900;
  color: rgb(253, 68, 112);
  font-size: 30px;
}

.video-text-and-image {
  flex-basis: 50%;
  min-width: 30%;
  flex-grow: 1;
  flex-shrink: 1;
  padding-left: 1vw;
  padding-right: 1vw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.video-title {
  color: rgb(42, 40, 41);
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding-right: 10px;
  display: block;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-image {
  width: 100%;
  margin: 0;
  border-radius: 5px;
  border: 0.2vmax solid rgb(42, 40, 41);
  object-fit: cover;
}

.channel-container{
  display: block;
  width: 100%;
  display: flex;
}

.channel-name-container{
height: 50px;
margin-top: 50px;
margin-bottom: 20px;
}

.channel-icon{
  display: inline;
  border-radius: 50%;
  margin-left: 30px;
  height: 100%;
  border: 0.2vmax solid rgb(42, 40, 41);
}

.channel-name{
  display: inline;
  vertical-align: middle;
  position: absolute;
  margin-left: 20px;
  font-size: 20px;
  font-family: 'Nunito', 'Roboto Slab', sans-serif;
  font-weight: bold;
  color: rgb(42, 40, 41);
}

@media only screen and (max-width: 1300px) {
  .sidebar-button {
    display: inline;
    height: 100px;
    color: rgb(255, 255, 245);
    padding: 0px;
    width: 100px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .sidebar-button-current-page {
    display: inline;
    height: 150px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: -50px;
    width: 150px;
    color: rgb(1, 8, 79);
    padding: 0px;
    margin-left: 10px;
    margin-right: 10px;
  }
  
  .sidebar {
    padding-top: 0px;
    display: flex;
    position: fixed;
    background-color: rgb(255, 255, 245);
    height: auto;
    max-height: 17%;
    width: 100%;
    text-overflow: ellipsis;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    justify-content: right;
  }
  
  .sidebar-button:hover{
    cursor: pointer;
  }
  
  .sidebar-button-image{
    object-fit: scale-down;
    height: 100%;
    vertical-align: middle;
  }
  
  .sidebar-button-text{
    display: inline;
    margin: 0px;
  }
  
  .sidebar-button-current-page:hover{
    cursor: pointer;
  }

  .main-body {
    display: block;
    padding-top: calc(15% - 90px);
    height: 90%;
    width: 100%;
    margin: auto;
  }

  .madison-horizons{
    font-size: 50px;
  }

  .server-invite-button-container{
    width: 100%;
  }

  .server-explanation-container{
    width: 100%;
    margin-bottom: 30px;
  }

  .join-button{
    height: 88px;
    font-size: 32px;
  }

  .currently-running-servers-title{
    font-size: 50px;
  }
  
  .server-explanation{
    font-size: 25px;
  }
}

@media only screen and (max-width: 1000px) {
  .main-body {
    display: block;
    padding-top: calc(15% - 50px);
    height: 90%;
    width: 100%;
    margin: auto;
  }
}