@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&display=swap');

/*hi! if you're reading this, I will be working on a light mode eventually, just have to figure out how to yknow, do that.*/
:root{
--font-head: Alegreya Sans;
}

*{
box-sizing: border-box;
font-family: Alegreya Sans;
}

p {
  font-size: 14pt;
}
body{
    height: 100%;
  padding: 0;
  margin: 0;
  font: 1.2em;
  min-height: 100dvh;
}

main{
    display:flex;
    justify-content: center;
      padding: 1em;
  flex-grow: 1;
  background-color: #1f1f36;
background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.184 20c.357-.13.72-.264 1.088-.402l1.768-.661C33.64 15.347 39.647 14 50 14c10.271 0 15.362 1.222 24.629 4.928.955.383 1.869.74 2.75 1.072h6.225c-2.51-.73-5.139-1.691-8.233-2.928C65.888 13.278 60.562 12 50 12c-10.626 0-16.855 1.397-26.66 5.063l-1.767.662c-2.475.923-4.66 1.674-6.724 2.275h6.335zm0-20C13.258 2.892 8.077 4 0 4V2c5.744 0 9.951-.574 14.85-2h6.334zM77.38 0C85.239 2.966 90.502 4 100 4V2c-6.842 0-11.386-.542-16.396-2h-6.225zM0 14c8.44 0 13.718-1.21 22.272-4.402l1.768-.661C33.64 5.347 39.647 4 50 4c10.271 0 15.362 1.222 24.629 4.928C84.112 12.722 89.438 14 100 14v-2c-10.271 0-15.362-1.222-24.629-4.928C65.888 3.278 60.562 2 50 2 39.374 2 33.145 3.397 23.34 7.063l-1.767.662C13.223 10.84 8.163 12 0 12v2z' fill='%23353553' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}


footer{
    display: flex;
    justify-content: center;
    background-color: #0D0D17;
  color: white;
  padding: 1em;
  flex-grow: 0;
  flex-shrink: 0;
}


#wrapper{
  box-sizing: border-box;
  min-height: 100%;

  display: flex;
  flex-direction: column;
}

#topbar{
    display:flex;
    align-items: center;
    justify-content: center;
    background-color: #0D0D17;
  color: white;
  padding: 0.5em;

  flex-grow: 0;
  flex-shrink: 0;
}

hgroup > h1, p{
    margin: 0.5em;
}

section
{
	background: #0D0D17;
	padding: 2em;
	border-radius: 3px;	
	margin: 0.5em;
	overflow: auto;
width: clamp(40vw, 40em, 100vw);
    min-height:85vh;
    height: fit-content;
    margin-left: auto;
      margin-right: auto;
      color: white;
}

nav > a {
  color: white;
  margin: 0.5rem;
  padding: 0.5rem;
  border-radius: 7px;
  font-size: 1.2em;
}

nav > a:link {
  text-decoration: none;
}

nav > a:visited {
  text-decoration: none;
}

nav > a:hover {
  text-decoration: underline;
  text-decoration-style: wavy;
}

nav > a:active {
  text-decoration: underline;
  text-decoration-style: wavy;
}

ul > li > a {
  color: white;
  margin: 0.5rem;
  padding: 0.5rem;
  border-radius: 7px;
  font-size: 1.2em;
}

#bloglist > li {
list-style-type: square;
list-style: inside;
  padding: 0.3rem;
}

#access {
  display: none;
}

#access > ul > li {
list-style-type: square;
list-style: inside;
  padding: 0.3rem;
}

#prog {
  display: none;
}

#prog > ul > li {
list-style-type: square;
list-style: inside;
  padding: 0.3rem;
}

a {
  color:mistyrose;
}

button {
  background-color: mistyrose;
  border-radius: 8px;
  border: rgb(231, 199, 195);
  padding: 0.3em;
  margin: 0.1em;
  font-size: 14pt;
}

button:hover {
  background-color: rgb(231, 199, 195);
}

#devlogdeskmob {
  display: flex;
  width: 100%;
  align-items: center;
}

#devlogdeskmob > img {
  width: fit-content; 
  height: fit-content;
  max-height: 100%;
  padding: 0.5em;
}

#tagsort {
  display: flex;
  flex-direction:row;
  flex-wrap:wrap;

}

#contactLinks {
  display: flex;
  flex-direction: column;
}

#contactLinks > button {
  justify-content: center;
  width: 20em;
  max-width: 100%;
}

@media only screen and (max-width: 600px) {
    #topbar{
    flex-direction: column;
  }
  header{
    text-align: start;
    width: 100%;

}
nav{
    text-align: center;
    padding-block: 0.3em;
    width: 100%;
}
#devlogdeskmob {
  display: flex;
  flex-direction: column;
}
#devlogdeskmob > #mimg, #devlogdeskmob > #dtimg {
  max-width: 100%;

}
}

@media only screen and (min-width: 600px) {
  #topbar{
    flex-direction: row;
  }
  header{
    text-align: start;
    width: 33%;

}
nav{
    text-align: right;
    padding-block: 1em;
    width: 66%;
}
#devlogdeskmob {
  display: flex;
  flex-direction: row;
}
#devlogdeskmob > #mimg {
  max-width: 30%;

}
#devlogdeskmob > #dtimg {
  max-width: 70%;

}
}
