:root {
    --font-color: #555;
    --font-hover-color: orange;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "Raleway", sans-serif;
    background: rgb(89, 32, 221);
    background: linear-gradient(90deg, rgba(89, 32, 221, 1) 0%, rgb(4, 202, 136) 0%, rgba(0, 14, 255, 1) 78%);
    overflow: hidden;
}

main {
    display: flex;
}

.main-container {
    max-width: 350px;
    height: 485px;
    margin-top: 1em;
    padding: 3em;
    background-color: rgba(0, 0, 0, 0.267);
    color: #fff;
    border-radius: 2em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.226);
}

.btn-title {
    width: 80px;
    height: 20px;
    padding-top: .5em;
    padding-bottom: .4em;
    padding-inline: .5em;
    background-color: rgba(0, 0, 0, 0.568);
    color: hsl(167, 100%, 50%);
    font-size: 1rem;
    border-radius: 5em;
    text-align: center;
    margin-left: -.1em;
}

.article {
    margin-left: 1em;
}

footer {
    margin-top: -1em;
    margin-left: 1em;
}

.fa-brands {
    height: 1em;
    border-radius: 1em;
    background: #1b1b1bad;
    margin-bottom: .5rem;
    line-height: 5.8rem;
    font-size: 1.7rem;
    padding: .5em;
}

.icons .fa-brands {
    color: #1af0ff;
}

.icons {
    top: 5px;
    gap: 2em;
}

.fa-brands i {
    top: 10px;

}

.fa-brands {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2em;
    transition: all .3s;
}

.fa-brands:hover {
    transform: scale(1.2);
    color: lightpink;
}

.container {
    width: 480px;
    box-shadow: 0 15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07);
    padding: 1em;
    background-color: #fff;
    border-radius: 300px;
    opacity: .9;
    margin-bottom: 2.5em;
    margin-top: 0.7em;
    margin-right: 2em;
}

form {
    margin-top: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 3em;
    margin-inline: 2em;
    text-align: center;
    text-align-last: center;
}

.form-group {
    margin-bottom: 1.5em;
    transition: all .3s;
}

.form-label {
    font-size: .75em;
    color: var(--font-color);
    display: block;
    opacity: 0;
    transition: all .3s;
    transform: translateX(-50px);
}

.form-control {
    box-shadow: none;
    border-radius: 0;
    border-color: #ccc;
    border-style: none none solid none;
    width: 100%;
    font-size: 1.25em;
    transition: all .6s;
}

.form-control::placeholder {
    color: rgba(126, 125, 125, 0.788);
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--font-hover-color);
    outline: none;
}

.form-group:focus-within {
    transform: scale(1.1, 1.1);
}

.form-control:invalid:focus {
    border-color: magenta;
}

.form-control:valid:focus {
    border-color: hsl(167, 91%, 32%);
}

textarea {
    resize: none;
    text-align: center;
}



.focused>.form-label {
    opacity: 1;
    transform: translateX(0px);
}

.form-invalid {
    outline: 1px solid maroon !important;
}

.btn {
    padding: 15px;
    background: #fff;
    color: white;
    font-size: 10px;
    border: 0;
    outline: none;
    cursor: pointer;
    width: 60px;
    height: 60px;
    margin: 20px auto 0;
    border-radius: 60px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
}

.btn:hover {
    width: 160px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 60px;
    background: linear-gradient(45deg, var(--i), var(--j));
    opacity: 0;
    transition: 0.5s;
}

.btn:hover::before {
    opacity: 1;

}

.btn:after {
    content: '';
    position: absolute;
    top: 10px;
    width: 100%;
    height: 100%;
    border-radius: 60px;
    background: linear-gradient(45deg, var(--i), var(--i));
    transition: 0.5s;
    filter: blur(15px);
    z-index: -1;
    opacity: 0;
}

.btn:hover::before {
    opacity: .8;
}

#message {
    text-align: center;
}

span {
    color: black;
    font-size: 2rem;
    color: rgba(128, 0, 128, 0.74);
}

.article .fa-solid {
    color: hsl(133, 100%, 66%);
}

.btn .fa-solid {
    transition: 0.5s;
    transition-delay: .25s;
    top: 1em;
    margin-top: -0.4em;
    margin-left: -0.5em;

}

.pinfo {
    margin-top: -1em;
}

.btn:hover .fa-solid {
    transform: scale(0);
    color: #fff;
    transition-delay: 0;
}

.btn span {
    position: absolute;
    text-align: center;
}

.btn .title {
    color: #fff;
    font-size: 1.5em;
    text-transform: uppercase;
    initial-letter: .1em;
    transform: scale(0);
    transform: .5s;
    transition-delay: 0s;
    align-items: center;
    display: flex;
    justify-content: center;
    margin-top: -.5em;
}

/*     .container {
    width: 200px;
}


    text-align: center;
} */

.btn:hover .title {
    transform: scale(1);
    transition-delay: .25s;
    text-align: center;
}

.title {
    text-align: center !important;
    left: 2.7em;
}

main {
    margin-top: 1em;
}

.fa-discord {
    position: relative;
    z-index: 1000;
}

.tooltip {
    display: none;
}

.fa-discord .tooltip {
    font-family: Arial, Helvetica, sans-serif;
    position: absolute;
    background-color: #2535ec;
    color: white;
    padding-top: 8px;
    padding-bottom: 4px;
    padding-left: 1em;
    padding-right: 8px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    font-size: 12px;
    bottom: -24px;
    left: 8px;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
    white-space: nowrap;
    border-radius: 2px;
    z-index: 1;
    display: block;
    margin-bottom: -1.5em;
    border-radius: 1em;
    padding: 1em;
    transition: all .5s;
}

.fa-discord:hover .tooltip {
    opacity: 1 !important;
}

.fa-github {
    position: relative;
    z-index: 1000;
}

.tooltip {
    display: none;
}

.fa-github .tooltip {
    font-family: Arial, Helvetica, sans-serif;
    position: absolute;
    background-color: #171515ce;
    color: white;
    padding-top: 8px;
    padding-bottom: 4px;
    padding-left: 1em;
    padding-right: 8px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    font-size: 12px;
    bottom: -24px;
    left: 8px;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
    white-space: nowrap;
    border-radius: 2px;
    z-index: -1;
    display: block;
    margin-bottom: -1.5em;
    border-radius: 1em;
    padding: 1em;
    transition: all .5s;
}

.fa-github:hover .tooltip {
    opacity: 1 !important;
}

.fa-instagram {
    position: relative;
    z-index: 1000;
}

.tooltip {
    display: none;
}

.fa-instagram .tooltip {
    font-family: Arial, Helvetica, sans-serif;
    position: absolute;
    background: #f09433;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f09433', endColorstr='#bc1888', GradientType=1);
    color: white;
    padding-top: 8px;
    padding-bottom: 4px;
    padding-left: 1em;
    padding-right: 8px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    font-size: 12px;
    bottom: -24px;
    left: 8px;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
    white-space: nowrap;
    border-radius: 2px;
    z-index: 1000;
    display: block;
    margin-bottom: -1.5em;
    border-radius: 1em;
    padding: 1em;
    transition: all .5s;
}

.fa-instagram:hover .tooltip {
    opacity: .8 !important;
    z-index: 1000 !important;
}

.fa-facebook {
    position: relative;
    z-index: 1000;
}

.tooltip {
    display: none;
}

.fa-facebook .tooltip {
    font-family: Arial, Helvetica, sans-serif;
    position: absolute;
    background-color: #004aaa;
    color: white;
    padding-top: 8px;
    padding-bottom: 4px;
    padding-left: 1em;
    padding-right: 8px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    font-size: 12px;
    bottom: -24px;
    left: 8px;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
    white-space: nowrap;
    border-radius: 2px;
    z-index: 1;
    display: block;
    margin-bottom: -1.5em;
    border-radius: 1em;
    padding: 1em;
    transition: all .5s;
}

.fa-facebook:hover .tooltip {
    opacity: 1 !important;
}




@media screen and (max-width: 1200px) {

    body {
        overflow: visible;
    }

    main {
        margin-top: 43em;
        display: flex;
        flex-flow: wrap;
        grid-template-columns: 1fr;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .container {
        width: 480px;
        box-shadow: 0 15px 35px rgb(50 50 93 / 10%), 0 5px 15px rgb(0 0 0 / 7%);
        padding: 1em;
        background-color: #fff;
        border-radius: 300px;
        opacity: .9;
        margin-left: 0em;
        margin-bottom: 1em;
        margin-top: 5em;
        margin-bottom: 4em;
    }

    .main-container {
        margin-top: 1em;
        margin-bottom: 5em;
    }

}

@media screen and (max-width: 680px) {
    .main-container {
        max-width: 300px;
        height: 465px;
        margin-top: 2em 0;
        padding: 3em;
        background-color: rgba(0, 0, 0, 0.267);
        color: #fff;
        border-radius: 2em;
        box-shadow: 0 5px 15px rgb(0 0 0 / 23%);
        margin-inline:auto;
    }

    .container {
        width: 440px;
        margin-inline: auto;
    }
}

@media screen and (max-width: 600px) {
    .main-container {
        max-width: 200px;
        height: 650px;
    }

    main {
        margin-top: 53em;
        overflow-x: hidden;

    }

    .fa-brands {
        font-size: 1rem;
    }

    .tooltip {
        font-size: .5rem;
    }

    .fa-discord .tooltip {
        left: -7.7em;
    }

    .fa-github .tooltip {
        left: -5px;
    }
}

@media screen and (max-width: 580px) {
    .container {
        width: 300px;
        margin-top: 17em;
    }

    main {
        margin-top: 40em;
    }
}

@media screen and (max-width: 375px) {

    .container {
        margin-top: 19em;
    }
}

@media screen and (max-width: 300px) {
    .main-container {
        max-width: 150px;
        height: 680px;
    }

    .article {
        margin-left: 1em;
        font-size: .9rem;
    }

    .container {
        width: 200px;
        font-size: .8rem;
    }

    .icons {
        font-size: .2rem
    }

}