@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap'); 

body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    background-color: #1e1e1e;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
}

body::before,
body::after {
    content: '';
    display: block;
    width: 100%;
    height: 30px;
    min-height: 30px;
}

.container {
    text-align: center;
    border: 1px solid #7252AA;
    padding: 20px;
    border-radius: 10px;
    background-color: #2d2d2d;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 80%;
    max-width: 800px;
    height: fit-content;
    margin: auto 0;
}

.header-container {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
}

.header-container > img {
    width: 80px;
    height: 80px;
    border-radius: 100%;
    margin-top: 8px;
}

.title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

h1 {
    margin: 0;
    font-size: 3em;
    line-height: 1;
}

h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: normal;
    color: #c0c0c0;
    letter-spacing: 1.5px;
    line-height: 1;
}

.card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    gap: 20px;
}

.card {
    border-radius: 10px;
    width: 264px;
    height: 176px;
    perspective: 1000px;
    position: relative;
    max-width: 100%;
}

.card-content {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.8s;
}

.card-front {
    background-size: cover;
    position: absolute;
    border-radius: inherit;
    overflow: hidden;
}

.card-front::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.65);
}

.card-front > span {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #7151A9;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.card-back {
    background-color: #343434;
    color: #ffffff;
    transform: rotateY(180deg);
}

.card-back > ul {
   list-style-type: '- ';
   padding-left: 20px;
   margin-left: 20px;
   margin-block-end: 0;
   margin-block-start: 0;
   text-align: left;
   max-width: 100%;
   padding-inline-start: 0;
}

.card-back > ul > li {
  font-size: 14px;
  line-height: 20px;
}

.card-back > ul > li > strong {
  color: #7252AA;
}

.card:hover .card-front {
    transform: rotateY(180deg);
}

.card:hover .card-back {
    transform: rotateY(0deg);
}

.card:nth-child(1) .card-front {
    background-image: url('images/vs.png');
}

.card:nth-child(2) .card-front {
    background-image: url('images/camera.png');
}

.note {
    background-color: #333333;
    padding: 10px;
    border-radius: 0px 10px 10px 0;
    color: #ffffff;
    font-size: 1em;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #7252AA;
    margin-bottom: 20px;
    width: 528px;
    margin-left: auto;
    margin-right: auto;
    white-space: break-all;
    max-width: calc(100% - 20px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #ffffff;
    font-size: 1.5em;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #7252AA;
}

@media only screen and (max-width: 768px) {
  
  .header-container {
    gap: 9px;
  }
  
  .header-container > img {
    width: 56px;
    height: 56px;
    margin-top: 4px;
 }
  
  h1 {
    font-size: 2em;
  }
  
  h2 {
    font-size: 1em;
    letter-spacing: 1px;
  }
  
  .card-container {
      flex-direction: column;
  }
  
  .note {
    width: 244px;
    max-width: calc(100% - 20px);
    font-size: 14px;
  }
}