@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background-image: url(../images/bg.gif);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.loading {
    position: absolute;
    top: 0;
    left: 0;
    background-color: black;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 1s;
    opacity: 1;
    visibility: visible;
}

.loadert {
    opacity: 0;
    visibility: hidden;
}

.loader {
    height: 20px;
    width: 20px;
    background-color: white;
    border: 1px solid black;
    animation: roll 2s linear infinite;
}

@keyframes roll {
    0% {
        background-color: white;
    }

    50% {
        background-color: black;
    }


    100% {
        background-color: white;
        transform: rotate(360deg);
    }
}


a {
    text-decoration: none;
    margin: 20px 10px;
    color: white;
    font-size: 20px;
    transition: 1s;
}

nav>a:hover {
    color: #f0a0e9;
}

header>i::before,
.nav-mob,
.triangle {
    display: none;
}

.button {
    background-color: #f542e6;
    padding: 10px 20px;
    color: black;
    border-radius: 25px;
    font-weight: 700;
    transition: 1s;
    box-shadow: 0 5px 5px #000;
}

.button:hover {
    background-color: #ff1fec;
    box-shadow: none;
}

.contact {
    color: #f542e6;
    text-decoration: underline;
}

.contact:hover {
    color: #f542e6;
}

.total-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 20px;
    width: 80%;
    height: 50%;
}

h1 {
    font-size: 60px;
    font-weight: 800;
    color: #FFF;
    text-align: center;
    padding: 0 20px;
    padding-top: 30px;
    line-height: 50px;
}

form {
    display: flex;
    align-items: center;
    justify-content: center;
}

h2 {
    margin-top: 5px;
    color: pink;
    font-size: 40px;
    text-align: center;
    padding: 0 20px;
    line-height: 40px;
}

.input-div {
    display: flex;
    justify-content: space-between;
}

.total-container>div>input {
    transition: 1s;
    border-radius: 10px;
    border-color: transparent;
}

.input-div>input {
    width: 30%;
    height: 45px;
    padding-left: 5px;
    font-family: 'Poppins', sans-serif;
}

.commentary {
    height: 300px;
    width: 100%;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif;
    padding-top: 10px;
    padding-left: 5px;
    border: transparent;
    resize: none;
}

button {
    padding: 10px 30px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    border-radius: 20px;
    border-color: transparent;
    cursor: pointer;
    transition: 1s;
    margin-bottom: 15px;
    box-shadow: 0 5px 5px #000;
    background-color: #f542e6;
}

button:hover {
    background-color: #ff1fec;
    box-shadow: none;
}

.commenatry-div {
    width: 100%;
    overflow: hidden;
}


.total-container>div {
    width: 100%;
}

input:focus {
    outline: none;
}

textarea:focus {
    outline: none;
}


@media (max-width: 670px) and (min-width: 400px) {
    header {
        justify-content: space-between;
    }

    .nav-desk {
        display: none;
    }

    header>i::before {
        display: flex;
        font-size: 40px;
        color: #f542e6;
        margin-right: 15px;
        cursor: pointer;
        transition: 0.7s
    }

    .button {
        margin-left: 15px;
    }

    .nav-mob {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        position: absolute;
        top: -150%;
        right: 5%;
        width: 90%;
        background-color: black;
        border-radius: 10px;
        transition: 1.5s;
    }

    .nav-mob-show {
        top: 120px;
    }


    .triangle {
        display: flex;
        background-color: black;
        top: -150%;
        right: 5%;
        height: 40px;
        width: 40px;
        position: absolute;
        clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
        transform: rotate(270deg);
        transition: 1.5s;
    }

    .triangle-show {
        top: 90px;
    }

    .input-div {
        flex-direction: column;
        overflow: hidden;
    }

    .input-div>input {
        width: 100%;
        margin: 5px 0;
    }
}



@media (max-width: 400px) and (min-width: 100px) {

    header {
        justify-content: space-between;
    }

    .nav-desk {
        display: none;
    }

    header>i::before {
        display: flex;
        font-size: 40px;
        color: #f542e6;
        margin-right: 15px;
        cursor: pointer;
        transition: 0.7s
    }

    .button {
        margin-left: 15px;
    }

    .nav-mob {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        position: absolute;
        top: -150%;
        right: 5%;
        width: 90%;
        background-color: black;
        border-radius: 10px;
        transition: 1.5s;
    }

    .nav-mob-show {
        top: 120px;
    }


    .triangle {
        display: flex;
        background-color: black;
        top: -150%;
        right: 5%;
        height: 40px;
        width: 40px;
        position: absolute;
        clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
        transform: rotate(270deg);
        transition: 1.5s;
    }

    .triangle-show {
        top: 90px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 30px;
    }

    .input-div {
        flex-direction: column;
        overflow: hidden;
    }

    .input-div>input {
        width: 100%;
        margin: 5px 0;
    }

}