*{
    margin: 0%;
}

body {
    background-color: black;
    background-image: url("images/background.jpg");
    background-size: 100%;
}


.container {
    display: flex;
    width: 100%;
    padding: 1% 1%;
    box-sizing: border-box;
    height: 40vh;
}

.box {
    flex: 1;
    overflow: hidden;
    transition: .5s;
    margin: 0 2%;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
    line-height: 0;
    color: black;
    background-color: white;
}

.box > img {
    width: 100%;
    height: calc(100% - 10vh);
    object-fit: cover; 
    transition: .5s;
}

.box > span {
    font-size: 3.8vh;
    display: block;
    text-align: center;
    height: 10vh;
    line-height: 2.6;
}

.box:hover { flex: 1 1 50%; }
.box:hover > img {
    width: 100%;
    height: 100%;
}

h1 {
    font-size: 60px;
    text-align: center;
    background-image: linear-gradient(to left, #310bd6, #66e7dd);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    margin-bottom: 0%;
}