*, *::before, *::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}
body {
  height: 100%;
  margin: 0;
}

body {
  background-image: url('stars5.gif');
  background-repeat: repeat;
  background-position: center top;
  background-attachment: fixed;
  background-color: #111;
  
  color: #fff;
  font-family: "Times New Roman";
  display: block;
  align-items: center;
  overflow-x: hidden;
}

.imgg {
  display: block;
  margin: auto;
  max-width: 100%;
  height: auto;
  padding: 20px;
}
.inimg
{
  margin-right: 4px;
}
.nav {
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  justify-content: space-evenly;
  padding: 2px 2px;
  background: black;
  width: min(920px, 80vw);
  margin: 3vw auto 1vw auto;

}
.dub-border {
  border-style: double;
  border-color: rgb(255 51 245);
}
.centerd {
  display: flex;
  align-items: center;     
  justify-content: center; 
  flex-wrap: wrap;        
  text-align: center;
}
.nav-item {
  display: inline-flex;     /* or flex */
  align-items: center;
  box-sizing: border-box;
  min-width: 0; 
  padding: 10px 14px;
  text-align: center;
  background: rgb(255 51 245);
  box-shadow:0px 0px 0px 2px black inset
}
.nav-item a {

  text-decoration: none;
  color: #000;
}

.card {
  background: black;
  width: min(920px, 80vw);
  margin: 0vw auto;
  
}
.card h1 {
  text-align: center;
}


.img-link {
  width: 90vw; 
  margin: 0 auto;
  text-align: center;   
}
.img-link a {
  display: inline-block;
}
h1,h2,h3 {
  margin: 0 0 0.5rem 0;
  font-size: clamp(20px, 6vw, 40px);
  letter-spacing: -0.5px;
  color: rgb(255 51 245);
}


p {
  margin: 8px;
  color: #e8eef6;
  font-size: 18px;
}

.btn {
  display: inline-block;
  margin-top: clamp(8px, 2.5vw, 16px);
  padding: 10px 14px;
  text-decoration: none;
  background: rgb(255 51 245);
  color: #000;
}

.btn:hover {
  transform: translateY(-1px);
  background: #fff;
}
@media (max-width: 560px) {
  .nav-item { flex: 1 1 calc(50% - 8px); }   /* two per row */
}
@media (max-width: 340px) {
  .nav-item { flex: 1 1 100%; }              /* one per row */
}