*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;}

.logo {
position: relative;
height: 10%; 
padding: .1vh ;
background-color: #F2CDCD;}

.page-background {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: url("images/bg.png") center/cover no-repeat fixed;}

.art-page {
  width: 50vw;
  max-width: 100%;
  background: rgba(20, 20, 20, 0.9);
  color: #f5f5f5;
  border-radius: 0.208vw;
  padding: 1.25vw;
  box-shadow: rgba(0, 0, 0, 0.6);}

.back-link {
  display: inline-block;
  margin-bottom: 16px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;}

.back-link:hover {
  opacity: 1;}

.carousel {
  position: relative;}

.carousel-window {
  position: relative;
  width: 100%;
  max-height: auto;
  overflow: hidden;
  border-radius: 6px;
  background: #00000000;}

.carousel-window img {
    max-width: 100%;
max-height: auto;}

.art-image-wrapper {
  position: relative;
  width: 100%;
  max-height: auto;
  overflow: hidden;
  border-radius: 6px;
  background: hsla(0, 0%, 0%, 0);}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.3s ease;}

.slide.active {
  position: relative;
  opacity: 1;}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;}

.carousel-nav.prev {
  left: 10px;}

.carousel-nav.next {
  right: 10px;}

.carousel-dots {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: #777;
  cursor: pointer;}

.dot.active {
  background: #ffffff;}

.art-info {
  margin-top: 22px;}

.art-title {
  font-size: 26px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;}

.art-description {
  font-size: 15px;
  line-height: 1.6;
  max-width: 80ch;}

@media (max-width: 768px) {
  .page-background {
    align-items: flex-start;
    padding-top: 16px; }

.art-page {
  width: 70vw; 
  background: rgba(20, 20, 20, 0.9);
  color: #f5f5f5;
  border-radius: 0.208vw;
  padding: 1.25vw;
  box-shadow: rgba(0, 0, 0, 0.6);}

.carousel-window {
  position: relative;
  width: 70vw;
  max-height: auto;
  overflow: hidden;
  border-radius: 6px;
  background: #00000000;}

.carousel-window img {
    max-width: 70vw;
max-height: auto;}

.art-image-wrapper {
  position: relative;
  width: 70vw;
  max-height: auto;
  overflow: hidden;
  border-radius: 6px;
  background: #00000000;}

.logo {
    position: relative;
    height: auto; 
    max-width: 800px;
    padding: .1vh ;
    background-color: #F2CDCD;}

.logo img {
    height: auto; 
    max-width: 500px;
  }

}