@font-face {
    font-family: brinnanRegular;
    src: url('./assets/fonts/brinnan_regular.otf');
}

@font-face {
    font-family: brinnanBold;
    src: url('./assets/fonts/brinnan_black.otf');
}

body {
    margin: 0;
    color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #1F1F1F;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    min-height: 100vh;
}

#img-background {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

#carfooly-logo {
        width: 50px;
    margin: 0;
}

#confirmation {
    width: 450px;
    height: auto;
    min-height: 620px;
    background-color: #1F1F1F;
    border-radius: 19px;
    padding-bottom: 96px;
    overflow-y: auto;
    margin: 20px;
}

#container-img {
    width: 100%;
    height: 340px;
    border-radius: 19px;
}

#img-pilot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#nft-logo {
    position: relative;
    bottom: 50px;
    left: 75px;
    transform: translateX(-50%);
    z-index: 10;
    width: 100px;
    height: auto;
}

#container-text {
    margin: 25px;
    padding-top: 25px;
}

#title {
    font-size: 24px;
    margin: 0;
    padding-top: 20px;
    font-family: 'brinnanBold', sans-serif;
    font-weight: 900;
    letter-spacing: -0.48px;
    text-transform: uppercase;
}

#subtitle {
    font-size: 35px;
    margin: 0;
    padding-top: 15px;
    font-family: 'brinnanBold', sans-serif;
    font-weight: 900;
    letter-spacing: -0.8px;
    text-transform: uppercase;
}

#second-subtitle {
    color: #FDD93F;
    text-transform: uppercase;
}

#description {
    font-size: 20px;
    margin: 0;
    padding-top: 10px;
    font-family: 'brinnanRegular', sans-serif;
    letter-spacing: -0.7px;
}

#btn-confirm {
    width: 90%;
    height: 78px;
    border-radius: 12px;
    background-color: #FDD93F;
    color: #1F1F1F;
    align-items: center;
    text-align: center;
    display: block;
    margin: 0 auto;
    font-size: 24px;
    font-family: 'brinnanBold', sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.48px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1F1F1F;
    padding: 1rem;
    z-index: 100;
}

@media screen and (max-width: 768px) {
    body {
        align-items: center;
    }

    main {
        min-height: 100vh;
        padding: 40px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #confirmation {
        width: calc(100% - 40px);
        max-width: 350px;
        height: auto;
        min-height: 580px;
        padding-bottom: 20px;
        margin: 20px;
    }

    #container-img {
        height: 280px;
    }

    #title {
        font-size: 20px;
    }

    #subtitle {
        font-size: 28px;
        padding-top: 10px;
    }

    #description {
        font-size: 16px;
    }

    #btn-confirm {
        width: 85%;
        height: 60px;
        font-size: 20px;
    }

    #container-text {
        margin: 20px;
    }

    #nft-logo {
        bottom: 40px;
        left: 60px;
        width: 80px;
    }
}

@media screen and (max-width: 375px) {
    #confirmation {
        width: calc(100% - 20px);
        max-width: 320px;
        height: auto;
        min-height: 500px;
        margin: 10px;
    }

    #container-img {
        height: 240px;
    }

    #container-text {
        margin: 15px;
    }

    #title {
        font-size: 18px;
    }

    #subtitle {
        font-size: 24px;
    }

    #btn-confirm {
        width: 90%;
        height: 50px;
        font-size: 18px;
    }

    #nft-logo {
        bottom: 35px;
        left: 50px;
        width: 70px;
    }
}

@media screen and (max-width: 320px) {
    #nft-logo {
        bottom: 30px;
        left: 45px;
        width: 60px;
    }
}

@media screen and (max-height: 700px) {
    body {
        height: auto;
    }
    
    #confirmation {
        margin: 80px 20px;
    }
}