/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #000000;
}

.main {
    color: white;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    flex-direction: column;
}

.title {
    text-align: center;
    padding-bottom: 30px;
}

.title h1 {
    color: #f1f1f1;
    font-size: 128px;
    font-weight: 900;
}

.title p {
    color: #f1f1f1;
    font-size: 70.57px;
    font-weight: 700;
}

.ticket-container {
    width: 1000px;
    height: 556px;
    background-image: url('photos/ticket-back.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

/* Content inside the ticket div */
.ticket-content {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header of the ticket */
.ticket-header {
    text-align: center;
}

.ticket-header h2 {
    font-family: "Roboto";
    font-size: 64px;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Thin line under the title */
.ticket-line {
    width: 80%; /* Default width for larger screens */
    height: 3px;
    background-color: white;
    margin: 0 auto;
}

/* Ticket description */
.ticket-description p {
    padding-left: 50px;
    line-height: 72px;
    font-size: 48px;
    color: #f1f1f1;  /* Set the text color to a lighter shade */
    text-align: left; /* Left-align the text */
    margin-bottom: 10px;
    font-family: "Roboto"; /* Set a specific font family */
    font-weight: 500;
}

.ticket-footer {
    display: flex;
    justify-content: center; /* Centers the button horizontally */
    align-items: center; /* Ensures the button is vertically centered */
    margin-top: 20px;
}

/* Button styling */
.purchase-button {
    background-color: #f1f1f1;
    color: #333;
    padding: 10px 20px;
    font-size: 18px;
    border-color: #333;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.purchase-button:hover {
    background-color: #333;
    color: #f1f1f1;
}

/* Media Queries for smaller screen sizes */

/* For devices up to 1000px */
@media screen and (max-width: 1000px) {
    /* Title */
    .title h1 {
        font-size: 96px; /* Smaller font size for medium screens */
    }

    .title p {
        font-size: 56px;
    }

    /* Ticket container */
    .ticket-container {
        width: 90%;  /* Make the ticket container full width */
        height: auto;
        padding: 15px;
    }

    /* Ticket content */
    .ticket-content {
        width: 100%;
        padding: 15px;
    }

    /* Header of the ticket */
    .ticket-header h2 {
        font-size: 48px;
    }

    /* Ticket description */
    .ticket-description p {
        font-size: 36px;
    }

    /* Button */
    .purchase-button {
        font-size: 16px;
        padding: 8px 16px;
    }

    /* Thin line under the title */
    .ticket-line {
        width: 85%; /* Adjust width for medium screens */
    }
}

/* For devices up to 768px */
@media screen and (max-width: 768px) {
    /* Title */
    .title h1 {
        font-size: 80px; /* Adjust font size */
    }

    .title p {
        font-size: 48px;
    }

    /* Ticket container */
    .ticket-container {
        width: 95%;
        height: auto;
        padding: 10px;
    }

    /* Ticket content */
    .ticket-content {
        width: 100%;
        padding: 10px;
    }

    /* Header of the ticket */
    .ticket-header h2 {
        font-size: 42px;
    }

    /* Ticket description */
    .ticket-description p {
        font-size: 32px;
    }

    /* Button */
    .purchase-button {
        font-size: 16px;
        padding: 8px 16px;
    }

    /* Thin line under the title */
    .ticket-line {
        width: 90%; /* Adjust width for smaller screens */
    }
}

/* For devices up to 600px (Small devices) */
@media screen and (max-width: 600px) {
    /* Title */
    .title h1 {
        font-size: 48px; /* Smaller font size for small screens */
    }

    .title p {
        font-size: 24px;
    }

    /* Ticket container */
    .ticket-container {
        width: 100%;  /* Full width for small devices */
        height: auto; /* Auto height */
        padding: 10px;
        margin-bottom: 20px;
    }

    /* Ticket content */
    .ticket-content {
        width: 100%;
        padding: 10px;
    }

    /* Header of the ticket */
    .ticket-header h2 {
        font-size: 32px;
    }

    /* Ticket description */
    .ticket-description p {
        font-size: 20px;
        line-height: 30px;
        padding-left: 20px;
    }

    /* Button */
    .purchase-button {
        font-size: 16px;
        padding: 8px 16px;
    }

    /* Thin line under the title */
    .ticket-line {
        width: 90%; /* Keep line width proportionate */
    }
}

/* For devices up to 480px (Smallest devices like iPhone SE) */
@media screen and (max-width: 480px) {
    /* Title */
    .title h1 {
        font-size: 40px;
    }

    .title p {
        font-size: 18px;
    }

    /* Ticket container */
    .ticket-container {
        width: 100%;
        padding: 5px;
    }

    /* Ticket content */
    .ticket-content {
        width: 100%;
        padding: 5px;
    }

    /* Header of the ticket */
    .ticket-header h2 {
        font-size: 28px;
    }

    /* Ticket description */
    .ticket-description p {
        font-size: 16px;
        line-height: 24px;
        padding-left: 10px;
    }

    /* Button */
    .purchase-button {
        font-size: 14px;
        padding: 6px 12px;
    }

    /* Thin line under the title */
    .ticket-line {
        width: 95%; /* Adjust for small screens */
    }
}

/* For devices up to 360px (Extra small phones) */
@media screen and (max-width: 360px) {
    /* Title */
    .title h1 {
        font-size: 32px;
    }

    .title p {
        font-size: 14px;
    }

    /* Ticket container */
    .ticket-container {
        width: 100%;
        padding: 5px;
    }

    /* Ticket content */
    .ticket-content {
        padding: 5px;
    }

    /* Header of the ticket */
    .ticket-header h2 {
        font-size: 24px;
    }

    /* Ticket description */
    .ticket-description p {
        font-size: 14px;
        line-height: 22px;
    }

    /* Button */
    .purchase-button {
        font-size: 12px;
        padding: 4px 10px;
    }

    /* Thin line under the title */
    .ticket-line {
        width: 100%; /* Adjust for extra small devices */
    }
}
