body{
    background-image: url("/images/bg.jpg");
    font-family: Internet;
}
.container {
    max-width: 85%;
    min-height: 85vh;
    margin: auto;    /*Centers container*/
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-rows: auto auto 1fr auto;
    /* 1fr says "whatever leftover space there is, gimme" */
    grid-template-areas:
    "myHeader myHeader"
    "myNav myNav"
    "mySidebar myMain"
    "myFooter myFooter";
}

header{
    grid-area: myHeader;
    min-height: 80px;
    border: solid 3px rgb(24, 8, 35);
    
    background-image: url("images/headbg.jpg");
    background-size: contain;

    color: white;
    text-align: center;
}

header h1{
    font-family: Metal Gothic;
    position: relative;
    right: 30px;
}

nav{
    grid-area: myNav;
    background-color: rgb(42, 26, 53);
    border: solid 3px rgb(24, 8, 35);

    /* Flexbox for Links */
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;
}


nav a{
    text-decoration: none;
    font-family: consolas;
    color: rgb(255, 255, 255);
    font-size: 20px;
}

nav a:hover{
    color: rgb(144, 71, 196);
}

.dropdown{
    padding: 0px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #584370;
  border: solid 2px rgb(24, 8, 35);
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #482f55
}

.dropdown:hover .dropdown-content {
  display: block;
}

.bat{
    width: 20%;
}

.bat img{
    width: 100%;
}

aside{
    grid-area: mySidebar;
    background-color: rgb(89, 79, 99);
    border: solid 3px rgb(24, 8, 35);
    color: white;
    text-align: center;
}

.chaori{
    text-align: center;
}

.chaori img{
    max-width: 100%;
    height: auto;
}

.idbadges{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

aside h2{
    font-family: Caldareth;
    color: white;
    text-align: center;
    border: solid 2px rgb(120, 78, 149);
    border-left: 0px;
    border-right: 0px;
    letter-spacing: 2px;
}

.virus{
    text-align: center;
    margin-top: 10px;
}

main{
    grid-area: myMain;
    background-color: rgb(35, 31, 39);
    border: solid 3px rgb(24, 8, 35);
    text-align: center;

    color: white;

}

main h2{
    font-family: Caldareth;
    text-align: center;
    border: solid 2px rgb(120, 78, 149);
    border-left: 0px;
    border-right: 0px;
}

main p{
    max-width: 400px;
    margin: auto;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.lomando{
    text-align: center;
}

.lomando img{
    height: 150px;
    width: 150px;
    border: solid 5px rgb(55, 42, 64);

    margin-bottom: -12px;
}


footer{
    grid-area: myFooter;
    background-color: rgb(24, 8, 35);
    border: solid 3px rgb(24, 8, 35);

    overflow: auto;
    scrollbar-color: black rgb(97, 58, 125);
    scrollbar-width: thin;
}

footer h2{
    color: white;
    font-family: Caldareth;
    text-align: center;
    border: solid 2px rgb(120, 78, 149);
    border-left: 0px;
    border-right: 0px;
}

.webrings{
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: auto;
    max-height: 100px;

    max-width: 500px; /*So it wraps on desktop*/
    flex-wrap: wrap; /*If no horizontal room, wrap*/
}

.purple-webring{
    min-width: 150px;
}

.sanringo.kuromi{
    min-width: 208px;
}

/*FONTS*/
@font-face {
font-family: Caldareth;
src: url("fonts/Caldareth.ttf");
}

@font-face {
font-family: "Modern Romance";
src: url("fonts/ModernRomance.otf");
}

@font-face {
font-family: "Metal Gothic";
src: url("fonts/MetalGothic.ttf");
}

@font-face {
font-family: Internet;
src: url("fonts/Internet.ttf");
}

/*Mobile Responsiveness/*

/* Extra small devices (phones, 600px and down) */


@media only screen and (max-width: 600px) {
    .container{
    grid-template-columns: 40% 1fr;
    grid-template-rows: auto auto 1fr auto;
    }

    header h1{
        position: relative;
        left: 0.5vw;
    }

    nav{
        overflow: auto;
    }

    aside{
        overflow: auto;
        overflow: hidden;
    }

    main{
        overflow: auto;
    }

    footer{
        overflow: auto;
    }
}