@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inspiration&family=Poppins:wght@300;400;500;700&family=Ysabeau+SC:wght@1..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
}
body{
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.code {
    background-color: #cfcfcf;
    width: 500px;
    height: 500px;

    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.form-group {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

input[type="url"],
select,
input[type="color"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #aaa;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s;
}

input[type="url"]:focus,
select:focus,
input[type="color"]:focus {
    border-color: #333;
}


button{
    width: 200px;
    height: 50px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

.output{
    width: 500px;
    height: 500px;
    background-color: #333;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 20px;
}
.output img{
    width: 450px;
    height: 450px;

}
.form-group{
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}
#loading{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    display:none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 20px;
}
#loading p{
    margin-top: 90px;
    color: white;
}
.spinning{
    position: absolute;
    width: 50px;
    height: 50px;
    border: 5px solid #333;
    border-radius: 50%;
    border-top-color:white ;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}

@media (max-width:900px) {
    
    .btn-grp{
        display: flex;
        gap: 10px;
        justify-content: flex-start;
        align-items: center;
    }
    button{
        font-size: 12px;
        width: 100px;
        height: 50px;
        margin-left: 10px;
    }
    .output{
        width: 250px;
        height: 250px
    }
    .code {
        background-color: #cfcfcf;
        width: 250px;
        height: 400px
    }
    .output img{
        width: 230px;
        height: 230px;
    
    }
    body{
        width: 100vw;
        height: 120vh;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    form {
        gap: 5px;
    }

}
footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    text-align: center;
    color: #ffffff;
    height:30PX ;
    background-color: #0f0f0e65;
}

#instagram-link {
    text-decoration: none;
    color: white;
}

#instagram-logo {
    width: 20px; /* Adjust the size of the Instagram logo */
    height: 20px;
}

#instagram-id {
    font-size: 1.2rem;
    font-weight: bold;
   
}