/* Caudex */
@font-face {
    font-family: 'Caudex';
    src: url('../fonts/Caudex/Caudex-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Caudex';
    src: url('../fonts/Caudex/Caudex-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Georgia */

@font-face {
    font-family: 'Georgia';
    src: url('../fonts/Georgia/georgia.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Georgia';
    src: url('../fonts/Georgia/georgiab.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}



body {
    height: 100dvh;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #C96838;
	margin: 0;

    .main {
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        gap: 50px;
        width: 596px;

        @media (max-width: 768px) {
            width: 90%;
            gap: 30px;
        }

        @media (max-height: 768px) {
            gap: 20px;
            top: 40%;
        }

        @media (max-height: 480px) {
            top: 30%;
        }


        img {
            transform: scale(0.95);
            width: 100%;
            height: auto;

            @media (max-height: 480px) {
                width: calc(50vh + 20vw);
                margin: 0 auto;
            }
        }

        .texto {
            display: flex;
            flex-direction: column;
            gap: 12px;
            align-items: center;

            @media (max-width: 768px) {
                gap: 8px;
            }

            h4 {
                margin: 0;
                color: #F6F4F1;
                font-family: Georgia;
                font-size: 20px;
                font-style: normal;
                font-weight: 400;
                line-height: normal;

                @media (max-width: 768px) {
                    font-size: 18px;
                }

                @media (max-width: 480px) {
                    font-size: 16px;
                }
            }

            p {
                margin: 0;
                color: #F6F4F1;
                text-align: center;
                font-family: "Caudex";
                font-size: 15px;
                font-style: normal;
                font-weight: 400;
                line-height: normal;

                @media (max-width: 768px) {
                    font-size: 14px;
                }

                @media (max-width: 480px) {
                    font-size: 12px;
                }
            }
        }
    }

    .bottom {
        position: absolute;
        bottom: 60px;
        width: 275px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;

        @media (max-width: 768px) {
            width: 90%;
        }

        @media (max-height: 480px) {
            bottom: 20px;
        }

        p {
            max-width: 260px;
            margin: 0 auto;
        }

        p,
        a {
            color: #F6F4F1;
            text-align: center;
            font-family: "Caudex";
            font-size: 13px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            text-decoration: unset;
            margin: 0;

            @media (max-width: 480px) {
                font-size: 12px;
            }

            a:hover {
                text-decoration: underline;
            }
        }
    }
}