* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    padding: 20px;
}

.contract {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

h2, h3 {
    margin-top: 20px;
    font-size: 1.2em;
}

p, ul {
    margin-bottom: 15px;
    line-height: 1.6;
}

ul {
    padding-left: 20px;
}

.contract-number, .contract-date {
    text-align: center;
    font-style: italic;
}

.signatures {
    margin-top: 40px;
    text-align: center;
}

.signatures p {
    margin: 10px 0;
}

  a {
    border-radius: 12px;
    border: 3px outset #888;
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    color: #eee;
    text-transform: uppercase;
    letter-spacing: 4px;
    overflow: hidden;
    box-shadow: 0 0 10px rgb(0, 0, 0, 1);
    font-family: verdana;
    font-size: 28px;
    font-weight: bolder;
    text-decoration: none;
    background: linear-gradient(160deg, #666, #444);
    text-shadow: 0px 0px 2px rgba(0, 0, 0, .5);
    transition: 0.2s;
  }
  
  a:active {
    border: 3px outset #ddd;
    color: #fff;
    background: linear-gradient(160deg, #666, #444);
    text-shadow: 0px 0px 4px #ccc;
    box-shadow: 0 0 10px #fff, 0 0 40px #fff, 0 0 80px #fff;
    transition-delay: 1s;
  }
  
  a span {
    position: absolute;
    display: block;
  }
  
  a span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #eee);
  }
  a:active span:nth-child(1) {
    left: 100%;
    transition: 1s;
  }
  
  a span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #eee);
  }
  a:active span:nth-child(2) {
    top: 100%;
    transition: 1s;
    transition-delay: 0.25s;
  }
  
  a span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #eee);
  }
  a:active span:nth-child(3) {
    right: 100%;
    transition: 1s;
    transition-delay: 0.5s;
  }
  
  a span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #eee);
  }
  a:active span:nth-child(4) {
    bottom: 100%;
    transition: 1s;
    transition-delay: 0.75s;
  }

  #pdfContainer {
    width: 50%;
   height: 80%;
    border: 1px solid #ddd;
    margin: 40px 0;
   left: 40px;
    overflow: hidden;
  }

  .hiddenDuringPrint, .hiddenDuringPrint2 , .hiddenDuringPrint3{
    display: none;
  }

  #printButton1:hover {
    background-color: #45a049;
  }

  .glow-on-hover {
    width: 220px;
    height: 50px;
    border: none;
    outline: none;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #000
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

.btn-bubble {
    color: white;
    background-color: #77b11c;
    background-repeat: no-repeat;
    padding: 1em 2em;
    text-decoration: none;
    display: inline-block;
    position: relative;
  }
  
  .btn-bubble:hover,
  .btn-bubble:focus {
    animation: bubbles 1s forwards ease-out;
    background: radial-gradient(circle at 20% 80%, transparent 30%, #eef 60%, #eef 65%, transparent 70%) 20% 80% / 1.2em 1.2em, 
                radial-gradient(circle at 50% 120%, transparent 30%, #eef 60%, #eef 65%, transparent 70%) 50% 120% / 1.5em 1.5em,
                radial-gradient(circle at 75% 70%, transparent 30%, #eef 60%, #eef 65%, transparent 70%) 75% 70% / 1.0em 1.0em;
    background-color: #77b11c;
    background-repeat: no-repeat;
  }
  
  @keyframes bubbles {
    100% {
      background-position: 40% 90%, 70% 60%, 90% 20%;
      box-shadow: inset 0 -6.5em 0 #0072c4;
    }
  }
  .btn {
    display: inline-block;
    text-decoration: none;
    padding: 1em 2em;
  }

  .krai{
    text-align: left; 
    left: 10px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 24px;
    font-style: italic;
  }

  .kraii {
    text-align: left; 
}

.kraie {
  display: block; 
  text-align: left; 
}

.button-1981 {
  --b: 3px; 
  --s: .45em; 
  --color: #373B44; 
  padding: calc(.5em + var(--s)) calc(.9em + var(--s));
  color: var(--color);
  --_p: var(--s);
  background: conic-gradient(from 90deg at var(--b) var(--b), #0000 90deg, var(--color) 0) var(--_p) var(--_p) / calc(100% - var(--b) - 2*var(--_p)) calc(100% - var(--b) - 2*var(--_p));
  transition: .3s linear, color 0s, background-color 0s;
  outline: var(--b) solid #0000;
  outline-offset: .6em;
  font-size: 24px;
  border: 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
}

.button-1981:hover {
  background: #ffffff; 
  color: #000; 
  border: 4px solid #0056b3;
  outline: 2px solid hsl(0, 100%, 35%); 
  outline-offset: 2px; 
  background-image: none; 
}