* {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #EAD1F4; 
}

.start {
    background-color: #AA60C8;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    color: white;
    flex-wrap: wrap; 
    overflow: hidden; 
}


.logo-title {
    display: flex;
    align-items: center;
}

.start img {
    height: 60px;
    margin-right: 10px;
    margin-left: 10px;
}

.start-btn {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    
}

.btn {
  border: 2px solid white;
  line-height: 2.5;
  padding: 0px 20px;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  border-radius: 8px;
  background-color: #AA60C8;
}

.btn {
  outline: none;
}

.btn:hover {
    color: black;
    background-color: white;
    
}

.btn:active {
    box-shadow: 2px 2px 5px white;
}

.member-box { 
    display: grid;
    gap: 20px;
    background-color: white;
    color: black;
    margin: 30px 30px;
    border-radius: 20px;
    height: auto;
}

.member {
    display: grid;
    gap: 30px;
    margin: 20px;
    
}

h2 {
    color: #AA60C8;
    font-weight: 800;
}

.name-btn {
    border-radius: 30px;
    text-align: center;
    padding: 10px;
    margin-left: 10px;
    font-size: 14px;
    border: none;
}

.name-btn:hover {
    background-color: #EAD1F4;
}

.name-btn:active {
    color: #AA60C8;
}


select {
    border: 2px solid grey;
    padding: 8px;
    border-radius: 6px;
    outline: none;
    background-color: white;
    color: black;
    margin-left: 10px;
    font-size: 14px;
}

select:focus {
    border-color: #AA60C8;
}

.photocard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: 20px;
  justify-items: center;
}

/* Layout */
.flip-container {
  display: block;
  perspective: 1000px;
  width: 260px;
  height: 380px;
  margin: 30px;
  position: relative;
}

.flip-checkbox {
  display: none;
}

.card-flip {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.flip-checkbox:checked + .card-flip {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  padding: 16px;
  text-align: center;
  box-sizing: border-box;
}

.card-front {
  z-index: 2;
}

.card-back {
  transform: rotateY(180deg);
  background-color: #f3f3f3;
  color: #333;
  font-family: 'Poppins', sans-serif;
  line-height: 1.8;
  padding: 16px;
  border-radius: 12px;
}

h4 {
  color: #17153B;
}

strong {
  color: #AA60C8;
}

/* Image */
.card-img {
  width: 100%;
  height: auto;
  max-height: 80%;
  object-fit: cover;
  border-radius: 8px;
  
}

/* Like Button */
.like-checkbox {
  display: none;
}

.like-label {
  font-size: 24px;
  color: grey;
  cursor: pointer;
  display: inline-block;
  margin-top: 10px;
  transition: color 0.3s ease;
  user-select: none;
}

.like-checkbox:checked + .like-label {
  color: red;
}



/* Make entire card clickable for flipping */
.flip-label {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 80%;
  cursor: pointer;
  z-index: 1;
}


/* Footer panel */
.panel {
  height: 200px;
  background-color: #AA60C8;
  margin-top: 48px;
  padding: 32px 0px;
}

.text-panel {
  margin: 0px 23.2px;
  padding: 0px 16px;
  height: 136.8px;
}

.text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  font-size: 16px;
  height: 60px;
}

.text-1 h3{
  font-size: 20px;
  font-weight: 700;
  margin: 0px 0px 8px;
}

.text-2 {
  font-size: 16px;
  height: 24px;
  
}

.text-2 a {
  font-size: 16px;
  margin-left: 16px;
  color: inherit;
  text-decoration: none;
}

.text-2 a:hover {
  color: #EAD1F4;
}

.copyright {
  height: 44.8px;
  margin: 32px 0px 0px;
  padding: 24px 0px 0px;
  text-align: center;
  color: #EAD1F4;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid #EAD1F4;
}