﻿@font-face {
    font-family: 'CFDinBook';
    src: url('fonts/CF Din Book.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CFDinLight';
    src: url('fonts/CFDiLg_.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CFDinRegular';
    src: url('fonts/CFDiRg_.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body, html, form {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.outerClass {
    display: grid;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    background-color: #843912;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    container-type: inline-size;
}

    .outerClass > * {
        grid-area: 1 / 1;
    }

.eticketteDvClass {
    font-family: CFDinRegular;
    font-size: max(1rem, 7.5cqw);
    color: white;
    text-align: center;
    white-space: nowrap;
    margin: 98% 0 0 0;
    box-sizing: border-box;
}

.winnerDvClass {
    padding: 0 20%;
    margin: 7% 0 0 0;
    box-sizing: border-box;
}

.infoDvClass {
    font-family: CFDinRegular;
    font-size: max(0.5rem, 4.5cqw);
    color: white;
    text-align: center;
    white-space: nowrap;
    margin: 4% 0 0 0;
    box-sizing: border-box;
}

.castleDvClass {
    padding: 0 5%;
    margin: 4% 0 0 0;
    box-sizing: border-box;
}

.giftDvClass {
    padding: 0 5%;
    margin: 4% 0 0 0;
    box-sizing: border-box;
    width: 100%;
    display: flex;
}

    .giftDvClass .giftLeftClass {
        width: 60%;
        padding: 5% 0 0 5%;
        box-sizing: border-box;
    }

        .giftDvClass .giftLeftClass .giftLeftTxtClass {
            font-family: CFDinRegular;
            font-size: max(0.5rem, 4.8cqw);
            color: white;
            text-align: center;
            white-space: nowrap;
            padding: 3cqw 0 0 0;
            box-sizing: border-box;
        }

    .giftDvClass .giftRightClass {
        width: 40%;
        padding: 0 0 0 10%;
        box-sizing: border-box;
    }

.dataContainerClass {
    width: 60%;
    background-color: #FBF6E4;
    border-radius: 5cqw;
    margin: 5% auto;
    padding: 2% 0 0 0;
    box-sizing: border-box;
}

    .dataContainerClass h1 {
        font-family: CFDinLight;
        font-size: max(0.5rem, 3.5cqw);
        color: #84360F;
        text-align: center;
        line-height: 100%;
        margin: 0 0 2cqw 0;
    }

    .dataContainerClass .fldGrpClass {
        padding: 2% 5%;
        box-sizing: border-box;
    }

        .dataContainerClass .fldGrpClass label {
            font-family: CFDinRegular;
            font-size: max(0.5rem, 2.5cqw);
            color: #333;
        }

        .dataContainerClass .fldGrpClass input[type='text'] {
            width: 100%;
            font-family: Arial;
            font-size: max(0.5rem, 2cqw);
            color: #333;
            background-color: #FFDBAB;
            margin: 0;
            padding: 1cqw;
            border: 0;
            border-radius: 2cqw;
            box-sizing: border-box;
        }

    .dataContainerClass .chGrpClass {
        padding: 2% 5%;
        box-sizing: border-box;
    }

        .dataContainerClass .chGrpClass label {
            font-family: CFDinRegular;
            font-size: max(0.5rem, 1.7cqw);
            color: #333;
        }

    .dataContainerClass .chBtClass {
        padding: 2% 0;
        box-sizing: border-box;
        text-align: center;
    }

        .dataContainerClass .chBtClass input[type='submit'] {
            font-family: CFDinRegular;
            font-size: max(0.5rem, 2.5cqw);
            color: white;
            background-color: black;
            padding: 1cqw 3cqw;
            border: 0;
            border-radius: 2cqw;
            box-sizing: border-box;
            cursor: pointer;
        }

.fldErrorClass {
    border: 2px solid #ff8080 !important;
}

.chFldErrorClass label {
    color: #ff8080 !important;
}

.footerClass {
    font-family: CFDinBook;
    font-size: max(0.5rem, 3.5cqw);
    color: white;
    text-align: center;
    line-height: 100%;
    margin: 0 0 5cqw 0;
}

@media (max-width: 768px) {
    .dataContainerClass {
        width: 98%;
    }

        .dataContainerClass .fldGrpClass input[type='text'] {
            font-size: max(0.5rem, 5cqw);
            padding: 3cqw;
        }

        .dataContainerClass .chGrpClass label {
            font-size: max(0.5rem, 3cqw);
        }

        .dataContainerClass .chBtClass input[type='submit'] {
            font-size: max(0.5rem, 5cqw);
            padding: 4cqw 8cqw;
        }
}
