:root
{
    --bg: #111;
    --sbg: #232323;
    --font: #f0f0f0;
    --sfont: #909090;
    --primary: #00C6B3;
    --accent: #009380;
    --secondary: #b3e73c;
    --secomdary2: #80a409;
    font-size: 16px;
}

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html
{
    scroll-behavior: smooth;
}

body
{
    font-family: "Geist", sans-serif;
    background-color: var(--bg);
    color: var(--font);
}

a
{
    color: inherit;
    text-decoration: none;
}

.socialItem
{
    font-size: 1.7rem;
}

.socialItemShow
{
    font-size: 1.7rem;
}

.colorFont
{
    color: var(--font);
}

.colorSFont
{
    color: var(--sfont);
}

.colorBg
{
    color: var(--bg);
}

.colorSBg
{
    color: var(--sbg);
}

.colorPrimary
{
    color: var(--primary);
}

.colorAccent
{
    color: var(--accent);
}

.textSmall
{
    font-size: 0.8rem;
    line-height: 1.5;
    letter-spacing: 0.025rem;
    font-weight: normal;
}

.textSmallBold
{
    font-size: 0.8rem;
    line-height: 1.5;
    letter-spacing: 0.025rem;
    font-weight: 600;
}

.text
{
    font-size: 1.3rem;
    line-height: 1.5;
    letter-spacing: 0.025rem;
    font-weight: normal;
}

.textBold
{
    font-size: 1.3rem;
    line-height: 1.5;
    letter-spacing: 0.025rem;
    font-weight: 600;
}

@media only screen and (max-width: 48rem)
{
    .text
    {
        font-size: 1rem;
        line-height: 1.5;
        letter-spacing: 0.025rem;
        font-weight: normal;
    }
    
    .textBold
    {
        font-size: 1rem;
        line-height: 1.5;
        letter-spacing: 0.025rem;
        font-weight: 600;
    } 
}

.textMid
{
    font-size: 2.1rem;
    line-height: 1.3;
    letter-spacing: 0.045rem;
    font-weight: normal;
}

.textMidBold
{
    font-size: 2.1rem;
    line-height: 1.3;
    letter-spacing: 0.045rem;
    font-weight: 600;
}


@media only screen and (max-width: 48rem)
{
    .textMid
    {
        font-size: 1.5rem;
        line-height: 1.3;
        letter-spacing: 0.045rem;
        font-weight: normal;
    }

    .textMidBold
    {
        font-size: 1.5rem;
        line-height: 1.3;
        letter-spacing: 0.045rem;
        font-weight: 600;
    }
}

.textBig
{
    font-size: 3.4rem;
    line-height: 1.2;
    letter-spacing: 0.06rem;
    font-weight: normal;
}

.textBigBold
{
    font-size: 3.4rem;
    line-height: 1.2;
    letter-spacing: 0.06rem;
    font-weight: 600;
}

@media only screen and (max-width: 48rem)
{
    .textBig
    {
        font-size: 2rem;
        line-height: 1.2;
        letter-spacing: 0.06rem;
        font-weight: normal;
    }
    
    .textBigBold
    {
        font-size: 2rem;
        line-height: 1.2;
        letter-spacing: 0.06rem;
        font-weight: 600;
        text-transform: none !important;
    }
}

/* @media only screen and (max-width: 24rem)
{
    .textBig
    {
        font-size: 2.4rem;
        line-height: 1.2;
        letter-spacing: 0.06rem;
        font-weight: normal;
    }
    
    .textBigBold
    {
        font-size: 2.4rem;
        line-height: 1.2;
        letter-spacing: 0.06rem;
        font-weight: 600;
    }
}

@media only screen and (max-width: 21rem)
{
    .textBig
    {
        font-size: 2.1rem;
        line-height: 1.2;
        letter-spacing: 0.06rem;
        font-weight: normal;
    }
    
    .textBigBold
    {
        font-size: 2.1rem;
        line-height: 1.2;
        letter-spacing: 0.06rem;
        font-weight: 600;
    }
} */

.sectionItem
{
    max-width: 90rem;
    padding: 2.1rem;
    border-radius: 2.1rem;
    margin: 0 auto;
    overflow: hidden;
}

.sectionItem-bg
{
    max-width: 90rem;
    padding: 2.1rem;
    border-radius: 2.1rem;
    margin: 0 auto;
    background-color: var(--sbg);
}

@media only screen and (max-width: 48rem)
{
    .sectionItem
    {
        width: 100%;
        padding: 0.8rem;
    }

    .sectionItem-bg
    {
        width: 100%;
        padding: 0.8rem;
    }
}

/*** NAV ***/

header
{
    background-color: var(--bg);
    width: 100%;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
}

header > nav
{
    margin: 0 auto;
    padding: 1.3rem 2.1rem;
    max-width: 90rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.navLastItems
{
    display: none;
}

.navSocialItems
{
    display: flex;
    align-items: center;
    gap: 1.3rem;
}

header > nav > ol 
{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 0.8rem;
}

header > nav > ol > li > a
{
    font-size: 1.1rem;
    transition: 0.5s;
    color: var(--sfont);
    font-weight: 600;
    position: relative;
    display: block;
    padding: 0.8rem 1.3rem;
    border-radius: 2.1rem;
}

header > nav > ol > li > a:hover
{
    color: var(--font);
}

header > nav > ol > li > a:active
{
    color: var(--primary);
}

header > nav > a
{
    height: 4rem;
    display: flex;
    justify-content: start;
}

header > nav > a > img
{
    height: 100%;
}

.hamburger
{
    cursor: pointer;
    display: none;
}

.hamburger-item1, .hamburger-item2
{
    width: 1.3rem;
    height: 0.2rem;
    margin: 0.3rem 0;
    transition: 0.5s;
    background-color: var(--font);
}

.change .hamburger-item1
{
    transform: translate(0, 0) rotate(-45deg);
}

.change .hamburger-item2
{
    transform: translate(0, -0.46rem) rotate(45deg);
}

@media only screen and (max-width: 52.125rem)
{
    header > nav
    {
        padding: 0.8rem;
        border-bottom: 1px solid var(--sbg);
    }

    .navLastItems
    {
        display: flex;
        align-items: center;
        gap: 2.4rem;
    }

    .socialItem
    {
        display: none !important;
    }

    header > nav > ol 
    {
        display: none;
        position: fixed;
        left: -1px;
        bottom: -15rem;
        width: 100%;
        min-height: 15rem;
        background: var(--bg);
        flex-direction: column;
        align-items: start;
        padding: 0.8rem;
    }

    header > nav > ol > li
    {
        width: 100%;
    }

    header > nav > ol > li > a
    {
        padding: 0rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    header > nav > ol > li > a:hover
    {
        background: transparent;
        backdrop-filter: none;
        color: var(--font);
    }

    .hamburger
    {
        display: block;
    }
}


/*** TOP ***/

#top
{
    width: 100%;
    display: flex;
    align-items: center;
    padding-top: 8rem;
}

.topCont
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.1rem;
    text-align: center;
}

.topCont > h1
{
    max-width: 100%;
    /* font-family: "Libre Baskerville", serif; */
    text-transform: uppercase;
    font-size: 2.75rem;
}

.topCont > p
{
    max-width: 80%;
}

.topLinks
{
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 1.3rem;
}

.topLinks > a
{
    padding: 0.5rem 2.1rem;
    text-align: center;
    border-radius: 0.8rem;
    transition: 0.5s;
}

.topLinks > a:first-child
{
    background-color: var(--primary);
    border: 2px solid var(--primary);
}

.topLinks > a:first-child:hover
{
    background-color: var(--accent);
    border: 2px solid var(--accent);
}

.topLinks > a:last-child
{
    border: 2px solid var(--primary);
}

.topLinks > a:last-child:hover
{
    border: 2px solid var(--accent);
}

.topImg
{
    width: 100%;
    overflow: hidden;
    border-radius: 2.1rem;
    margin-top: 4rem;
}

.topImg > img
{
    border-radius: 2.1rem;
    width: 100%;
    object-fit: cover;
}

.hero-title 
{
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.hero-subtitle 
{
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    transition-delay: 0.2s;
}

.hero-button 
{
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    transition-delay: 0.4s;
}

.hero-image 
{
    opacity: 0;
    transform: scale(0.9);
    transition: all 1s ease-out;
}

.hero-title.visible,
.hero-subtitle.visible,
.hero-button.visible,
.hero-image.visible 
{
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media only screen and (max-width: 48rem)
{
    .topCont
    {
        align-items: start;
        text-align: left;
    }

    .topCont > h1
    {
        max-width: 100%;

    }

    .topCont > p
    {
        max-width: 100%;
    }

    .topLinks
    {
        flex-direction: column;
        width: 100%;
    }

    .topLinks > a
    {
        min-width: 100%;
    }
}


/*** ABOUT ***/

#about
{
    display: flex;
    align-items: center;
    gap: 3.4rem;
    margin-top: 3.4rem;
}

.aboutText
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.1rem;
    flex: 50%;
}

.aboutText > a
{
    padding: 0.5rem 2.1rem;
    text-align: center;
    border-radius: 0.8rem;
    transition: 0.5s;
    background-color: var(--primary);
    border: 2px solid var(--primary);
    width: max-content;
}

.aboutText > a:hover
{
    background-color: var(--accent);
    border: 2px solid var(--accent);
}


.aboutImg
{
    flex: 50%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 2.1rem;
}

.aboutImg > img
{
    border-radius: 2.1rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-title 
{
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s ease-out;
}

.about-description 
{
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    transition-delay: 0.2s;
}

.about-button 
{
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    transition-delay: 0.4s;
}

.about-image 
{
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
    transition-delay: 0.6s;
}


.about-title.visible,
.about-description.visible,
.about-button.visible,
.about-image.visible 
{
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media only screen and (max-width: 64rem)
{
    #about
    {
        flex-direction: column;
    }

    .aboutText > a
    {
        width: 100%;
    }
}

/*** OFFER ***/

#offer
{
    display: flex;
    flex-direction: column;
    gap: 3.4rem;
    margin-top: 3.4rem;
}

.offerGrid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.1rem;
}

.offerItem
{
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 1.3rem;
    padding: 2.1rem;
    border-radius: 2.1rem;
    background-color: var(--sbg);
    transition: 0.5s;
}

.offerItem:hover
{
    transform: scale(1.03);
}

.offerItemTop
{
    display: flex;
    align-items: center;
    gap: 1.3rem;
}

.offerItemTop > img
{
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
}

.offer-title 
{
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s ease-out;
}

.offer-card 
{
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    transition-delay: 0.4s;
}

.offer-title.visible
{
    opacity: 1;
    transform: translateY(0);
}

.offer-card.visible
{
    opacity: 1;
    transform: translateY(0);
}

@media only screen and (max-width: 64rem)
{
    .offerGrid
    {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 2.1rem;
    }

    .offerItem
    {
        padding: 1.3rem;
    }

    .offerItem:hover
    {
        transform: scale(1.01);
    }

    .offerItemTop > h2
    {
        font-size: 1.3rem !important;
    }
}

/*** TEACHERS ***/

#teachers
{
    display: flex;
    flex-direction: column;
    gap: 3.4rem;
    margin-top: 3.4rem;
}

.teachersGrid
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.1rem;
}

.teachersItem
{
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 1.3rem;
    padding: 2.1rem;
    border-radius: 2.1rem;
    background-color: var(--sbg);
    transition: 0.5s;
}

.teachersItem:hover
{
    transform: scale(1.03);
}

.teachersTop
{
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 1.3rem;
}

.teachersTop > h2
{
    max-width: max-content;
}

.teachersImg
{
    width: 8.9rem;
    height: 8.9rem;
    overflow: hidden;
    border-radius: 50%;
}

.teachersImg > img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teachers-title 
{
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s ease-out;
}

.teacher-card 
{
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.teachers-title.visible 
{
    opacity: 1;
    transform: translateY(0);
}

.teacher-card.visible 
{
    opacity: 1;
    transform: translateY(0);
}

@media only screen and (max-width: 48rem)
{
    .teachersGrid
    {
        grid-template-columns: repeat(1, 1fr);
    }

    .teachersItem
    {
        padding: 1.3rem;
    }

    .teachersItem:hover
    {
        transform: scale(1.01);
    }
    
    .teachersImg
    {
        width: 5.5rem;
        height: 5.5rem;
    }

    .teachersTop > h2
    {
        font-size: 1.3rem !important;
    }
}

/*** PRICE LIST ***/

#priceList
{
    display: flex;
    flex-direction: column;
    gap: 3.4rem;
    margin-top: 3.4rem;
}

.priceListGrid
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.1rem;
}

.priceListItem
{
    display: flex;
    flex-direction: column;
    justify-content: start;
    border-radius: 2.1rem;
    background-color: var(--sbg);
    transition: 0.5s;
    text-align: center;
}

.priceListTittle
{
    padding: 2.1rem;
    background-image: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 2.1rem 2.1rem 0 0;
}

.priceListItem:nth-child(2n) > .priceListTittle
{
    background-image: linear-gradient(to right, var(--secondary), var(--secomdary2));
}

.priceListCont
{
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 1.3rem;
    padding: 2.1rem;
}

.pricing-title 
{
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s ease-out;
}

.pricing-card
{
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.pricing-title.visible 
{
    opacity: 1;
    transform: translateY(0);
}
  
.pricing-card.visible
{
    opacity: 1;
    transform: translateY(0);
}

@media only screen and (max-width: 90rem)
{
    .priceListGrid
    {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.1rem;
    }
}

@media only screen and (max-width: 48rem)
{
    .priceListGrid
    {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 2.1rem;
    }

    .priceListTittle
    {
        padding: 1.3rem;
    }

    .priceListTittle > h2
    {
        white-space: pre-wrap;
        word-break: break-word;
    }

    .priceListCont
    {
        padding: 1.3rem;
    }
}

/*** KONTAKT ***/

#contact
{
    display: flex;
    flex-direction: column;
    gap: 3.4rem;
    margin-top: 3.4rem;
    margin-bottom: 7.8rem;
}

#contact > a
{
    width: max-content;
}

#contact > a > i
{
    font-size: 2.1rem;
    transition: 0.5s;
}

#contact > a > i:hover
{
    color: var(--primary);
}

.contactGrid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.1rem;
}

.contactGridItem
{
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 1.3rem;
    padding: 2.1rem;
    border-radius: 2.1rem;
    background-color: var(--sbg);
    text-align: center;
}

.contactGridItem > a
{
    text-decoration: underline;
    transition: 0.5s;
}

.contactGridItem > a:hover
{
    color: var(--primary);
}

.contactCont
{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 3.4rem;
}

.contactForm
{
    flex: 50%;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

form
{
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.errorForm
{
    color: var(--secondary);
}

input:not(input[type="submit"], input[type="checkbox"]),
textarea
{
    outline: none;
    border: 1px solid var(--sbg);
    width: 100%;
    padding: 0.8rem;
    font-size: 0.8rem;
    border-radius: 0.8rem;
    transition: 0.5s;
    background-color: var(--bg);
    color: var(--font);
}

input:not(input[type="submit"], input[type="checkbox"]):hover,
textarea:hover
{
    border: 1px solid var(--sfont);
}

input:not(input[type="submit"], input[type="checkbox"]):focus-within,
textarea:focus-within
{
    border: 1px solid var(--font);
}

textarea
{
    resize: none;
    aspect-ratio: 610/144;
}

input[type="submit"]
{
    outline: none;
    border: 1px solid var(--primary);
    width: 100%;
    padding: 0.8rem;
    font-size: 0.8rem;
    border-radius: 0.8rem;
    transition: 0.5s;
    background-color: var(--primary);
    color: var(--font);
    cursor: pointer;
}

input[type="submit"]:hover
{
    border: 1px solid var(--accent);
    background-color: var(--accent);
}

.contactFormCheck
{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contactFormCheck > p > a
{
    color: var(--primary);
}

.contactMaps
{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2.1rem;
}

.contactMapsInfo
{
    display: flex;
    flex-direction: column;
    gap: 2.1rem;
    flex: 40%;
}

.contactMapsInfoItem
{
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* border-left: 3px solid var(--primary);
    padding-left: 3.4rem !important; */
    padding: 0.5rem 0;
}

.contactMapsInfoItem:hover
{
    border-left: 3px solid var(--sfont);
    padding-left: 3.4rem !important;
}

.contactMapsInfoItem > button
{
    cursor: pointer;
    margin-top: 0.8rem;
    padding: 0.5rem 2.1rem;
    text-align: center;
    border-radius: 0.8rem;
    transition: 0.5s;
    background-color: var(--primary);
    border: 2px solid var(--primary);
    width: max-content;
}

.contactMapsInfoItem > button:hover
{
    background-color: var(--accent);
    border: 2px solid var(--accent);
}

.contactMap
{
    flex: 60%;
    overflow: hidden;
    aspect-ratio: 610/377;
    border-radius: 2.1rem;
    background-color: var(--sbg);
}

.contactMap > iframe
{
    width: 100%;
    height: 100%;
}

.contact-title 
{
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s ease-out;
}

.contact-card 
{
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.contact-form 
{
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.contact-map
{
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.contact-title.visible
{
    opacity: 1;
    transform: translateY(0);
}

.contact-card.visible 
{
    opacity: 1;
    transform: translateY(0);
}

.contact-form.visible 
{
    opacity: 1;
    transform: translateX(0);
}

.contact-map.visible 
{
    opacity: 1;
    transform: translateX(0);
}

@media only screen and (max-width: 64rem)
{
    .contactGrid
    {
        grid-template-columns: repeat(1, 1fr);
    }

    .contactCont
    {
        flex-direction: column;
    }

    .contactForm
    {
        flex: 100%;
        width: 100%;
    }
    
    .contactMaps
    {
        flex-direction: column;
        align-items: start;
    }

    .contactMap
    {
        width: 100%;
    }

    textarea
    {
        aspect-ratio: 2/1;
    }
}

/*** FOOTER ***/

footer
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
}

footer > p > a
{
    color: var(--primary);
    transition: 0.5s;
}

footer > p > a:hover
{
    color: var(--accent);
}

@media only screen and (max-width: 64rem)
{
    footer
    {
        flex-direction: column;
        gap: 2.1rem;
        align-items: start;
    }
}

/*** ZESPOL ***/

#zespol
{
    display: flex;
    align-items: center;
    gap: 3.4rem;
    margin-top: 3.4rem;
}

@media only screen and (max-width: 64rem)
{
    #zespol
    {
        flex-direction: column;
    }
}

/*** POLITYKA ***/

#polityka
{
    padding-top: 8rem;
    min-height: 100vh;
}

#polityka > p
{
    margin-top: 2.1rem;
}