@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

*::selection {
    background: #070707;
    color: #FBFBFB;
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

body {
    min-height: 100vh;
    line-height: 1;
    font-family: inherit;
    color: inherit;
}


/* typography */

.text-line {
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.125rem;
    letter-spacing: -0.5px;
    font-weight: 300;
}

.text-paragraph {
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    letter-spacing: -0.5px;
    font-weight: 300;
}


/* links */

.text-decoration {
    text-decoration: underline;
    color: #070707;
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.125rem;
    letter-spacing: -0.5px;
    font-weight: 300;
}

.text-decoration-second {
    text-decoration: none;
    color: #070707;
}



a:visited,
a:active {
    color: #070707;
    text-decoration: none;
}

a:hover {
    opacity: 0.6;
    transition: 0.2s;
}

/* spacing */

.space-small {
    padding-top: 0.5rem;
}

.space-medium {
    padding-top: 1rem;
}

.space-large {
    padding-top: 1.25rem;
}

.space-big {
    padding-top: 2rem;
}


/* layout */

.max-width-main {
    max-width: 60rem;
}

.max-width-small {
    max-width: 30rem;
}

.max-width-medium {
    max-width: 35rem;
}


.padding-global {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.layout {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* colors */

.background-color-accent {
    background-color: #F2F9A9;
}

.background-color-white {
    background-color: #FBFBFB;
}

.text-color-black {
    color: #070707;
}

.text-color-grey {
    color: #646464;
}

.background-color-whitesmoke {
    background-color: #F4F4F4;
}

.top-row {
    padding: 0.5rem;
}

.grid-base {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}


/* accordion-component */

.accordion {
    display: flex;
    flex-direction: column;

}

.accordion-item {
    overflow: hidden;
    border-bottom: 1px solid #07070710;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.accordion-header {
    cursor: pointer;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
}

.accordion-item.is-active .accordion-content {
    max-height: 300px;
    /* arba didesnė saugi reikšmė */
    opacity: 1;
    padding: 1rem 0;
}

.footer {
    display: flex;
    flex-direction: row;
    gap: 0.4rem;
    padding-bottom: 0.5rem;
}