@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

:root {
  /* --background-color: #F2F2F2;
  --quote-card-color: #ddd;
  --font-color: #0f0f0f;
  --accent-color: #403f3f; */
  --background-color: #222;
  --quote-card-color: #222;
  --font-color: #0f0f0f;
  --accent-color: #403f3f;
  --links-font-color: white;
  --modal-bg-color: rgba(0, 0, 0, 0.75);

  font-size: 10px;
}

::selection {
  background-color: cornflowerblue;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

img {
  user-select: none;
}

body {
  background-color: #222;
  color: #f2f2f2;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-wrapper {
  max-width: 850px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

nav {
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
}

a {
  color: var(--links-font-color);
  display: inline-block;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 10px;
  border-radius: 5px;
  transition: background-color ease 1000ms, color ease 1000ms;
}

a:hover {
  text-decoration: underline;
  background-color: white;
  color: var(--font-color);
}

a.active {
  background-color: white;
  color: var(--font-color);
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

input.search:hover,
input.search:focus {
  border: 2px solid white;
}

input.search::placeholder {
  color: darkgoldenrod;
}

.share-modal.closed {
  display: none;
}

.share-modal {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: var(--modal-bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.share-wrapper .close {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 35px;
  filter: invert(97%) sepia(2%) saturate(12%) hue-rotate(350deg) brightness(99%)
    contrast(108%);
  padding: 5px;
  cursor: pointer;
  border-radius: 4px;
}

.share-wrapper .close:hover {
  filter: invert(25%) sepia(94%) saturate(6705%) hue-rotate(270deg)
    brightness(94%) contrast(89%);
}

.share-wrapper {
  position: relative;
  width: 600px;
  height: 250px;
  background-color: rgb(33, 33, 33);
  display: flex;
  flex-direction: column;
  padding: 40px;
  border-radius: 5px;
  justify-content: space-around;
  align-items: center;
}

.share-wrapper .title {
  color: white;
}

.share-wrapper .share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 500px;
  background-color: rgb(24, 24, 24);
  padding: 5px 10px;
  border-radius: 5px;
  gap: 5px;
}

.share-wrapper input {
  width: 350px;
  height: 30px;
  border: 1px solid transparent;
  background-color: transparent;
  color: white;
  padding: 5px;
  border-radius: 5px;
}

.share-wrapper input:focus {
  outline: none;
  border-color: blueviolet;
}

.share-wrapper .share-btn {
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  color: blueviolet;
  padding: 5px;
  cursor: pointer;
  border-radius: 5px;
}

.share-wrapper .share-btn img {
  filter: brightness(0) saturate(100%) invert(25%) sepia(94%) saturate(6705%)
    hue-rotate(270deg) brightness(94%) contrast(89%);
}

.share-wrapper .share-btn:hover {
  background-color: rgb(29, 29, 29);
}

.share-site {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: white;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all ease 1000ms;
  border-radius: 20%;
  border: 2px outset transparent;
}

.share-site img {
  width: 40px;
}

.share-site:hover {
  background-color: rgb(58, 59, 60);
  border-color: cornflowerblue;
  border-radius: 50%;
}

.share-site * {
  transition: all ease 1000ms;
}

.share-site:hover img {
  filter: invert(97%) sepia(2%) saturate(12%) hue-rotate(350deg) brightness(99%)
    contrast(108%);
}
