@import url('https://fonts.googleapis.com/css2?family=Cascadia+Code:ital,wght@0,200..700;1,200..700&display=swap');


::-webkit-scrollbar {
    display: none;
}

body {
    background-color: #262829;
    background-image: url("images/bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Cascadia Code', sans-serif;
    font-weight: 400;
    margin: 0;
}

.app {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    color: #44BF3D;
    font-size: 96px;
    font-weight: 400;
    margin: 82px 0 0;
}

h3 {
    color: #788179;
    font-size: 48px;
    font-weight: 400;
    margin: 0;
}

.gen-btn {
    margin-top: 150px;
    background-color: #44BF3D;
    width: 530px;
    min-height: 150px;
    border-radius: 20px;
    font-size: 48px;
    font-family: 'Cascadia Code', sans-serif;
    font-weight: 400;
    color: #262829;
    border: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.gen-btn:hover {
    transform: scale(0.98);
}

.gen-btn:active {
    transform: scale(0.95);
    transition-duration: 0s;
}

.psw-box {
    display: none;
    margin-top: 70px;
    align-items: center;
    justify-content: space-between;
    background-color: #B7B4B1;
    border-radius: 20px;
    width: 780px;
    min-height: 150px;
    max-height: 150px !important;
}

.text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.copy-btn {
    border-style: none;
    background-color: transparent;
    margin-right: 20px;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.copy-btn:hover {
    transform: rotate(360deg);
}

.copy-btn:active {
    transition: 0s ease-in-out;
    transform: scale(1.1);
}

p {
    font-size: 36px;
    color: #262829;
    overflow-wrap: anywhere;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
}

@media (max-width: 831px) {
    h3 {
        font-size: 36px;
    }

    .psw-box {
        width: 530px;
        border-radius: 17px;
    }

    .copy-btn img {
        width: 80px;
        height: 80px;
    }

    p {
        font-size: 30px;
    }
}

@media (max-width: 650px) {
    h3 {
        font-size: 26px;
    }

    h1 {
        font-size: 73px;
        margin-top: 60px;
    }

    p {
        font-size: 25px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .gen-btn {
        width: 400px;
        min-height: 110px;
        margin-top: 100px;
        font-size: 36px;
        border-radius: 13px;
    }

    .psw-box {
        width: 400px;
        min-height: 100px;
        max-height: 100px !important;
        border-radius: 13px;
    }

    .copy-btn img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 450px) {
    h1 {
        margin: 40px 0 0;
        font-size: 40px;
    }

    h3 {
        font-size: 15px;
    }

    .gen-btn {
        min-height: 70px;
        font-size: 23px;
        width: 240px;
        margin-top: 50px;
        border-radius: 7px;
    }

    .psw-box {
        width: 240px;
        min-height: 60px;
        max-height: 60px !important;
        margin-top: 40px;
        border-radius: 7px;
    }

    .copy-btn {
        margin-right: 10px;
    }

    .copy-btn img {
        width: 35px;
        height: 35px;
    }

    p {
        font-size: 15px;
        margin-left: 6px;
        margin-right: 6px;
    }
}
