@font-face {
    font-family: 'lato';
    src: url('../fonts/lato-medium-webfont.woff');
    src: local('OwnHand'),
    url('../fonts/lato-medium-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/lato-medium-webfont.woff') format('woff'),
    url('../fonts/lato-medium-webfont.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'latoBold';
    src: url('../fonts/lato-bold-webfont.eot');
    src: local('Open Sans Bold'), local('OpenSans-Bold'),
    url('../fonts/lato-bold-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/lato-bold-webfont.woff') format('woff'),
    url('../fonts/lato-bold-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

*{
    box-sizing: border-box;
}
body{
    font-family: lato, sans-serif;
    line-height: 1.2;
    padding: 0;
    margin: 0;
}
a:hover, a.active, .active a{
    color: rgba(0,0,0,0.6);
}
.container{
    width: 80rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
main{
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 3rem 0;
    position: relative;
}
main:after{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    content: "";
    background: rgba(0,0,0,0.5);
}

.items{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.item{
    width: calc(25% - 1rem);
    display: block;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    text-decoration: none;
    color: black;
    transition: all 0.35s;
}
.item_image{
    height: 13rem;
    border-radius: 16px;
    overflow: hidden;
    background: #e8e8e8;
}
.item:hover .item_image img{
    transform: scale(1.05);
}
.item_image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.35s;
}
.item_title{
    font-family: latoBold, sans-serif;
    font-size: 1.1rem;
    margin-top: 1rem;
}
.item_text{
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.6;
    color: black;
}