/*
This page was Coded and created by:  
Wateen Alharthy  
ID: 2413523 
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Courier New', Courier, monospace;
}
body {
  font-family: 'Courier New', Courier, monospace;
  background: linear-gradient(to bottom, #e9ddfa, #431e71);
  color: whitesmoke;
  text-align: center;
}
.header {
  width: 100%;
  background: #7851a9;
  padding: 20px;
  text-align: center;
}

.header a{
  color: whitesmoke;
  font-weight: bold;
  font-size: 35px;
}

.navBar {
  background:white;
  text-align: center;
  padding: 15px;
  font-size: 20px;
}

.navBar a{
  color: #7851a9;
  font-weight: bold;
  padding: 10px;
}
.navBar a:hover {
  color: black;
}

.preview-container {
  max-width: 600px;
  background: white;
  color: #573b7a;
  padding: 20px;
  margin: 50px auto;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#card-preview {
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  background: #f0f0f0;
  border: 2px dashed #7851a9;
  margin: 20px 0;
  display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-align: center;
}

#preview-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  max-width: 200px;
  margin: 10px;
  border: 2px solid black;
  padding: 5px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

button {
  background: #7851a9;
  color: whitesmoke;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background: #7851a9
}

.footer {
  background-color: #7851a9;
  color: whitesmoke;
  text-align: center;
  padding: 15px;
  position: relative ;
  bottom: 0;
  width: 100%;
}

/* 🔹 Small Screens (576px ) */
@media (max-width: 576px) {
  .preview-container {
    max-width: 90%;
    margin: 20px auto;
  }

  .buttons {
    flex-direction: column;
  }

  .navBar {
    font-size: 18px;
  }

  .header a {
    font-size: 28px;
  }
}

/* 🔹 Medium Screens (768px) */
@media (max-width: 768px) {
  .preview-container {
    max-width: 80%;
  }

  .buttons {
    flex-direction: row;
    gap: 10px;
  }
}

/* Large Screens (992px) */
@media (max-width: 992px) {
  .preview-container {
    max-width: 70%;
  }
}
.heading {
  font-size: 32px;
  font-weight: bold;
}

.subheading {
  font-size: 24px;
  font-weight: bold;
}

.bodyText {
  font-size: 18px;
}
