@import url(reset.css);

html {
    font-size: 62.5%;
    font-family: 'Roboto Slab', sans-serif;
    background-color: dimgray;
    width: 960px;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-size: 2.8rem;
    background-color: rgba(225, 223, 223, .15);
    color: goldenrod;
    text-decoration-style: none;
    text-align: center;
    padding: 1.5rem;
    margin: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    background-color: rgba(225, 223, 223, .15);
    color: goldenrod;
    text-decoration-style: none;
    text-align: center;
    padding: 1.2rem;
    margin: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    background-color: rgba(219, 219, 90, .15);
    color: yellowgreen;
    text-decoration-style: none;
    text-align: center;
    padding: 1.3rem;
    margin: 1.5rem;
}

p {
    font-size: 1.5rem;
    color: white;
    text-decoration-style: none;
    text-align: center;
    padding: 1.2rem;
    margin: 1.5rem;
}

.container {
  position: relative;
  display: inline-block;
  text-align: center;
  color: white;
}

.container.img {
    display: block;
    text-align: center;
    color: white;
  }

.centered {
  font-size: 3.6rem;
  color: white;
  text-shadow: 2px 2px 2px black, 0 0 25px goldenrod, 0 0 15px;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.opis {
    font-size: 1.5rem;
    color: white;
    text-decoration-style: none;
    text-align: center;
    padding: 1.2rem;
    margin: 1.5rem;
}

.opislista {
    font-size: 1.3rem;
    color: white;
    text-decoration-style: none;
    text-align: center;
    padding: 0.8rem;
    margin: 0.2rem;
}

.certificate {
    margin: 0.5rem;
}

.certificate img:hover {
    transform: scale(1.1);
    transition: 0.7s;
}

.socialml {
    margin: 0.5rem;
}

.socialml img:hover {
    transform: scale(1.2);
    transition: 0.5s;
    filter: drop-shadow(0 0 0.8rem goldenrod);
}

.stopka {
    font-size: 1.2rem;
    background-color: rgba(225, 223, 223, .1);
    color: white;
    text-decoration-style: none;
    text-align: center;
    padding: 1.6rem;
    margin: 1.6rem;
}

.cytat {
    font-size: 1.2rem;
    background-color: rgba(225, 223, 223, .1);
    color: white;
    text-decoration-style: none;
    text-align: center;
    padding: 1.6rem;
    margin: 1.6rem;
}

.news {
    font-size: 1.3rem;
    font-weight: inherit;
    color: white;
    text-decoration-style: none;
    text-align: justify;
    padding: 1.2rem;
    margin: 1.2rem;
    vertical-align: top;
}

.glownynews {
    vertical-align: top;
}

.lista_o_mnie {
    text-align: center;
    font-size: 1.9rem;
    color: white;
    font-family: monospace;
    display:grid;
}

.programblog {
    font-size: 1.5rem;
    float: left;
}

.zdjecie {
    border: 0.2rem dashed white;
    padding: 0.5rem;
    margin-left: 1.5rem;
}

.zdjecie2 {
    padding: 0.5rem;
    margin-left: 1.5rem;
}

.iconsText {
    color: white;
    text-align: center;
}

.iconsText a {
    color: white;
    text-decoration: none;
}

.stack {
    padding: 0.5rem;
    margin-left: 1.5rem;
}

.stack:hover {
    filter: drop-shadow(0 0 0.8rem yellowgreen);
}

.wiecej {
    background-color: transparent;
    padding-top: 0.1rem;
    font-size: 1.5rem;
    border-radius: 40px;
    padding: 0.4em 1.0em;
    color: goldenrod;
    text-decoration: none;
    float: right;
}
    .wiecej:hover {
    box-shadow: 0 0 10px 0 goldenrod inset, 0 0 20px 2px goldenrod;
}

.button {
    font-family: 'Abel', sans-serif;
    font-weight: 600;
    background-color: transparent;
    border: 1px solid goldenrod;
    border-radius: 40px;
    font-size: 1.5rem;
    padding: 0.6em 0.6em;
    text-transform: uppercase;
    text-decoration: none;
    color: goldenrod;
    
}

.button:hover {
    box-shadow: 0 0 10px 0 goldenrod inset, 0 0 20px 2px goldenrod;
    border: 2px solid goldenrod;
}

.button2 {
    font-family: 'Abel', sans-serif;
    font-weight: 600;
    background-color: transparent;
    border: 1px solid yellowgreen;
    border-radius: 40px;
    font-size: 1.5rem;
    padding: 0.6em 0.6em;
    text-transform: uppercase;
    text-decoration: none;
    color: yellowgreen;
    
}

.button2:hover {
    box-shadow: 0 0 10px 0 yellowgreen inset, 0 0 20px 2px yellowgreen;
    border: 2px solid yellowgreen;
}

.logo {
    font-size: 1.5rem;
    float: left;
    padding-top: 1.5rem;
}

.title1 {
    display: inline-block;
    font-size: 3.0rem;
    color: white;
    margin-top: 0.3rem;
    padding-top: 1.0rem;
    margin-left: 1.0rem;
}

.title2 {
    display: inline-block;
    font-size: 1.0rem;
    color: white;
    margin-left: 1.0rem;
    margin-top: 0.5rem;
}

div.box_4_column div {
    width: 27.7rem;
    display: inline-block;
    padding: 0.4rem;
}

/* CSS do nav bara */

header {
  padding: 1.5rem;
}

.top {
  padding: 0 20px;
  max-width: 959px;
  margin: 0 auto;
}

.logo-container {
  float: left;
  margin-right: 20px;
}

.logo-container img {
    display: block;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
  float: right;
}

nav li {
  display: inline-block;
  margin-left: 25px;
  height: 70px;
  line-height: 70px;
  transition: .5s linear;
  font-size: 1.5rem;
  color: white;
}

nav a {
  color: white;
  text-decoration: none;
  display: block;
  position: relative;
  text-transform: uppercase;
}

nav a:after {
  content: "";
  width: 0;
  height: 3px;
  position: absolute;
  left: 0;
  bottom: 15px;
  background: orange;
  transition: width .4s linear;  
}

nav a:hover:after {
    width: 100%;
}

/* If the screen size is 1000px or less, set the css styles like under */

@media screen and (max-width: 1000px) {
  html  {
    width: 100%; 
  }
}

/* If the screen size is 972px or less, set the css styles like under */

@media screen and (max-width: 972px) {
  header {
      text-align: center;
    }
    
  .logo-container {
      float: none;
      display: inline-block;
      margin: 0 0 16px 0;
    }
    
  ul {
      float: none;
    }
    
  nav li:first-of-type {
      margin-left: 0;
    }
    
  .centered {
      top: 30%;
    }
}

/* If the screen size is 573px or less, set the css styles like under */

@media screen and (max-width: 573px) {
    nav {
        overflow: visible;
    }
    
    .lista_o_mnie {
        font-size: 1.5rem;
    }
    
    nav li {
        display: block;
        margin: 0;
        height: 35px;
        line-height: 35px;
    }
    
    nav li:hover {
        background: rgba(0,0,0,.2);
    }
    
    nav a:after {
        content: "";
        width: 0;
        height: 1px;
        position: absolute;
        left: 0;
        bottom: 5px;
        background: orange;
        transition: width .4s linear;  
    }
    
    h1 {
        font-size: 2.0rem;
    }
    
    div.box_4_column div {
        width: 20.0rem;
        display: inline-block;
        padding: 0.4rem;  
    }
    
    .centered {
        font-size: 3.0rem;
        top: 30%;
    }

    header {
        padding: 0;
    }

    .top .hamburger {
        position: absolute;
        top: 24px;
        right: 16px;
        height: 40px;
        overflow-x: hidden;
    }
    
    .top .hamburger .hamburger-line01,
    .top .hamburger .hamburger-line02,
    .top .hamburger .hamburger-line03 {
        display: block;
        width: 40px;
        height: 2px;
        background-color: #FFFFFF;
        transition: 0.6s;
    }
    
    .top .hamburger .hamburger-line02 {
        margin-top: 8px;
    }
    
    .top .hamburger .hamburger-line03 {
        margin-top: 8px;
    }
    
    .top nav {
        display: none;
    }

    .top nav.open {
        display: block;
        margin-bottom: 16px;
    }

    .hamburger.close .hamburger-line01 {
        transform: translateX(200px);
    }

    .hamburger.close .hamburger-line02 {
        transform: rotate(45deg) translate(2px, 4px);
    }

    .hamburger.close .hamburger-line03 {
        transform: rotate(-45deg) translate(3px, -5px);
    }
}

/* If the screen size is 440px or less, set the css styles like under */

@media screen and (max-width: 440px) {
    .logo-container {
        margin-left: -64px;
    }

    .logo-container img {
        height: 36px;
        width: auto;
    }

    div.box_4_column div {
        width: 95%;
        display: inline-block;
        padding: 0.4rem;
    }
    
    .title1 {
        display: inline-block;
        font-size: 2.0rem;
        color: white;
        margin-top: 0.3rem;
        padding-top: 0.5rem;
        margin-left: 1.0rem;
    }
    
    .title2 {
        display: inline-block;
        font-size: 0.95rem;
        color: white;
        margin-left: 1.0rem;
        margin-top: 0.5rem;
        width: 180px;
    }
    
    nav li {
        display: block;
        margin: 0;
        height: 35px;
        line-height: 35px;   
    }
    
    .centered {
        font-size: 2.0rem;
        top: 30%;
    }
 
}