:root {
/* --prime: #c7d66d; */
--green: #c7d66d;
--second: #c3b6de;
--subpage-1: #ebe9de;
--subpage-2: #c6dbf0;
}

html {
    scroll-behavior: smooth;
}

/* Napis AGATA RZECHÓWKA */
h1 {
    font-family: Newsreader;
    /* font-size: 1.5rem; */
    font-size: clamp(1.0rem, 5vw, 1.5rem);
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    padding-top: 20px;
}


/* Duzy napis */
h2 {
    font-family: Newsreader;
    font-size: clamp(4.5rem, 16vw, 10rem);
    font-style: normal;
    font-weight: 300;
    line-height: 1.0;
    text-align: center;
}

h3 {
    font-family: Newsreader;
    font-size: clamp(2.0rem, 8vw, 3rem);
    font-style: normal;
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
    margin-top: 50px;
}

h4 {
    font-family: Inter;
    /* font-size: 1rem; */
    font-size: clamp(0.75rem, 2vw, 1.0rem);
    font-weight: 500;
    line-height: 1.4;
    margin: 30px;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid black;
    border-radius: 50px;
    padding: 6px 50px;
}

h5 {
    font-family: Inter;
    /* font-size: 1.35rem; */
    font-size: clamp(1rem, 4vw, 1.35rem);
    font-weight: 400;
    margin-top: 40px; 
    margin-bottom: 10px;
}

p {
    font-family: Inter;
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 300;
    line-height: 1.4;
}

body {
    background: var(--prime);
    color: black;
    font-family: Inter;
    margin: 0;
    padding: 0;
}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.full-screen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 1000;
}

.full-screen-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.full-screen-menu ul li {
  margin: 20px 0;
}

.full-screen-menu ul li a {
  color: var(--prime);
  text-decoration: none;
  font-size: 2rem;
}

.full-screen-menu.active {
  opacity: 1;
  transform: translateY(0);
}

.burger-button {
    position: absolute;
    right: 15px;
    top: 26px;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: clamp(20px, 5vw, 30px);
    height: 2px;
    background-color: black;
    margin: clamp(4px, 1vw, 6px) 0;
}

.bar-color .bar{
    background-color: var(--prime);
}

.bar-color {
    color: var(--prime);
}

header {
    height: 100svh;
    position: relative;
}

#header-title {
    text-decoration: none;
    display: inline-block;
}

#header-center {
    margin: 0;
    left: 50%;
    position: absolute;
    text-align: center;
    top: 45%;
    transform: translate(-50%, -50%);
    width: 100%;
}

#header-bottom {
    bottom: 0;
    position: absolute;
    width: 100%;
    margin: 60px 0;
    min-width: 262px;
    text-align: center;
    gap: 60px;
}

#header-bottom h4 {
    position: relative;
    max-width: 370px;
    margin: 30px 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.two-columns-center {
    display: flex;
    justify-content: center;
}

.two-columns {
    display: flex;
    justify-content: center;
    gap: 30px;
    row-gap: 60px;
}

.row {
    flex: 50%;
}

.row ul {
    padding-inline-start: 115px;
    list-style-type: circle;
    font-weight: 300;
}

.half-width { /*do usunięcia*/
    width: 50%;
    padding-right: 25px;
    box-sizing: border-box;
}

/* ROZWIJANA SEKCJA */

.accordion {
    background-color: var(--prime);
    border: none;
    color: black;
    cursor: pointer;
    font-family: Inter;
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 300;
    line-height: 1.1;
    margin: 0;
    margin-top: 26px;
    margin-bottom: 90px;
    outline: none;
    padding: 0;
    position: relative;
    text-align: left;
    transition: 0.4s;
    width: 100%;
}

.panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease-out;
    margin: 0;
    padding: 0;
}

.accordion:after {
    font-family: Newsreader;
    content: '+';
    font-size: 3.75rem;
    font-style: normal;
    line-height: 1.5;
    margin: auto;
    position: absolute;
    left: 0;
    width: 100%;
}
  
.accordion.active:after {
    content: "−";
}

#o-mnie p:first-child{
    margin-top: 0;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.buttons {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    row-gap: 20px;
    margin-top: 30px;
    margin-bottom: 80px;
}


.buttons a {
    background-color: black;
    border: 1px solid black;
    border-radius: 50px;
    color: var(--prime);
    cursor: pointer;
    display: inline-block;
    font-family: Inter;
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 400;
    line-height: 1.1;
    padding: 20px;
    text-decoration: none;
    text-transform: uppercase;
    width: 210px;
}

.buttons a:hover {
    background-color: var(--prime);
    color: black;
}

/* FORMULARZ KONTAKTOWY */

input[type=text], [type=email], textarea {
    background-color: var(--green);
    border: 1px solid black;
    border-radius: 0;
    box-sizing: border-box;
    color: black;
    display: block;
    font-family: Inter;
    font-size: 1rem;
    margin-top: 6px;
    margin-bottom: 16px;
    padding: 12px 12px;
    resize: none;
    width: 100%;
}

.formularz {
    font-family: Inter;
    padding: 10px 0;
    position: relative;
    display: grid;
}

form {
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
}

.form-grid-full {
    grid-column: 1 / span 2;
}

button[type=submit] {
    background-color: black;
    border: 1px solid black;
    border-radius: 50px;
    color: var(--green);
    cursor: pointer;
    display: inline-block;
    font-family: Inter;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.1;
    padding: 12px;
    text-decoration: none;
    text-transform: uppercase;
    width: 100px
}

button[type=submit]:hover {
    background-color: var(--green);
    color: black;
}

label {
    font-size: clamp(0.85rem, 2vw, 1rem);
}

/*  */

.footer-right-column {
    text-align: right;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    height: 415px;
    margin-bottom: 16px;
    margin-top: 25px;
}

#linki {
    display: grid;
    margin-bottom: 160px;
}

a {
    text-decoration: none;
    color: black;
    font-weight: 300;
    font-size: clamp(0.85rem, 2vw, 1rem);
}

hr {
    height: 1px;
    color: black;
    background-color: black;
    border-width: 0;
    
}

footer {
    margin: 10px 0 20px 0;
}


/* PODSTRONY */

/* Architektura wnętrz */
.arch-body {
    background-color: var(--subpage-1);
}

.arch-buttons-header {
    font-size: 1.7rem;
    margin-top: 100px;
}

.arch-buttons a{
    color: var(--subpage-1);
}

.arch-buttons a:hover {
    background-color: var(--subpage-1);
    color: black;
}

.arch-buttons-neg a{
    background-color: var(--subpage-1);
    color: black;
}

.arch-buttons-neg a:hover {
    background-color: black;
    color: var(--subpage-1);
}

.background-color {
    background-color: var(--second);
    /* padding-top: 150px; */
    padding-top: clamp(100px, 20vw, 200px);
    padding-bottom: clamp(100px, 20vw, 200px);
}

.box {
    margin: 100px 0;
}

.box h3 {
    margin-bottom: 50px;
}

.box-title-main {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid black;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    width: 100%;
}

.box-title-main .icon {
    padding: 20px;
}

.box-title {
    align-items: center;
    display: flex;
    gap: 60px;
    padding: 20px;
    padding-right: 0;
}

.box-title .number {
    font-size: 2rem;
    font-family: Newsreader;
    font-weight: 500;
    font-style: italic;
    letter-spacing: -2px;
}

.box-title .text {
    /* font-size: 1.2rem; */
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-family: Inter;
    font-weight: 500;
    text-transform: uppercase;
}


.icons-grid-container {
    gap: 20px;
    justify-content: space-between;
}

.icons-grid-container div:last-child {
    margin-bottom: 0;
}

.circle-border{
    border: 1px solid black;
    border-radius: 50%;
    padding: 15px;
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 400;
    margin: 0;
}
.image-text-container {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 25px 0;
}
.image-text-container p {
    margin: 0;
    font-size: 1rem;
}

.number-text-container {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 25px 0;
}
.number-text-container .circle-border {
    padding: 22px 23px;
}
.number-text-container p{
    margin: 0;
    font-size: 1rem;
}

.vl {
    border-left: 1px solid black;
}

.gallery {
    display: flex;
    align-items: center;
    gap: 30px
}

.gallery-object {
    border: 1px solid black;
    height: 200px;
    width: 300px;
}

.underline {
    font-size: 2rem;
    font-weight: 500;
    font-style: italic;
    font-family: Newsreader;
    margin-top: 15px;
    margin-bottom: 0;
}

.grid-container {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    justify-items: center;
}
.grid-container div {
    border: 1px solid black;
    border-radius: 0;
    padding: 20px;
    transition: transform 0.3s ease;
    min-height: 300px;
    max-width: 455px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.grid-container div .text {
    line-height: 1.4;
    margin: 0;
}

.wiecej-o-tym {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.gallery-row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 15px;
    box-sizing: border-box;
    align-items: center;
}

.gallery-column {
    flex: 50%;
    /* max-width: 50%; */
    padding: 0 15px;
    box-sizing: border-box;
}

.gallery-column img {
    margin-top: 30px;
    vertical-align: middle;
    width: 100%;
    min-width: 280px;
}

.gallery-column figure {
    margin: 0;
}

.gallery-column figcaption {
    margin-top: 10px;
}

.opinia {
    border: 1px solid black;
    padding: 30px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    margin-top: 40px;
}
.podpis {
    border: 1px solid black;
    border-top: 0;
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    font-family: Newsreader;
    font-weight: 300;
    padding: 15px 30px;
    line-height: 1.1;
}

.tagi {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 50px 0;
}
.tagi h4 {
    padding: 6px 25px;
    margin: 0;
}

.news-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.news-date {
  top: 0;
  right: 0;
  font-size: 0.9em;
  color: black;
  margin-top: 50px;
}

.margin-bottom-200 {
    margin-bottom: clamp(100px, 20vw, 200px);
}

.margin-top-100 {
    margin-top: clamp(50px, 20vw, 100px);
}

.gap-60-1 {
    gap: 60px;
}

.emoji::after {
    content: "👉🏼";
}

@media only screen and (max-width: 800px) {
    .two-columns {
        /* display: block; */
        flex-wrap: wrap;
    }
    .vl {
        border: none;
    }
    .two-columns-center {
        flex-wrap: wrap;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .wiecej-o-tym {
        display: block;
    }
    #header-center {
        /* margin: 100px 0; */
        margin-top: 150px;
        margin-bottom: 40px;
        position: static;
        transform: none;
    }
    #header-bottom {
        margin-top: 0px;
        position: static;
        gap: 0;
        column-gap: 30px;
    }
    #header-bottom h4 {
        margin: 10px 0;
        padding: 6px 25px;
    }
    header {
        height: auto;
    }
    #image-agata {
        max-width: 455px;
    }
    .footer-right-column {
        height: 200px;
    }
    #linki {
        margin-bottom: 0;
    }
    footer {
        text-align: center;
    }
    .box-title {
        gap: 20px;
    }
    .wiecej-o-tym {
        margin-bottom: 100px;
    }
    .gap-60-1 {
        gap: 0;
    }
    .emoji::after {
    content: "👇🏼";
}
}

.news-summary img {
    margin-top: 1rem;
    max-width: 100%;
}

.news-summary a {
    text-decoration: underline;
}