* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
}

div {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 1140px;
}

img {
    width: 100%;
}

#logo {
    transition: all .3s ease 0s;
    opacity: 100;
}

a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all .3s ease 0s;
    cursor: pointer;
}

div:hover #logo {
    opacity: 0;
}

div:hover a {
    opacity: 100;
}