html { scroll-behavior: smooth; } 

@font-face {
  font-family: "SuperWonder";
  src: url("/fonts/SuperWonder/super_wonder-webfont.woff");
  font-weight: 120;
}

/* Default body elements */
body {
  background-image: url("/bg_cave.png");
  background-color: #430E30;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100%;
  color: black;
  font-family: Verdana;
}

table {
  background-color: black;
  font-family: verdana;
  border-radius: 1em;
  width: 70%;
  text-align: center;
}

td, th {
  border: none;
  text-align: center;
  color: white;
  padding: 2% 0%;
}

/* Default Paragraph Text */
p {  
  text-align: center;
  font-size: 20px;
  color: white;
}

code {
  color: white;
  font-size: 1em;
  background-color: darkslategray;
  padding: 5px;
  border-radius: 10px;
}

/* Default hyperlinks */
a {
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  color: yellow;
}

a:hover {
  color: pink;
}

/* Links in the navbar */
.navbar {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

nav a {
  background-color: deeppink;
  background-image: linear-gradient(#ff40cc, #ad1785);
  color: white;
  width: fit-content;
  padding: 0.3em 0.6em;
  border: solid;
  border-radius: 0.25em;
  border-width: 0.1em;
  font-family: "SuperWonder";
  font-size: 2.3vmax;
  z-index: 5;
}

nav a:hover {
  background-color: pink;
  background-image: linear-gradient(#ff96e3, #ad1785);
}

/* Headers */
h1 {
  text-align: center;
  color: white;
  font-family: "SuperWonder";
  font-size: 50px;
  text-decoration: none;
  font-weight: bolder;
}

h2 {
  font-size: 30px;
  font-family: "SuperWonder";
  text-align: center;
  color: white;
  font-weight: normal;
}

/* Main Text Bodies */
.mainbody {
  background-color: black;
  background-image: url("/bg_checker.png");
  background-size: cover;
  width: 90%;
  padding: 5px 2px;
  border: pink solid 4px;
  border-radius: 30px;
  align-items: center;
  display: block;
  justify-content: center;
  position: relative;
}

.multibody {
  background: none;
  width: 90%;
  display: flex;
  gap: 10px;
  padding: 20px 0px;
}

.scrollable {
  width: 100%;
  height: 100%;
  overflow: scroll;
}

/* Text Highlighted in a Different Color */
.highlightText {
  color: violet;
}

.quoted {
  font-style: italic;
  font-size: 1.15em;
  color: gray;
  background-color: lightyellow;
  border: 4px orange solid;
  border-radius: 50px;
  width: fit-content;
  max-width: 90%;
  padding: 5px 30px;
}

.textcontainer {
  width: 75%;
  text-align: center;
  align-self: center;
}

/* Navbar Header Image */   
.headImg {
  max-width: 60%;
  min-width: 30%;
}

/* Image Gallery */
/* Gallery itself */
.gallery {
  background-color: #1e1424;
  border-radius: 40px;
  align-items: center;
  width: 98%;
}

/* Images Therein */

.galleryContainer{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  flex: 25%;
  overflow: hidden;
}

.galleryImg {
  /*min-width: 30%;*/
  /*max-width: 100%;*/
  border: white solid 4px;
  width: 20%;
  object-fit: cover;
}

.galleryImg:hover {
  object-fit: contain;
}

/* Collapsing Buttons */
.collapsible {
  font-size: 30px;
  background-image: linear-gradient(magenta, darkmagenta);
  border: white 4px solid;
  color: white;
  width: 70%;
  font-weight: bolder;
}

.collapsible img {
  max-width: 25%;
  border: 4px white solid;
}

.collapsible:hover {
  background-image: linear-gradient(pink, magenta);
}


.collapsibleBlock {
  display: none;
}

.linkTable {
  width: 70%;
  table-layout: fixed;
  border-spacing: 12px;
}

.linkTable td {
  padding: 12px;
}

.socialLink {
  color: white;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  padding: 2% 5%;
  border: white solid 4px;
  background-image: linear-gradient(magenta, darkmagenta);
  white-space: nowrap;
  border-radius: 10px;
}

.socialLink:hover {
  background-image: linear-gradient(pink, magenta);
}

iframe {
  max-width: 90%;
}

.sitOnTop {
  position: absolute;
  right: 88em;
  bottom: 7em;
  width: 16em;
  top: -15em;
  left: 0;
  z-index: 1;
}

.motd {
  vertical-align: middle;
}

.email > span:nth-child(2) {
  display:none;
}

.email > span:nth-child(3) {
  display:none;
}

/* Handle Mobile View */
.mobile {
  display: none;
}

.desktop {
  display: block;
}

@media screen and (max-width: 768px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }

  
  .sitOnTop {
    right: 0em;
    top: -7em;
    bottom: 0em;
    width: 8em;
  }
  
  .collapsible img {
    max-width: 60%;
  }
  .headImg {
    max-width: 80%;
    min-width: 40%;
  }
  .mainbody {
    padding: 10px
  }
  .multibody {
    display: block;
    width: 100%;
  }
  .textcontainer {
    width: 95%;
  }
  .linkTable {
    width: 90%;
  }
  .galleryImg {
    width: 45%;
  }
}