body {
  font-family: 'poppins', sans-serif !important;
  overflow-y:hidden;
}

.scroll4::-webkit-scrollbar {
  width: .33vw;
}
 
.scroll4::-webkit-scrollbar-thumb {
  background: silver;
  border-radius: 20px;
  opacity: .1;
}

.scroll4::-webkit-scrollbar-track {
  background: slategray;
  border-radius: 20px;
}

#counterNumber {
  color:red;
}

#error {
  display:none;
}

span {
  display: inline;
}
.aff-input {
  width: 100%;
  margin-bottom: 0px;
}

.aff-input:focus{
outline: solid 2px #2c699a;}

.form {
	padding: 15px 15px 15px 18px;
	border-bottom: solid 0px gray;
	
}

.after-form {
  padding-top: 20px;
}

.add-button{
	background-color:#2c699a;
	border-color:#2c699a;
	color: white;
  float:right;
}

.leaderboard {
    position: absolute;
	display:none;
    bottom: 1px;
    right: 315px;
}

.rectangle1 {
    position:absolute;
	display:none;
    right:5px;
    bottom:260px;
}

.rectangle2 {
    position:absolute;
	display:none;
    bottom:1px;
    right:5px;
}

.affren {
	border-bottom: solid 1px white;
	padding: 5px 5px 5px 0;
	line-height:1.5;
  color:white;
}

.affren:hover {
  background-color: #2c699a;
}



li {
margin-right: 12px;}

.delete-button{
position:absolute;
right:4%;
font-size: 1vw;
margin-bottom: 5px;
background-color:transparent;
border-color:transparent;
color: red;
font-style:bold;
}

#display-aff{
	 position:static;
	 text-align: center;
	 margin-right:300px;
	 margin-left:300px;
	 margin-top: 0px;
	 margin-bottom: 110px;
	 color:white;
	 font-size: 4.5vw;
	 font-weight: bold;
	 max-height:10%;
 }

#wrapper {
  padding-left: 50px;
  transition: all 0.5s ease;
  
}

#wrapper.toggled {
  padding-left: 250px;
}

#settings-button {
    font-size: 1.5vh;
    background-color: #131417;
    color: white;
    border-radius: 5px;
}

.info-box {
  position:absolute;
  bottom:0;
  left:0;
  height:15%;
  padding: 5px 5px 5px 20px;
  background: #131417;
  color:white;
  width: 400px;
  border-right:solid 1px white;
  display:none;
}

#sidebar-wrapper {
  z-index: 1003;
  position: fixed;
  /*left: -200px;*/
  width: 400px;
  height: 85%;
  overflow-y: auto;
  background: #131417;
  padding: 5px;
  transition: all 0.5s ease;
  display:none;
  border-right: solid 1px white;
}
#wrapper.toggled #sidebar-wrapper {
  left: -300px;
  margin-left: 300px;
}

#page-content-wrapper {
  width: 100%;
  padding: 15px;
}
#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -50px;
}

/* Sidebar Styles */

.sidebar {
  margin: 0;
  padding: 0;
  color:white;
}
.sidebar li.title {
  letter-spacing: 0.01em;
  font-size: 2rem;
  line-height: 4.2rem;
  color:white;
}
.sidebar ul {
  margin: 0;
  padding-left: 20px;
  list-style: none;
}
.sidebar ul li {
  display: block;
}
.sidebar ul li a {
  display: block;
  position: relative;
  text-decoration: none;
  color: #fff;
}
.sidebar ul li a [class*="icon"] {
  margin-right: 5px;
}
.sidebar ul li a#main-toggle:after,
.sidebar ul li a.dropdown-toggle:after {
  right: 5px;
  bottom: 5px;
}

#main-toggle {
  color:white;
}
.sidebar .sidebar__main {
    border-bottom: 0px solid gray;
}
.sidebar .sidebar__toggled {
  font-size: 2.5vh;
  padding-bottom: 5%;
}
.sidebar ul li.title,
.sidebar .sidebar__main--brand a {
    color: #fff;
}

.dropdown-toggle {
  padding-right: 20px;
}
#main-toggle:after,
.dropdown-toggle:after {
  font-size: 1vw;
  position: absolute;
  right:4%;
  top: 4%;
  font-style:bold;
  content: "X";
  color:red;
}

.sidebar__toggled {
  border-bottom: 0px solid gray;
}
#main-toggle:after {
  font-size: 1vw;
  position: absolute;
  right:4%;
  top: 4%;
  font-style:bold;
  content: "X";
  color:red;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 250px;
    }

    #wrapper.toggled {
        padding-left: 50px;
    }

    #sidebar-wrapper {
      left: 250px;
      margin-left: -250px;
    }

    #wrapper.toggled #sidebar-wrapper {
      left: -250px;
      margin-left: 0;
    }

    #page-content-wrapper {
        padding: 20px;
    }
    
    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 50px;
    }
}

.notice-container {
    position: fixed;
    top: 60px;
    left: 20px;
    background-color: #131417;
    color: white;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid white;
    width: 300px;
    display: none;
    z-index: 1000;
}

.notice-content {
    position: relative;
}

.notice-close {
    position: absolute;
    right: 0;
    top: -10px;
    font-size: 20px;
    cursor: pointer;
    color: #ff4444;
}

.notice-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.notice-content p {
    margin: 0;
    font-size: 14px;
}

.button-container {
    position: fixed;
    top: 1%;
    left: 1%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1002;
}

#settings-button, #help-button {
    font-size: 1.5vh;
    background-color: #131417;
    color: white;
    border-radius: 5px;
    margin: 0;
    padding: 5px 15px;
}

.notice-container {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.notice-content {
    background-color: #131417;
    color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid white;
    width: 80%;
    max-width: 500px;
    position: relative;
}

.notice-close {
    color: red;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.help-wrapper {
    z-index: 1003;
    position: fixed;
    left: 0;
    top: 0;
    width: 400px;
    height: 100%;
    overflow-y: auto;
    background: #131417;
    padding: 5px;
    transition: all 0.5s ease;
    display: none;
    border-right: solid 1px white;
    color: white;
}

.help-content {
    padding: 20px;
}

.help-toggle {
    color: white;
    font-size: 2.5vh;
    text-decoration: none;
}

.help-toggle:after {
    font-size: 1vw;
    position: absolute;
    right: 4%;
    top: 4%;
    font-style: bold;
    content: "X";
    color: red;
}

.help-wrapper .sidebar__toggled {
    padding-bottom: 5%;
    border-bottom: 0px solid gray;
}