@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.admin-title {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh;
    width: 100%;
    text-align: center;
}

.admin-subtitle {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.title1 {
    text-align: center;
    padding: 40px;
    font-size: 22px;
    font-family: TT Fors;
}


.admin {
    padding: 15px;
    float: right;
}

.admin i {
    color: grey;
}

.nav {
    background: rgb(173, 173, 173);
    position: sticky;
    top: 0;
    text-align: center;
    font-family: TT Fors;
}

.nav ul {
    display: flex;
    width: 80%;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    padding: 20px;
    text-align: center;
}


.nav li {
    list-style: none;
    font-size: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.nav a {
    text-decoration: none;
    transition: .2s ease;
    color: black;
    margin: auto;
}

.nav a:hover {
    color: white;
    transition: .2s ease;
}

.input-section {
    display: flex;
    justify-content: center;
    width: 60%;
    align-items: center;
    margin: auto;
}

.input-section div {
    width: 600px;
    display: flex;
    margin: 10px;
}

.input-section button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 15%;
    margin: auto;
}

.clients ul, .invoices ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.clients li, .invoices li {
    display: flex;
    width: 60%;
    justify-content: space-between;
    margin: 10px;
    background: rgb(233, 233, 233);
    padding: 20px;
    border-radius: 10px;
    font-size: 25px;
    transition: .3s ease;
}

.clients li:hover {
    transition: .3s ease;
    transform: scale(1.05);
}

.client {
    width: 80%;
    text-decoration: none;
    color: black;
}

.invoices a, .edit {
    padding: 10px;
    font-size: 20px;
    color: seagreen;
    transition: .1s ease;
}

.invoices button, .trash {
    background: none;
    font-size: 20px;
    color: red;
    border: none;
    outline: none;
    cursor: pointer;
    transition: .1s ease;
}

.invoice-status {
    text-transform: capitalize ;
}

.edit:hover {
    color: white;
    transition: .1s ease;
}

.trash:hover {
    color: white;
    transition: .1s ease;
}

.choice {
    display: flex;
    height: 40vh;
    justify-content: center;
    align-items: center;
}

.choice button {
    border: none;
    outline: none;
    font-size: 20px;
    padding: 40px;
    border-radius: 5px;
    background: red;
    transition: .3s ease;
    cursor: pointer;
    margin: 20px;
}

.choice a {
    font-size: 20px;
    padding: 40px;
    border-radius: 5px;
    background: seagreen;
    text-decoration: none;
    color: black;
    transition: .3s ease;
    margin: 20px;
}

.choice a:hover, .choice button:hover {
    transition: .3s ease;
    transform: scale(1.05);
}

.logout {
    outline: none;
    border: none;
    background: none;
    color: red;
    font-size: 20px;
    transition: .3s ease;
}

.logout:hover {
    transition: .3s ease;
    color: white;
    cursor: pointer;
}

.error {
    background: rgba(255, 0, 0, 0.5);
    width: 20%;
    text-align: center;
    margin: auto;
}

.error li {
    list-style: none;
    color: red;
}

.success {
    background: seagreen;
    text-align: center;
    margin: auto;
    width: 30%;
    color: white;
}

@media screen and (max-width: 768px){
    body {
        overflow-x: hidden;
    }

    .admin-title {
        font-size: 13px;
        height: 30vh;
    }

    .nav {
        justify-content: center;
    }

    .nav li {
        font-size: 16px;
    }

    .invoice {
        display: block;
    }

    .clients li, .invoices li {
        font-size: 16px;
        display: block;
        text-align: center;
    }

    .icons, .invoice form {
        margin: 10px;
    }

    .icons a {
        font-size: 16px;
        margin: 10px;
    }

    .input-section {
        display: flex;
        font-size: 14px;
    }

    .input-section div {
        width: 300px;
        display: block;
        left: 0px;
    }

    .input-section button {
        width: 100px;
    }
}