/*
Theme Name: ArturITo
Author: Artur Zajaczkowski
Author URI: http://www.arturito.pl/
Description: My first responsive Wordpress theme
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
@keyframes init {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }

}
@keyframes grow {
  0% { 
    transform: translateY(5vh);
  }
  100% {
    transform: translateY(0);
  }
  
}
@keyframes grow-inv {
  0% { 
    transform: translateY(-1vh);
  }
  100% {
    transform: translateY(0);
  }
  
}

* {
    box-sizing: border-box;
    animation: init 350ms ease;
  }
:root {
    --pri-color:#000;
    --sec-color:#000;
    --h1:#000;
    --h2:#000;
    --h3:#fff;
    --h4:#fff;
    --bc:hsl(0, 0%, 96%);
    --bc-inv:hsl(0, 0%, 60%, .4);
    --bc-inv2:hsl(0, 0%, 60%, .8);
    --bc-s:hsl(0, 0%, 60%);
    --cookie:#b8d72e;
    --logo-color:#040404;   
    --footer: #78baff;
    --fc-p:#000;
    --fc-s:#fff;
    --fc-a:rgb(255, 196, 0);
    --tb-c:#2aa54f;
    --fs-s: max(10px, 0.5vmax);
    --fs-m: max(16px, 1vmax);
    --fs-l:max(24px, 1.5vmax);
    --fs-xl:max(32px, 2vmax);
    --fs-xxl:max(40px, 2.5vmax);
    font-family: system-ui, -apple-system, Blink  MacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.darkmode {
    --bc: #000;
    --bc-s: #000;
}
body {
      background-color: var(--bc);
      font-size: var(--fs-m);
      color: var(--fc-p);
      z-index: 0 ;
      margin: 0;
  }
h1 {
    font-size: var(--fs-xxl);
    color: var(--h1);
    font-weight: 700;
}
h2 {
    font-size: var(--fs-xl);
    color: var(--h2);
    font-weight: 600;
}
h3 {
    font-size: var(--fs-l);
    color: var(--h3);
    font-weight: 500;
}
h4 {
    font-size: var(--fs-l);
    color: var(--h4);
    font-weight: 400;
}
footer {
  max-width: 100%;
  padding-left: 1%;
  margin: 4px 0 0 0;
  background-color: var(--footer);
  border: 1px solid var(--footer);
}
.progress {
  height: 3px;
  width: 0%;
  background-color: var(--fc-a);
  position: fixed;
  top: 0;
  left: 0;
  animation: progress 1s linear;
}
img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.banner {
  height: max(70vmin, 90vmin);
  width: 100%;
  background-image: url('./Images/AdobeStock_135388147.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}
.top-bar {
  display: flex;
  top: 0;
  z-index: 2;
  margin: 0;
  padding:0.1rem;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  width: 100%;
  height: max(1.5rem, 3vh);
}

.navigation > .my-logo {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: max(3rem);
  cursor: pointer;
  padding-right: 2rem;
}
.banner > .my-logo {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  max-height: 100px;
  max-width: 100px;
}
body > header > h1 > a {
    color: var(--fc-s);
    font-weight: 600;
  }
.menu {
  margin: 0;
}
.menu > li {
    list-style: none;
    display: inline-block;
    text-decoration: none;
    color: var(--fc-p);
    text-transform: capitalize;
    font-weight: 700;
    padding: 0.5rem;
    width: 10rem;
    text-align: center;
}
.sub-menu {
    position: absolute;
    overflow: hidden;
    transform: translateX(-0.8rem);
    margin: 1rem 0 0 0;  
    background-color: var(--bc);
    max-height: 30vh;
    padding: 0;
}
.sub-menu > li{
    list-style: none;
    position: relative;
    max-height: 0;
    text-align: center;
    transition: ease-in-out 200ms;
    width: 10rem;
}
.menu-item:hover .sub-menu > li {
    display: block;
    max-height: 500px;
    padding: 0.5rem;
    border-bottom: 2px solid var(--footer);
}
.nested {
  display: block;
  height: 100px;
}
a {
    text-decoration: none;
    color: var(--fc-a);
}
a:hover {
    color: var(--fc-s)
}
  .wrap {
    width: 99%;
    margin: 0 auto;
  }
  .content-area {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .content-thin {
      width: 70%;
  }
  
  .content-full-width {
      width: 100%;
  }
   
  .primary-sidebar {
    width: 25%;
    padding: 1%;
    vertical-align: top;
    background-color: var(--bc-s);
  }
  
  .article-loop {
      width: 45%;
      text-align: left;
      margin: 5px;
      padding: 10px;
  }
  
  .article-full {
    width: 99%;
    padding: 1%;
  }
  
  .article-loop,
  .article-full {
    display: inline-block;
    vertical-align: top;
    background-color: #FFF;
    border-radius: 4px;
    margin: 0;
  }
  .mainfoot { 
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .tm {
    font-size: var(--fs-s);
    text-align: center;
    grid-column: span 3;
  }
  .tm > p {
    margin: 0.4rem;
  }
  .cookie{
    position: fixed;   
    display: flex;
    justify-content: center;
    height: 200%;
    width: 100%;
    background-color: hsla(0, 0%, 0%, 0.5);
    overflow: hidden !important;
    animation: init 1000ms ease;
    z-index: 10;
  }
  .cmodal {
    bottom: 0;
    min-height: 5vh;
    min-width: 100%;
    background-color: var(--bc-s);
    color: var(--fc-s);
    position: fixed;
    animation: grow 2500ms ease;
    text-align: center;
    padding:2vh;
    border-top: 1px var(--fc-p);
    overflow: hidden;
  }
  .cmodal > button {
    border-radius: 5px;
    font-weight: 500;
    background-color: var(--footer);
    cursor: pointer;
    font-size: var(--fs-m);
    color: var(--fc-s);
    border: 0;
    padding-inline: 1rem;
    margin-left: 3rem;
  }
.navigation {
  background-color: var(--bc-inv); 
  display: grid;
  width: 100%;
  height: max(3rem, 7vh);
  align-items: center;
  grid-template-columns: 85% 5% 10%;
  animation: grow-inv 1000ms ease;
  z-index: 1;
  border-bottom: 0.1rem solid var(--bc);
  transition: .3s ease-in;
  
}
.navigation.scroll {
  background-color: var(--bc-inv2); 
  width: 90%;
  position: sticky;
  max-height: 4rem;
  align-items: center;
  grid-template-columns: 85% 5% 10%;
  top: 1vh;
  border-bottom: 0.1rem solid var(--bc);
  border-radius: 2rem;
  margin: auto;
}


#action1 {
  width: min(2rem, 5vw);
  height: min(2rem, 5vw);
  background-image: url("./Images/darkmode.svg");
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  position: relative;
  margin: auto;

}
@media (max-width: 750px) {
  .banner {
    max-height: 70vh;
  }

}
