.dropdown {
  width: 7rem;
}

.dropdown button:hover,
.dropdown button:focus {
  background: rgba(177, 239, 252, 0.9);
  transition: all 0.2s ease-in-out;
}

.dropdown .dropdown-toggle {
  background: var(--color-white);
  color: var(--color-main-dark);
  border: 0;
  padding: 1rem;
  border-radius: 3px;
  text-align: left;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  width: 7rem;
}

.dropdown .dropdown-toggle::after {
  content: "";
  border-width: 6px;
  border-radius: 3px;
  border-style: solid;
  border-color: transparent;
  border-top-color: inherit;
  position: absolute;
  right: 12px;
  top: calc(50% + 3px);
  transform: translateY(-50%);
}

.dropdown .dropdown-toggle.active::after {
  border-color: transparent;
  border-bottom-color: inherit;
  top: calc(50% - 3px);
}

.dropdown .dropdown-menu {
  background: var(--color-white);
  list-style: none;
  padding: 0;
  margin: 0;
  width: 7rem;
  border-radius: 3px;
  /* z-index: 10; */
  visibility: hidden;
  overflow: auto;
  max-height: 165px;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  cursor: pointer;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.dropdown .dropdown-menu::-webkit-scrollbar {
  display: none;
}

.dropdown .dropdown-menu[aria-expanded="false"] {
  display: none;
  visibility: hidden;
}

.dropdown .dropdown-menu[aria-expanded="true"] {
  display: block;
  visibility: visible;
  background: var(--color-white);
  opacity: 0.9;
}

.dropdown .dropdown-menu > li {
  /* display: block; */
  align-items: center;
  padding: 10px 12px;
  overflow: hidden;
  padding: 0.5rem 1rem;
}

.dropdown-menu > li:hover,
.dropdown-menu > li:focus-within {
  outline: solid var(--color-main-light) 1px;
  background: var(--color-main-light-transparent);
  transition: all 0.2s ease-in-out;
}

.dropdown-menu > li:focus {
  outline: solid var(--color-main-light) 1px;
  background: var(--color-main-light-transparent);
  transition: all 0.2s ease-in-out;
}

.hidden {
  display: none;
  visibility: hidden;
}

#birthday-form {
  display: flex;
  justify-content: space-evenly;
  color: var(--color-main-dark);
  padding: 2rem 0;
  max-width: 18rem;
  margin-bottom: 3rem;
}

#image_of_the_day,
#videoLink {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: flex;
  box-shadow: -1px 1px 40px 4px var(--color-main-light-transparent),
    10px -10px 40px -4px var(--color-purple-transparent);
}

#media-result {
  position: unset;
  width: unset;
  flex-basis: 60%;
}

.img-info {
  color: white;
  padding: 2rem;
  z-index: 10;
  flex-basis: 40%;
  height: 500px;
}

.birthday-results {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  margin: 0 auto;
  background-color: var(--color-dark);
  background: url("/assets/images/moon-from-iss.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  height: 500px;
  min-height: max-content;
  box-shadow: -1px 1px 40px 4px var(--color-main-light-transparent),
    10px -10px 40px -4px var(--color-purple-transparent);
}

.plain-background {
  background: black;
}

#description {
  line-height: calc(1.5rem + 0.5vh);
}

.flex-centered {
  display: flex;
  justify-content: center;
  margin: 1rem;
  text-align: center;
}

/* Extra small devices (phones, 700px and down) */
@media only screen and (max-width: 700px) {
  #birthday-form {
    padding: 0;
  }
  .dropdown {
    margin: 4px;
  }
}

/* Small devices (portrait tablets and large phones, 700px and up) */
@media only screen and (min-width: 700px) {
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .birthday-results {
    display: flex;
    height: 700px;
    flex-direction: unset;
  }

  #image_of_the_day,
  #videoLink {
    height: 700px;
    width: 100%;
    object-fit: cover;
    display: flex;
  }
  #copyright {
    position: absolute;
    right: 0%;
    color: var(--color-white);
    bottom: 0%;
    margin: auto;
    padding: 1rem;
    font-size: 16px;
    max-width: 30rem;
    text-align: right;
    text-shadow: 2px 2px 4px #000000;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
}
