/*
Author: Megan Rakow
Description: Privatize My Data
Version: 1.0
*/

:root {
  --pmd-font-header: "Inter", sans-serif;
  --pmd-font-body: "Inter", sans-serif;
  --pmd-primary: #ffffff;
  --pmd-secondary: #767676;
}

html,
body {
  overflow-x: hidden;
  font-family: var(--pmd-font-body);
  color: white;
}

a {
  text-decoration: none !important;
  color: rgb(66, 66, 66) !important;
}

a:hover {
  color: #000000 !important;
  text-decoration: solid !important;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--pmd-font-header);
  color: white !important;
}

/* ===== Text Color ===== */

.pmd-text-primary {
  color: var(--pmd-primary);
}

.pmd-text-secondary {
  color: var(--pmd-secondary);
}

/* ===== Background Color ===== */

.pmd-bg-primary {
  background: var(--pmd-primary);
}

.pmd-bg-secondary {
  background: var(--pmd-secondary);
}

/* ===== Custome Code =====*/

.z-front {
  z-index: 99;
}
.z-back {
  z-index: -1;
}

.object-fit {
  height: 300px;
  object-fit: cover;
  width: 100%;
}

.w-35 {
  width: 35%;
}

.w-15 {
  width: 15%;
}

.w-85 {
  width: 85%;
}

.fs-28 {
  font-size: 28px;
}

.progress-bar {
  background-color: black !important;
}

.list-group-item {
  background-color: black !important;
  border: none !important;
  color: white !important;
}

.list-group1-item {
  margin-left: 20px;
  border: none !important;
}

.modal-btn {
  background-color: #ffffff !important;
  color: rgb(165, 165, 165) !important;
  border: none !important;
  margin-top: 50px;
}

#Image {
  background-image: url("./img/video.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh; /* Set the desired height for the section */
}

@keyframes flashing {
  0%,
  100% {
    background-color: red;
  }
  50% {
    background-color: yellow;
  }
}

.warning-alert {
  color: black; /* Adjust text color for visibility */
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  margin: 15px 0;
  animation: flashing 1s infinite; /* Apply the flashing animation */
}

/* ===== Video ===== */
video {
  width: 100%;
  height: 600px;
  position: absolute;
  top: 105px;
  left: 330px;
}

/* ===== card animation ===== */
.card-animation {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.card-animation.animated {
  opacity: 1;
  transform: translateY(0);
}

.card-animation-left {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.card-animation-left.animated {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Button Color ===== */

.btn {
  border: 3px solid #141414;
  padding: 5px 15px;
  border-radius: 15px !important;
  font-weight: bold;
  font-size: 15px;
  color: white !important;
  font-family: var(--pmd-font-header);
  box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
  text-transform: uppercase;
}

.pmd-btn-primary:hover {
  color: var(--pmd-secondary) !important;
}

.pmd-btn-primary {
  color: var(--pmd-primary) !important;
  background: black !important;
}

.pmd-btn-green:hover {
  color: rgb(196, 243, 206) !important;
}

.pmd-btn-green {
  color: var(--pmd-primary) !important;
  background: rgb(54, 202, 54) !important;
}

.pmd-btn-red:hover {
  color: rgb(230, 159, 159) !important;
}

.pmd-btn-red {
  color: var(--pmd-primary) !important;
  background: red !important;
}

.pmd-btn-secondary {
  border: 3px solid var(--pmd-secondary);
  background: var(--pmd-secondary) !important;
  color: white !important;
}

.pdm-btn-secondary:hover {
  background: var(--pmd-secondary) !important;
  color: var(--pmd-primary) !important;
  border: 3px solid white;
}

/* ===== Main Navbar ===== */

img#logo {
  height: 65px;
}

.navbar-nav {
  position: sticky !important;
  top: 0 !important;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: bold;
}

.navbar-nav .nav-link:hover {
  color: var(--pmd-secondary) !important;
  font-weight: bold;
}

/* ===== Font size ===== */
.fs-20 {
  font-size: 20px;
}
.fs-30 {
  font-size: 30px;
}

.fs-40 {
  font-size: 40px;
}

.fs-50 {
  font-size: 50px;
}

.fs-60 {
  font-size: 60px;
}

.fs-70 {
  font-size: 70px;
}

.fs-80 {
  font-size: 80px;
}

.fs-12 {
  font-size: 12px;
}

/* ===== Forms ===== */
.form-control {
  background-color: #666666 !important;
  border-radius: 30px;
  border: #666666 solid 1px !important;
}

#exampleInputEmail1 {
  background-color: rgba(255, 255, 255, 0) !important;
}

#exampleInputEmail1.form-control::placeholder {
  color: gray !important;
}

#exampleInputPassword1 {
  background-color: rgba(255, 255, 255, 0) !important;
}

input[type="email"],
input[type="password"] {
  border: none !important;
  border-bottom: 2px solid black !important; /* You can adjust the thickness and color as needed */
  border-radius: 0% !important;
}

#cEmail {
  border-radius: 5px !important;
  background-color: #ffffff00 !important;
  border: #666666 solid 1px !important;
}

#cFName {
  background-color: #ffffff00 !important;
  border: #666666 solid 1px !important;
}

#cLName {
  background-color: #ffffff00 !important;
  border: #666666 solid 1px !important;
}

#cPhone {
  background-color: #ffffff00 !important;
  border: #666666 solid 1px !important;
}

#cMessage {
  background-color: #ffffff00 !important;
  border: #666666 solid 1px !important;
}

#exampleInputPassword1.form-control::placeholder {
  color: gray !important;
}

::placeholder {
  color: white !important;
}

/* ===== Cards ===== */
img.card-img-top {
  object-fit: contain;
  width: 120px;
}

/* ===== Tabs ===== */
.nav-link.active {
  color: black !important;
}

.nav-tabs .nav-link {
  border-radius: 0% !important;
}

.nav-tabs {
  border: none !important;
}

/* ===== Gauge ===== */
.gauge {
  position: relative;
  border-radius: 50%/100% 100% 0 0;
  background-color: var(--color, #a22);
  overflow: hidden;
}
.gauge:before {
  content: "";
  display: block;
  padding-top: 50%; /* ratio of 2:1*/
}
.gauge .chart {
  overflow: hidden;
}
.gauge .mask {
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 0;
  top: 40%;
  background-color: #000000;
  border-radius: 50%/100% 100% 0 0;
}

.gauge .percentage {
  position: absolute;
  top: -1px;
  left: -1px;
  bottom: 0;
  right: -1px;
  background-color: var(--background, #aaa);
  transform: rotate(var(--rotation));
  transform-origin: bottom center;
  transition-duration: 600;
}
.gauge:hover {
  --rotation: 100deg;
}
.gauge .value {
  position: absolute;
  bottom: 0%;
  left: 0;
  width: 100%;
  text-align: center;
}

.gauge .min {
  position: absolute;
  bottom: 0;
  left: 5%;
}
.gauge .max {
  position: absolute;
  bottom: 0;
  right: 5%;
}

/* ===== Progress Bar ===== */
.progress-bar1-container {
  position: relative;
  height: 40px;
  background-color: #d4d4d4; /* Background color for the unfilled part */
  border-radius: 10px; /* Adjust the border radius as needed */
  overflow: hidden;
}

.progress-bar1 {
  position: relative;
  height: 100%;
  width: 0;
  transition: width 0.6s ease;
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  display: flex;
}

.progress-text {
  position: absolute;
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: #000; /* Text color */
}

/* ===== Modal Styling ===== */
.modal-content {
  background-color: black;
  color: white;
  border: 1px solid #ffffff;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
}

.modal-header {
  background-color: #1c1c1c;
  color: white;
  border-bottom: 1px solid #ffffff;
}

.modal-title {
  font-family: "Arial", sans-serif;
  font-size: 1.5rem;
}

.btn-close {
  color: white !important;
  background: transparent;
  border: none;
}

/* Solid colors based on percentage */
.high-risk {
  background-color: green;
}

.medium-risk {
  background-color: orange;
}

.low-risk {
  background-color: red;
}

/* Form styling */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: white;
}

.form-control {
  background-color: #1c1c1c;
  color: white !important;
  border: 1px solid #ffffff;
  border-radius: 5px !important;
  padding: 0.5rem;
}

.form-control[readonly] {
  background-color: #333;
  cursor: default;
}

.btn-edit {
  background-color: #333;
  border: 1px solid #ffffff;
  color: white;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn-edit:hover {
  background-color: #555;
  border-color: #ffffff;
  color: white;
}

/* Button styling */
.attention-grabbing {
  background-color: #000000 !important; /* Bootstrap danger color */
  color: rgb(255, 255, 255);
  font-weight: bold;
  border: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  animation: pulseUpDown 1s infinite;
}

.attention-grabbing .fas {
  margin-right: 8px;
}

.attention-grabbing::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background-color: rgba(150, 150, 150, 0.3);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease-in-out;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.attention-grabbing:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.attention-grabbing:focus {
  outline: none;
  animation: pulse 1s infinite;
}
@keyframes pulseUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .fs-80 {
    font-size: 50px;
  }

  img#logo {
    height: 45px !important;
  }

  video {
    width: 100%;
    height: 85%;
    position: relative;
    top: 40px;
    left: 0px;
  }

  h4 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
}

@media (max-width: 576px) {
}
