

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

html {
  scrollbar-color: #002fa2 #525252;
  background: repeating-linear-gradient(to bottom, #122 2px, #004 4px) #080000 center center / 100% 4px !important;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  position: relative;
  color: #ddd;
  font-family: t, Open Sans, Segoe UI, Ubuntu, Noto Sans, sans-serif;
  font-size: 16pt;
  text-shadow: 0 1px 1px #000;
  overflow-x: hidden;
  animation: fade .5s ease 1s both;
}

::selection {
  color: #fff;
  background: #004189;
}

#mylinks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  height: 40px;
  background: #07102f;
  position: sticky;
  top: 0;
  z-index: 9999;
  font-size: 12pt;
  border-bottom: 1px solid rgb(0, 15, 100);
}

#mylinks .side {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.center-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  gap: 12px;
}

#mylinks .center-links a {
  max-width: 120px;
  min-width: 80px;
}

#mylinks a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 12pt;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #002080, #00134d);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  font-weight: 600;
}


#mylinks a:hover, 
#mylinks a:focus {
  background: linear-gradient(135deg, #0033bb, #002080);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  color: #ffeb3b;
}

#mylinks a:active {
  transform: scale(0.95);
  background: linear-gradient(135deg, #001a66, #000c33);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#mylinks #lang a {
  height: 24px;
  display: inline-block;
  padding: 4px 0;
  min-width: 64px;
}

#mylinks #lang a:hover img,#mylinks #lang a:focus img {
  transform: scale(1.3);
}

#mylinks #lang a:active img {
  transform: scale(.9);
}

#container {
  margin: -15px auto 30px;
  padding: 20px 50px 10px;
  max-width: 1200px;
  border: 1px solid #232f7e;
  border-top: none;
  background: repeating-linear-gradient(to right, rgba(28,0,0,.5) 2px, rgba(0,0,0,.5) 4px), repeating-linear-gradient(to bottom, #0f007700 2px, #0000 4px) #1000;
  background-size: 4px 100%, 100% 4px;
  animation: fade .5s ease 1s both;
}

#container > * {
  filter: opacity(0);
  animation: fade .7s ease 1.2s forwards;
}

 /* 
Block Table maybe one day
*/

.table-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-items: flex-start;
  max-width: 100%;
  margin-bottom: 10px;
}

.table-wrapper iframe {
  flex: 1;
  min-width: 300px;
  max-width: 90%;
  border-radius: 8px;
  border: none;
}

#extras {
  margin-top: 20px;
  margin: 20px auto;
  padding: 10px 10px;
  max-width: 1200px;
  background: #101020;
  gap: 10px; 
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

 /* 
End block table
*/

p, ul, ol {
  margin: 3px 0;
}

p {
  line-height: 155%;

}

ul, ol ul {
  list-style-type: disc;
}

a {
  font-weight: bold;
  text-decoration: none;
  outline: none;
  color: #11ef6e;
}

a:hover {
  text-decoration: underline;
  color: #9714e3;
}


h1, h3 {
  text-shadow: 0 1px 1px #000, 0 2px 3px #111844;
}

h3 {
  margin: 10px -20px 25px;
  padding: 10px 0;
  letter-spacing: 0.04em;
  word-spacing: 0.05em;
  font-style: italic;
  border-bottom: 2px solid #006b7d;
}

h3::before {
  background: var(--bullet) no-repeat;
  animation: scale .4s ease 1.8s both;
  will-change: transform;
  font-size: 21px;
  max-width: 90vw;
  margin: 0 auto;
  text-align: center; 
  word-wrap: break-word;

}

h3#quote {
  position: relative;
}

h3#quote::after {
  width: 100px;
  height: 128px;
  position: absolute;
  right: 4px;
  bottom: 2px;
  background: var(--itooplus) no-repeat right bottom / auto 128px;
  content: "";
}



@keyframes dropdown {from {transform: translateY(-300px)}}
@keyframes fade {from {filter: opacity(0)}to {filter: opacity(1)}}
@keyframes scale {
  from {transform: scale(0); filter: blur(3px) invert(1)}
  to {transform: scale(1); filter: blur(0) invert(0)}
}

@media screen and (max-width: 1200px) {
  body {
    font-size: 12pt;
  }
  h1 {
    top: -10px;
    left: 12px;
    font-size: 20pt;
  }
  h3 {
    line-height: 110%;
  }
  #toplinks a {
    padding: 3px 15px;
    min-width: 72px;
    font-size: 11pt;
  }
  table {
    font-size: 90%;
  }
  .download {
    margin: 2px 1px;
    padding: 4px 8px 4px 4px;
  }
  .download::before {
    margin-top: -1px;
    background-size: 12px !important;
  }
}

@media screen and (max-width: 1300px) {
  #container {
    margin-bottom: 0;
  }
  h3::before {
    margin-right: 4px;
    background-size: 26px;
  }
}

 /* 
Back in beta I wanted to add a sticker to the site, but when I finished the design I didn’t want to...
*/

#img_right {
  position: fixed;
  bottom: 2px;
  right: -230px;
}

#img_right img { 
  height: 50%;
  width: 50%;
}

 /*
Borrowed from i2p+, I hope the creator doesn't mind <3
Thanks n1xaty.t.me for moral support and some adjustments.
Created by Dimoka113 with love and and hope for the future
 */
