body {
    font-family: "Dancing Script", cursive;
    background-image: url(./img/patrick-tomasso-QMDap1TAu0g-unsplash.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

#container {
    display: flex;
    justify-content: center;
    gap: 10px;;
}

.btn {
    background-color: #ffada3;
    border: none;
    color: #232323;
    font-family: "Dancing Script", cursive;
    font-size: 30px;
    border-radius: 5px;
}


#picture {
    max-height: 95vh;
    width: auto;
    max-width: 60vw; 
    object-fit: contain;
    border-radius: 10px;
}

.containerElP {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 95vh;
    width: 100%;
    max-width: 60vw;
    gap: 8px;
    overflow-y: auto;
    flex-wrap: wrap;
}

.divPEl {
    background-color: #ffada3;
    margin-top: 5px;
    border-radius: 10px;
    padding: 12px;
    font-size: 20px;
    width: auto;
    margin-right: 5px;
    flex: 0 0 auto;
    margin: 5px;
    transition: transform 2s ease, font-size 2s ease, padding 2s ease, background-color 3s ease;
}


.divPEl.selected {
  transform: scale(1.04); 
  font-size: 24px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 2;
  background-color: #F5D3C4;
}

@media all and (max-width: 500px) {
    #container {
        flex-direction: column;
        align-items: center;
    }
    .containerElP {
        flex-wrap: nowrap;
        max-height: none;
        overflow: visible;
    }
    .divPEl {
        width: 90%;
        align-self: center;
        font-size: 18px;
        padding: 10px;
    }
    #picture {
        max-width: 90vw;
        max-height: 75vh;
        align-self: center;
    }
}