@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:wght@600&display=swap');


*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: 1.5;
font-family: 'DM Sans', sans-serif;
  font-size: 10.5pt;
  background: #eee;
  color: #6b5b7d;
  scrollbar-color: #a8c9e3 transparent;
  scrollbar-width: thin;
}

::selection {
  background: #d5c6e8;
  color: #000;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
  background: #a8c9e3;
}

::-webkit-scrollbar-thumb:hover {
  background: #8fb7de;
}

b, strong {
    font-size: 14px;
   background: linear-gradient(180deg, #c5b4d8, #a8c9e3);
     -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

i, em {
  color: #3b435a;
  font-family: 'Playfair Display';
}

a {
  color: #8fb7de;
  text-decoration: none;
}

u {
  background-image: linear-gradient(90deg, #6fa8dc, #b6a3d6);
  background-size: 100% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  text-decoration: none;
}


a:hover {
  color: #b6a7da;
}

a > *, a:hover > * {
  color: inherit;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}


hr {
	border: none;
	box-shadow: 0;
	margin: 2.5px 30%;
	border-top: 1px solid #5f5672
}

input,
textarea {
  padding: 8px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(197, 180, 216, 0.6);
  background: rgba(255, 255, 255, 0.9);
  color: #5f5a6b;
}

input::placeholder,
textarea::placeholder {
  color: #9a8fb0;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

button {
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c5b4d8, #a8c9e3);
  border: none;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(170, 180, 220, 0.35);
}

button:hover {
  background: linear-gradient(135deg, #b6a7da, #9abfe0);
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: #6b5b7d;
}

h1 {
    font-family: 'Playfair Display';
    font-size: 16pt; 
    text-transform: uppercase;
        margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
}
        
h1::before {
            content: '';
            width: 4px;
            height: 20px;
            background: linear-gradient(180deg, #c5b4d8, #a8c9e3);
            border-radius: 10px;
        }
h2 {
    font-size: 13pt; 
    
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  padding-left: 1.25rem;
}

blockquote {
  background: linear-gradient(
    135deg,
    rgba(213, 198, 232, 0.55),
    rgba(184, 212, 232, 0.55)
  );
  color: #4f4a5f;
  border-left: 6px solid #a8c9e3;
  margin: 1rem 10px;
  padding: 0.75rem 12px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(180, 170, 220, 0.25);
}

/* Layout */

#container {
  margin: 0 auto;
  max-width: 1400px;
  display: flex;
  flex-wrap: wrap;
}

#header {
  background: url('../img/binaaaaaa.png');
  background-position: center;
  background-size: cover;
  width: 1400px;
  height: 800px;
}

#topbar {
  position: absolute;
  top: 20px;
  left: 60%;
  transform: translateX(-50%);
  width: auto;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(140, 160, 210, 0.35);
}

#topmenu {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: "DM Sans", sans-serif;
}

#topmenu a {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: lowercase;
  color: #6b5b7d;
  padding: 4px 2px;
}


#topmenu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #c5b4d8, #a8c9e3);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

#topmenu a:hover {
  color: #4f4a5f;
}

#topmenu a:hover::after {
  width: 100%;
}

#content {
  padding: 20px;
  width: 1400px;
  margin-top: -35px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 10px 35px rgba(170, 180, 220, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.6);
}


.newbox, .box {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(150, 130, 200, 0.5); /* soft border */
  box-shadow: inset 0 0 8px rgba(197, 180, 216, 0.2),
              0 12px 40px rgba(170, 180, 220, 0.35);
  padding: 24px;
  margin-bottom: 20px;
}


#footer {
  width: 100%;
  padding: 15px;
  text-align: center;
  background: linear-gradient(
    180deg,
    #e6edfb 0%,
    #c7d6f4 100%
  );
  color: #6b5b7d;
  font-size: 12px;
}


[data-tooltip] {
  position: relative;
  cursor: default;
}


[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px); /* only space = arrow height */
  transform: translateX(-50%) scale(0.95);
  background: linear-gradient(135deg, #d5c6e8, #b8d4e8);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  white-space: nowrap;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 10;
}


[data-tooltip]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #b8d4e8;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}


[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
  opacity: 1;
}

[data-tooltip]:hover::before {
  transform: translateX(-50%) scale(1);
}

.ph {
  width: 1.25em;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}