Mal:Portada600k/styles.css

.caixa-flex {
 display:flex;
 flex-wrap:wrap;
 flex-direction:row;
 min-width:100% 
}
.reqport {
 box-shadow:0 0 0.3rem #999;
 padding:10px;
 margin-bottom:10px;
 flex:1 1 0 
}
.portada-imatge-flex {
 position:relative;
 overflow:hidden;
 width:100%;
 height:100%;
}
.portada-imatge-flex img {
 position:absolute;
 display:block;
 width:100%;
 min-width:auto;
 height:auto;
 min-height:100%;
 object-fit:cover;
 margin:0 
}
.mf-mobile-only {
 display:none
}
* {
 margin:0 
}
.portada-slider {
 overflow:hidden;
 width:100%;
 max-width:1024px;
 height:100%;
 min-height:30vh;
 min-width:350px 
}
.portada-slider ul {
 width:100%;
 margin:0;
 padding:0;
 display:table;
 table-layout:fixed;
 height:100% 
}
.portada-slider ul li {
 display:table-cell;
 vertical-align:top;
 position:relative;
 width:33.33333%;
 height:100%;
 transition:all 1000ms ease 
}
.portada-slider-div-contingut {
 overflow:hidden;
 width:100%;
 height:100%;
 position:absolute;
 top:0 
}
.portada-slider-contingut {
 display:block;
 height:100%;
 width:100%;
 position:relative;
 z-index:3;
 padding:15px 20px;
 box-sizing:border-box;
 color:#fff 
}
.portada-slider-contingut * {
 opacity:0;
 margin:0;
 width:100%;
 position:relative 
}
.portada-slider-titol {
 font-size:150%;
 font-weight:bold;
 margin-bottom:2px;
 top:2px 
}
.portada-slider-descripcio {
 top:2px;
 font-size:13.5px 
}
.portada-imatge {
}
.portada-imatge img {
 position:absolute;
 display:block;
 width:100%;
 min-width:auto;
 height:auto;
 min-height:100%;
 object-fit:cover;
 margin:0 
}
.portada-slider ul:hover li {
 width:10% 
}
.portada-slider ul:hover li:hover {
 width:60% 
}
.portada-slider ul:hover li:hover .portada-slider-contingut {
 background:rgba(0,0,0,0.7) 
}
.portada-slider ul:hover li:hover .portada-slider-contingut * {
 opacity:1 
}
.portada-slider-contingutimatge {
 display:block;
 height:100%;
 width:100%;
 position:relative;
 z-index:3;
 padding:0;
 box-sizing:border-box;
 color:#fff 
}
.portada-slider-contingutimatge * {
 opacity:0;
 margin:0;
 width:100%;
 position:relative 
}
.portada-slider ul:hover li:hover .portada-slider-contingutimatge {
 background:rgba(0,0,0,0) 
}
.portada-slider ul:hover li:hover .portada-slider-contingutimatge * {
 opacity:1 
}
.portada-slider-titol a {
	color:white;
	font-weight:bold;
}
.portada-slider-descripcio a {
	color:white;
	font-weight:bold;
}
/* Cronologia */
.portada-cronologia-item {
	border-left:2px solid rgba(40,133,111,255);
	border-right:0;
}

.portada-cronologia-item:last-child {
  border-width:0 0 0 2px;
  border-image: linear-gradient(to bottom, rgba(40, 132, 109, 1) 60%, rgba(40, 132, 109, 0)) 1 100%;
}

.portada-cronologia-avuifa {
 display:inline-block;
 position:relative;
 padding:5px 10px 5px 10px;
 border-top-right-radius:5px;
 border-bottom-right-radius:5px;
 background:rgba(40,133,111,255);
 color:white;
 font-weight:bold;
}
.portada-cronologia-avuifa:after {
 position:absolute;
 left:-8px;
 top:10px;
 height:10px;
 width:10px;
 border-radius:10px;
 border:2px solid rgba(40,133,111,255);
 background:white;
 content:' ';
}

.portada-cronologia-efemeride {
 padding:10px 0px 10px 10px;
}


@keyframes cauconfeti {
    from {opacity: 0;}
    50% {opacity: 1;}
    to {transform: translateY(100vh);}
}

@keyframes amaguemcontainer {
    from {visibility: visible;}
    to {visibility: hidden;}
}


.container-confeti {
    display: flex;
    max-width: 100%;
    width: 90%;
    height: 100vh;
    z-index: 1000;
    margin:0 auto;
	position: absolute;
	visibility:hidden;
    animation: amaguemcontainer;
    animation-duration: 4s;
}
.confeti {
    position: absolute;
    width: 10px;
    height: 30px;
    top: 0;
    opacity: 0;
}

.confeti:nth-child(odd) {
    background: #E63946;
}
.confeti:nth-child(2n) {
    background: #84C318;
}

.confeti:nth-child(4n-7) {
  background: #73EEDC;
}
.confeti:nth-child(1) {
    left: 5%;
    transform: rotate(-23deg);
    animation: cauconfeti 5 ease-in-out;
    animation-delay: 152ms;
    animation-duration: 1000ms;
}

.confeti:nth-child(2) {
    left: 12%;
    transform: rotate(35deg);
    animation: cauconfeti 5 ease-in-out;
    animation-delay: 200ms;
    animation-duration: 1100ms;
}

.confeti:nth-child(3) {
    left: 25%;
    transform: rotate(-23deg);
    animation: cauconfeti 5 ease-in-out;
    animation-delay: 146ms;
    animation-duration: 1300ms;
}

.confeti:nth-child(4) {
    left: 32%;
    transform: rotate(35deg);
    animation: cauconfeti 5 ease-in-out;
    animation-delay: 182ms;
    animation-duration: 1500ms;
}

.confeti:nth-child(5) {
    left: 45%;
    transform: rotate(-23deg);
    animation: cauconfeti 5 ease-in-out;
    animation-delay: 232ms;
    animation-duration: 900ms;
}

.confeti:nth-child(6) {
    left: 52%;
    transform: rotate(35deg);
    animation: cauconfeti 5 ease-in-out;
    animation-delay: 222ms;
    animation-duration: 1300ms;
}

.confeti:nth-child(7) {
    left: 65%;
    transform: rotate(-23deg);
    animation: cauconfeti 5 ease-in-out;
    animation-delay: 382ms;
    animation-duration: 1200ms;
}

.confeti:nth-child(8) {
    left: 73%;
    transform: rotate(35deg);
    animation: cauconfeti 5 ease-in-out;
    animation-delay: 122ms;
    animation-duration: 1600ms;
}

.confeti:nth-child(9) {
    left: 77%;
    transform: rotate(-23deg);
    animation: cauconfeti 5 ease-in-out;
    animation-delay: 152ms;
    animation-duration: 1200ms;
}

.confeti:nth-child(10) {
    left: 82%;
    transform: rotate(35deg);
    animation: cauconfeti 5 ease-in-out;
    animation-delay: 282ms;
    animation-duration: 700ms;
}

.confeti:nth-child(3n) {
    width: 5px;
    height: 60px;
    border-radius: 15px;
    animation-duration: 1200ms;
    animation-delay: 1000ms;
}

.confeti:nth-child(4n) {
    width: 5px;
    height: 12px;
    animation-duration: 2000ms;
}
.confeti:nth-child(4n) {
  position: relative;
  width: 50px;
  height: 5px;
  margin: 20px 0;
  background: #457B9D;
  border-radius: 60% / 10%;
  color: white;
  text-align: center;
  text-indent: .1em;
}
.confeti:nth-child(4n):before {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  right: -5%;
  left: -5%;
  background: inherit;
  border-radius: 5% / 50%;
}
.confeti:nth-child(4n):after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -11px;
    width: 50px;
    height: 5px;
  background: #457B9D;
  border-radius: 80% / 150%;
    
}