/*
Theme Name: Heartblood Development Theme
description: >-
  Heartblood Development Theme
Author: Hannes Schellenberger
Template: twentytwentyone
Version: 1.0.0
*/

@keyframes heartbeat
{
  0%
  {
    transform: scale( 1 );
  }
  5%
  {
    transform: scale( 1.02 );
  }
  10%
  {
    transform: scale( 1 );
  }
  15%
  {
    transform: scale( 1.01 );
  }
  20%
  {
    transform: scale( 1 );
  }
  100%
  {
    transform: scale( 1 );
  }
}

.hbheader {
  width:100%;
  height:200px;
  background-color: #353535;

  position: fixed;
  top: 0;
  transition: 0.2s;
  z-index: 1;
}
.site-header {
  position: relative;
}

.smallheader {
  height: 100px;
}

.hb-site-title {
  font-size: 60px;
  color:#D6D6D6;
  bottom: 0;
  position: absolute;
  transition: 0.2s;
}

.smallheader h1 {
  font-size: 40px;
}

.shadow {
  box-shadow: 0px -16px 26px 16px rgba(0,0,0,01);
  -webkit-box-shadow: 0px -16px 26px 16px rgba(0,0,0,01);
  -moz-box-shadow: 0px -16px 26px 16px rgba(0,0,0,01);
}

.hbsite-logo-container {
  
  width: 100%;
  height: 100%;
  position: absolute;
  top:0;
  left: 0;
}

.hbsite-logo {
  position: absolute;
  width: 156px;
  height: 100%;
  left:calc(50% - 78px);
  text-align: center;
}

.custom-logo {
  margin-top: 10px;
  margin-bottom: -50px;
  height: 100%;
  width: auto;
  animation: heartbeat 3s infinite;
}

.hb-header-container {
  width:100%; 
  height:100%; 
  top:0; 
  right:0; 
  position:absolute;
  transition: 0.2s;
}

.hb-title {
  width: calc(50% - 80px);
  height: 50%;
  position: absolute;
  transition: 0.2s;
}

.smallheader .hb-title {
  width: calc(50% - 50px);
}

.top {
  top: 0;
}

.left {
  left: 0;
}

.left>h1 {
  text-align: right;
}

.right {
  right: 0;
}

.right>h1 {
  text-align: left;
}

.bottom {
  bottom: 0;
}

.middle {
  top:50%;
}

#divider {
  transform: translateY(-7px);
  transition: 0.2s;
}

.smallheader #divider {
  transform: translateY(-16px);
}

/*default layout pc*/
@media only screen and (min-width: 1000px)
{
  .site-header
  {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    height: 100%;
  }
}

/*slightly smaller*/ 
@media only screen and (max-width: 1000px)
{
  .site-header
  {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    height: 100%;
  }

  h1 {
    font-size: 40px !important;
  }

  .smallheader h1 {
    font-size: 30px !important;
  }
}

/*smallest*/ 
@media only screen and (max-width: 750px)
{
  .site-header
  {
    margin-left: 10px !important;
    margin-right: 10px !important;
    max-width: 100% !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    height: 100%;
  }

  .hbsite-logo-container{
    width: 120px;
  }

  .hb-header-container {
    padding-left: 130px;
    width: 100%;
  }

  .hb-header-container .hb-title{
    width: 100%;
  }
  
  .hb-header-container>#hb-menu {
    height: 100%;
  }

  #title1 h1 {
    left: 0px;
    text-align: left;
  }
  
  #title2 h1 {
    top: 0px;
    left: 0px;
    text-align: left;
  }

  #dividers {
    display: none;
  }

  #title1 {
    position: relative;
  }

  #title2 {
    position: relative;
  }

  h1 {
    font-size: 40px !important;
  }

  .smallheader h1 {
    font-size: 30px !important;
  }

  .smallheader .hb-header-container {
    padding-left: 100px;
  }

  .menu-button-container {
		display: block !important;
    width: 50px;
    height: 50px;
    padding: 0px !important;
    margin-top: 0px !important;
	}

  .primary-menu-container{
    display: none;
  }

  #site-navigation {
    position: absolute;
    right: 0px;
    top: calc(50% - 25px);
    width: 50px;
    height: 50px;
  }

  .smallheader #site-navigation {
    top: calc(50% - 25px);
    width: 50px;
    height: 50px;
  }
}

#primary-mobile-menu {
  padding: 0px !important;
  margin: 0px !important;
  width: 100%;
  height: 100%;
  display: block !important;
}

#primary-mobile-menu>span {
  width: 100%;
  height: 100%;
}

.dropdown-icon>svg {
  margin-left:13px !important;
}

.site-content {
  margin-top: 250px;
}

/*even smaller than smallest*/ 
@media only screen and (max-width: 480px)
{
  h1 {
    font-size: 35px !important;
  }
}

@media only screen and (max-width: 440px)
{
  .hbheader {
    height:150px;
  }
  .smallheader {
    height:100px;
  }

  h1 {
    font-size: 30px !important;
  }
  
  .hbsite-logo-container{
    width: 80px;
  }
  
  
  .hb-header-container {
    padding-left: 90px;
  }
  
  .smallheader .hb-header-container {
    padding-left: 90px;
  }
}

/*------------------- navigation ------------------------*/

#primary-mobile-menu{
  color: #D6D6D6 !important;
}

.hbnavigation {
  height: 60px;
  bottom: 0;
  position: absolute;
  transition: 0.2s;
}
.smallheader .hbnavigation {
  height: 40px;
}
.smallheader .hbnavigation>div>ul>li a {
  height: 40px;
  padding-top: 0;
}

.hbnavigation>div>ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.hbnavigation>div>ul>li {
  display: inline;
}

.hbnavigation>div>ul>li a {
  display: block;
  min-width: 60px;
  
  padding: 8px 10px;
  padding-right: 16px;
  margin-right: 2px;
  text-decoration: none;
  color:#D6D6D6;
  height: 60px;
  border-bottom: solid;
  border-bottom-width: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: 0.2s;
}

.hbnavigation>div>ul>li:nth-child(1) a {
  border-bottom-color: #FC9AD0;
}
.hbnavigation>div>ul>li:nth-child(1) a:hover {
  background-color: #fc9ad025;
}

.hbnavigation>div>ul>li:nth-child(2) a {
  border-bottom-color: #63C4DB;
}
.hbnavigation>div>ul>li:nth-child(2) a:hover {
  background-color: #63C4DB25;
}

.hbnavigation>div>ul>li:nth-child(3) a {
  border-bottom-color: #DC4749;
}
.hbnavigation>div>ul>li:nth-child(3) a:hover {
  background-color: #DC474925;
}

.hbnavigation>div>ul>li:nth-child(4) a {
  border-bottom-color: #CECECA;
}
.hbnavigation>div>ul>li:nth-child(4) a:hover {
  background-color: #CECECA25;
}

.hbnavigation>div>ul>li:nth-child(5) a {
  border-bottom-color: #080808;
}
.hbnavigation>div>ul>li:nth-child(5) a:hover {
  background-color: #08080825;
}


.hbnavigation>div>ul>li button {
  display: none;
}

.hbnavigation>div>ul>li>ul {
  display: none;
}

.hbnavigation>div>ul>li:hover ul{
  position: absolute;
  display: block;
  list-style-type: none;
  background-color: #363636;
  padding: 0px;
}

.hbnavigation>div>ul>li>ul>li>a {
  border-bottom-width: 1px;
}

.mobile-menu-container {
  position: fixed;
  background-color: red;
  left: 0;
  right: 0;
  top: 100px;
  bottom: 0;
  display: none;
}
/* .hbnavigation>div>ul>li:hover>ul {
  display: block;
} */