@font-face {
    font-family: 'Gingerbread';
    src: url('./fonts/GingerBiscuit.ttf');
}

body {
    font-family: 'Poppins', sans-serif;
    color: #4b2d0d;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,h2,h3, #mailme {
    color: #fff;
}

header.header {
    text-align: center;
    padding: 40px 20px;
    background-color: #8B4513;
    color: #fefefe;
}

header h1 {
    font-size: 2.5em;
    font-family: 'Gingerbread', cursive;
    margin: 0;
}

header p {
    margin-top: 10px;
    font-size: 1.2em;
}

.pricing-table {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    border: 1px solid #8B4513;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #f7f3e3;
}

.table-row {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #8B4513;
}

.table-cell a img {
    width: 100%;
    height: auto;
    max-width: 150px;
    max-height: 150px;
    object-fit: cover;
    border-radius: 5px;
}
.table-header {
    background-color: #8B4513;
    color: #fefefe;
    font-weight: bold;
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell {
    flex: 1;
    padding: 10px;
    text-align: center;
}

.table-cell:first-child {
    text-align: left;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #8B4513;
    color: white;
    margin-top: auto;
}

footer p {
    margin: 0;
}

@media screen and (max-width: 768px) {
    .table-cell {
        font-size: 0.9em;
    }

    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 1em;
    }
}


#mailme {
    text-align: center;
    margin: 30px 0 35px 0;
}

@media screen and (max-width: 768px) {
    #mailme {
        width: 99%;
        font-size: 20px;
        margin: 30px 0 35px 0;
    }
}

/* back button */
.mobile-back {
  display: none;
  margin: 28px auto 12px auto;
  color: #8B4513;
  background-color: #fefefe;
  border-radius: 22px;
  padding: 12px 28px;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  text-align: center;
  max-width: 95vw;
  transition: background 0.2s;
}

.mobile-back:hover {
  color: #ffffff;
  background-color: #8B4513;
}

@media screen and (max-width: 768px) {
  .mobile-back {
    display: block;
  }
}
