:root {
  --black: #000000;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
}

/* Sections */
.panel,
.panel a{
  display:flex;
  justify-content:center;
  min-height:500px;
  overflow: hidden;
  position: relative;
}

.grunge{
  position:absolute;
  width:75%;
}

.grunge.br{
  bottom:0;
  right:0;
  transform:translate3d(10%, 51%, 0);
}

.grunge.tl{
  top:0;
  left:0;
  transform:translate3d(-10%, -60%, 0);
}

.grunge.tr{
  top:0;
  right:0;
  transform:translate3d(10%, -60%, 0);
}

.grunge img{
  width:100%;
}

.panel .bg,
.panel a .bg{
  height:100%;
  left:0;
  position:absolute;
  top:0;
  width:100%;
}

.panel__content {
  align-items:center;
  display:flex;
  justify-content:center;
  padding:15px;
  position: relative;
  width:100%;
  z-index: 1;
}

.title-hero {
  font-family: "Rubik Dirt", sans-serif;
  font-size:13vw;
  font-weight:400;
}

.panel--about {
  background: var(--black);
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top:-4px;
  padding: 45px 30px;
}

.panel--about .body-text{
  transform:rotate(-3deg);
  max-width:700px;
}

.panel--hero {
  min-height: 100vh;
  display: flex;
  padding: 15px;
}

.panel--hero .bg{
  background-image: url("assets/header-mobile.jpg");
  background-size:cover;
  filter:blur(3px);
}

.panel--jeremy .bg{
  background-image: url("assets/jeremytani-bg.jpg");
  background-size:cover;
  opacity:0.5;
}

.panel--jeremy .logo,
.panel--jeremy .logo img{
  max-width:600px;
  width:100%;
}

.panel--rice{
  margin-top:60px;
}

.panel--rice .bg{
  background-image: url("assets/ricebandit-bg.jpg");
  background-size:cover;
  opacity:0.5;
}

.panel--rice .logo{
  position:relative;
}

.panel--rice .logo,
.panel--rice .logo img{
  max-width:600px;
  width:100%;
}

/* About — Libre Caslon Text */
.body-text {
  font-family: "Libre Caslon Text", Georgia, serif;
}

.panel--rice .body-text{
  bottom:0;
  color:white;
  font-size:5vw;
  position:absolute;
  right:0;
}

footer{
  padding:5px 15px;
}

@media (min-width: 768px) {

  .panel__content{
    max-width:1440px;
  }

  .panel .panel__content .logo img{
    transition:1200ms transform;
  }

  .panel:hover .panel__content .logo img{
    transform:scale(1.1);
    transition:250ms transform;
  }

  .panel--hero {
    min-height: 400px;
  }

  .panel--hero .bg{
    background-image: url("assets/header-desktop.jpg");
  }

.grunge{
  position:absolute;
  width:50%;
}

.grunge.br{
  bottom:0;
  right:0;
  transform:translate3d(10%, 51%, 0);
}

.grunge.tl{
  top:0;
  left:0;
  transform:translate3d(-10%, -60%, 0);
}

.grunge.tr{
  top:0;
  right:0;
  transform:translate3d(10%, -60%, 0);
}

  .title-hero {
    font-size:116px;
    font-weight:400;
  }

  .panel--rice .body-text{
    font-size:31px;
  }
}
