﻿@font-face {
    font-family: 'Blade';
    src: url('fonts/BLADRMF.TTF') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto.ttf') format('truetype');
    font-weight: 400;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: auto; /* Allow the body to scroll */
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to bottom, #759e51, #20B2AA);
    color: white;
}

h1 {
    font-family: 'Blade', sans-serif;
    color: white;
    font-size: 3.125em;
    margin-top: 50px; /* Add some margin to the top */
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1; /* Take up the remaining space */
    text-align: center;
    padding: 0 20px; /* Add padding for smaller screens */
}

p {
    font-weight: 400;
    color: white;
}

a {
    color: white;
    text-decoration: underline;
    margin-top: 10px;
}

.qr-code {
    width: 200px; /* Adjust the width as needed */
    height: auto;
}

.big-link {
    font-size: 1.625em; /* Adjust the font size as needed */
    font-family: 'Roboto', sans-serif;
}

.match-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #759e51; /* Updated background color */
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Added shadow */
}

.match-button:hover {
    background-color: #20B2AA;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Slightly larger shadow on hover */
}

.match-button span {
    font-family: 'Roboto', sans-serif; /* Apply Roboto font */
}

.match-image {
    width: 125px; /* Adjust the width as needed */
    height: auto;
    vertical-align: middle;
}

.video-wrapper {
    width: 100%;
    max-width: 640px; /* Maximum width for larger screens */
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    height: auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Media Queries for responsiveness */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.5em; /* 2em * 1.25 */
    }

    .qr-code {
        width: 200.5px; /* 250px * 1.25 */
    }

    .big-link {
        font-size: 1.5em; /* 1.2em * 1.25 */
    }

    .match-image {
        width: 100px; /* 80px * 1.25 */
    }

    .video-wrapper {
        max-width: 640px; /* Adjust width for larger screens */
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25em; /* 1.8em * 1.25 */
    }

    .qr-code {
        width: 180px; /* 200px * 1.25 */
    }

    .big-link {
        font-size: 1.375em; /* 1.1em * 1.25 */
    }

    .match-image {
        width: 75px; /* 60px * 1.25 */
    }

    .video-wrapper {
        max-width: 480px; /* Adjust width for medium screens */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.875em; /* 1.5em * 1.25 */
    }

    .qr-code {
        width: 160px; /* 150px * 1.25 */
    }

    .big-link {
        font-size: 1.25em; /* 1em * 1.25 */
    }

    .match-image {
        width: 62.5px; /* 50px * 1.25 */
    }

    .video-wrapper {
        max-width: 360px; /* Adjust width for smaller screens */
    }
}