/*main*/
html {
  box-sizing: border-box;
}
a, a:before, a:after {
  box-sizing: inherit;
}
@font-face {
    font-family: dtm-sans;
    src: url("https://tweets009.neocities.org/dtm-sans.otf");
}
body {
    background-color: #2b257b;
    background-image: linear-gradient(to bottom, #2b257b, #050a17);
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
    color: white;
    font-family: "dtm-sans";
    cursor: url("https://tweets009.neocities.org/images/cursor/1.png"), auto;
    grid-template-areas:
    'header header'
    'topnav topnav'
    'main main'
    'footer footer';
    margin-left: 5%;
    margin-right: 5%;
    font-size: 18px;
}


header {
  grid-area: header;
  text-align: center;
  font-size: 20px;
}

topnav {
    grid-area: topnav;
    background-color: #1b4bbb;
    text-transform:uppercase
}
topnav ul {
  display: flex;
  list-style-type: none;
  justify-content: space-evenly;
  align-items: center;
  flex-flow: row wrap;
  gap: 5%;
  font-size: 20px;
  padding-left: 5%;
  padding-right: 5%;
}

main {
  grid-area: main;
  background-color: rgb(0, 0, 0);
  overflow-y: auto;
  overflow-wrap: break-word;
  padding-left: 2%;
  padding-right: 2%;
}

footer {
  grid-area: footer;
  background-color: rgb(0, 0, 0);
  color: white;
  border-style: solid none none none;
  text-align: left;
  padding-left: 10px;
}



/*main extra stuff*/
h3 {
    background-color: #1b4bbb;
}
a {
    color: #fff00a;
    text-decoration: none;
}
a:hover {
color:  #ff1e1e;
}
b {
  color: rgb(240, 202, 97);
}
hr {
border: 2px solid rgb(66, 20, 150);
}

.centertext {
  text-align: center;
}
.whitebg {
  background-color: rgb(255, 255, 255);
  padding: 2px;
}

summary {
    font-weight: bold;
    color: white;
}
details[open] {
    color: white;
}
.buttoncenter {
    display: flex;
    justify-content: center;
    gap: 5px;
}    

.drmarquee {
  display: flex;
  overflow: hidden;
  position: relative;
  background-color: #ff1e1e;
  --gap: 1rem;
  gap: var(--gap);
  margin-left: -2%;
  margin-right: -2%;
}
.drmarqueecontent {
  display: flex;
  flex-shrink: 0;
  justify-content: space-around;
  gap: var(--gap);
  animation: marquee 20s linear infinite;
  list-style-type: none;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

/*modal*/
.downloadscontainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15em), 1fr));
  padding: 10px;
  gap: 25px;
  overflow-x: hidden;
}    
.downloadsimage {
  display: grid;
  justify-content: center;
}
.downloadsinfo {
  text-align: center;
  padding-bottom: 5px;
}


.deltarunemodalbutton {
  background-color: black;
  border-color: white;
  border-style: solid;
}
.deltarunemodalbutton:hover {
  border-color: rgb(255, 30, 30);
  cursor: pointer;
}

.deltarunemodalbackground {
  display: none;
  position: fixed;
  padding-top: 60px;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
  scrollbar-width: none;
}

.deltarunemodalcontent {
  background-color: rgb(0, 0, 0);
  padding: 15px;
  border-style: solid;
  margin: auto;
  width: 60%;
  height: 80%;
  overflow-wrap: break-word;
  scrollbar-width: none;    
}

.deltarunemodalheader {
  background-color: rgb(0, 0, 0);
}

.deltarunemodalbody {
  background-color: rgb(0, 0, 0);
}

.closemodalD {
  float: right;
  font-size: 45px;
  font-weight: bold;
  color: rgb(255, 255, 255);
}
.closemodalD:hover,
.closemodal:focus {
  text-decoration: none;
  cursor: pointer;
  color: rgb(255, 30, 30);
}

.frameImageD {
  display: grid;
  justify-self: center;
  border-style: solid;
  border-width: 2px;
  width: 70%;
}

/*what..What is this for. i Actually have no idea where this is being used. What*/
table, th, td {
  width: 90%;
  padding: 10px;
  border: 1px solid ;
  border-collapse: collapse;
}
details {
  color: rgb(173, 173, 173);
}

