@font-face {
    font-family: 'Suisse';
    src: url('fonts/SuisseIntl-Book-WebXL.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
:root {
    --txtHex: #323232;
    --bgHex: #f3f2ef;
}
html{
    background-color:black;
}
html, body {
    box-sizing: border-box;
    padding:0;
    margin:0;
    height:100%;
    width:100%;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    margin:0;
    padding:0;
    font-family:'Suisse', -apple-system, 'Helvetica Neue', Helvetica, sans-serif;
    font-weight:400;
    font-size: 20px;
    line-height: 1.5;
    background-color:white;
    max-width:1400px;
    color: var(--textColor);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a {
    text-decoration: none;
    color:inherit;
    position: relative;
}
a:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0px;
    left: 0;
    border-bottom: 1px solid var(--txtHex);
    opacity: 1;
    transition: all 700ms;
    transform-origin: bottom center;
}
a:hover:after, a:focus:after {
    border-bottom: 5px solid blue;
}
h1,li,ul,p{
    font-weight:inherit;
    line-height: inherit;
    font-size:inherit;
    padding:0;
    margin:0;
}
ul{
    padding-left:0;
    list-style-type: none;
}
#wrap{
    display:grid;
    grid-template-rows: 100px 1fr;
    height:100%;
    background-color:white;
}
header{
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    transition: all 400ms;
}
main{
    display:grid;
    height:100%;
    grid-template-rows: 1fr;
    grid-template-columns: 2fr 5fr;
    padding: 0 2.5rem 2.5rem 2.5rem;
    transition: all 400ms;
}
#photo{
    background: url(images/photo.jpg) no-repeat center center;
    background-size: cover;
    color:#00000000;
}

aside{
    display:grid;
    justify-content: space-between;	
    grid-template-columns:1fr;
}
section{
    display:grid;
    grid-template-columns: 3fr 4fr;
    align-self: end;
    position: relative;
    padding-top:1em;
}
section:before {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    top: 0px;
    left: 0;
    background-color: var(--txtHex);
}

@media screen and (max-width: 1280px) {
    main{
        grid-template-columns: 1fr 2fr;
    }
  }

@media screen and (max-width: 1024px) {
    main{
        grid-template-columns: 2fr 3fr;
    }
  }

  @media screen and (max-width: 860px) {
    header{
        padding: 0 1.5rem;
        height:80px;
    }
    main{
        grid-template-columns: 1fr 2fr;
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    #category{
        display:none;
    }
    section{
        grid-template-columns: 1fr;
    }
  }
  @media screen and (max-width: 600px) {
    main{
        grid-template-columns: 1fr;
        grid-template-rows: 2fr 1fr;
    }
    #photo{
        grid-row:1;
        height:600px;
        margin-bottom:1em
    }
    section{
        grid-template-columns: 1fr 1fr;
    }
    #category{
        display:block;
    }
  }
