:root
{
    --dark_gold: #946000;
    --gold: #d8a100;
    --light_gold: #FAC300;
    --white: white;
    --dark_white: #eee;
    --light_gray: #aaa;
    --gray: #888;
    --dark_gray: #111;
    --black: black;
    
    --g_1: #000;
    --g_2: #111;
    --g_3: #222;
    --g_4: #333;
    --g_4: #444;
}
html
{
    scroll-behavior: smooth;
}
body
{

    margin: 0;
    padding: 0;
    height: 100vh;
    font-size: 10px;
    box-sizing: border-box;
	font-family: 'Instrument Serif', serif;
    background-color: var(--black);
}
.cong
{
    font-weight: 800;
    color: var(--light_gold);
}
.conw
{
    font-weight: 800;
    color: var(--white);
}
.section
{
    box-sizing: border-box;
    background-attachment: fixed;
    color: white
}
.content2
{
    font-size: 2rem;
    box-sizing: border-box;
    padding: 1rem;
}
.section:nth-child(1)
{
    background-image: url('section1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
@keyframes gradient
{
    0%{background-position: 0%;}
    50%{background-position: 100%;}
    100%{background-position: 0%;}
}
.section:nth-child(2)
{
    text-align: center;
    background-image: url('section1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white);
    font-size: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 10vh;
    padding-bottom: 12vh;
}
.section:nth-child(2)>h2
{
    color: var(--gold);
    font-size: 3rem;
}
.section:nth-child(3)
{
    -webkit-box-shadow: inset 0px 0px 25px 3px rgba(66, 68, 90, 1);
    -moz-box-shadow: inset 0px 0px 25px 3px rgba(66, 68, 90, 1);
    box-shadow: inset 0px 0px 25px 3px rgba(66, 68, 90, 1);
    background-image: url('section2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white);
    font-family: 'Lato', sans-serif;
}
.section:nth-child(4)
{
    -webkit-box-shadow: inset 0px 0px 25px 3px rgba(66, 68, 90, 1);
    -moz-box-shadow: inset 0px 0px 25px 3px rgba(66, 68, 90, 1);
    box-shadow: inset 0px 0px 25px 3px rgba(66, 68, 90, 1);
    background-image: url('section3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white);
}
.section:nth-child(5)
{
    -webkit-box-shadow: inset 0px 0px 25px 3px rgba(66, 68, 90, 1);
    -moz-box-shadow: inset 0px 0px 25px 3px rgba(66, 68, 90, 1);
    box-shadow: inset 0px 0px 25px 3px rgba(66, 68, 90, 1);
    background-image: url('section4.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--gold);

}
.ods
{
    font-weight: 800;
    padding-top: 1rem;
    font-size: 2.5rem;
    color: white;
}
.section:nth-child(6)
{
    -webkit-box-shadow: inset 0px 0px 25px 3px rgba(66, 68, 90, 1);
    -moz-box-shadow: inset 0px 0px 25px 3px rgba(66, 68, 90, 1);
    box-shadow: inset 0px 0px 25px 3px rgba(66, 68, 90, 1);
    background-image: url('tlotyl.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white);
    font-family: 'Lato', sans-serif;
    background-position: center center;

}
.content5
{
    padding-top: 2rem;
    align-items: center;
    position: relative;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    font-size: 2rem;
    text-align: center;
}
.content4
{
    display: flex;
    padding-top: 2rem;
    align-items: center;
    position: relative;

    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    font-size: 3rem;
    text-align: center;
}
.info4, .mapa
{
    padding: 2rem;
    width: 50%;
    box-sizing: border-box;
    position: relative;
    height: 100%;
}
.maps
{
    position: relative;
    display: block;
    height: 70vh;
    width: 90%;
}
.about_me
{
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    text-align: center;   
    padding: 2rem;
}
.aboutme
{
    text-align: center;
    color: var(--gold);
    font-size: 4rem;
}
.content3
{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    font-size: 3rem;
    text-align: center;
    padding-top: 6vh;
}
.content3>p
{
    padding: 1rem;
    position: relative;
}
.content2
{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.75);
    font-size: 1.65rem;
    text-align: center;
}
th
{
    text-align: center;
    font-size: 2.5rem;
    color: var(--gold);
}
.section:nth-child(3)>h2
{
    padding-top: 2rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.75);
    margin: 0;
    font-size: 5rem;
    color: var(--dark_gold)
}
ol
{
    list-style-type: none;
    margin-top: 0;
    margin-bottom: 0.7rem;
}
th
{
    font-size: 2.4rem;
}
td
{
    padding-top: 0.7rem;
    padding-left: 0.7rem;
}
table
{   
    font-size: 2rem;
    margin:0;
    margin-left: auto;
    margin-right: auto;
}
.psychotechniczne, .kliniczne
{
    text-align: left;
    position: relative;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}
.nav
{
    z-index: 100;
    box-sizing: border-box;
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%;
    color: var(--dark_gra);
    height: 12vh;
    background-color: rgba(0, 0, 0, 0.93);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem 2rem;
    font-size: 2rem;
    transition: box-shadow 0.3s ease-in-out;
}
.nav.scrolled {
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  }
ul
{
    vertical-align: middle;
    margin: 0 2rem;
    list-style-type: none;
    display: flex;
    width: 90%;
    justify-content: space-around;
    padding-right: 1rem;
    text-transform: uppercase;
}
ul.active
{
    transition: .3s ease-in-out;
    transform: translatex(0%);
    opacity: .95;
}
a
{
    scroll-behavior: smooth;
    outline: none;
    color: var(--light_gold);
    text-decoration: none;
    position: relative;
}
.oflista
{
	display:list-item;
    color: var(--light_gold);
}
.w
{
    color: white;
}

.nav-link::after
{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    background-color: var(--gold);
    height: .15rem;
    border-radius: 10px;
    transition: .3s ease-in-out;
}
.nav-link:hover::after
{
    width: 100%;
}
.logo_nav
{
    position: relative;
    width: 13vh;
}
.info-content
{	
	font-family: 'Instrument Serif', serif;
    font-size: 1.6rem;
    padding: .3rem;
    margin-bottom: 2rem;
}
.info-content>h1
{
    font-family: 'Berkshire Swash', cursive;
    color: var(--gold);
    margin-bottom: 0;
    font-size: 5rem;
    padding-bottom: 1rem;
}
.info
{
    color: var(--white);
    padding-top: 8vh;
    height: 92vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    background-color: none;
}
.info-content, .icons
{
    text-align: center;
}
.icons
{
    color: var(--black);
    margin: 1rem auto;
    border-radius: 20%;
    font-size: 3rem;
    background-color: var(--gold);
    width: max-content;
}
.logo
{
    order: 2;
    height: 80%;
    display: block;
    margin-left: 3rem;
}
.burger
{
    position: relative;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    display: none;
}
.burger.active .line:first-child
{
    transform: translateY(-100px);
}
.burger.active .line:nth-child(2)
{
    transform-origin: center;
    transform: rotate(45deg);
}
.burger.active .line:nth-child(3)
{
    transform-origin: center;
    transform: rotate(-45deg ) translate(9px, -10.3px);;
}

.line
{
    width: 2.5rem;
    height: 0.3rem;
    background-color: var(--white);
    margin: .6rem;
    border-radius: 20px;
    transition: .3s ease-in-out;
}
@media only screen and (max-width: 1700px) 
{
    table
    {
        font-size: 2rem;
    }    
    .nav
    {
        font-size: 1.7rem;
    }
}

@media only screen and (max-width: 1520px)
{

    @media only screen and (max-height: 492px)
    {
        table
        {
            font-size: 1.2rem;
        }
    }
    @media only screen and (max-height: 391px)
    {
        table
        {
            font-size: 1rem;
        }
    }
}
@media only screen and (max-width: 1250px)
{
    table
    {
        font-size: 1.3rem;
    }
    @media only screen and (max-height:425px)
    {
        table
        {
            font-size: 1.2rem;
        }
    }
    @media only screen and (max-height:310px)
    {
        ul
        {
            font-size: 1.5rem;
        }
        .info-content>h1
        {
            font-size: 4rem;
        }
        table
        {
            font-size: 1.1rem;
        }
    }
}
@media only screen and (max-width: 1200px)
{
    .section:nth-child(3)>h2
    {
        font-size: 4rem;
    }
    .content4
    {
        font-size: 2.4rem;
    }
    .content5
    {
        font-size: 1.9rem;
    }
    .nav
    {
        box-sizing: border-box;
        height: 12vh;
    }
    .burger
    {
        position: relative;
        display: block;
        transition: .3s ease-in-out;
    }
    ul
    {
        margin:0;
        padding-right: 0;
        box-shadow: -5px 2px 10px -5px rgba(0, 0, 0, 0.75); 
        width: 40%;
        position: absolute;
        right: 0;
        top: 12vh;
        background-color: rgba(0, 0, 0, 0.93);
        height: 80vh;
        flex-direction: column;
        text-align: center; 
        transform: translateX(110%);
        transition: .2s ease-in-out;
        z-index: 100;
    }
    ul>li
    {
        text-align: center;
    }
    .nav-link
    {
        padding: 2vh;
    }
    .nav-link::after
    {
        bottom: 2vh;
    }
    .logo
    {
        margin-right: 2rem;
    }
    @media only screen and (max-height: 400px)
    {
        .nav-link
        {
            padding: 2rem;
        }
        .nav-link::after
        {
            top: 3.5rem;
        }
        ul>li
        {
            font-size: 1rem;
        }
        .line
        {
            width: 2rem;
            height: 0.2rem;
            margin: .5rem;
        }
        .burger.active .line:nth-child(2)
        {
            transform-origin: center;
            transform: rotate(45deg);
        }
        .burger.active .line:nth-child(3)
        {
            transform-origin: center;
            transform: rotate(-45deg ) translate(6.6px, -7.7px);;
        }
    }
    @media only screen and (max-height:350px)
    {
        .info-content
        {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }
        .info-content>h1
        {
            color: var(--gold);
            margin-bottom: 0;
            font-size: 4rem;
        }
        .icons
        {
            font-size: 2.5rem;
        }
        
    }
    

}
@media only screen and (max-width: 1099px) 
{
    .content3
    {
        font-size: 3.5rem;
    }
}
@media only screen and (max-width: 1000px)
{
    .section:nth-child(3)>h2
    {
        font-size: 3rem;
    }
    .content4
    {
        font-size: 2rem;
    }
    .maps
    {
        height: 55vh;
    }
    .aboutme
    {
        font-size: 3.2rem;
    }
    .content3
    {
        font-size: 3rem;
    }
    .content5
    {
        font-size: 1.7rem;
    }
    table
    {
        font-size: 1.2rem;
    }
    ul
    {
        width: 70%;
    }
    .info-content>h1
    {
        font-size: 4.3rem;
        letter-spacing: .2rem;      
        word-wrap: break-word;  
    }
    .info-content
    {
        font-size: 1.5rem;
    }

    @media only screen and (min-height: 740px)
    {
        .logo
        {
            height: 65%;
        }
    }
    @media only screen and (max-height:400px)
    {
        .info-content
        {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }
        .info-content>h1
        {
            color: var(--gold);
            margin-bottom: 0;
            font-size: 4rem;
        }
        .icons
        {
            font-size: 2.5rem;
        }
    }
}

@media only screen and (max-width: 900px) 
{
    .section:nth-child(3)>h2
    {
        font-size: 4rem;
    }
    .content2
    {
        justify-content: center;
        text-align: center;
    }
    .kliniczne, .psychotechniczne
    {
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
    table
    {
        font-size: 2rem;
        
    }

    .info
    {
        display: block;
        justify-content: center;
        text-align: center;
    }
    .logo
    {
        height: 45%;
        margin: auto;
        margin-top: 12vh;
    }
    @media only screen and (max-height: 750px)
    {
        .logo
        {
            height: 65%;
        }
        .info
        {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        #left
        {
            margin-left: 1rem;
        }
        .info-content>h1
        {
            font-size: 3rem;
        }
        
    }

    @media only screen and (max-height: 400px)
    {

        .nav-link
        {
            padding: 2rem;
        }
        .nav-link::after
        {
            top: 3.5rem;
        }
        ul>li
        {
            font-size: 1rem;
        }
        .line
        {
            width: 2rem;
            height: 0.2rem;
            margin: .5rem;
        }
        .burger.active .line:nth-child(2)
        {
            transform-origin: center;
            transform: rotate(45deg);
        }
        .burger.active .line:nth-child(3)
        {
            transform-origin: center;
            transform: rotate(-45deg ) translate(6.6px, -7.7px);;
        }
    }
  
}
@media only screen and (max-width: 800px)
{

    .content4
    {
        font-size: 2rem;
        flex-direction: column;
    }
    .mapa,.info4
    {
        width: 100%;
    }
    .maps
    {
        height: 40vh;
        margin-left: auto;
        margin-right: auto;
    }
    .content3
    {
        font-size: 2.5rem;
    }
        table
        {
            font-size: 1.7rem;
            
        }
        .content5

        {
            font-size: 1.6rem;
        }
    .info
    {
        display: block;
        justify-content: center;
        text-align: center;
    }
    .logo
    {
        height: 45%;
        margin-top: 12vh;
        margin-left: auto;
        margin-right: auto;
    }
    @media only screen and (max-height: 600px)
    {
        .info
        {
            display: flex;
            justify-content: center;
            text-align: center;
        }
        .logo
        {
            height: 65%;
            margin: auto;
            margin-top: 12vh;
        }
    }
}
@media only screen and (max-width: 700px)
{
    .aboutme
    {
        font-size: 2.3rem;
    }
    .content3
    {
        font-size: 2rem;
    }
    .content2
    {
        font-size: 4rem;
    }
}
@media only screen and (max-width: 650px)
{

        table
        {
            font-size: 1.5rem;
            
        }
        .content5
        {
            font-size: 1.3rem;
        }
}
@media only screen and (max-width: 610px)
{
    .section:nth-child(3)>h2
    {
        font-size: 3rem;
    }
    ul
    {
        width: 100%;
    }
    .logo
    {
        height: 50%;
    }
    .info-content
    {
        font-size: 85%;
    }
    .info-content>h1
    {
        font-size: 3rem;
    }
    .icons
    {
        font-size: 2.8rem;
    }
    .content2
    {
        font-size: 4rem;
    }
    #left
    {
        margin-left: 1rem;
    }
    @media only screen and (max-height: 650px)
    {
        .logo
        {
            height: 40%;
        }
    }
    @media only screen and (max-height: 600px)
    {
        .info
        {
            display: block;
        }
        
    }
    @media only screen and (max-height: 520px)
    {
        .info-content>h1
        {
            font-size: 2.5rem;
        }
        .icons
        {
            font-size: 2rem;
        }
    }
    @media only screen and (max-height: 440px)
    {
        .info
        {
            display: flex;
        }
        .logo
        {
            height: 65%;
            margin-right: 1rem;
        }
    }
}

@media only screen and (max-width: 534px)
{
    .content3
    {
        font-size: 2rem;
    }
}
@media only screen and (max-width: 506px)
{
        table
        {   
            font-size: 1.3rem;
            
        }
        .aboutme
        {
            font-size: 2.5rem;
        }
        .content5
        {
            font-size: 1.2rem;
        }
}
@media only screen and (max-width: 500px)
{
    .aboutme
    {
        font-size: 1.8rem;
    }
    .content2
    {
        font-size: 3rem;
    }
    .info-content
    {
        padding: 0 1rem;
    }
    @media only screen and (max-height: 375px)
    {
        .logo
        {
            height: 70%;
        }
    }
}
@media only screen and (max-width: 474px)
{
    th
    {
        font-size: 1.8rem;
    }
    .section:nth-child(2)>h2
    {
        font-size: 2rem
    }
    .section:nth-child(2)
    {
        font-size: 1.5rem;
    }
    .logo
    {
        height: 40%;
    }
    @media only screen and (max-height: 675px)
    {
        .info-content>h1
        {
            font-size: 2.5rem;
        }
        .icons
        {
            font-size: 2rem;
        }
    }
    @media only screen and (max-height: 440px)
    {
        .info
        {
            display: flex;
        }
        .logo
        {
            height: 65%;
        }
    }
}
@media only screen and (max-width: 400px)
{
    .content4
    {
        font-size: 2rem;
    }
    .maps
    {
        height: 30vh;
    }
    .content3
    {
        font-size: 2rem;
    }
        table
        {
            font-size: 1.2rem;
            margin-left: auto;
            margin-right: auto;
            margin-top: 0;
            margin-bottom: 0;
        }
    .logo
    {
        height: 30%;
    }
    .info-content
    {
        font-size: 70%;
    }
    .info-content>h1
    {
        font-size: 3rem;
    }
    .icons
    {
        font-size: 2rem;
    }
    ul
    {
        font-size: 65%;        
    }
    li
    {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .content2
    {
        font-size: 3rem;
    }
    @media only screen and (min-height: 700px)
    {
        .logo
        {
            height: 35%;
        }
    }
    @media only screen and (max-height: 500px)
    {
        .info-content>h1
        {
            font-size: 2.3rem;
        }
    }
    @media only screen and (max-height:450px)
    {
        .info-content>h1
        {
            font-size: 1.9rem;
        }
        .icons
        {
            font-size: 1.6rem;
        }
    }
    @media only screen and (max-height: 440px)
    {
        .info
        {
            display: block;
        }
        .logo
        {
            margin-left: auto;
            margin-right: auto;
        }
    }
    @media only screen and (max-height: 350px)
    {
        .info
        {
            display: flex;
        }
        .logo
        {
            height: 60%;
            margin-right: 1rem;
        }
        .info-content>h1
        {
            font-size: 1rem;
        }
        .info-content
        {
            font-size: 0.7rem;
        }
        .icons
        {
            font-size: 1rem;
        }
    }
}
@media only screen and (max-width:321px) 
{
    .content4
    {
        font-size: 1.8rem;
    }
        table
        {
            font-size: 1rem;
            
        }    
}
@media only screen and (max-width: 300px) 
{
    .content3
    {
        font-size: 1.7rem;
    }
    .content2
    {
        font-size: 2rem;
    }
    .logo
    {
        height: 30%;
    }
}
@media only screen and (max-height: 300px)
{
    .nav-link
        {
            padding: 1rem;
        }
        .nav-link::after
        {
            top: 3rem;
        }
}