body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--back-color-light);
  color: var(--color-light);
  height: 100vh;
  /* overflow: hidden; */
}
* {
  transition: 0.3s;
}
:root {
  --back-color-light: white;
  --color-light: black;
  --back-color-dark: black;
  --color-dark: white;
}
nav {
  position: fixed;
  top: 0;
  /* margin-bottom: 100px; */
  width: 100%;
  height: 8vh;
  box-shadow: 0 0 10px gray;
  box-sizing: border-box;
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  justify-items: center;
  justify-self: center;
}
nav main {
  margin: 10px;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
  /* border: 2px solid black; */

  justify-items: center;
}
.MoreButton {
  border: 0px;
  background-color: #ffffff00;
  float: right;
  margin: 20px;
  color: rgb(255, 120, 120);
}
nav div {
  /* border: 2px solid red; */
  display: flex;
  flex-flow: row;
  justify-content: center;
  margin-bottom: 10px;
  /* justify-items: center; */
  justify-self: center;
}
.type {
  background-color: pink;
  padding: 5px;
  border-radius: 10px;
  color: black;
}
.theme {
  width: 40px;
  height: 40px;
  margin-top: 10px;
  /* border: 2px solid black; */
  justify-self: center;
  padding-bottom: 4px;
}
nav > main > div > a {
  font-weight: bold;
}
nav * {
  margin: 10px;
}
.entry-block:last-child {
  margin-bottom: 0 !important;
}
.entry-block {
  box-shadow: 0 4px 10px rgb(0 0 0/5%);
  border-radius: 8px;
  padding: 15px;
  background: #fff;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}
.entry-content {
  max-width: 750px;
  margin: 0 auto;
}
.entry-content {
  max-width: 720px;
  margin: 0 auto;
}

*,
*:before,
*:after {
  -webkit-tap-highlight-color: transparent;
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}
.app-name {
  display: flex;
  flex-flow: column;
  width: 60%;
  justify-content: space-around;
  height: 100%;
  /* border: 2px solid red; */

  font-size: medium;
  text-align: center;
  /* color: var(--color-dark); */
  text-decoration: none;
}
a {
  text-decoration: none;
}
.space {
  padding: 20px;
}
.flex-container,
.appsContainer,
.gamesContainer {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  margin-left: 0px;
  /* height: 100vh; */
  /* overflow-y: scroll; */
}

.title-article {
  font-size: x-large;
  /* color: ; */
  margin-inline: 20px;
}
.flex-article {
  /* width: 180px;
  height: 200px; */
  border: 2px solid rgb(214, 192, 255);
  border-radius: 20px;
  display: flex;
  flex-flow: row wrap;
  width: 180px;

  margin: 10px;
}
.flex-article > img {
  width: 60px;
  height: 60px;
  border-radius: 20px;
}
.flex-article button {
  width: 60px;
  height: 70px;
  background-color: #00ff9b;
}

/* Common styles for all articles */
.flex-article {
  /* margin-right: 10px; */
  overflow: hidden;
}

/* Styles for the main container */

/* Margin-bottom for the main containers */
.margin-bottom-15 {
  margin-bottom: 15px;
}

/* Styles for the app container */
.app {
  width: 180px;
  height: 200px;
  margin: 0 auto;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 8px;
  transition: transform 0.2s ease-in-out;
}

/* Hover effect for app container */
.app:hover {
  transform: scale(1.05);
}

/* Styles for the app icon */
.app-icon img {
  border-radius: 50%;
}
#selectedArticleContainer {
  display: none;
}
/* Truncate text with ellipsis for app-name and app-tags */
.app-name,
.app-tags {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Additional styles for the has-normal-font-size, no-margin, no-padding, truncate classes */

p {
  margin-top: 15px;
}
/* section{
  overflow: scroll;
} */

.selected-article {
  display: flex;
  flex-flow: column;
  justify-content: space-around;
  justify-items: center;
  margin: 0 auto;
  background-color: var(--back-color-light);
  color: var(--color-light);
  width: 100%;
  height: 100%;
  text-align: center;
  box-shadow: 0 0 50px var(--color-light);
  border-radius: 30px;
}
.selected-article a {
  background-color: #00ff9b;
  color: black;
  padding: 7px;
  border-radius: 10px;
  margin: 30px;
}

.conDiv {
  position: absolute;
  border-radius: 20px;
  min-height: 70%;
  min-width: 70%;
  box-sizing: border-box;
  z-index: 9999;
  left: 70px;
  right: 70px;
  top: 70px;
  bottom: 70px;
}
.close {
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: red;
  color: #fff;
  font-size: xx-large;
  padding: 5px;
  padding-left: 10px;
  border-radius: 0 20px 0 0;
  border: 0;
  float: right;
}
.selected-article > * {
  margin: 0 auto;
}
.selected-article > .app-icon {
  width: 140px;
  height: 140px;
  /* border: 2px solid black; */
}
.selected-article img {
  width: 140px;
  height: 140px;
}
@media only screen and (max-width: 750px) {
  .flex-container,
  .gamesContainer,
  .appsContainer,
  .flex-article {
    flex-flow: column;
    width: 99%;
  }
  .app {
    width: 100%;
    height: 90px;
    border: 1px solid red;
    flex-flow: row;
    justify-content: space-between;
  }
  .app > * {
    margin-inline: 20px;
  }
}

.signin-container {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.signin-form {
  display: flex;
  flex-direction: column;
}

.signin-container h2 {
  text-align: center;
  color: #333;
}

.signin-container label,
.modal label {
  margin-top: 10px;
  color: #555;
}

.signin-container input,
.modal input {
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.signin-container button,
.modal button {
  background-color: #3498db;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}

.signin-container button:hover {
  background-color: #2980b9;
}
.addContainer {
  text-align: center;
  margin-top: 20px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal .modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.modal .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modal .close:hover,
.modal .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
