*,
*::after,
*::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    -webkit-tap-highlight-color: transparent;
}

.btns {
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    position: absolute;
    top: 1rem;
    right: 2rem;
}

body {
    min-height: 100vh;
    background-image: url("../img/diagmonds.webp");
    display: flex;
    flex-direction: column;
}

a {
    color: white;
    text-decoration: none;
    transition: all 100ms ease-in-out;
}

a:not('logoName'):hover {
    color: rgba(255, 255, 255, 0.75);
    box-shadow: 0px 0px 2.5px 1px rgba(225, 225, 255, 0.85);
}

.navbar {
    position: relative;
    top: 0;
    left: 0;
    width: 100vw;
    height: 10vh;
    background-image: url("../img/diagmonds.webp");
    color: white;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.navbar h1 {
    position: absolute;
    left: 0.5rem;
    font-size: clamp(1.25rem, 2.532vw + 0.222rem, 2.5rem);
    font-weight: 700;
    margin: 2rem;
    text-align: center;
}

.btns a.link {
    text-decoration: none;
    margin-right: clamp(0.5rem, 1.143vw + 0.036rem, 0.75rem);
    padding: 0 0.75rem;
    border-radius: 7.5px;
    width: clamp(4.5rem, 6.857vw + 1.714rem, 6rem);
    background-color: transparent;
    border: 2px solid white;
    color: white;
    font-size: 0.9rem;
    letter-spacing: 1.25px;
    display: flex;
    width: 7rem;
    justify-content: space-around;
    align-items: center;
    height: 2.5rem;
    transition: all 50ms ease-in-out;
}

.btns a.link2 {
    color: black;
    background-color: white;
    width: clamp(11rem, 9.143vw + 7.286rem, 13rem);
}

.btns a.link:hover {
    transform: scale(1.025);
    box-shadow: 0 0 5px 0 rgb(225, 225, 255);
}

.promo {
    margin-top: 1rem;
}

.app {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.search {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    margin: 2rem 0 0;
    border: 1px solid white;
    border-radius: 4px;
    padding: 0 1.5rem;
}

input {
    height: clamp(2rem, 10.667vw - 0.333rem, 4rem);
    flex: 1;
    width: 100%;
    outline: none;
    font-size: 1.5rem;
    font-family: sans-serif;
    font-weight: 400;
    color: white;
    background-color: transparent;
    border: none;
}

.searchBtn,
.searchBtnRoller {
    height: 30px;
    width: 30px;
    cursor: pointer;
}

.searchBtn:hover {
    transform: scale(1.075);
}

.popular {
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin: 2rem 0 1rem;
    width: 100%;
}

.popular h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.suggestions {
    display: flex;
    flex-wrap: wrap;
    max-width: 80%;
    justify-content: center;
    gap: 1rem;
}

.suggestions button, .otherApp {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    color: black;
    font-size: clamp(0.75rem, 0.678vw + 0.390rem, 1rem);
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 10em;
    transition: all 100ms ease-in-out;
}

.suggestions button:hover, .otherApp:hover {
    transform: scale(1.05);
}

.error {
    font-size: 2rem;
}

.linkedTable {
    color: black;
    margin: 0 2rem;
}

.entries-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1rem;
}

.entries {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem;
    width: 95vw;
    color: white;
    margin-left: 2rem;
    display: none;
    font-size: 1.25rem;
}

.entries select {
    border-radius: 5px;
    font-size: 1.25rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid white;
    background-color: transparent;
    color: white;
    margin: 0 0.5rem;
}

.table {
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.2);
    margin: 0rem 1rem 1rem 1rem;
    background: rgba(250, 250, 250, 0.9);
    border-radius: 0.5rem;
    overflow: hidden;
    display: none;
    min-width: 90vw;
}

.table div.head {
    background-color: black;
    color: white;
}

.table .newRow>div,
.table .headRow>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.75rem 0.5rem;
    width: calc(2/13 * 100%);
    border: 2px solid black;
    word-break: break-word;
}

.table .newRow>.contacts,
.table .headRow>.contacts {
    width: calc(3/13 * 100%);
}

.table .newRow>.contacts {
    display: grid;
    grid-template-columns: 1fr 6fr;
    justify-items: start;
    padding: 0.75rem;
}

.table .newRow div a {
    text-decoration: underline;
    font-style: none;
    color: black;
    display: flex;
    text-align: start;
    align-items: center;
    gap: 0.5rem;
}

.table .newRow div a:hover {
    text-decoration: underline;
    color: blue;
}

.table .headRow {
    background-color: black;
}

.table .newRow div {
    padding: 3px;
}

.headRow,
.newRow {
    display: flex;
    min-height: 5rem;
    height: min-content;
    font-size: 1rem;
    margin: 0 auto;
}

.pagination-wrapper {
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin-bottom: 3rem;
}

.pagination-block {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
}

.showingPage {
    color: white;
    font-size: 1rem;
    margin: 0 1rem;
}

.page {
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 100ms ease-in-out;
    color: black;
    background-color: rgb(245, 245, 245);
    border-radius: 5px;
}

.page.active {
    background-color: rgb(170, 170, 170);
    color: black;
}

.page:hover {
    transform: scale(1.025);
}

.page.active:hover {
    transform: revert;
}

.pro {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: none;
    margin-bottom: 2rem;
}

.pro p {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    text-align: center;
}

.pro a.link {
    color: black;
    font-size: 2rem;
    background-color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 5px;
    text-align: center;
}

.err {
    color: white;
    font-size: clamp(1rem, 2.462vw + 0.462rem, 2rem);
    text-align: center;
}

.testimonials {
    color: white;
    display: grid;
    margin: 0rem 2rem;
    grid-template-columns: repeat(3, 1fr);
}

.test {
    padding: 1rem;
    margin: 0.8rem;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
}

.test .inner1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.test .inner2 {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.test img {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
}

.test .testname {
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0.5rem 0 0.5rem;
    letter-spacing: 2px;
}

.testtext {
    font-size: 0.9rem;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 300;
}

.test .position {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

.test .rating {
    font-size: 1rem;
    margin: 0.3rem 0;
    letter-spacing: 3px;
}

.export {
    padding: 0.75rem 1.25rem;
    margin: 1rem 3rem;
    align-self: end;
    display: flex;
    align-items: center;
    border-radius: 10px;
    background-color: white;
    color: black;
    font-size: 1rem;
    transition: all 100ms ease-in-out;
    outline: none;
    border: none;
}

.export:hover {
    cursor: pointer;
    transform: scale(1.025);
    box-shadow: 0px 0px 1px 1px rgba(255, 255, 255, 0.5);
}

.csv {
    height: 1.25rem;
    width: 1.25rem;
    margin: 0 0.5rem 0 0.2rem;
}

.prompt {
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.prompt-box {
    background: url("../img/diagmonds.webp");
    padding: 2rem;
    color: white;
    height: auto;
    max-width: 60%;
    width: auto;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 0px 10px 5px rgba(225, 255, 255, 0.75);
}

.prompt-box h3 {
    font-size: 2rem;
    margin: 2.5rem 0;
    text-align: center;
}

.prompt-box p {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0.5rem 0;
    width: 95%;
    text-align: center;
    letter-spacing: 1.5px;
}

.prompt-box span {
    color: red;
}

.prompt-box .disclaimer {
    font-size: 1rem;
    font-weight: 200;
    letter-spacing: 1px;
    margin: 0.5rem 0;
    width: 95%;
    text-align: center;
}

.prompt-box .cross {
    height: 1.25rem;
    width: 1.25rem;
    align-self: flex-end;
}

.prompt-box .cross:hover {
    cursor: pointer;
    scale: 1.05;
}

.prompt-box .timeLeft {
    color: red;
    font-size: 1.75rem;
    font-weight: 500;
}

.prompt-box .upgrade {
    font-weight: 700;
}

.limitbtn {
    margin: 4rem 0;
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    border-radius: 5px;
    border: 2px solid white;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    transition: all 100ms ease-in-out;
}

.limitbtn:hover {
    cursor: pointer;
    scale: 1.01;
    background-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 3px 1px rgba(255, 255, 255, 0.65);
}

footer {
    color: white;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    backdrop-filter: blur(5px);
    border-top: 1px solid white;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 8.136vw - 3.322rem, 4rem);
}

footer a {
    color: white;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 100ms ease-in-out;
}

footer a:hover {
    text-decoration: underline;
}

footer p {
    font-size: 0.75rem;
    text-align: center;
}

footer p::before {
    content: "*";
    color: red;
}

@media screen and (max-width: 850px) {
    .search {
        width: 80%;
    }

    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }

    .test2 {
        display: none;
    }

    .export {
        margin: 1rem;
        align-self: unset;
    }

    .prompt-box {
        padding: 2rem;
        height: auto;
        width: 85%;
    }

    .showing {
        font-size: 1rem;
    }

    .pagination-wrapper {
        display: none;
        flex-direction: column;
        gap: 1rem;
        font-size: 0.75rem;
    }

    .table {
        min-width: revert;
    }

    footer {
        flex-direction: column;
    }
}

@media screen and (max-width: 650px) {
    .navbar a.link {
        font-size: 1rem;
        padding: 0.1rem 0.25rem;
    }

    .navbar {
        justify-content: center;
    }

    .navbar h1 {
        left: 0.25rem;
    }

    input {
        height: auto;
        font-size: 1rem;
        margin: none;
        padding: 0;
        margin: 0;
    }

    .search {
        width: 90%;
        padding: 0.5rem 0.75rem;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .test1 {
        margin: 0 auto;
    }

    .table {
        margin: 2rem 0;
        border: revert;
        box-shadow: revert;
        padding: revert;
        margin: revert;
        background-color: revert;
        min-width: revert;
    }

    .card {
        height: auto;
        width: 80vw;
        margin: 1rem 2rem;
        border-radius: 0.5rem;
        padding: 1.25rem;
        background-color: white;
    }

    .card div {
        padding: 0.25rem;
        overflow-wrap: break-word;
    }

    .hamburger {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translate(0%, -50%);
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        height: 2rem;
        width: 2.5rem;
        z-index: 10;
        cursor: pointer;
    }

    .line {
        background-color: white;
        border-radius: 1em;
        height: 0.2rem;
        width: 2rem;
        transition: all 200ms ease-in-out;
    }

    .line1 {
        transform-origin: 0% 0%;
    }

    .line3 {
        transform-origin: 0% 100%;
    }

    .hamburger.active .line1 {
        width: 2rem;
        transform: rotate(45deg);
    }

    .hamburger.active .line2 {
        opacity: 0;
    }

    .hamburger.active .line3 {
        width: 2rem;
        transform: rotate(-45deg);
    }

    .btns {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100vh;
        width: 100vw;
        top: 0vh;
        transform: translateY(-100vh);
        left: 0;
        background-color: rgba(0, 0, 0, 0.9);
        transition: all 200ms ease-in-out;
        z-index: 9;
    }

    .btns.active {
        transform: translateY(0vh);
    }

    .btns a.link {
        border-radius: revert;
        font-weight: 300;
        text-transform: uppercase;
        letter-spacing: 3px;
        width: 100%;
        font-size: 2rem;
        padding: 0.5rem 1rem;
        margin: 3rem 0;
        text-align: center;
        background-color: transparent;
        color: white;
        border: none;
        display: flex;
        justify-content: center;
        gap: 1rem;
    }

    .err {
        margin-top: 2rem;
    }

    .pro p {
        font-size: 1.25rem;
        margin: 0.5rem;
    }

    .test1 {
        width: 80%;
        padding: 1rem;
    }

    .test2,
    .test3 {
        display: none;
    }

    .export {
        margin: 1rem;
        align-self: unset;
    }

    .prompt-box {
        padding: 2rem;
        height: auto;
        max-width: 95%;
    }

    .prompt-box h3 {
        font-size: 1.25rem;
        margin: 1.25rem 0;
    }

    .prompt-box p {
        font-size: 1rem;
        margin: 0.5rem 0;
    }

    .prompt-box .limitbtn {
        text-align: center;
    }

    .prompt-box span {
        color: red;
    }

    .prompt-box .disclaimer {
        font-size: 1rem;
        font-weight: 200;
        letter-spacing: 1px;
        margin: 0.5rem 0;
        width: 95%;
        text-align: center;
    }

    .prompt-box .cross {
        height: 1rem;
        width: 1rem;
    }

    .prompt-box .timeLeft {
        font-size: 1.25rem;
    }

    .limitbtn {
        margin: 2rem 0;
        padding: 0.75rem 1.25rem;
        font-size: 1.25rem;
    }

    footer {
        flex-direction: column;
    }
}