@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    font-family: Poppins, sans-serif;
    scroll-behavior: smooth;
}

:root {
    --black-color: #1e1c1c;
    --white-color: #f7f7f7;
    --orange-color: #ff3132;
    --yellow-color: #ffc100;
    --yellow1-color: #ff9a00;
    --orange1-color: #ff7400;
    --orange2-color: #ff4d00;
    --red-color: #ff0000;
}

.banner {
    /* background-image: linear-gradient(to right, var(--orange1-color), var(--yellow-color)); */
    margin-top: 2rem;
    background-color: #ff31313e;
    color: var(--orange-color);
    text-align: center;
    padding: 5rem 1rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;

    #absoluteCircleTop {
        position: absolute;
        top: -2rem;
        left: -2rem;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: #ff31313e;
    }

    #absoluteCircleBottom {
        position: absolute;
        bottom: -2rem;
        right: -2rem;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: #ff31313e;
    }

    h1 {
        font-weight: 800;
        font-size: clamp(1.5rem, -0.875rem + 8.333vw, 2.8rem);
        z-index: 99999;
    }

    p {
        z-index: 99999;
        max-width: 60rem;
        width: 100%;
        display: flex;
        margin: auto;
    }
}

.contact {
    .main {
        display: flex;
        justify-content: space-between;
        max-width: 75rem;
        padding: 2rem;
        width: 100%;
        margin: auto;
        gap: 2rem;

        form {
            width: 50%;
            display: flex;
            flex-direction: column;
            gap: 2rem;

            h2 {
                color: var(--orange-color);
                font-size: clamp(1.5rem, -0.875rem + 8.333vw, 2.8rem);
                text-transform: uppercase;
                font-weight: 800;
                word-spacing: .5rem;
                margin-bottom: 1rem;
            }

            .twoInputs {
                display: flex;
                width: 100%;
                gap: 1rem;

                input {
                    width: 100%;
                    padding: .8rem 0rem .3rem 0;
                    border: none;
                    border-bottom: 1.5px solid #00000056;

                    &::placeholder {
                        color: var(--black-color);
                        opacity: .4;
                        font-size: .9rem;
                    }
                }
            }

            input {
                width: 100%;
                padding: .8rem 0rem .3rem 0;
                border: none;
                border-bottom: 1.5px solid #00000056;
                font-size: 1rem;

                &::placeholder {
                    color: var(--black-color);
                    opacity: .4;
                    font-size: .9rem;
                }
            }

            textarea {
                width: 100%;
                padding: .8rem 0rem .3rem 0;
                border: none;
                border-bottom: 1.5px solid #00000056;
                font-size: 1rem;
                resize: none;

                &::placeholder {
                    color: var(--black-color);
                    opacity: .4;
                    font-size: 1rem;
                }
            }

            .animated-button {
                position: relative;
                display: flex;
                align-items: center;
                gap: 4px;
                padding: 16px 36px;
                border: 4px solid;
                border-color: transparent;
                font-size: 16px;
                background-color: inherit;
                border-radius: 100px;
                font-weight: 600;
                color: var(--orange-color);
                box-shadow: 0 0 0 2px var(--orange-color);
                cursor: pointer;
                overflow: hidden;
                transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
            }

            .animated-button svg {
                position: absolute;
                width: 24px;
                fill: var(--orange-color);
                z-index: 9;
                transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
            }

            .animated-button .arr-1 {
                right: 16px;
            }

            .animated-button .arr-2 {
                left: -25%;
            }

            .animated-button .circle {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 20px;
                height: 20px;
                background-color: var(--orange-color);
                border-radius: 50%;
                opacity: 0;
                transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
            }

            .animated-button .text {
                position: relative;
                z-index: 1;
                transform: translateX(-12px);
                transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
            }

            .animated-button:hover {
                box-shadow: 0 0 0 12px transparent;
                color: var(--white-color);
                border-radius: 12px;
            }

            .animated-button:hover .arr-1 {
                right: -25%;
            }

            .animated-button:hover .arr-2 {
                left: 16px;
            }

            .animated-button:hover .text {
                transform: translateX(12px);
            }

            .animated-button:hover svg {
                fill: var(--white-color);
            }

            .animated-button:active {
                scale: 0.95;
                box-shadow: 0 0 0 4px var(--orange-color);
            }

            .animated-button:hover .circle {
                width: 220px;
                height: 220px;
                opacity: 1;
            }

        }

        .details {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            width: 40%;

            h2 {
                color: var(--orange-color);
                font-size: clamp(1.5rem, -0.875rem + 8.333vw, 2.5rem);
                text-transform: uppercase;
                font-weight: 800;
                word-spacing: .5rem;
                margin-bottom: 2rem;
            }

            a {
                text-decoration: none;
                color: var(--black-color);
                font-weight: 500;

                i {
                    color: var(--orange-color);
                    font-size: 1.2rem;
                    margin-right: .7rem;
                }
            }

            .links {
                display: flex;

                a {
                    i {
                        background-color: var(--orange-color);
                        color: var(--white-color);
                        width: 2.5rem;
                        height: 2.5rem;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        font-size: 1.5rem;
                        border-radius: 3px;
                        cursor: pointer;
                        transition: 200ms all;

                        &:hover {
                            scale: 1.1;
                        }
                    }
                }
            }

        }
    }
}

@media screen and (max-width:768px) {
    .contact {
        .main {
            flex-direction: column;

            form {
                width: 100%;

            }

            .details {
                width: 100%;
            }
        }
    }
}

footer {
    padding: 2rem;
    background-color: var(--orange1-color);
    color: var(--white-color);

    .main {
        display: flex;
        justify-content: space-between;
        max-width: 75rem;
        width: 100%;
        margin: auto;

        .a {
            width: 40%;

            a {
                color: var(--white-color);
                font-size: 2rem;
                font-weight: 700;
                text-decoration: none;
            }

            p {
                color: #ffffff88;
                margin-bottom: .5rem;
                margin-top: 2rem;
            }

            .input {
                border: 1.5px solid #ffffffc1;
                border-radius: 25rem;
                padding: .8rem;
                max-width: 20rem;
                width: 100%;
                display: flex;
                align-items: center;

                input {
                    width: 100%;
                    border: none;
                    background-color: transparent;

                    &::placeholder {
                        color: var(--white-color);

                    }
                }
            }

        }
    }
}