/* global */

@font-face {
    font-family: "Now";
    src: url(src/font/Now-Regular.woff) format('woff');
}

*{
    font-family: Now;
    text-transform: uppercase;
    margin:0;
}

h1{
    font-size: x-large;
}

h2{
    text-decoration: none;
    font-size:28px;
    color:black;
    font-weight: lighter;
}

.col-mid1 > h2 > a{
    text-decoration: none;
    font-size:18px;
    color:black;
    line-height:3rem;
}

.col-mid1 > h2 > a:hover{
    cursor:pointer;
    color:#8dc63f;
    transition-duration: 0.5s;
}

.col-mid2 > h2 > a{
    text-decoration: none;
    font-size:28px;
    color:black;
    line-height:4rem;
}

.col-mid2 > h2 > a:hover{
    cursor: pointer;
    color: #31849b;
    transition-duration: 0.5s;
}

.col1-tablet > h2 > a{
    text-decoration: none;
    font-size: 16px;
    color:black;
    font-weight: lighter;
}

.col1-tablet > h2 > a::before{
    content: "\2771  ";
    color: #31849b;
}

.col2-tablet > h2 > a{
    text-decoration: none;
    font-size: 16px;
    color:black;
    font-weight: lighter;
}

.col2-tablet > h2 > a::before{
    content: "\2771  ";
    color: #31849b;
}

/* desktop */  
#energetia-video {
    position: fixed;
    right: 0;
    top: 0;
    min-width: 100%;
    height:50vh;
    object-fit: cover;
    z-index:-2;
  }

  #epiteszet-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    height:50vh;
    object-fit: cover;
    z-index:-2;
  }

.energetika{
    position: fixed;
  top: 0;
  background: rgb(255,255,255);
  background: linear-gradient(90deg, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 100%);
  color: #f1f1f1;
  width: 100%;
    overflow:hidden;
    height: 50vh;
    display:flex;
    align-items: center;
    z-index:-1;
}

.epiteszet{
    position: fixed;
    bottom: 0;
    background: rgb(255,255,255);
    background: linear-gradient(-90deg, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 100%);
    color: #f1f1f1;
    width: 100%;
      overflow:hidden;
    height: 50vh;
    display:flex;
    align-items: center;
    z-index:-1;
}

.epiteszet > div{
    width:33.33%;
}

.energetika > div{
    width:33.33%;
}

.logo1{
    height: 110px;
}

.logo1:hover{
    opacity: .5;
    transition-duration: 1s;
    cursor: pointer;
}

.logo2{
    height: 110px;
}

.logo2:hover{
    opacity: .5;
    transition-duration: 1s;
    cursor:pointer;
}

.button1 {
    background-color: #8dc63f;
    color: white;
    padding: 20px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 25px;
    margin: 4px 2px;
    cursor: pointer;
    transition-duration: 0.4s;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;  
}
  
  .button1:hover {
    background-color: white;
    color: #8dc63f;
    font-weight: bold;
    opacity: .7;
  }

  .button2 {
      background-color: #565656;
    color: white;
    padding: 20px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 25px;
    margin: 4px 2px;
    cursor: pointer;
    border:none;
    transition-duration: 0.4s;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    -webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;    
}

    .button2:hover {
        
        background-color: white;
        color: #565656;
        font-weight:bold;
        opacity: .7;
      }

  ul li{
      list-style: none;
      font-size: 2rem;
  }

.col-left{
    text-align:center;
}

.col-right{
    text-align:center;
}

.col-mid1{
    border-left: solid 5px #31849b;
    text-align: left;
    color:black;
    padding-left:30px;
}

.col-mid2{
    text-align:right;
    border-right: solid 5px #31849b;
    padding-right:30px;
    color:black;
}

/* tablet */

.col1-tablet{
    height: 50vh;
    background-image: url(src/img/hatter_energetika_mobil.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:space-around;
    padding-top:1rem;
    padding-bottom:1rem;
}

.col2-tablet{
    height: 50vh;
    background-image: url(src/img/hatter_epiteszet_mobil.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:space-around;
    padding-top:1rem;
    padding-bottom:1rem;
}

.header{
    position:fixed;
    width:100%;
    top:48%;
    display:flex;
    justify-content: space-around;
    align-items: center;
    color:white ;
    text-align: center;
    font-size:x-small;
    background: #31849b;
    padding:7px;
    max-height: 25px;
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}

.header-mobile{
    line-height: 2rem;
    background-color: #31849b;
    padding:10px;
}

.header-mobile >h1{
    text-align: center;
    color:white;
    font-size:medium;
}

.header-mobile >h3{
    text-align: center;
    color:white;
    font-size:medium;
}


.header-mobile >.social{
    text-align: center;
    color:white;
    font-size:medium;
}

.footer{
    text-align: center;
    background-color: #31849b;
    padding:10px;
}

.footer>a{
    color:white;
}

.icon{
    width:40px;
}

.fa{
    padding-left: 10px;
    padding-right: 10px;
}

h3{
    font-size:x-large;
}

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

.cryptedmail:after {
    content: attr(data-name) "@" attr(data-domain) "." attr(data-tld); 
  }

/* media queries */

  
  /* On screens that are 992px or less, set the background color to blue */
  @media screen and (max-width: 1201px) {
.button1{
    font-size: 18px;
}
    .button2{
        font-size: 18px;
    }

ul li{
    font-size: 1.5rem;
}

.logo1{
    height: 80px;
}

.logo2{
    height: 80px;
}

  }
  
  @media screen and (max-width: 1025px) {

    .header > h1{
        font-size:medium;
    }

    .header > h3{
        font-size:medium;
    }

    .button1{
        font-size: 16px;
        padding: 10px 16px;
    }
        .button2{
            font-size: 16px;
            padding: 10px 16px;
        }
    
    .logo1{
        height: 60px;
    }
    
    .logo2{
        height: 60px;
    }

    .col-mid1 > h2 > a{
        font-size: 16px!important;
        line-height: 2rem;
    }

    .col-mid2 > h2 > a{
        font-size: 1.1rem!important;
        line-height: 2rem;
    }

    }

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

    .main-desktop{
        display:none;
    }

    .epiteszet{
        flex-direction: column;
    }

    .col-mid1{
        display:none;
    }

    .col-mid2{
        display:none;
    }

    .energetika{
        flex-direction: column;
    }

    ul li{
        font-size: 0.8rem;
        
    }
  }

  @media screen and (max-height: 740px) {
    .col1-tablet{
        height: 80vh;
    }
    .col2-tablet{
        height: 80vh;
    }
  }

  .karrier{
      padding-bottom: 10px;
  }

  #karrier{
      font-size:large!important;
  }

  .flag{
    width:25px;
    margin-right:10px;
  }