* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.hero {
    font-family: 'Roboto Slab', serif;
    height: 240px;
    text-align: center;
    margin: 0 auto;
    background: linear-gradient(to top, rgba(165, 165, 165, 0.4), rgba(165, 165, 165, 0));
}

header {
    overflow: hidden;
    background: url(../images/cubes.png);
    margin-bottom: 0;
}

.hero h1 {
    font-size: 7rem;
    margin-bottom: 0;
}

.hero h2 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: 10px;
}

nav {
    position: sticky;
    top: 0;
    text-align: center;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .35);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 8px;
    display: flex;
    justify-content: space-around;
    background: rgba(165, 165, 165);
}

nav ul li {
    display: inline;
    float: left;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 1.4rem;
}

nav ul li a {
    display: block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    color: #191919;
}

nav ul li a:hover {
    transform: scale(1.2);
    transition: all .2s ease-in-out;
    text-decoration: underline dashed #191919;
}



.bodyback {
    overflow: hidden;
    background: url(../images/background.png);
}

.AbM {
    font-family: 'Roboto Slab', serif;
    font-size: 3rem;
    font-weight: 400;
    padding-left: 42px;
    color: #191919;
    text-align: center;
}

.AbM:after {
    content: "";
    display: block;
    min-width: 200px;
    max-width: 200px;
    padding-top: 10px;
    border-bottom: 3px dashed #191919;
    margin: 0 auto;
}

.bio {
    font-family: 'Cutive Mono', monospace;
    font-size: 1.4rem;
    color: #191919;
    padding-left: 42px;
    padding-top: 10px;
}

.design h3 {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    padding-left: 59px;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.photography {
    margin-bottom: 25px;
}

.photography h3 {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    padding-left: 59px;
    font-size: 1.8rem;
    margin-bottom: 15px;
    margin-top: 50px;
}

.photo-repair h3 {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    padding-left: 59px;
    font-size: 1.8rem;
    margin-bottom: 15px;
    margin-top: 50px;
}

.animation h3 {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    padding-left: 59px;
    font-size: 1.8rem;
    margin-bottom: 15px;
    margin-top: 50px;
}

.painting h3 {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    padding-left: 59px;
    font-size: 1.8rem;
    margin-bottom: 15px;
    margin-top: 50px;
}

p {
    font-family: 'Cutive Mono', monospace;
    font-size: 1rem;
    color: white;
}

#about {
    margin: 0 auto;
    background: rgba(245, 245, 245, 0.8);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .35);
    border-radius: 10px;
    max-width: 1200px;
    margin-top: 25px;
    margin-bottom: 55px;
    padding-top: 35px;
    padding-left: 25px;
    padding-right: 42px;
    padding-bottom: 40px;
}

figure {
    float: left;
}

figure img {
    border-style: solid;
    border-color: #191919;
    border-width: 8px;
    border-radius: 5px;
}

figure figcaption {
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    font-size: 0.95rem;
    text-align: center;
    padding-top: 5px;
    color: #191919;
}

i {
    font-style: italic;
}

img {
    display: block;
}

#gallery img {
    border: none;
    border-radius: 0px;
}

.MyW {
    font-family: 'Roboto Slab', serif;
    font-size: 3rem;
    font-weight: 400;
    padding-left: 42px;
    color: #191919;
    text-align: center;
}

.MyW:after {
    content: "";
    display: block;
    min-width: 200px;
    max-width: 200px;
    padding-top: 10px;
    border-bottom: 3px dashed #191919;
    margin: 0 auto;
}

#gallery {
    margin: 0 auto;
    background: rgba(245, 245, 245, 0.8);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .35);
    border-radius: 10px;
    max-width: 1200px;
    margin-top: 25px;
    margin-bottom: 25px;
    padding-top: 35px;
    padding-left: 25px;
    padding-right: 42px;
    padding-bottom: 40px;
}

main {
    margin-top: 75px;
    margin-bottom: 75px;
}

.gallery-carousel {
    margin: 0 auto;
    max-width: 1024px;
}

.carousel-item {
    padding: 20px;
}

.carousel-item img {
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5);
}

.carousel-nav {
    padding: 20px;
}

.carousel-nav-item {
    padding: 10px;
}

.carousel-nav-item img {
    width: 100%;
}

/* FANCYBOX LIGHTBOX */

.lightbox {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 5px;
    margin: 0 auto;
    max-width: 1024px;
}

.lightbox figure {
    margin: 0;
}

.lightbox figure img {
    width: 100%;
}

.lightbox figure a {
    display: block;
    border: 5px solid transparent;
    transition: border .3s ease-in-out;
}

.lightbox figure a:hover {
    border: 5px solid #191919;
}

.lightbox figcaption {
    display: none;
}


/* FOOTER */

footer {
    display: flex;
    align-items: center;
    background: rgba(165, 165, 165, 0.75);
    padding: 0.7rem;
    padding-left: 5.5rem;
    padding-right: 5.5rem;
}

.social {
    font-size: 3rem;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    flex: 2;
}

.contact {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-style: italic;
    color: #191919;
}

.social li {
    display: inline-block;
}

.social li a {
    color: #191919;
}

.social li a:hover {
    transform: scale(1.2);
    transition: all .15s ease-in-out;
    color: #686868;
}

.shop {
    font-size: 2.5rem;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    flex: 2;
}

.shop li {
    display: inline-block;
}

.shop li a {
    color: #191919;
}

.shop li a:hover {
    transform: scale(1.2);
    transition: all .15s ease-in-out;
    color: #686868;
}

.button {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #191919;
    text-decoration: none;
    background: white;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 10px;
    padding-right: 10px;
    border: solid 3px #191919;
    border-radius: 15px;
}

.button:hover {
    transform: scale(1.1);
    transition: all .15s ease-in-out;
    background-color: #d8d8d8;
    color: black;
    border: solid 3px black;
}

#back2Top {
    width: 40px;
    line-height: 40px;
    overflow: hidden;
    position: fixed;
    bottom: 65px;
    right: 0px;
    color: #191919;
    text-align: center;
    font-size: 40px;
    text-decoration: none;
}

#back2Top:hover {
    color: gray;
}