/**************************************************


	Written by Julius Cinco Cesar
	November 03, 2024


**************************************************/

:root {
  
  /* Hues */
  --hue-lumi: hsl(0, 50%, 100%);
  --hue-blan: hsl(190, 50%, 85%);
  --hue-jcce: hsl(190, 50%, 50%);
  --hue-sole: hsl(190, 75%, 35%);
  --hue-noir: hsl(0, 50%, 0%);
  
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  background: var(--hue-blan);
}

body {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
}
header, footer {
  margin: .5rem auto;
  position: absolute;
}
header {
  top: 0;
}
nav > ul {
  display: flex;
}
nav > ul li {
  margin: 0 2rem;
  list-style: none;
}
main {
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr ;
  grid-template-areas: 
    'main'
    'side';
}
aside {
  grid-area: side;
  padding: .5rem;
  width: 100%;
  background: linear-gradient(15deg,
    var(--hue-jcce), var(--hue-sole) 40%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--hue-blan);
  font-size: .75rem;
}
aside > figure {
  margin: 3rem 1rem 1rem;
}
aside img {
  width: 100%;
}
aside section:nth-child(4) ul {
  margin: 0 .5rem 2rem;
  display: flex;
}
aside section ul li {
  margin-left: .5rem ;
  list-style: none;
}
aside section ul li a {
  text-decoration: none;
  color: var(--hue-blan);
}
.main {
  position: relative;
  background: var(--hue-blan);
  grid-area: main;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 1rem .5rem;
}
.burger {
  width: 3rem;
  height: 3rem;
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 0;
  right: 0;
}
.burger div {
  width: 1rem;
  height: .2rem;
  background-color: red;
}
.burger div:nth-child(2) {
  top: calc(.2rem * 2);
  margin: 1rem auto;
}
.burger div:nth-child(3) {
  top: calc(.2rem * 3);
}

#promise {
  width: 100%;
}
#promise p {
  padding: .25rem;
  line-height: 1rem;
  font-style: italic;
}
footer {
  bottom: 0;
}
@media (width > 660px) {
  main {
    margin: auto;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: .4fr .6fr;
    grid-template-areas: 
      'side main';
  }
}