@charset "utf-8";
/* CSS3 Document */

@font-face {
  font-family: 'HaloHandletter';
  src: url('/fonts/HaloHandletter.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}



html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
	font-family: 'Raleway';
	color: #252525;
	font-size: 16px;
	text-align: left;
	background-color: #fff; 
}
.logo {
	width: auto;
	padding: 50px 0;
	text-align: center;
}
#slogan {
	width: auto;
	margin-top: 80px;
	margin-bottom: 100px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-size: 20px;
	line-height: 1.8;
}
h1 {
	font-family: 'Raleway';
  font-size: 1.5rem;
	font-style: normal;
	font-weight: normal;
	line-height: 1.4;
	letter-spacing: 3px;
	color: #fff;
  margin-bottom: 1.0rem;
  margin-top: 0.5rem;
  text-rendering: optimizeLegibility; 
}
h1 span {
	font-family: 'HaloHandletter';
	font-size: 45px;
	font-style: normal;
	font-weight: normal;
	line-height: 1.0;
}
h2 {
	max-width: 205px;
	font-family: 'HaloHandletter';
  font-size: 3.5rem;
	font-style: normal;
	font-weight: normal;
	line-height: 1.4;
	color: #fe3c3c;
	margin-bottom: 2rem;
	margin-top: 0.4rem;
	border-bottom: 1px #fe3c3c solid;
	padding-bottom: 15px;
	text-rendering: optimizeLegibility; 
}

h2.page {
	max-width: 100%;
	font-family: 'Raleway';
  font-size: 2.2rem;
	line-height: 1.4;
	letter-spacing: 3px;
	color: #252525;
  border: none;
  margin-left: auto;
	margin-right: auto;
	text-align: center; 
  margin-bottom: 1.0rem;
  margin-top: 0.5rem;
  text-rendering: optimizeLegibility; 
}
h3 {
	font-family: 'HaloHandletter';
  font-size: 45px;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	color: #fe3c3c;
	text-rendering: optimizeLegibility; 
}
.personal-interests {
  text-align: right;
}
h4 span {
  font-size: 2.8rem;
	font-family: 'Raleway';
  font-weight: normal;
}
h6 {
  font-size: 1rem;
}
p span.nameRed{
  font-size: 2em;
	font-family: 'HaloHandletter';
	font-style: normal;
	font-weight: normal;
	color: #fe3c3c;
	text-rendering: optimizeLegibility; 
}
p span{
  font-size: 2em;
	font-family: 'HaloHandletter';
	font-style: normal;
	font-weight: normal;
	line-height: 1.4;
	color: #252525;
	text-rendering: optimizeLegibility; 
}
p, h6 {
	letter-spacing: 1px;
	line-height: 1.4;
}
.padding { padding: 30px 0; }
.hidden {
  color: #fff !important;
	font-family: 'Raleway';
	font-size: 18px;
	text-align: center;
	margin: 10px 0;
  cursor: pointer;
}

/* CV Button */
.cv {
	font-family: 'Raleway';
	color: #252525;
	text-align: center;
  width: 80%;
  min-height: 50px;
  margin-top: 40px;
}
.btn {
  position: relative;
  color: #fff;
  font-size: 26px;
  width: 256px;
  line-height: 64px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn::before, .btn::after {
  content: '';
  position: absolute;
  transition: all 0.3s;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.btn-four::before {
  opacity: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(0.1, 0.1);
}

.btn-four:hover::before {
  opacity: 1;
  transform: scale(1, 1);
}

.btn-four::after {
  transition: all 0.3s;
}





.footer p {
	color: #fff;
	font-family: 'Raleway';
	text-align: center;
	padding-top: 15px;
} 
.aboutimg{
  background-image: url(../img/senka.png);
  background-repeat: no-repeat; 
  background-position: left bottom;
}


/* Bounce arrow down */
.arrow {
	width: auto;
	height: 30px;
	text-align: center;
}
.bounce {
	-moz-animation: bounce 2s infinite;
	-webkit-animation: bounce 2s infinite;
	animation: bounce 2s infinite;
}
@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-30px);
	}
	60% {
		transform: translateY(-15px);
	}
}
/* end Bounce arrow down */



/* Background colors and photo angle */
.red {
	width: 100%;
	background-color: #fe3c3c;
	position: relative;
  background: rgba(254, 60, 60, 1) 100%;
}
.red:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background: inherit;
  z-index: -1;
  bottom: 0;
  transform-origin: right bottom;
  transform: skewY(-2deg);
}
.white {
	width: 100%;
	background-color: #fff;
	position: relative;
  background: rgba(255, 255, 255, 0) 100%;
}
.white:before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background: inherit;
  z-index: -1;
  bottom: 0;
  transform-origin: left top;
  transform: skewY(-2deg);
}
.white:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background: inherit;
  z-index: -1;
  bottom: 0;
  transform-origin: right bottom;
  transform: skewY(-2deg);
}
.grey {
	width: 100%;
	background-color: #252525;
	position: relative;
  background: rgba(37 ,37 ,37 ,1) 100%;
}
.grey:before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background: inherit;
  z-index: -1;
  bottom: 0;
  transform-origin: left top;
  transform: skewY(-2deg);
}
.grey:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background: inherit;
  z-index: -1;
  bottom: 0;
  transform-origin: right bottom;
  transform: skewY(-2deg);
}

.pb_slant-light:after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -50px;
  height: 200px;
  width: 130%;
  background-color: #252525;
  -webkit-transform: rotate(-2deg);
  -ms-transform: rotate(-2deg);
  transform: rotate(-2deg);
  z-index: 10;
}
.pb_slant-light {
  position: relative;
}

.greyF { /* footer */
	width: 100%;
	background-color: #252525;
}
/* end Background colors and photo triangle */ 



/* Background fullscreen image */
#numbers {
    padding-top: 0;
    padding-bottom: 0;
}
.background {
	width: 100%;
    min-height: 600px;
	background-image: url(../img/background.jpg);
	background-size: cover;
    background-position: center;
    position: relative;
}
.numcount {
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: 40%;
    text-align: center;
    margin-right: 0;
    margin-left: 0;
}
.content-b {
	font-family: 'Raleway';
	color: #fff;
    text-align: center;
}
/* end Background fullscreen image */





/* About me - img sticked to bottom */
.bottom-div {
    height: 600px;
    width: 600px;
    position: absolute;
    left: 0;
    bottom: 0;
}
.col-md-6.col-sm-6.col-xs-6 {
    display: table-cell;
    height: auto;
    border: 1px solid black;
    float: none;
    position: relative;
}
@media (max-width: 767px) {
  /* Adjust the positioning for smaller resolutions */
  .bottom-div {
      position: relative; /* Change to relative for stacking within the container */
      width: 100%; /* Make the image take the full width of the container */
      height: auto; /* Allow the height to adjust automatically based on width */
  }
}




/* Projects */
#slider {
    padding-top: 0;
}
#portfolio .portfolio-item {
  right: 0;
  margin: 0 0 15px;
}

#portfolio .portfolio-item .portfolio-link {
  position: relative;
  display: block;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: all ease 0.5s;
  opacity: 0;
  background-color: rgba(55,55,55,.6) !important;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
  opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: white;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
  margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
  margin: 0;
}

#portfolio .portfolio-item .portfolio-caption {
  max-width: 400px;
  margin: 0 auto;
  padding: 25px;
  text-align: center;
  background-color: #fff;
}

#portfolio .portfolio-item .portfolio-caption h4 {
  margin: 0;
  text-transform: none;
}

#portfolio .portfolio-item .portfolio-caption p {
  font-size: 16px;
  font-style: italic;
  margin: 0;
  font-family: 'Raleway';
}

#portfolio * {
  z-index: 2;
}

@media (min-width: 767px) {
  #portfolio .portfolio-item {
    margin: 0 0 30px;
  }
}

.portfolio-modal .modal-dialog {
  margin: 1rem;
  max-width: 100vw;
}

.portfolio-modal .modal-content {
  padding: 100px 0;
  text-align: center;
}

.portfolio-modal .modal-content h2 {
  font-size: 2.5em;
  line-height: 1.4;
  margin-bottom: 15px;
}

.portfolio-modal .modal-content p {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content p.item-intro {
  font-size: 16px;
  font-style: italic;
  margin: 20px 0 30px;
  font-family: 'Raleway';
}

.portfolio-modal .modal-content ul.list-inline {
  margin-top: 0;
  margin-bottom: 30px;
}

.portfolio-modal .modal-content img {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content button {
  cursor: pointer;
}

.portfolio-modal .close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 75px;
  height: 75px;
  cursor: pointer;
  background-color: transparent;
}

.portfolio-modal .close-modal:hover {
  opacity: 0.3;
}

.portfolio-modal .close-modal .lr {
  /* Safari and Chrome */
  z-index: 1051;
  width: 1px;
  height: 75px;
  margin-left: 35px;
  /* IE 9 */
  transform: rotate(45deg);
  background-color: #212529;
}

.portfolio-modal .close-modal .lr .rl {
  /* Safari and Chrome */
  z-index: 1052;
  width: 1px;
  height: 75px;
  /* IE 9 */
  transform: rotate(90deg);
  background-color: #212529;
}

/* end Projects */



/**** SLIDER section ****/

.carousel-item {
    height: 5vh;
    min-height: 360px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.carouselFont{
    font-size: 1.3em;
}
.carousel-control-prev-icon {
  background-image: url(../img/arrow_left.png);
}

.carousel-control-next-icon {
  background-image: url(../img/arrow_right.png);
}


/**** end SLIDER section ****/



@media screen and (max-width: 768px) {
	#slogan {
		margin-top: 40px;
		margin-bottom: 40px;
	}
	.background {
		height: 600px;
	}
	.projContainer {
		width: 100%;
	}
	.projContainer img {
		width: 100%;
	}
    .carousel-item {
        height: 5vh;
        min-height: 480px;
    }
    .numcount {
    bottom: 20%;
    }
}



@media screen and (max-width: 768px) {
   .numcount {
    bottom: 55%;
    }
}



@media screen and (max-width: 576px) {
   .numcount {
    bottom: 75%;
    }
}

