:root {
    --bg: #cacaca;
    --h-font: "Momo Trust Display", sans-serif;
    --main-font-color: #262626;
    --neutral-300: #d4d4d4;
    --neutral-200: #e5e5e5;
    --border-radius: 6px;
}


body {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    color: #262626;
    background-color: rgb(241, 241, 241);
}


nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 20px 10px 10px;
    /* background-color: #f6f6f6; */

}


.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width:100%;
    min-height: 100vh;
    padding: 80px 10px 80px 10px;
    /* background-color: #f6f6f6; */
}


.main-container>*+* {
    margin-top: 3rem;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
}


header, form, #analysis {
    width: 100%;
    max-width: 900px;
}

#heading {
    text-align: center;
    font-family: "Permanent Marker", cursive;
}


#subheading {
    text-align: center;
    margin-top: 10px;
    width: 80%;
}


form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


input {
    width: 100%;
    border: 1px solid rgb(211, 211, 211);
    border-radius: var(--border-radius);
    padding: 10px 10px 10px 10px;
    background-color: white;
}


input:focus {

    outline: 1px solid var(--neutral-300);
}


#spinner {
    fill: #fafafa;
    height: 1rem;
    width: 1rem;
}


.hidden {
    display: none;
}


#analysis {
    display: flex;
    flex-direction: column;
}

#analysis > * + * {
    margin-top: 40px;
}

.argument-pairs {
    display: flex;
    padding: 10px;
    /* border: 1px solid var(--neutral-300); */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -2px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: var(--border-radius);
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    background: #f2f2f2;
    border-radius: var(--border-radius);
    align-content: space-between;
    font-size: 0.875rem;
}

.counter-arg {

    background-color: #eff6ff;

}

.card:hover {
    cursor: pointer;
}


h1,
h2 {
    font-family: var(--h-font);
    font-weight: 400;
    font-style: normal;
}


header h2 {
    font-family: var(--h-font);
    font-size: 40px;
    font-weight: 400;
    font-style: normal;
}


p, input, button {
    font-family: "Source Sans 3", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
   

button {
    padding: 6px 14px 6px 14px;
    background-color: rgb(238, 238, 238);
    border: 1px solid var(--neutral-300);
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: box-shadow 0.15s ease;
}


#copy-btn {
    border: none;
    padding: none;
    background-color: inherit;
}


#submit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    width: max-content;
    padding: 10px 10px 10px 10px;
    background-color: var(--main-font-color);
    color: white;
}


button:hover {
    cursor: pointer;
}

footer {
    display: flex;
    width: 100%;
    padding: 10px;
    background-color: #c1c1c1;
    color: white;

}

@media (max-width: 640px) {
    /* Styles für Smartphones */
    form {
        flex-direction: column;
    }

    #submit-btn {
        width: 100%;
        padding: 10px 10px 10px 10px;
    }

    #subheading {
        width: 90%;
    }
}