body { background: url("img/wp2.png") ; text-align: center; color: beige; padding-left: 5vw; padding-right: 5vw; } a { color: rgb(245, 82, 82); } abbr{ cursor: help; } .content { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: center; margin: 0 10%; } .audio-players{ display: flex; flex-wrap: wrap; justify-content: space-around; margin: 2em auto; } .audio { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: center; min-width: 20vw; width: 27%; padding: 20px; border-radius: 10px; background: linear-gradient(45deg, #dbc562aa, #92878dbb); } .audio, .date-cont{ box-shadow: #111 10px 20px 15px; transition-property: box-shadow, transform; transition-duration: .5s; transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); } .date-cont:hover, .audio:hover { box-shadow: #111 15px 25px 30px; transform: scale(100.5%); } .audio img { background-color: #534e5588; box-shadow: #111 1px 1px 8px; border-radius: 15px; width: 100%; } audio { flex-wrap: nowrap; width: 100%; border-radius: 10px; background: linear-gradient(217deg, rgba(255,0,0,.8), rgba(255,0,0,0) 70.71%), linear-gradient(127deg, rgba(0,255,0,.8), rgba(0,255,0,0) 70.71%), linear-gradient(336deg, rgba(0,0,255,.8), rgba(0,0,255,0) 70.71%); box-shadow: #111 2px 2px 10px; } .date{ display: flex; flex-direction: row; justify-content: space-between; } .date hr{ transform: rotate(90deg); width: 2em; height: 0; border: 1px solid white; } .date div{ display: flex; flex-direction: row; align-items: center; } .date-cont{ width: 50%; padding-left: 10px; padding-right: 10px; margin-bottom: 20px; margin-left: 10%; margin-right: 10%; border-radius: 10px; background: linear-gradient(45deg, #dbc562aa, #92878dbb); color: white; display: flex; flex-direction: column; } .date-cont img{ display: none; max-height: 50vh; margin: auto; margin-bottom: 20px; } .date-cont.toggle img { display: block; } .date-desc { text-align: left; }