*{
   box-sizing: border-box;
   margin: 0;
   padding: 0;
}

html{
   scroll-behavior: smooth;
}

body{
   color:#171a20;
   font-family: 'M PLUS 1', sans-serif;
}

.desktop{
   display: none;
}

@media (min-width:1200px) {
   .desktop{
   display:initial ;
   }
}

header{
   display: grid;
   grid-template-columns: auto 1fr auto;
   padding: 5px 20px;
   position: fixed;
   top: 0;
   z-index: 2;
   width: 100%;
}

header a{
   color:inherit
}

header nav.right{
   text-align: right;
}

header nav a{
   text-decoration: none;
   padding: 5px 10px;
}

header nav.center{
   text-align: center;
}

a.logo{
   height: 12px;
   width: 100px;
   color: inherit;
}

section{
   height: 100vh;
   background-size: cover;
   background-position: center center;
}

section .content{
   opacity: 0;
   position: fixed;
   width: 100%;
   top: 0;
   transition:  .3s ease;
   height: 100vh;
   padding-top: 15vh;
   padding-bottom: 15vh;
   text-align: center;
   display: grid;
   grid-template-rows: min-content auto min-content;
}

section.active .content{
   opacity: 1;
}

section h1{
   font-size: 3rem;
}

section a{
   color: inherit;
}

section .buttons a{
   display: block;
   background-color: #eee;
   color: inherit;
   padding: 12px 85px;
   border-radius: 5px;
   text-decoration: none;
   font-size: 15px;
   font-weight: 500;
   white-space: none;
}

section .buttons a:first-child{
   background-color: #444;
   color: #ffff;
}

section .buttons{
   display: grid;
   row-gap: 20px; 
   margin: 0 40px;
}

@media (min-width:600px) {
   section .buttons{
      max-width: 640px;
      margin: 0 auto;
      column-gap: 20px;
      grid-template-columns: 1fr 1fr;
   }
}

aside{
   position: fixed;
   right: -320px;
   width: 320px;
   background-color: #fff;
   padding: 80px 40px;
   z-index:4;
   height: 100vh;
}

aside.active{
   right:0;
}

aside a{
   display: block;
   transition: right .4s ease;
   color:inherit;
   text-decoration: none;
   padding: 12px 0;
   font-size: 14px;
   font-weight: 500;
}

aside button.close{
   font-size: 24px;
   border: 0;
   background-color: transparent;
   position: absolute;
   top: 10px;
   right: 10px;
   padding: 10px;
   font-family: sans-serif;
   font-weight: 100;
   cursor: pointer;
}

.backdrop{
   z-index: 3;
   display: none;
   position: fixed;
   inset: 0;
   background-color: rgb(0,0,0,.35);
   backdrop-filter: blur(5px);
}

.backdrop.active{
   display: block;
   background-color: rgba(0, 0, 0, .35);
}
