* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #f5f5f5;
}

#wrap {
  width: 600px;
  margin: 0 auto;
  font-size: 15px;
  padding-top: 50px;
}

.title {
  text-align: center;
  margin-bottom: 50px;
}

.title h2 {
  font-size: 36px;
  color: #0b0b6d;
  margin-bottom: 10px;
}

.title p {
  font-size: 18px;
  color: #333;
}

.cardnews-container {
  position: relative;
  width: 600px;
  height: 600px;

}

.cardnews {
  position: relative;
  width: 100%;
  height: 100%;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
overflow: hidden; 
}

.slides img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  transition: transform 0.5s ease;
  display: block;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 50; 
}

.arrow.left { left: -70px; } 
.arrow.right { right: -70px; } 

.fixed2 {
  position: fixed;
  right: 100px;
  bottom: 80px;
}

.fixed2:hover {
  opacity: 0.8;
}