:root{
  --default-background: #ffffff;
  /* -- Colors -- */     
  --default-color-0:#ffffff;
  --default-color-1:#781816;
  --default-color-2:#f1ebdc;
  --default-color-3:#333333;
  --default-color-4:#ffffff;
  --default-color-5:#CCCCCC;
  --default-color-6:#550B02;
  --default-color-7:#666666;
  --default-color-8:#F5F5F5;
  --default-color-9:#EA5c6D;
  --default-color-A:#E1E1E1;
  --default-color-T1:#F0F0F0;
  --default-color-T2:#F9F9F9;
  
  --default-color:var(--default-color-1);
  --default-text-color-inv:var(--default-color-2);
  
  /* -- Font & sizes -- */  
  --default-font-size-mini:13px;
  --default-font-size-small:14px;
  --default-font-size:16px;
  --default-font-size-medium:18px;
  --default-font-size-big:20px;
  --default-font-size-huge:24px;
  --default-font-size-x-huge:30px;
  --default-font:'Lato';
  --default-font-2:'akademia';
  --default-font-3:'Lato';
  --default-font-4:'Raleway';
  --default-font-weight:300;  
  
  /* -- ... -- */
  --default-margin:15px;
  --default-radius:4px;
  --default-radius-medium:6px;
  --default-shadow:0px 0px 20px -4px rgba(0, 0, 0, 1);
  --default-shadow-lite:0px 0px 20px -4px rgba(0, 0, 0, 0.5);
  --default-transition:all 200ms ease-in;
}


/************************************************************
  ustawienia ogólne
************************************************************/
html {
  scroll-behavior:smooth;
  transition: all 300ms ease;
  box-sizing: border-box;
  
}



body{
  margin:0px;
  padding:0px;
  border:0px;
  box-sizing: border-box;
  background:var(--default-background);
  font-family: var(--default-font);
  font-weight: var(--default-font-weight);
  font-size: var(--default-font-size);
  height:100%;
}

section{}

div{
  box-sizing: border-box;
  /*border: 1px dotted yellow; */
}

a{
  text-decoration: none;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6{
  box-sizing: border-box;
}

p{
  box-sizing: border-box;
  line-height:1.6;
}

hr{
  border:0px;
  border-bottom:dotted 1px var(--default-color-5);
  height:0px;
  margin:var(--default-margin) 0px;
}

header {
  padding: 0;
  margin: 0;

  .kontener_naglowek {
        background-color: var(--default-color-1);
        color: var(--default-color-0);
        font-family: var(--default-font-2);
        margin: 0 0 1px 0;
        height: 380px;
  }
  .naglowek {
    position: relative;
    height: 100%;
    max-width: 1300px;
    margin: auto;
    padding: 0px;
    box-sizing: border-box;
  }

  .naglowek_logo {
    position: absolute;
    height: 100%;
    width: 390px;
    left: 0px;
    top: 0px;
    text-align: center;
    overflow: hidden;
  }

  #am-logo-rp {
    width: 60px;
    height: 70px;
    margin-top: 43px;
  }

  #am-logo-klawisze{
    height: 100px;
    width: 67px;
    position: relative;
    margin: 22px auto 0px auto;
  }

  
  #am-header-logo-text {
    width: 100%;
    font-family: var(--default-font-2);
    color: var(--default-color-2);
    float: left;
    font-size: 22px;
    margin-top: 0px;
    cursor: pointer;
    text-align: center;
    font-weight: 100;
  }

  .naglowek_obrazek_kontener {
    position: absolute;
    width: calc( 100% - 390px );
    height: 100%;
    right: 0px;
    top: 0px;
    overflow: hidden;
  }

  .naglowek_obrazek {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
  }

  .menu_gorne {
    display: block;
    height: 100px;
    width: 100%;
    border-top: solid 1px var(--default-color-4);
    background: var(--default-color-3);
    color: var(--default-color-0);
    margin: 1px 0 10px 0;

    .panel_menu {
            max-width: 1300px;
            margin: auto;
            padding: 0px;
            box-sizing:border-box;

            ul {
                overscroll-behavior: none;
                overscroll-behavior-y: none;
                height:100px;
                line-height:100px;
                width:100%;
                margin:0px auto;
                list-style: none;
            }
            a {
                display: block;
                float: left;
                color: var(--default-color-4);
                font-size: var(--default-font-size-big);
                padding: 0px 30px;
                transition: var(--default-transition);
                position: relative;
            }
            a:hover, a:focus{
                background:var(--default-color-1);
            }

    }
    @media screen and (max-width: 1330px ) {
      .panel_menu{
                margin-left:var(--default-margin);
                margin-right:var(--default-margin);
      }
    }

       

  }

    .cala-szerokosc {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;

    }
    .panel {
        width: 1200px;
        display: flex;
        justify-content: space-around;
    }
    .naglowek-lewy {
        width: 49%;
        justify-content: center;
        text-align: center;
        font-family: Akademia, 'minion pro', Georgia, 'Times New Roman', Times, serif;
    }
    .naglowek-prawy {
         width: 49%;
    }
    #naglowek-logo {
        width: 99%;

    }
    #naglowek-napis {
        color: white;
    }
}

#sk-menu-top{
  overscroll-behavior: none;
  overscroll-behavior-y: none;
}


#sk-menu-top-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  left:0px;
}

#sk-menu-top-btn, #sk-menu-top-btn:before, #sk-menu-top-btn:after{  
  display:block;
  height:20%;
  width:100%;
  box-sizing:border-box;
  background:var(--default-color-2);
  border:0px;
  border-radius:4px;
  box-sizing:content-box;
  cursor:pointer;
  transition:all 600ms ease;
}

#sk-menu-top-btn.close, #sk-menu-top-btn.close:before, #sk-menu-top-btn.close:after{  
  width:100%;
}

#sk-menu-top-btn:before{
  background:var(--default-color-2);
}

#sk-menu-top-btn:after{
  background:var(--default-color-2);
}

#sk-menu-top-btn:before{
  content:'';
  position:absolute;
  top:-200%;
  height:100%;
}

#sk-menu-top-btn:after{
  content:'';
  position:absolute;
  top:200%;  
  height:100%;
}

#sk-menu-top-btn.close{
  background:none;
  transform: rotate(180deg);
}

#sk-menu-top-btn.close:before{
  transform: rotate(45deg) translateY(176%) translateX(34%);
}

#sk-menu-top-btn.close:after{
  transform: rotate(-45deg) translateY(-116%) translateX(24%);
}

.kafelki_menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
  gap: 2rem;

  a {
    transition: var(--default-transition);
    border: dotted 1px #00000016;
    position: relative;
    padding-bottom: 40px;
    width: 10rem;
    height: 10rem;
    padding: 0.5rem;
    font-weight: 300;
    color: var(--default-color-3);
  }

  a:hover {
    background-color: var(--default-color-1);
    box-shadow: var(--default-shadow);
    border-radius: var(--default-radius);
    overflow: hidden;
    color: white;
    font-weight: 600;
  }
}

section {
  padding: 0 2rem;

  a {
    color: var(--default-color-1);
    transition: all 1000ms;
  }
  a:hover {
    color: var(--default-color-6);
  }


  /* guziki */
  button, .button {
    align-items: center;
    appearance: none;
    background-color: var(--default-color-5);
    border-radius: 1rem;
    border-style: none;
    box-shadow: rgba(0, 0, 0, .2) 0 3px 5px -1px,rgba(0, 0, 0, .14) 0 6px 10px 0,rgba(0, 0, 0, .12) 0 1px 18px 0;
    box-sizing: border-box;
    color: var(--default-color-1);
    cursor: pointer;
    display: inline-flex;
    fill: currentcolor;
    font-family: "Google Sans",Roboto,Arial,sans-serif;
    font-size: 14px;
    font-weight: 500;
    height: 2rem;
    justify-content: center;
    letter-spacing: .25px;
    line-height: normal;
    max-width: 100%;
    overflow: visible;
    padding: 2px 24px;
    position: relative;
    text-align: center;
    text-transform: none;
    transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1),opacity 15ms linear 30ms,transform 270ms cubic-bezier(0, 0, .2, 1) 0ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: auto;
    will-change: transform,opacity;
    z-index: 0;
    transition: all 1000ms;
  }

  button:hover, .button {
    background: var(--default-color-1);
    color: var(--default-color-2);
  }

  button:active, .button:active {
    box-shadow: 0 4px 4px 0 rgb(60 64 67 / 30%), 0 8px 12px 6px rgb(60 64 67 / 15%);
    outline: none;
  }

  button:focus, .button:focus {
    outline: none;
    border: 2px solid #4285f4;
  }

  button:not(:disabled), .button:not(:disabled) {
    box-shadow: rgba(60, 64, 67, .3) 0 1px 3px 0, rgba(60, 64, 67, .15) 0 4px 8px 3px;
  }

  button:not(:disabled):hover, .button:not(:disabled):hover {
    box-shadow: rgba(60, 64, 67, .3) 0 2px 3px 0, rgba(60, 64, 67, .15) 0 6px 10px 4px;
  }

  button:not(:disabled):focus, .button:not(:disabled):focus {
    box-shadow: rgba(60, 64, 67, .3) 0 1px 3px 0, rgba(60, 64, 67, .15) 0 4px 8px 3px;
  }

  button:not(:disabled):active, .button:not(:disabled):active {
    box-shadow: rgba(60, 64, 67, .3) 0 4px 4px 0, rgba(60, 64, 67, .15) 0 8px 12px 6px;
  }

  button:disabled, .button:disabled {
    box-shadow: rgba(60, 64, 67, .3) 0 1px 3px 0, rgba(60, 64, 67, .15) 0 4px 8px 3px;
  }

/* guziki koniec */

a > .fa-regular, a >.fa-solid {
  scale: 1;
  transition: all 1000ms;
}

a > .fa-regular:hover, a > .fa-solid:hover {
  scale: 1.25;
  transition: all 400ms;
  text-shadow: 2px 2px 1px rgba(57, 57, 57, 0.5)
}


}

.efekt_edycja {
  width:100%; 
  font-weight: normal;
  text-align: left; 
  font-size: 1em; 
  border: none; 
  resize: vertical; 
  margin: 0; 
  padding: 0.5em; 
  box-sizing: border-box; 
  background: rgb(222, 222, 222);
  -webkit-box-shadow: inset 0px 0px 2px 2px rgb(255, 50, 50);
  -moz-box-shadow: inset 0px 0px 2px 2px gb(255, 50, 50);
  box-shadow: inset 0px 0px 2px 2px gb(255, 50, 50);
  min-height: 3em;
  transition: box-shadow 1000ms, -moz-box-shadow 1000ms, -webkit-box-shadow 1000ms;
}

.efekt_edycja:focus {
  outline: none !important;
  border: none;
  -webkit-box-shadow: inset 0px 0px 16px 3px rgba(255, 159, 159, 1);
  -moz-box-shadow: inset 0px 0px 16px 3px rgba(255, 159, 159, 1);
  box-shadow: inset 0px 0px 16px 3px rgba(255, 159, 159, 1);
}

.efekt_edycja_tytul {
  width:100%; 
  text-align: center; 
  font-size: 1.2em; 
  border: none; 
  resize: vertical; 
  margin: 0; 
  padding: 0.5em; 
  box-sizing: border-box; 
  background: rgb(222, 222, 222);
  -webkit-box-shadow: inset 0px 0px 2px 2px rgb(255, 50, 50);
  -moz-box-shadow: inset 0px 0px 2px 2px gb(255, 50, 50);
  box-shadow: inset 0px 0px 2px 2px gb(255, 50, 50);
  min-height: 3em;
  transition: box-shadow 1000ms, -moz-box-shadow 1000ms, -webkit-box-shadow 1000ms;
}

.efekt_edycja_tytul:focus {
  outline: none !important;
  border: none;
  -webkit-box-shadow: inset 0px 0px 16px 3px rgba(255, 159, 159, 1);
  -moz-box-shadow: inset 0px 0px 16px 3px rgba(255, 159, 159, 1);
  box-shadow: inset 0px 0px 16px 3px rgba(255, 159, 159, 1);
}

@media all and ( min-width: 1025px ){
  
  #sk-menu-top-btn{
    display:none !important;
  }
  
  .sk-menu-top{
    display:block !important;
    opacity:1 !important;
  }
}

@media all and ( max-width: 1024px ){
  
  .sk-menu-top a{
    display:block;
  }
  
  .sk-menu-top{
    position:fixed;
    display:none;
    opacity:0;    
    width:unset;
    height:unset;
    background-color:var(--default-color-3);
    position:fixed;
    display:none;
    border:solid 1px var(--default-color-2);
    border-radius:var(--default-radius);
    top: 70px;
    left:10px;
    right:10px;
    padding: 0px;
    box-sizing:border-box;
    line-height:1.5;    
    z-index: 100;
    overflow:auto;
    transition:all 400ms ease;
    max-height: calc(100vh - 100px);
    
  }
  
  @keyframes sk-menu-top-mob-open{
      0% {height:0px; opacity:0.0;}
     25% {opacity:0.2; }
     50% {opacity:0.4; }
     75% {opacity:0.7;}
    100% {opacity:1.0; }
  }

  .sk-menu-top.close{
    
  }

  .sk-menu-top.open{    
    animation-name: sk-menu-top-mob-open;
    animation-duration: 0.3s;
    animation-timing-function: ease-out;
    animation-iteration-count: 1;
  }
  
  .sk-menu-top>li{
    display:block;
    width:100%;
    margin:0px;
    box-sizing:border-box;
    padding:0px;
  }
  
  .sk-menu-top>li>a{
    padding:10px;
    margin:0px;
    display:block;
    width:100%;
    box-sizing:border-box;
    text-align:center;
    border-bottom: none;
    border-bottom:solid 1px var(--default-color-2);
    text-align:left;
    padding:var(--default-margin);
    box-sizing: border-box;
  }
  
  .sk-menu-top.close{    
    height:0px;
    opacity:0;
  }
    
}