* {
    margin: 0;
    padding: 0;
}

html,
body {
    display: block;
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2em;
    overflow-x: hidden;
    color: #fff;
}

p {
    display: block;
    padding: 200px;
    margin: 0 auto;
    background-color: #122939;
    overflow: hidden;
    z-index: 100000;

}

header {
    position: relative;
}

.background {
    display: block;
    position: relative;
    right: 50px;
    width: 110%;
    height: 100vh;
    background-image: linear-gradient(to bottom, #d6d66f, #ccc564);
    overflow: hidden;
    z-index: 2;
}

.background::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, #122939, transparent);
    z-index: 5;
}

.background img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}