/* Blue */
.button3d {
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  padding: 0.5em 1em;
  background: linear-gradient(to bottom, #3a53de 0%, #1b4bbb 26%, #2b43ff 100%);
  border: 2px solid #737dd6;
  border-radius: 0.75em;
  transform-style: preserve-3d;
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
}
.button3d::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, #1e3a50 0%, #374b83 6px);
  border-radius: inherit;
  transform: translate3d(0, 0.75em, -1em);
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}
.button3d:hover {
  transform: translate(0, 0.25em);
}
.button3d:hover::before {
  transform: translate3d(0, 0.5em, -1em);
}
.button3d:active {
  background-color: #ffe9e9;
  transform: translate(0em, 0.75em);
}
.button3d:active::before {
  box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
  transform: translate3d(0, 0, -1em);
}

/* Rainbow */
.button3d-rainbow {
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  padding: 0.5em 1em;
  background: linear-gradient(to bottom, #ffbf00 0%, #fa3a00 56%, #2b43ff 100%);
  border: 2px solid #0080ff;
  border-radius: 0.75em;
  transform-style: preserve-3d;
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
}
.button3d-rainbow::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, #1e3a50 0%, #182cdf 6px);
  border-radius: inherit;
  transform: translate3d(0, 0.75em, -1em);
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}
.button3d-rainbow:hover {
  transform: translate(0, 0.25em);
}
.button3d-rainbow:hover::before {
  transform: translate3d(0, 0.5em, -1em);
}
.button3d-rainbow:active {
  background-color: #ffe9e9;
  transform: translate(0em, 0.75em);
}
.button3d-rainbow:active::before {
  box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
  transform: translate3d(0, 0, -1em);
}

/* Dark */
.button3d-dark {
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  padding: 0.5em 1em;
  background: linear-gradient(to bottom, #0a0e23 0%, #0c1836 26%, #121526 100%);
  border: 2px solid #b2baff;
  border-radius: 0.75em;
  transform-style: preserve-3d;
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
}
.button3d-dark::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, #47a0e4 0%, #1b56f9 6px);
  border-radius: inherit;
  transform: translate3d(0, 0.75em, -1em);
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}
.button3d-dark:hover {
  transform: translate(0, 0.25em);
}
.button3d-dark:hover::before {
  transform: translate3d(0, 0.5em, -1em);
}
.button3d-dark:active {
  background-color: #ffe9e9;
  transform: translate(0em, 0.75em);
}
.button3d-dark:active::before {
  box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
  transform: translate3d(0, 0, -1em);
}

/* Light */
.button3d-light {
  font-weight: 600;
  color: #0c0c0c;
  text-transform: uppercase;
  padding: 0.5em 1em;
  background: linear-gradient(to bottom, #fefefe 0%, #ffffff 26%, #aeaeae 100%);
  border: 2px solid #646464;
  border-radius: 0.75em;
  transform-style: preserve-3d;
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
}
.button3d-light::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, #cccccc 0%, #e7e7e7 6px);
  border-radius: inherit;
  transform: translate3d(0, 0.75em, -1em);
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}
.button3d-light:hover {
  transform: translate(0, 0.25em);
}
.button3d-light:hover::before {
  transform: translate3d(0, 0.5em, -1em);
}
.button3d-light:active {
  background-color: #ffe9e9;
  transform: translate(0em, 0.75em);
}
.button3d-light:active::before {
  box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
  transform: translate3d(0, 0, -1em);
}

/* Animation */
.floating { 
  animation-name: floating;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  margin-left: 30px;
  margin-top: 5px;
}

@keyframes floating {
  0% { transform: translate(0,  0px); }
  50%  { transform: translate(0, 15px); }
  100%   { transform: translate(0, -0px); }   
}

.nav-link {
  color: rgb(102, 102, 102);
}

.nav-link:hover {
  color: rgb(255, 133, 133);
  text-decoration: none;
}

/* Searchbar */
.searchform{
  position: relative;
  max-width: 100%;
}

.searchform .fa-search{
  position: absolute;
  top:32px;
  left: 20px;
  color: #9ca3af;
}

.searchform span{
  position: absolute;
  right: 17px;
  top: 13px;
  padding: 2px;
  border-left: 1px solid #d1d5db;
}

.form-input{
  height: 80px;
  text-indent: 33px;
  border-radius: 10px;
  border-width: 3px;
  border-color: #d7d7d7;
}

/* .form-input:focus{
  box-shadow: none;
  border:none;
} */

/* Model cards */
.card{
  background: rgb(0,0,0);
  background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 33%);
  border-style: solid;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.155);
  color: white;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  transition: all 0.2s ease-in;
  width: 100%;
  min-height: 400px;
}

.card:hover {
  background: rgb(0,0,0);
  border-style: solid;
  border-width: 2px;
  border-color: white;
  color: white;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.card .img-div{
  background: rgb(126,126,126);
  background: radial-gradient(circle, rgba(90, 159, 255, 0.359) 0%, rgba(0,0,0,0) 100%);
  height: 250px;
  width: 100%;
  aspect-ratio: 1;
  padding: 20px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin: 0;
  transition: all 0.2s ease-in;
}

.card .img-div img{
  height: 100%;
  width: 100%;
  object-fit: contain;
  transition: all 0.2s ease-in;
}

.card:hover > .img-div {
  /* background-color: rgba(70, 70, 70, 0.757);
  background-image: radial-gradient(circle at center center, #00000056, #e5e5f73e), repeating-radial-gradient(circle at center center, #00000079, #00000075, 12px, transparent 24px, transparent 12px);
  background-blend-mode: multiply; */
}

.card:hover > .img-div > .card-img-top {
  transform: scale(1.1);
}

.card-text {
  opacity: 0.5;
}

.card-body b {
  line-height: 1;
}

.card-body p {
  line-height: 1.5;
}

.text-shadow{
  text-shadow: 2px 1px #000000;
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* Overlay video */

.video-container {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.video-container:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.video-container-dark {
  height: 500px;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.video-container-dark:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgb(0,0,0);
background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 39%, rgba(0,0,0,0.8) 64%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
}

video {
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.overlaytext {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  text-align: center;
  position: relative;
  z-index: 10;
  width: 100%;
}

@media only screen and (max-width: 777px) {
  .video-container{
    padding-block: 150px;
  }

  video{
    height: 800px;
  }
}

@media only screen and (min-width: 778px) {
  .video-container{
    height: 500px;
  }

  video{
    height: 500px;
  }
}