body {
    font-family: sans-serif;
    margin-right: 8px;
    border: 0px;
    width: 100%;
    padding: 10px;
    padding-top: 75px;
    background: #f4f6fc;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    min-width: 300px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.common_bg_colour {
  background-color:rgba(177, 175, 175, 0.541);
  border-radius: 15px;
  box-shadow: 6px 6px 12px rgba(0,0,0,.64);
}

.btn {
  margin: 10px;
}

.btn-warning:hover {
  background-color: rgb(230, 169, 39);
}

.btn-primary {
  background-color: royalblue;
}

.badge {
  margin: 8px
}

.error-warning {
  background-color:#f3baba; 
  border-radius: 7px; 
  padding: 5px;
  margin: 5px;
}

#pretext {
  font-size: 16px;
}

@media only screen and (min-width: 700px) {
  body {
    background-image: url('../../static/images/image_002.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
  }
}

@media only screen and (max-width: 400px) {
  body, #pretext {
    font-size: 10px;
  }
}

@media only screen and (max-width: 600px) {
  body, #pretext {
    font-size: 14px;
  }
}

.bannerImages {
  height: 30vh;
  background-position: center;
  background-size: cover;
  position: relative;
}

.bannerImage1 {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)), url('../../static/images/Mystical-Gaming-Paradise.jpg');
}

.bannerImage2 {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)), url('../../static/images/Neon-Code-Hub.jpg');
}

.bannerImage3 {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)), url('../../static/images/Gothic-Gaming-Cathedral.jpg');
}

.bannerTextDiv {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bannerText {
    background-color:rgb(2, 36, 100, 1);
    text-decoration: none;
    color: white;
    padding: 3rem;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    border-radius: 50px;
    border-color: #ffffff;
    border-style: groove;
    border-width: 2px;
    width:max-content;
    text-shadow: white 1px 1px 2px;
}

.bannerText:hover {
  background-color:rgb(51, 85, 148);
  cursor: pointer;
}

@media only screen and (min-width: 601px) {
    .bannerText {
      font-size: 1.4rem;
    }
}

@media only screen and (min-width: 1101px) {
    .bannerText {
      font-size: 1.75rem;
    }
}

@media only screen and (min-width: 1401px) {
    .bannerText {
      font-size: 2rem;
    }
    .bannerDropDownItem {
      font-size: 1.2rem;
    }
}

@media only screen and (max-width: 600px) {
    .bannerText {
      font-size: 1.2rem;
    }
    .bannerDropDownItem {
      font-size: 1rem;
    }
}

@media only screen and (max-height: 600px) {
    .bannerText {
      font-size: 1.2rem;
      padding-top: 0.3rem;
      padding-bottom: 0.3rem;
    }
    .bannerDropDownItem {
      font-size: 1rem;
    }
}

.bannerDropDownItem {
  color: white;
  position: relative;
}

.bannerDropDownItem:hover {
  color: black;
  background-color: white;
}

#logo {
    height: 60px;
    width: 60px;
    vertical-align: middle;
    padding: 1px;
}

#application_title {
    vertical-align: middle;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bolder;
}

.nav_link {
    color: white;
    text-decoration: none;
    padding: 10px;
    font-size: 16px;
    vertical-align: middle;
}

.nav-item {
    align-content: center;
    max-width: 300px;
    padding-top: 5px; padding-bottom: 5px;
    font-size: 16px;
}

#navbarDropdownMenuLink  {
    color: white;
    text-decoration: none;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 15px;
}

#navigation {
    width: 100%;
}

#searchbar {
    padding-right: 3px;
}

@media only screen and (min-width: 351px) {
  #application_title {
    font-size: 2rem;
  }
}

@media only screen and (min-width: 1301px) {
  #application_title {
    font-size: 2.5rem;
  }
}

@media only screen and (max-width: 350px) {
  #application_title {
    font-size: 1rem;
  }
}

@media only screen and (min-width: 1301px) {
  #navbarDropdownMenuLink, .nav-item, .nav_link {
    font-size: 16px;
  }
}

.footer {
    font-size: 12px;
}

.columnfooter {
    padding: 10px;
}

.avatar {
    vertical-align: middle;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.friends-title {
  background-color:rgb(2, 36, 100);
  color: white;
  padding: 7px;
  border-radius: 15px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.603), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  display: block;
  margin-left: 10px; margin-right: 10px; margin-bottom: 15px;
}

#friends-sticky {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 2px;
    margin-top: 10px;
    margin-bottom: 10px;
    top: 100px;
    overflow: hidden;
    border-radius: 15px;
}

#friends-content {
    height: 75vh;
}

#friends-content a {
  margin-left: 2px;
  margin-right: 4px;
  font-size: 16px;
  color:darkblue;
  display: block;
  text-decoration: none;
}

.friends-table-row {
  background-color: #ddd;
  border: #c5bb96;
  border-inline-end: #c5bb96;
  margin-left: 1px; 
  margin-right: 1px; 
  padding-top: 2px; 
  padding-bottom: 2px; 
  width: 100%; 
  margin-bottom: 3px; 
  border-radius: 7px;
}

.friends-table-row:hover {
  background-color: #c5bb96;
}

.friends-online-status {
  font-size:18px; 
  margin: 0; 
  position: absolute; 
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%);
}

@media only screen and (min-width: 1011px) {
    .friends {
      width: 30%;
    }
    .demos {
        width: 70%
    }
}

@media only screen and (max-width: 1010px) {
    .friends {
      width: 100%;
    }
    .demos {
        width: 100%;
    }
}

.dm-button {
  border: 0cap;
  background-color: inherit;
}

.dm-button:hover {
  background-color: #b7ffb4;
}

.calendar {
  width: 100%;
  margin: auto;
  font-size: 12px;
  font-family: Verdana, sans-serif;
}

.month {
  background-color:rgb(2, 36, 100);
  color: white;
}

.mon, .tue, .wed, .thu, .fri, .sat, .sun {
  background-color:#ddd;
}

.calendar tr, .calendar td {
  border: 1px solid black;
}

.calendar th {
  padding: 5px;
  text-align: center;
  
}

.calendar td {
  width: 14%;
  height: 100px;
  padding: 2px 2px 2px 2px;
  background-color: white;
  vertical-align: top;
}

.date {
  background: #eee;
}

.calendar ul {
  padding: 2px;
  margin-bottom:0
}

.calendar li {
  font-size: 10px;
  list-style-type: none;
  background-color: #c4fcc7;
  margin-bottom: 1px;
}

.calendar li:hover {
  background-color: #abdaae;
}

.calendar li:nth-child(odd) {
  font-size: 10px;
  list-style-type: none;
  background-color: #f1e4b6;
  margin-bottom: 1px;
}

.calendar li:nth-child(odd):hover {
  background-color: #c5bb96;
}

.calendar a {
  color: #000000;
  text-decoration: none;
}

@media screen and (min-width: 1401px) {
  .month {font-size: 26px;}
  .mon, .tue, .wed, .thu, .fri, .sat, .sun {font-size: 20px;} 
  .date, .profileTitle {font-size: 16px;}
}

@media screen and (max-width: 1400px) {
  .month {font-size: 20px;}
  .mon, .tue, .wed, .thu, .fri, .sat, .sun {font-size: 16px;} 
  .date, .profileTitle {font-size: 14px;}
}

@media screen and (max-width: 700px) {
  .month {font-size: 16px;}
  .mon, .tue, .wed, .thu, .fri, .sat {font-size: 13px;} 
  .date, .profileTitle {font-size: 12px;}
}

.left {
  float: left;
}

.right {
  float: right;
}

@media only screen and (min-width: 1171px) {
  .chat_column {
    width: 40%;
  }
  .calendar_column {
      width: 60%
  }
}

@media only screen and (max-width: 1170px) {
  .chat_column {
    width: 100%;
  }
  .calendar_column {
      width: 100%;
  }
}

.content {
    padding-left: 10px;
    float: left;
}

.demo-title {
  background-color:rgb(2, 36, 100);
  color: white;
  padding: 5px;
  border-radius: 15px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.603), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.demo-title:hover {
  background-color:rgb(51, 85, 148);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }
    80% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }
    90% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.normalbutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none;
  box-shadow: 6px 6px 12px rgba(0,0,0,.64);
  transition: all 0.3s ease-in-out 0s;
  outline: none;
  position: relative;
  }

.ringbutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none;
  box-shadow: 6px 6px 12px rgba(0,0,0,.64);
  transition: all 0.3s ease-in-out 0s;
  outline: none;
  position: relative;
  }

.ringbutton::before {
  content: '';
  border-radius: 1000px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all .3s ease-in-out 0s;
}

.ringbutton::after {
  content: '';
  width: 30px; height: 30px;
  border-radius: 100%;
  border: 6px solid #5cb85c;
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ring 1.5s infinite;
}

@keyframes ring {
  0% {
    width: 10px;
    height: 10px;
    opacity: 1;
  }
  100% {
    width: 120px;
    height: 120px;
    opacity: 0;
  }
}

#demoVideo {
    border-radius: 15px;
    border-style: ridge;
    aspect-ratio: 3/2;
    background-color: black;
}

.demoVideo-column {
  min-width: 300px;
  max-width: 600px;
}

.missingVideoText {
  background-color:rgb(2, 36, 100, 0.9);
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  padding: 0.7rem;
  border-radius: 10px;
  border-color: #ffffff;
  border-style: groove;
  border-width: 1px;
  width:max-content;
  max-width: 75%;
  font-size: 14px;
}

.comment_avatar {
  vertical-align: middle;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

.comment-box {
  border-radius: 15px; 
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.comment-box::after {
	content: "";
	position: absolute;
	height: 20px;
	width: 3%;
	top: -20px;
	right: 90%;
	background-color: #ffffff;
	clip-path: polygon(0 100%, 100% 100%, 0 0);
}

.charts_avatar {
  vertical-align: middle;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

#likes01 {font-size:18px; color:royalblue; display: inline-block;}
#likes02 {font-size:16px; font-weight: normal; color:black;}
#favourites01 {font-size:18px; color:red; display: inline-block;}
#favourites02 {font-size:16px; font-weight: normal; color:black;}
#rating01 {font-size:18px; color:rgb(255, 187, 0); display: inline-block;}
#rating02 {font-size:16px; font-weight: normal; color:black;}

.badge-like {
  background-color:royalblue;
  display: inline-block;
}

.badge-favourite {
  display: inline-block;
}

.badge-rating {
  color: black;
  background-color:rgb(255, 187, 0); 
  display: inline-block;
}

.badge-box {
  font-size: 1em;
}

.badge-container {
  container-type: inline-size;
  container-name: badges-container;
}

@container badges-container (width < 120px) {
  .badge-box {font-size: 0.8em;}
  #likes01 {font-size:14px;}
  #likes02 {font-size:12px;}
  #favourites01 {font-size:14px;}
  #favourites02 {font-size:12px;}
  #rating01 {font-size:14px;}
  #rating02 {font-size:12px;}
}

@container badges-container (width < 100px) {
  .badge-box {font-size: 0.6em;}
  #likes01 {font-size:12px;}
  #likes02 {font-size:10px;}
  #favourites01 {font-size:12px;}
  #favourites02 {font-size:10px;}
  #rating01 {font-size:12px;}
  #rating02 {font-size:10px;}
}

.badge-container1 {
  container-type: inline-size;
  container-name: badges-container1;
}

@container badges-container1 (width < 180px) {
  .views02 {font-size:12px;}
  .charts_avatar {width: 17px; height: 17px;}
}

@container badges-container1 (width < 140px) {
  .views02 {font-size:10px;}
  .charts_avatar {width: 15px; height: 15px;}
}

.chartsImage {
  aspect-ratio: 1/1;
  max-width: 1000px;
  background-position: center;
  background-size:cover;
  position: relative;
  margin: 10px;
  border-radius: 15px;
}

.chartsText {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  width: 95%;
  max-width: 800px;
}

.chat-container {
  max-width: 600px;
  margin: 25px auto;
  margin-top: 0px;
  background-color: #fff;
  border-radius: 8px;
  overflow-y: auto;
  overflow-x: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.message-container {
  display: flex;
  flex-direction: column;
}

.message {
  padding: 5px;
  margin: 2px;
  border-radius: 5px;
  max-width: 80%;
  align-items: center;
  text-align: left;
  font-size: 13px;
}

.sender-message {
  background-color: #e0e0e0;
  color: #000;
  align-self: flex-start;
}

.receiver-message {
  background-color: #458047;
  color: #FFF;
  align-self: flex-end;
}

.message-avatar {
  vertical-align: middle;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

#chat-sticky {
  padding: 10px;
  padding-top: 0px;
  margin-top: 10px;
  margin-bottom: 10px;
  top: 100px;
  overflow: hidden;
  border-radius: 15px;
}

#chat-content {
  height: 75vh;
}

@media only screen and (max-width: 991px) {
  .emoji-mart-button {
    display:none;
  }
}

@media only screen and (min-width: 992px) {
  .emoji-mart-button {
    display:block;
  }
}

@media only screen and (max-width: 600px) {
  .message {
    font-size: 11px;
  }
}

@media only screen and (min-width: 811px) {
  .about-column {
      width: 50%
  }
  .about-image {
    max-width:95%;
    padding: 2px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 50%;
    border-style: ridge;
  }
  .about-text {
    max-width:100%;
    text-align: justify;
    padding: 5px;
  }
}

@media only screen and (max-width: 810px) {
  .about-column {
    width: 100%;
  }
  .about-image {
    max-width:95%;
    padding: 2px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 50%;
    border-style: ridge;
  }
  .about-text {
    max-width:100%;
    text-align: justify;
    padding: 5px;
  }
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media only screen and (min-width: 401px) {
    .table-cell {
      min-width: 280px;;
    }
}

@media only screen and (max-width: 400px) {
    .table-cell {
      min-width: 200px;
    }
}

.profile-title {
  font-size: 24px;
  background-color:rgb(2, 36, 100);
  color: white;
  padding: 7px;
  border-radius: 15px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.603), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-left: 10px; margin-right: 10px; margin-bottom: 15px; margin-top: 30px;
}

.profile-title:hover {
  background-color:rgb(51, 85, 148);
}

.profileSelectButton {
  background-color: rgb(2, 36, 100, 1);
  padding-top: 5px;
  color: #ffffff;
  margin:5px;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-style: groove;
  border-width: 2px;
  border-radius: 10px;
  text-align: center;
  min-height: 35px;
}

.profileSelectButton:hover{
  cursor: pointer;
  background-color:rgb(1, 43, 121);
}

.BGswitch {
  background: #dedede;
  background: radial-gradient(circle,rgba(222, 222, 222, 1) 0%, rgba(204, 204, 204, 1) 50%, rgba(176, 176, 176, 1) 100%);
  font-size: 12px;
  width: 45px;
}

.joystickCentreButton:hover{
    fill:lightcoral;
    stroke:black;
    cursor: pointer;
}

.joystickButton {
  user-select: none;
  pointer-events: none;
}

#joystickButtonClick-001:hover + #joystickButton-001{
    fill:lawngreen;
    stroke:black;
    cursor: pointer;
}

#joystickButtonClick-002:hover + #joystickButton-002{
    fill:lawngreen;
    stroke:black;
    cursor: pointer;
}

#joystickButtonClick-003:hover + #joystickButton-003{
    fill:lawngreen;
    stroke:black;
    cursor: pointer;
}

#joystickButtonClick-004:hover + #joystickButton-004{
    fill:lawngreen;
    stroke:black;
    cursor: pointer;
}

#joystickButtonClick-011:hover + #joystickButton-011{
    fill:lawngreen;
    stroke:black;
    cursor: pointer;
}

#joystickButtonClick-012:hover + #joystickButton-012{
    fill:lawngreen;
    stroke:black;
    cursor: pointer;
}

#joystickButtonClick-013:hover + #joystickButton-013{
    fill:lawngreen;
    stroke:black;
    cursor: pointer;
}

#joystickButtonClick-014:hover + #joystickButton-014{
    fill:lawngreen;
    stroke:black;
    cursor: pointer;
}

.switchButtonRed {
color: white;
padding-bottom: 7px;
padding-top: 7px;
border-radius : 7px;
font-size: 16px;
width: 35px;
background-color: #DC3545
}

.switchButtonGreen {
color: white;
padding-bottom: 7px;
padding-top: 7px;
border-radius : 7px;
font-size: 16px;
width: 35px;
background-color: #44B144
}

.switchButtonRed:active, .switchButtonGreen:active {
    box-shadow: 0 0 0 black;
    margin: 3px 0 0 0 ;
}

.switchButtonRed:hover {
    background-color: #b12b38;
}

.switchButtonGreen:hover {
    background-color: #428042;
}

#JoypadButtonSelect001 {
  position: absolute;
  z-index: 100;
  top: calc(0% - 55px);
  left: calc(0% + 50px); 
  transform: translate(-50%, -50%);
  width:100px;
  height:100px;
}

#JoypadButtonSelect002 {
  position: absolute;
  z-index: 100;
  top: calc(0% - 55px); 
  left: calc(100% - 50px);
  transform: translate(-50%, -50%);
  width:100px;
  height:100px;
}

.joypadText {
  pointer-events: none;
  font-size: 11px;
  position: absolute;
  z-index: 100;
  user-select: none;
}

#joypadText001 {
  top: calc(0% - 55px); 
  left: calc(0% + 50px);
  transform: translate(-50%, -50%);
}

#joypadText002 {
  top: calc(0% - 55px); 
  left: calc(100% - 50px);
  transform: translate(-50%, -50%);
}

@media only screen and (min-width: 1001px) {
    #JoypadButtonSelect001, #JoypadButtonSelect002  {
      width:120px;
      height:120px;
      top: calc(0% - 65px);
    }
    .joypadText {
      font-size: 13px;
    }
    #joypadText001, #joypadText002 {
      top: calc(0% - 65px);
    }
}

@media only screen and (min-width: 1201px) {
    #JoypadButtonSelect001 {
      width:120px;
      height:120px;
      top: calc(50% + 0px);
      left: calc(0% - 70px);
    }
    #JoypadButtonSelect002 {
      width:120px;
      height:120px;
      top: calc(50% + 0px);
      left: calc(100% + 70px);
    }
    #joypadText001 {
      top: calc(50% + 0px);
      left: calc(0% - 70px);
    }
    #joypadText002 {
      top: calc(50% + 0px);
      left: calc(100% + 70px);
    }
    .switchButtonRed {
      width: 50px;
      font-size: 18px;
    }
    .switchButtonGreen {
      width: 50px;
      font-size: 18px;
    }
}

.follower-column {
  min-width: 240px;
  max-width: 600px;
}

.follower-text {
  font-size: 18px;
  text-decoration: none; 
  color: darkblue;
}

@media only screen and (max-width: 500px) {
  .follower-text {
    font-size: 16px;
  }
}

@media only screen and (max-width: 350px) {
  .follower-text {
    font-size: 14px;
  }
}

