.ad-container {
    position: relative;
    top: 100px;
    left: calc(15% + 200px);
    height: auto;
    width: 40%;
    padding: 10px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.ad-container-vertical {
    display: none;
    position: relative;
    top: 500px;
    left: 5%;
    right: 5%;
    height: auto;
    width: 90%;
    padding: 10px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 0;
}

@media screen and (max-width: 1400px) {
    .ad-container {
        display: none;
    }

    .ad-container-vertical {
        display: block;
    }
}