
 body {
    background-color: #f0f0f0;
    font-family: Calibri, sans-serif;
}

 @media only screen and (min-width: 868px) {
    .container {
        max-width: 868px;
        margin: 0 auto;
        padding: 20px;
        box-sizing: border-box;
    }
}

.social-links {
            margin-top: 40px;
            text-align: center;
        }
        .social-links a {
            margin: 0 5px;
            font-size: 20px;
            font-weight: bold;
            color: #666;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .social-links a:hover {
            color: #4CAF50;
        }


body, header {
  margin: 0;
  padding: 0;
}

.navbar {
  background: linear-gradient(to right, orange, blue, green, orange);
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 20px 0;
  margin: 0;
}

.navbar .nav-link {
  margin-right: 20px;
  color: #fff;
  font-weight: bold;
  font-family: Calibri, sans-serif;
  font-size: 20px;
  text-decoration: none;
}

.search-container-desktop {
  display: flex;
  align-items: center;
  margin-right: auto;
  margin-left: 20px;
}

#search-input-desktop {
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  width: 200px;
  transition: box-shadow 00.5s;
  outline: none;
}

#search-input-desktop:focus {
  box-shadow: 0 0 10px green, 0 0 20px yellow, 0 0 30px pink;
}

#search-btn-desktop {
  padding: 10px;
  border: none;
  border-radius: 0 5px 5px 0;
  background-color: #fff;
  cursor: pointer;
}

.search-container-mobile {
  display: none;
  margin: 20px;
  justify-content: center;
}

#search-input-mobile {
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  width: 90vw;
  transition: box-shadow 0.5s;
  outline: none;
}

#search-input-mobile:focus {
  box-shadow: 0 0 10px green, 0 0 20px yellow, 0 0 30px pink;
}

#search-btn-mobile {
  padding: 10px;
  border: none;
  border-radius: 0 5px 5px 0;
  background-color: #fff;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #87CEEB;
  border-radius: 5px;
  width: 80%;
  height: 90vh;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

#close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

#close-modal:hover,
#close-modal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.search-result-item {
  border-bottom: 1px dotted #87CEEB;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item a {
  text-decoration: none;
  color: blue; 
  font-size: 18px;
  font-family: Calibri, sans-serif;
  font-weight: 300;
}

.pagination {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: #ADD8E6;
  padding: 5px;
  border-radius: 5px;
}

.pagination button {
  margin: 0 5px;
}

@media only screen and (min-width: 768px) {
  .navbar {
    justify-content: flex-end;
  }
  .search-container-desktop {
    display: flex;
  }
  .search-container-mobile {
    display: none;
  }
  .modal-content {
    width: 700px;
    height: 80vh;
  }
}

@media only screen and (max-width: 767px) {
  .search-container-desktop {
    display: none;
  }
  .search-container-mobile {
    display: flex;
  }
  .modal-content {
    width: 80vw;
    height: 85vh;
  }
}





/* footer */
  
.nav-links {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.nav-links a {
  margin: 0 20px;
  text-decoration: none;
  font-size: 18px;
}

.footer .nav-links a.RANKED {
  color: #800080  !important; /* pink */
}

.footer .nav-links a.UPDATES {
  color: #800080  !important; /* red */
}

.footer .nav-links a.UPLOAD {
  color: #800080 !important; /* purple */
}

.social-links {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.social-links a {
  color: #000;
  margin: 0 15px;
  font-size: 24px;
}

.footer {
  text-align: center;
}