:root
{
    
    --orange-color: #F35808;
    --black-color: #181818;
    --grey-color: #292B2C;
    --white-color: #FEEFD1;
    --nav-height: 9vh;
    --box-height: 40vh;
    --container-height: 60vh;
}
.numer:hover
{
    cursor:pointer;
}
.divider {
    display: flex;
    align-items: center;
    text-align: center;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 0.2vh solid #aaa;
    margin: 2vw;
}
.highlite
{
    color: var(--orange-color);
    font-weight: bold;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
button
{
    font-family: "Montserrat", sans-serif;
    background-color: var(--grey-color);
    border: 3px var(--orange-color) solid;
    border-radius: 5px;
    color: var(--orange-color);
    transition: background-color ease 100ms;
    padding: 1vh;
}
button:hover
{
    border: 3px var(--white-color) solid;
    background-color: var(--orange-color);
    color: var(--white-color);
    cursor: pointer;
}
body
{
    overflow-x: hidden;
    width: 100vw;
    background-attachment: fixed;
    background-color: var(--grey-color);
    background-image: url(../img/tlo2.jpg);
    background-size: cover;
    margin: 0;
    color: var(--white-color);
    font-size: clamp(2.5vh, 1rem, 3vh);
    font-family: "Montserrat", sans-serif;
}
@media (max-width: 1000px)
{
  body
  {
     background-attachment: scroll;
    background-position: center 0;
    background-size: cover;
    background-repeat: no-repeat;
    will-change: background-position;
  }
}
.row-container
{
    display: flex;
    flex-direction: row;
}
.column-container
{
    display: flex;
    flex-direction: column;
}
.image-container {
    flex: 1 1 40%;
    min-height: var(--container-height);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    overflow: visible;
}
a:visited, a
{
    text-decoration: underline;
    color: var(--white-color);
}
a:hover
{
    color: var(--orange-color);
    cursor: pointer;
}
h1
{
    font-size: 6vh;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 110vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 1;
    transition: opacity ease 300ms;
}

.modal.hidden {
    pointer-events: none;
    opacity: 0;
}

.modal-content {
    background-color: var(--grey-color);
    padding: 2em;
    border-radius: 10px;
    width: 60vw;
    text-align: center;
    max-height: 90vh;
}
@media (max-width: 1800px) {
    .modal-content
    {
        width: 95vw;
        padding: 1em;
    }
}
.close-btn-wrapper
{
    display: flex;
    justify-content: right;
}
.close-btn
{
    margin: 0 5vw 1vw;
    background-color: var(--black-color);
    width: clamp(30px, 3vw, 300px);
    height:clamp(30px, 3vw, 300px);;
    font-size: clamp(20px, 2vw, 200px);
    padding: 0;
}
#contact-modal h1
{
    font-size: var(--h1-font-size);
    letter-spacing: 7px;
    margin-top: 10vh;
}
#contact-modal ul
{
    font-size: 4vh;
    list-style-type: none !important; 
    padding: 0;
}
#contact-modal li
{
    display: flex;
    justify-content: space-between;
}
#contact-modal li i
{
    margin: auto 2vw;
}
#contact-modal h1
{
    width: 80%;
    margin: 0 auto
}
/*===== LOADING SCREEN ======*/
#loading-screen.hide {
    transform: translateY(-100%);
}
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black-color); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: transform 0.7s ease-in-out; 
}

.loader {
    border: 2vh solid var(--white-color); 
    border-top: 2vh solid var(--orange-color); 
    border-radius: 50%;
    width: 15vh;
    height: 15vh;
    animation: spin 1.5s linear infinite;
}

/*=========== NAV ===========*/
#nav
{
    width: 94vw;
    padding: 0px 3vw;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: var(--black-color);
    height: var(--nav-height);
    position: fixed;
    border-bottom: 2px var(--white-color) solid;
    transform: translateY(0);
    transition: transform 200ms ease-in-out;
    top: -1px;
    z-index: 1000;
}

#nav.hidden {
    transform: translateY(-200%);
}
#nav button
{
    background-color: var(--grey-color);
    border: 1px var(--white-color) solid;
    color: var(--white-color);
    border-radius: 5px;
}
#nav button:hover
{
    border: 3px var(--white-color) solid;
    background-color: var(--orange-color);
}
#navbar
{
    width: 100vw;
    min-height: 40px;
    position: fixed;
}
#nav .logo-wrapper
{
    height: var(--nav-height);
    flex-shrink: 1; /* pozwala siÃ„â„¢ zmniejszyÃ„â€¡ */
}
#nav .logo-wrapper img
{
    cursor: pointer;
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}
#nav .shortcuts
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap:0;
    color: var(--orange-color);
    height: 100%;
}
#nav .jump-wrapper
{
    height: 100%;  
}
#nav .jump
{
    min-width: 10vw;
    height: 100%;
    background-color: var(--black-color);
    color: var(--orange-color);
    font-size: 2.5vh;
    transition: color ease 250ms;
    transition: background-color ease 100ms;
    border: 1px var(--grey-color) solid ;
}
#nav .jump:hover
{
    background-color: var(--orange-color);
    color: var(--white-color);
    cursor: pointer;
    border: 1px var(--white-color) solid;
} 
#nav .acc-wrapper
{
    display: flex;
    height: var(--nav-height);
}
#nav .acc-btn
{
    display: flex;
    justify-content: center;
    flex-direction: column;
    
    height:5vh;
    margin: auto 0;
    gap: 10px;
    min-width: 7vw;
    font-size: 2.5vh;
}  
#nav .acc-btn .line
{
    height: auto;
    display: flex;
    justify-content: space-around;
    gap:10px;
}
#nav .acc-btn .line i
{
    margin: auto 0;
    height: 2vh;
}
#nav .acc-menu
{
    max-height: 13vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: max-height ease 200ms;
    position: fixed;
    top: calc(var(--nav-height)) ;
    border: 1px var(--white-color) solid;
    border-top: 0;
    z-index: 2;
}
#nav .acc-menu.hidden
{
    max-height: 0;
}
#nav .acc-menu button
{
    font-size: 3vh;
    background-color: var(--grey-color);
    color: var(--white-color);
    height: 6.5vh;
    border-radius: 0;
    border: none;
    border-bottom: 1px var(--white-color) solid;
    width: 100%;
}
#nav .acc-menu button:hover
{
    border: 2px var(--white-color) solid;
}

#nav .hamburger-wrapper
{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    display:none;

}
#nav .hamburger-wrapper button
{
    font-size: 3vh;
    width: 5vh;
    height: 5vh;
    margin: 1vh 0;
    padding: 0;
}
#side-menu
{
    position: fixed;
    top: var(--nav-height);
    right: 0;
    width: 80vw;
    height: calc(100vh - var(--nav-height));
    background-color: var(--grey-color);
    transition: width 200ms ease;
    z-index: 10;
}
#side-menu.hidden
{
    width: 0;
}
#side-menu .shortcuts-side
{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#side-menu .jump-wrapper
{
    width: 90%;
    margin: 3vh auto;
}
#side-menu .jump-wrapper .jump
{
    width: 100%;
    border-radius: 0;
    font-size: 5vh;
}
@media (max-width:1800px) {
    #nav .shortcuts
    {
        display: none;
    }
    #nav .hamburger-wrapper
    {
        display: block;
    }
    #nav .acc-menu button
    {
        font-size: 2.5vh;
    }
}
/*===== FOOTER =====*/
#footer
{
    width: 100vw;
    padding: 3vh 0;
    display: flex;
    justify-content: space-around;
    background-color: var(--black-color);
    border-top: 2px var(--white-color) solid;
    font-size: 1.7vh;
}
.element-container
{
    width: 30vw;
    display: flex;
    justify-content: center;
}
#footer p
{
    margin: 0 10px;
    font-style: italic;
}
#footer #copyright
{
    display: flex;
    flex-direction: row;
    cursor: default;
}
#footer #links
{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 2vw;
}
#footer #website-maker
{
    gap: 10px;
}
@media (max-width: 1000px) {
    #footer #links
    {
        flex-direction: column;
        text-align: center;
    }   
    #footer #copyright
    {
        flex-direction: column;
        text-align: center;
    }
    #footer #website-maker
    {
        flex-direction: column;
        text-align: center;
    }
}
