* {
  -webkit-tap-highlight-color: transparent;
}
@font-face {
  font-family: "CoreSans";
  src: url("./Fonts/CoreSansD75Black.woff2") format("woff2"),
    url("./Fonts/CoreSansD75Black.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
html {
  height: 100vh;
  width: 100vw;
}
body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  border: 0px;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 75%;
  margin: 0 auto;
  border: 0px;
  padding: 0;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-top: 10px;
}

.header h1 {
  font-weight: 800;
  font-family: dosis;
  font-size: 35px;
  padding-left: 7.5px;
  padding-right: 3px;
  margin: 0;
  cursor: pointer;
}
.header .summoner {
  height: 60px;
  width: 60px;
  padding: 0%;
  margin: 0%;
  cursor: pointer;
}
.titleimg {
  display: flex;
  align-items: center;
  border-radius: 10px;
  /* background-color: #686fa8;*/
  background-color: transparent;
}
.tabs {
  display: flex;
  margin: 0;
}

.tab-btn {
  border: none;
  outline: none;
  cursor: pointer;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: background-color 0.3s;
  border-radius: 5px;
}

.tab-btn.active {
  background-color: #333;
  color: #fff;
}

.tab-btn:hover {
  background-color: #ddd;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.api-btn {
  background-color: #f1f1f1;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 12px 24px;
  font-family: dosis;
  font-size: 15px;
  color: #333;
  transition: background-color 0.3s;
  display: inline-block;
  margin: 8px;
  border-radius: 3px;
  font-weight: 900;
}

.api-btn:hover {
  background-color: #ddd;
}
.api-data-tab {
  display: flex;
}

#dark-mode-btn {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s;
  position: relative;
  display: flex;
  align-items: center;
  padding-right: 100px;
}
.darkmodeimg {
  position: absolute;
  width: 60px;
  height: 60px;
  filter: invert(1);
}
.lightmodeimg {
  position: absolute;
  width: 48px;
  height: 48px;
}
.buttondivider {
  border-radius: 4px;
  padding-top: 7.5px;
  padding-bottom: 7.5px;
  padding-left: 15px;
  padding-right: 15px;
  font-family: dosis;
  font-weight: 700;
  display: inline-block;
  font-size: 18px;
}
.light-mode {
  background-color: #bbc8ca;
}

.light-mode .tab-btn {
  background-color: #abd1b5;
  color: #44442d;
  font-weight: 500;
}

.light-mode .tab-btn.active {
  background-color: #79b791;
  color: #f5f5dc;
  font-weight: 600;
}

.light-mode .api-btn {
  background-color: #c7ffed;
}
.light-mode .darkmodeimg {
  display: none;
}
.light-mode .lightmodeimg {
  display: block;
}
.light-mode .header h1 {
  color: #ff0000;
}
.light-mode .buttondivider {
  background-color: #92ecaa;
  color: red;
}
.light-mode .api-btn:hover {
  box-shadow: 0px 0px 10px #888888;
}

.dark-mode {
  background-color: #4b4e6d;
}

.dark-mode .tab-btn {
  background-color: #787a8a;
  color: rgb(255, 251, 0);
  font-weight: 500;
}

.dark-mode .tab-btn.active {
  background-color: rgb(255, 191, 73);
  color: #4b4e6d;
  font-weight: 600;
}

.dark-mode .api-btn {
  background-color: rgb(79, 169, 118);
  color: #f5f5dc;
}
.dark-mode .api-btn:hover {
  box-shadow: 0px 0px 10px #888888;
}
.dark-mode .lightmodeimg {
  display: none;
}
.dark-mode .darkmodeimg {
  display: block;
}
.dark-mode .header h1 {
  color: rgb(255, 251, 0);
}
.dark-mode .buttondivider {
  background-color: #787a8a;
  color: rgb(255, 251, 0);
}

@media screen and (max-width: 768px) {
  .container {
    max-width: 98%;
    margin: 0 auto;
  }
  #dark-mode-btn {
    padding-right: 15%;
  }
}
@media screen and (max-width: 400px) {
  .header h1 {
    display: none;
  }
  #dark-mode-btn {
    padding-right: 4%;
  }
  .tabs {
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 767px) {
  body {
    max-width: 100%;
  }
}

.tabs {
  display: flex;
  margin-bottom: 32px;
}

.custom-select {
  -webkit-appearance: button;
  -moz-appearance: button;
  -webkit-user-select: none;
  -moz-user-select: none;
  -webkit-padding-end: 20px;
  -moz-padding-end: 20px;
  -webkit-padding-start: 2px;
  -moz-padding-start: 2px;
  background-color: rgb(
    254,
    219,
    155
  ); /* Fallback color if gradients are not supported */
  background-image: url(../images/select-arrow.png),
    -webkit-linear-gradient(top, #e5e5e5, #f4f4f4); /* For Chrome and Safari */
  background-image: url(../images/select-arrow.png),
    -moz-linear-gradient(top, #e5e5e5, #f4f4f4); /* For old Firefox (3.6 to 15) */
  background-image: url(../images/select-arrow.png),
    -ms-linear-gradient(top, #e5e5e5, #f4f4f4); /* For pre-releases of Internet Explorer  10*/
  background-image: url(../images/select-arrow.png),
    -o-linear-gradient(top, #e5e5e5, #f4f4f4); /* For old Opera (11.1 to 12.0) */
  background-image: url(../images/select-arrow.png),
    linear-gradient(to bottom, #e5e5e5, #f4f4f4); /* Standard syntax; must be last */
  background-position: center right;
  background-repeat: no-repeat;
  border: 1px solid #aaa;
  border-radius: 2px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  color: #555;
  font-size: inherit;
  margin: 0;
  overflow: hidden;
  padding-top: 2px;
  padding-bottom: 2px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
