@font-face {
  font-family: 'Poppins-Bold';
  src: url('assets/fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: #121212;
  font-family: 'Poppins-Bold', sans-serif;
  margin: 0;
  padding: 0;
}

.sidebar {
  width: 60px;
  background-color: #1c1c1c;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.sidebar .logo {
  width: 40px;
  height: 40px;
  margin-bottom: 30px;
  color: #ff4d4d;
  font-size: 24px;
  text-align: center;
}

.sidebar a {
  width: 100%;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease-in-out;
  margin-bottom: 15px;
}

.sidebar a i {
  font-size: 24px;
  display: block;
}

.sidebar .material-icons {
  font-size: 30px;
}

.sidebar a:hover {
  background-color: #ff4d4d;
  border-radius: 20px;
}

.content {
  margin-left: 60px;
  padding: 20px;
  width: calc(100% - 60px);
}

#searchBar {
  width: 80vw;
  max-width: 800px;
  padding: 12px 20px;
  margin: 20px auto;
  display: block;
  font-size: 18px;
  color: #ffffff;
  background-color: #1c1c1c;
  border: 2px solid #545454;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  font-family: 'Poppins-Bold', sans-serif;
  text-align: center;
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#searchBar::placeholder {
  color: #aaa;
}

#searchBar:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
}

.buttons-here {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.center {
  display: flex;
  text-align: center;
  justify-content: center;
}

.imgbutton {
  width: 200px;
  height: 200px;
  border-radius: 15px;
  border: 5px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: all 0.2s ease-in-out;
  position: relative;
  display: inline-block;
  margin: 5px;
}

.imgbutton:hover {
  transform: scale(1.07);
  border-color: white;
  border-radius: 5px;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

iframe {
  position: fixed;
  top: 0;
  left: 60px;
  width: calc(100% - 60px);
  height: 100vh;
  border: none;
}

#uv-form {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%; 
}

#uv-address {
  padding: 15px;
  border: 1px solid #ff4d4d;
  border-radius: 30px;
  font-size: 16px;
  width: 400px;
  background-color: #222;
  color: #ffffff;
  text-align: center;
  transition: box-shadow 0.3s ease-in-out;
  font-family: 'Poppins-Bold', sans-serif;
}

#uv-address::placeholder {
  color: #aaa;
}

#uv-address:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
}

button[type="submit"] {
  background-color: #ff4d4d;
  border: none;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

button[type="submit"]:hover {
  background-color: #e04343;
}

button[type="submit"] img {
  width: 24px;
  height: 24px;
}

h1 {
  font-size: 85px;
  color: #ff4d4d;
  text-align: center;
}


#iframe-section, #favicon-title-section, #keybind-section, #extrasection {
  background-color: #1c1c1c;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  width: 90vw;
}


#iframe-section h2, #favicon-title-section h2, #keybind-section h2, #extrasection h2 {
  color: #ff4d4d;
  margin-bottom: 10px;
  font-size: 24px;
}


#faviconDropdown, #titleDropdown {
  font-family: 'Poppins-Bold';
  background-color: #222;
  color: #ffffff;
  border: 1px solid #ff4d4d;
  border-radius: 30px;
  padding: 10px;
  font-size: 16px;
  width: 300px;
  margin-right: 10px;
}

label[for="faviconDropdown"] {
  color: white;
}

button[type="submit"], #setKeybindBtn, #openIframeBtn {
  font-family: 'Poppins-Bold';
  background-color: #ff4d4d;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  margin-top: 10px;
}

button[type="submit"]:hover, #setKeybindBtn:hover {
  background-color: #e04343;
}

p1 {
  color: white;
}

#splash-text {
  color: white;
  text-align: center;
  font-size: 25px;
}

#customUrl {
  font-family: 'Poppins-Bold';
  background-color: #222;
  color: #ffffff;
  border: 1px solid #ff4d4d;
  border-radius: 30px;
  padding: 10px;
  font-size: 16px;
  width: 300px;
  text-align: center;
}


#keybindStatus {
  color: #ffffff;
  font-size: 16px;
  margin-top: 10px;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #121212;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-spinner {
  width: 60px;
  height: 60px;
  border: 8px solid #fff;
  border-top: 8px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

#loading-screen h1 {
  font-size: 24px;
  font-family: 'Poppins-Bold', sans-serif;
  margin: 0;
}

#provide {
  width: 100%;
  max-width: 400px;
  height: auto;
}