body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: monospace;
}

.content-instagram {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.item {
    position: absolute;
    width: 350px;
    height: 350px;
    background-color: #c0c0c094;
    transition: 0.5s;
    left: calc(50% - 175px);
    top: 0;
}

@media (max-width: 760px) {
    .slider {
        position: relative;
        width: 100%;
        height: 250px;
        overflow: hidden;
    }
    .item {
        position: absolute;
        width: 250px;
        height: 250px;
        background-color: #c0c0c094;
        transition: 0.5s;
        left: calc(50% - 125px);
        top: 0;
    }
    
    #prev,
    #next {
        padding-left: 10px;
        padding-right: 10px; 
    }
        
}


.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

#next {
    right: 50px;
    top: 40%;
    z-index: 100;
}

#prev {
    left: 50px;
    top: 40%;
    z-index: 100;
}

#prev,
#next {
    color: #000000;
    background: none;
    border: none;
    font-size: xxx-large;
    font-family: monospace;
    font-weight: bold;
    opacity: 0.5;
    transition: opacity 0.5s;
    cursor: pointer;
}

#prev:hover,
#next:hover {
    opacity: 1;
}