* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    padding: 10px 20px;
}

header .logo {
    font-size: 22px;
    font-family: fantasy;
    cursor: pointer;
    color: #333;
    text-decoration: none;
}

.logo:hover {
    color: #3f51b5;
}

.cover {
    width: 100%;
    height: 300px;
    background-color:slateblue;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.cover .center {
    color: white;
    text-align: center;
    max-width: 630px;
    font-family: sans-serif;
}

.cover .center h2 {
    font-size: 28px;
}

.cover .center p {
    max-width: 430px;
    margin: 0 auto;
    padding: 10px 0 0;
    font-size: 18px;
}

.cover .side {
    cursor: default;
    font-size: 88px;
}

.cont {
    max-width: 1555px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat( auto-fit, 476px );
    justify-content: center;
}

.card {
    position: relative;
    margin: 20px;
    box-shadow: 1px 1px 4px rgba(51, 51, 51, 0.53);
    overflow: hidden;
    border-radius: 6px;
    transition: .4s;
}

.card a img {
    width: 476px;
    height: 280px;
    object-fit: cover;
    vertical-align: middle;
    opacity: 1;
    transition: .4s;
}
.card .search-icon {
    pointer-events: none;
    width: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
}

.card .youtube-icon {
    cursor: pointer;
    width: 50px;
    position: absolute;
    top: 4px;
    right: 4px;
    transition: .4s;
}

.card .youtube-icon:hover {
    transform: translateY(-2px);
}

/* .card:hover {
    box-shadow: 2px 2px 8px rgba(51, 51, 51, 0.53);
} */

.card:hover .search-icon {
    display: block;
}

.card:hover a img {
    opacity: 0.54;
}