@import url('https://fonts.googleapis.com/css2?family=Monoton&family=Montserrat:wght@100&family=Quicksand:wght@300&display=swap');

html {
    min-height: 100vh;
    min-width: 100vw;
    background-color: #D4DFE6;
    background-image: linear-gradient(to bottom right, #1e2022, #c9d6de);
    color: #fff;
    font-family: "quicksand", sans-serif;
    font-size: 16px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    min-width: 300px;
    overflow-x: hidden;
    text-shadow: 0 3px 5px rgba(0,0,0,0.1);

}


body.content {
 display: grid;
 grid-template-rows: 70px 1fr 10px;
 grid-template-areas:
    "header"
    "main"
    "footer"
}

.header {
    width: 100%;
}
header .logo {
    width: 100%;
    font-family: "Monoton";
    font-size: 2em;
    text-transform: uppercase;
    text-align: center;
}

.wallpaper {
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/unsplash.jpg');
    background-position: center center;
    background-size: cover;
    -webkit-background-size: cover;
    opacity: 0.2;
    position: fixed;
    z-index: -1;
}
main.main {
    height: 100vh;
    min-height: 1200px;
}

a {
    color: currentColor;
    cursor: pointer;
    text-decoration: none;
}
.about {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;

}
aside {
    max-width: 320px;
    width: 200px;
    margin: auto;
}

/*typography*/

.job,
.button {
  font-family: "Montserrat", "Quicksand", sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.name {
  font-size: 2.25rem;
  line-height: 1.125;
  margin-bottom: 0.5rem;
}

hr {
  background-color: #ff470f;
  border: none;
  content: "";
  height: 1px;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  transform-origin: center left;
  width: 4rem;
}

.description {
  font-size: 1.5rem;
  max-width: 400px;
}

.contact {
  display: inline-block;
  margin-top: 1.5rem;
  vertical-align: top;
}

.button,
.social a {
  transform-origin: center;
  transition-duration: 100ms;
}


.button {
  background-color: #fff;
  border-radius: 290486px;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
  color: #000;
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1;
  padding: 1.25em 2em;
  text-shadow: none;
  transition-property: box-shadow, transform;
  user-select: none;
  vertical-align: top;
  white-space: nowrap;
  will-change: box-shadow, transform;
}

.button:hover {
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2);
  transform: scale(1.02) translateY(-4px);
}

.button:active {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
  transform: scale(0.98) translateY(-2px);
}

.headline {
  display: block;
  font-size: 2.25rem;
  line-height: 1.125;
  margin-bottom: 0.5rem;
}

/* end typography */



/* picture */

.wallpaper, .picture-shadow, .picture-image {
    display: block;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;

} 

.picture {
    padding-top: 100%;
    position: relative;
    width: 100%;
}
.picture-shadow {
  border-radius: 290486px;
  background-image: radial-gradient(#000 0%, rgba(0, 0, 0, 0) 70%);
  position: absolute;
  top: 10%;
}
.picture-image {
  border-radius: 290486px;
  position: absolute;
}
/* end picture */
.below {
    display: block;
    min-height: 560px;
    margin-top: 30px;
}
.products {
    width: 100%;
    display: flex;
    background-color: #FFF;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 20px 0;
    color: #000
}

.items { 
    display: flex;
    background-color: white;
    width: 80%;
    flex-direction: column;;
}

.item {
    box-sizing: border-box;
    text-align: center;
    height: 280px;
    margin: 10px;
}

.productsImage {
    display:block;
    width: 80%;
    height: 200px;
    margin: auto;
    position: relative;
    padding: 20px 0
}
.productsImage > img {
    position: absolute;
    left: 30px;
    width: 150px;
    height: 150px;
}

@media screen and (min-width: 800px) {
    .welcome {
        display: flex;
        flex-direction: row;
        width: 60%;
        justify-content: space-evenly;
        align-items: center;
        margin: auto;
        
    }
    .about {
        display: flex;
        width: 50%;
        justify-content: center
    }
    aside {
        width: 50%;
        max-width: 320px;
    }

    header .logo {
        font-size: 3em;
    }

    .products {
        max-width: 1090px;
        display: flex;
        flex-direction: column;
        background-color: #FFF;
        align-items: center;
        justify-content: center;
        margin: auto;
        color: #000;
        height: 390px;
        -webkit-box-shadow: 10px 9px 33px -3px rgba(0,0,0,0.75);
	-moz-box-shadow: 10px 9px 33px -3px rgba(0,0,0,0.75);
	box-shadow: 10px 9px 33px -3px rgba(0,0,0,0.75);
    }

    .items {
        display: flex;
        background-color: white;
        justify-content: center;
        width: 80%;
        flex-direction: row;
        height: 300px;
    }

    .item {
        box-sizing: border-box;
        text-align: center;
        margin-left: 30px;
        width: 250px;
        height: 300px;
    }
    .item:hover {
	cursor: pointer; 
     }
    .productsImage {
        display:block;
        height: 200px;
        width: 80%;
        margin: auto;
        position: relative;
    }
    .productsImage > img {
        position: absolute;
        width: 150px;
        height: 150px;
    }
}


