@import "/styles/navbar.css";
@import "/styles/search.css";
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css";

:root {
  --primary-color: #098fe2;
  --secondary-color: #F7941D;
  --background-color: #f9f9f9;
  --text-color: black;
}

.title {
  background-image: linear-gradient(135deg, #098fe2 50%, #F7941D 50%);
  color: black;
  border-radius: 15px;
  padding: 16px;
  margin-bottom: 20px;
  margin-top: 100px;

}

body {
  background-image: url("wallpaper.png");
  background-size: cover;
  background-attachment: fixed;
  color: black;
  font-family: Sans-serif;
  margin: 0;
  z-index: 1;
  padding: 0;
  font-size: 20px;
  text-align: center;
  line-height: 1.6;
}

/* Images */
.logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  margin-left: 10px;
  background-color: #098fe2;
  float : left;
  vertical-align: middle;
  margin-top: 5px;
  background: transparent;
}

img {
  float:right;
  border-radius: 10px;
}
img:not(.logo):not(.night-mode img) {
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 150px;
  margin-bottom: 20px;

}

img:hover:not(.logo):not(.night-mode img):not(.fullscreen-img):not(.img-404):not(.social-logo img) {
  transform: scale(1.05);
  transition: transform 0.3s;
  width: auto;
  height: auto;
}
.fullscreen-img {
  position: fixed;
  top: 125px;
  left: 125px;
  width: calc(100vw - 250px);
  height: calc(100vh - 250px);
  object-fit: contain;
  background: black;
  z-index: 9999;
  max-width: none !important;
  max-height: none !important;
}

.img-left {
  float:left;
  border-radius: 10px;
}
/*Formatting*/


/*List*/

ul {
  list-style-position: inside;
  padding: 0;
  text-align: center;
}

/*Code*/

pre {
  display: inline-block;
  text-align: left;
  background-color: rgba(244, 244, 244, 0.9);
  padding: 15px;
  border-radius: 5px;
  font-family: monospace;
  border: 1px solid #ccc;
  color: black;
}

/*Link class (Temporarily disabled)

.link {
  display: inline-block;
  margin-bottom: 40px;
}

*/
/*Links*/

a {
  color: #098fe2;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

/*Header styles*/
h1{
font-size: 50px;

}
h2 {
font-size: 30px;
}
/*Text inside of body paragraph*/
p {
  margin-left: 175px;
  margin-right: 175px;
}
/*Dark mode*/
.night-mode {
  background-color: transparent;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  display: inline-block;
  vertical-align: middle;
  margin-top: 5px;
}

.night-mode:hover {
  background-color: rgba(0, 0, 0, 0.2);
  cursor: pointer;  
}

/*Dark mode image*/
.night-mode img {
  width: 30px;
  height: 30px;;
  
}
/*Replaces certain properties for the ".body" class for dark mode*/
.dark-modejs {
  background-image:url(wallpaper-dark.png);
  color: white;
}

/*I'm feeling lucky*/
.search-lucky-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 20px auto;
}

.body-search-wrapper {
  position: relative;
  margin: 0;
  width: 300px;
}

#lucky {
 height: 42px;
 border:none;
 border-radius: 6px;
 width: 75px;
 color:#8e8e8e;
 background-color: white;
} 
#lucky:hover {
  background-color: #ddd;
}

.support-form {
  border: none;
  border-radius: 15px;
  height: 100%;
  width:640px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


.copy-link:hover{
    cursor: pointer;
}
/*Side Notes / Important STILL TESTING*/

/*
.side-note {
  background: rgba(255, 51, 51);
  height:auto;
   text-align:center;
  align-content: center;
   width:auto;
   font-size: 20px;
   float:right;
 border-radius:10px;
 white-space: wrap;
   overflow: hidden;
font-weight: normal;
margin-left: 10px;
margin-right: 20px;
color:black;
            }
*/


/*Social media icon logos, discord*/
.social-logo {
  display: inline-block;
  line-height: 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  vertical-align: middle;
  margin-left: 4px;
  margin-right: 4px;
  z-index: 1000;
  background-color: transparent;
  margin-top: 5px;
  background-image: url("images/discord-symbol.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.social-logo img {
  display: none;
}

.social-logo:hover {

  background-color: rgba(0, 0, 0, 0.2);


}

.navbar button:not(.night-mode) {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.fa-search {
  background-color: transparent;
  margin-top: 5px;
  margin-left: 0;
  margin-right: 0;
  z-index: 1000;
  display: none;
  vertical-align: middle;
  font-size: 30px;
  position: absolute;
}

/* Mobile */
@media screen and (max-width: 768px) 
{
  p {
  margin-left: 0px;
  margin-right: 0px;
}

.navbar {
  width: 95%;
}
.support-form {
  width: 100%;
   height: 100%;
  border-radius: 15px;


}
body {
     font-size: 18px;
}

.fa {
 display:none;
}
.title {
  padding:3px; 
}

  .fa-search {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin-right: 10px;
  }

}
/*Mobile Ends*/