body {
  background: linear-gradient(135deg, #647095 0%, #5e2563 100%);
  color: white !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}
.bg-body {
  background-color: rebeccapurple !important;
}
h2 {
  font-family: Helvetica;
  text-align: center;
}
a {
  color: white;
}
table thead {
  color: white;
  font-weight: bold;
  background-color: royalblue;
  margin: auto;
  padding: auto;
}
table {
  margin: auto !important;
  box-shadow: 2px 2px 10px black;
}
table:hover {
  box-shadow: 0 0 25px crimson;
  transition: 0.5s;
}
#logincard {
  height: 400px;
  width: 430px;
  margin: 12% auto;
  padding: 10px;
  border: 1px solid black;
  border-radius: 10px;
}
input,
textarea {
  background-color: rgba(255, 255, 255, 0.416) !important;
  background-blend-mode: overlay !important;
  backdrop-filter: blur(5px) !important;
  color: white !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 10px !important;
  transition: background-color 0.3s ease-in-out !important;
}
input:focus,
textarea:focus {
  background-color: rgba(255, 255, 255, 0.562) !important;
}
::placeholder {
  color: rgba(0, 0, 0, 0.744) !important;
  font-style: italic;
}
h2 {
  margin: 10px 0px !important;
  font-weight: bold !important;
  text-align: center !important;
}
select {
  font-style: italic;
  background-color: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(5px) !important;
  color: rgba(0, 0, 0, 0.744) !important;
  border: none !important;
  border-radius: 10px !important;
  transition: background-color 0.3s ease-in-out !important;
}
button {
  margin: 20px 0;
  border-radius: 10px !important;
  transition: background-color 0.3s ease-in-out !important;
  box-shadow: 2px 2px 7px black;
}
#addBtn:hover {
  transition: background-color 0.3s ease-in-out !important;
}
#resetBtn:hover {
  transition: background-color 0.3s ease-in-out !important;
}
#updateBtn:hover {
  transition: background-color 0.3s ease-in-out !important;
}
a:hover {
  text-decoration: none;
}
table tr td {
  color: white;
}
hr {
  color: white;
}
.alert {
  font-weight: bold;
  font-style: italic;
  border-radius: 10px !important;
  transition: background-color 0.3s ease-in-out !important;
  height: auto !important;
}
@media screen and (min-width: 768px) {
  .table {
    width: 100% !important;
    /* margin: auto !important; */
  }
}
.navigationbar {
  position: relative;
  height: 80px;
  width: 100%;
  background-color: black;
  z-index: 0;
  background-size: cover;
}
.navigationbar div img {
  position: absolute;
  width: 175px;
  margin-top: 25px;
  margin-left: 15px;
  z-index: 1;
}
nav {
  position: absolute;
  z-index: 2;
  color: white;
}
nav ul {
  list-style-type: none;
  padding: 0;
  margin-top: 20px;
}
nav ul li {
  font-size: 18px;
  display: inline;
  text-align: center;
  padding: 0 10px;
}
nav ul li a {
  color: white;
  text-decoration: none;
}
nav ul li a:hover {
  color: royalblue;
  transition: 0.5s;
  text-decoration: none;
}
section .navigationbar .logo button {
  float: right;
  margin: 0 10px 0;
  color: black !important;
}
section {
  padding: 0 !important;
}
#logout {
  float: right;
  position: absolute;
  right: 40px;
  top: 23px;
  color: white !important;
}
#formbackground {
  background: linear-gradient(135deg, #c56cd6 0%, #3425af 100%);
  border-radius: 25px;
  margin: 110px 171px;
  transition: transform 0.3s ease;
  box-shadow: 2px 2px 10px black;
}
#contactbackground {
  background: linear-gradient(135deg, #c56cd6 0%, #3425af 100%);
  border-radius: 25px;
  margin: 90px 150px;
  width: 700px;
  transition: transform 0.3s ease;
  box-shadow: 2px 2px 10px black;
}
.inputsize {
  margin: 10px 0;
}
#formbackground:hover {
  box-shadow: 0 0 25px royalblue;
  transition: 0.5s;
}
#contactbackground:hover {
  box-shadow: 0 0 25px royalblue;
  transition: 0.5s;
}
label {
  color: white;
  font-weight: bold;
  margin-left: 148px;
}
#Homeimg1 {
  width: 800px;
  height: 450px;
  vertical-align: baseline;
  z-index: 1;
  border-radius: 10px;
}
#card {
  background: linear-gradient(135deg, #c56cd6 0%, #3425af 100%);
  color: white;
  border-radius: 25px;
  width: 400px;
  height: 200px;
  padding: 25px;
  margin: 130px 171px;
  transition: transform 0.3s ease;
  box-shadow: 2px 2px 10px black;
}
#card:hover {
  box-shadow: 0 0 25px royalblue;
  transition: 0.5s;
  transform: scale(1.05);
}

/* Apply the animation to the text */

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  20% {
    opacity: 0.2;
    transform: translateX(0);
  }
  40% {
    opacity: 0.6;
    transform: translateX(0);
  }
  60% {
    opacity: 0.8;
    transform: translateX(0);
  }
  80% {
    opacity: 0.9;
    transform: translateX(0);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.animated-text {
  animation: slideInFromLeft 3s ease-out;
}
@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  20% {
    opacity: 0.2;
    transform: translateX(0);
  }
  40% {
    opacity: 0.6;
    transform: translateX(0);
  }
  60% {
    opacity: 0.8;
    transform: translateX(0);
  }
  80% {
    opacity: 0.9;
    transform: translateX(0);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.animated-text2 {
  animation: slideInFromRight 3s ease-out;
}

/* Scrolling word */

h1 {
  margin-top: 20px;
  text-align: center;
  font-weight: normal;
}

/* Scroller styling */
.scroller {
  height: 1.2em;
  line-height: 1.2em;
  position: relative;
  overflow: hidden;
  width: 88%;
  font-size: 1.2em;
  margin-bottom: 20px;
  text-align: center;
}
.scroller > span {
  position: absolute;
  top: 0;
  animation: slide 5s infinite;
  font-weight: bold;
}
@keyframes slide {
  0% {
    top: 0;
  }
  25% {
    top: -1.2em;
  }
  50% {
    top: -2.4em;
  }
  75% {
    top: -3.6em;
  }
}

.gradient-line {
  border: 0;
  border-radius: 5px;
  margin: 0 auto;
  background: linear-gradient(90deg, #fc466b 0%, #3f5efb 100%);
  height: 4px;
  width: 25%;
}

.hrline {
  animation: 3s anim-line ease-out;
  border: 0;
  border-radius: 5px;
  margin: 20px auto;
  background: linear-gradient(90deg, #e3ffe7 0%, #d9e7ff 100%);
  height: 4px;
  width: 60%;
}

.lineUp {
  animation: 3s anim-lineUp ease-out;
}
@keyframes anim-lineUp {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  20% {
    opacity: 0.2;
  }
  40% {
    opacity: 0.4;
    transform: translateY(0%);
  }
  60% {
    opacity: 0.8;
    transform: translateY(0%);
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}
footer {
  background-color: #3b3b3b;
  color: white;
  margin-top: 80px;
  padding-top: 15px;
}
.icon {
  display: inline;
}
ul li a {
  color: white;
}
ul li a:hover {
  color: royalblue;
  transition: 0.5s;
  text-decoration: none;
}

hr {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  color: white;
  border-radius: 10px;
}
.underline1 {
  border: none;
  height: 3px;
  width: 130px;
  background-color: cornflowerblue;
  backdrop-filter: blur(5px);
  color: white;
  border-radius: 10px;
  margin-bottom: 5px;
}
.underline2 {
  border: none;
  height: 3px;
  width: 95px;
  background-color: cornflowerblue;
  backdrop-filter: blur(5px);
  color: white;
  border-radius: 10px;
  margin-bottom: 5px;
}
.underline3 {
  border: none;
  height: 3px;
  width: 70px;
  background-color: cornflowerblue;
  backdrop-filter: blur(5px);
  color: white;
  border-radius: 10px;
  margin-bottom: 5px;
}
