.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    background-color: rgb(32, 76, 159);
    background-color: rgba(32, 76, 159, 0.7);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 60%;
    text-align: center;
    color: white;
    font-size: 24px;
    line-height: 180%;
    margin: 0 auto;
}

@media screen and (max-width: 1024px) {
    .overlay-content {
        width: 75%;
    }
}

@media screen and (max-width: 768px) {
    .overlay-content {
        top: 10%;
        font-size: 20px;
        width: 90%;
    }
}