@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

ul {
  list-style-type: none;
}

h7 {
  font-size: 24px;
  font-weight: 800;
}

.navbar-toggler-icon .fa {
  color: #fff;
}

body {
  color: #000;
  font-size: 16px;
  font-family: "Kodchasan", sans-serif;
  overflow-x: hidden;
  background: url(../images/background.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

html {
  scroll-behavior: smooth;
}

section {
  padding-top: 100px;
  padding-bottom: 50px;
}

/* NAVBAR { */

.navbar {
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
  background: url(../images/tobiasbg.png);
  border-bottom: 2px solid #fff;
}

.nav-link {
  color: #fff;
  font-size: 16px;
  margin-right: 10px;
  border-bottom: 5px solid transparent;
  text-align: center;
}

.nav-link:hover {
  color: #b22222;
  border-bottom: 5px solid #b22222;
}

.navbar-toggler {
  border: 2px solid #fff;
  padding: 10px;
}

#intro {
  background: #000;
  margin-top: 70px;
}

#intro .col-sm-12 {
  padding: 0;
}

video {
  max-width: 50%;
}

button {
  border: none;
  background: none;
}

button a {
  background-color: #b22222;
  color: #fff !important;
  padding: 10px 5px;
  font-size: 24px;
  font-weight: 800;
}

button a:hover {
  text-decoration: none;
  color: #fff !important;
  background-color: #000;
}

.fullscreen-bg__video {
  top: 0;
  left: 0;
  filter: grayscale(100%);
}

.name-panel {
    width: 100%;
}

.intro-content {
  justify-content: center;
  align-items: center;
  display: flex;
  color: #000;
  border: 5px solid #000;
  background: url(../images/panel.jpeg);
  width: 100%;
}

.intro-content::before,
.intro-content::after {
  content: "";
  width: 100%;
  top: 60%;
  height: 5px;
  background: #000;
  bottom: 0;
  left: 30%;
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

.intro-content::after {
  background: #b22222;
  -webkit-transform: translate3d(-300%, 0, 0) scale3d(0, 1, 1);
  transform: translate3d(-300%, 0, 0) scale3d(0, 1, 1);
}

.intro-content .intro-content:hover::before {
  -webkit-transform: translate3d(300%, 0, 0) scale3d(0, 1, 1);
  transform: translate3d(300%, 0, 0) scale3d(0, 1, 1);
}

.intro-content:hover::after {
  -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
}

.intro-content:hover {
  background: #000;
  border: 5px solid #fff;
}

.intro-content:hover h1 {
  color: #fff;
}

.top-intro-content {
  background-color: #FBF0F4;
  border: 5px solid #000;
  padding: 10px;
}

.intro-content h1,
.top-intro-content h1 {
  padding: 10px;
  color: #000;
  font-size: 24px;
  text-align: center;
}

.intro-content .intro-position,
.top-intro-content .intro-position {
  font-size: 24px;
  padding: 10px;
}
.intro-content .intro-position span {
  color: #fff;
}

/* GALLERY */

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.item {
  margin: 5px;
}

.hovereffect {
  width: 100%;
  height: 100%;
  padding: 10px;
  float: left;
  overflow: hidden;
  position: relative;
  cursor: default;
}

.hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  padding: 40px;
}

.hovereffect img {
  display: block;
  position: relative;
  max-width: none;
  width: calc(100% + 20px);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-10px, 0, 0);
  transform: translate3d(-10px, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hovereffect:hover img {
  opacity: 0.2;
  filter: alpha(opacity=40);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.hovereffect h1 {
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  position: relative;
  font-size: 32px;
  overflow: hidden;
  padding: 0.5em 0;
  background-color: transparent;
}

.hovereffect h1:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  content: "";
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
  -webkit-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
}

.hovereffect:hover h2:after {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.hovereffect a,
.hovereffect p {
  color: #fff;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
  font-size: 18px;
}

.hovereffect:hover h1, 
.hovereffect:hover a,
.hovereffect:hover p {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.hovereffect h7 {
  font-size:24px;
}

/* HOME SECTION */

.main_home {
  padding: 10px 20px;
  position: relative;
  background: url(../images/wallpaper-background.jpg);
  border: 5px solid #000;
  width: 100%;
}
.main_home h1 {
  width: 100%;
  margin: auto;
}
.main_home ul li a {
  color: #fff;
}
.main_home ul {
  margin-top: 5%;
}

/* TIMELINE */

.timeline-content,
.testimonials, .online {
  border: 5px solid #000;
  padding: 20px;
  background: url(../images/wallpaper-background.jpg);
  height: 450px;
}

  .timeline-icon {
    float: none;
}
.timeline-icon img {
    max-width: 100px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.slick-prev:before,
.slick-next:before {
  color: #000;
}

.slick-prev {
    position: absolute;
    top: 15px;
    left: 6px;
    z-index: 1;
}

.slick-next {
    position: absolute;
    top: 15px;
    right: 40px;
}

.online, .testimonials {
   height: auto; 
}

a{
 color: #000;   
}

.testimonials .fa {
  font-size: 42px;
  padding: 20px;
  text-align: center;
}

.timeline-content:hover {
  color: #000;
  text-decoration: none;
}

.timeline-icon img {
  border: 5px solid #000;
  margin-bottom: 20px;
}

.title {
  font-weight: 600;
  margin: 0 0 5px 0;
  text-align: center;
}

.description {
  font-size: 14px;
  letter-spacing: 1px;
}

.timeline:nth-child(even):after {
  left: auto;
  right: 88px;
}

.timeline:nth-child(even) .timeline-icon {
  left: auto;
  right: 100px;
}

#websites img {
  border: 5px solid #000;
}

.skills-gallery img, .website-gallery img {
  border: 10px solid #000;
  max-width: 200px;
  background-color: #fff;
}

section#portfolio  {
  background: url(../images/tobiasbg.png);
}

#portfolio img {
  margin-left: auto;
  margin-right: auto;
  display: block;
  border: 10px solid #000;
  max-width: 100%;
}

/* ALIGNMENT */

.col-lg-8.altered-8 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 calc(100% - 330px);
  flex: 0 0 calc(100% - 330px);
  max-width: calc(100% - 330px);
}

.col-lg-4.altered-4 {
  -ms-flex: 0 0 330px;
  flex: 0 0 330px;
  max-width: 330px;
}

#portfolio .col-lg-8.altered-8,
#my-skills .col-lg-8.altered-8 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 calc 66.6666%;
  flex: 0 0 66.6666%;
  max-width: 66.6666%;
}

#portfolio .col-lg-4.altered-4,
#my-skills .col-lg-4.altered-4 {
  -ms-flex: 0 0 33.3333%;
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}

/* SLIDER  */

.slick-prev:before,
.slick-next:before {
  font-family: "slick";
  font-size: 62px;
}

.slick-prev::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f191";
}
.slick-next::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f152";
}

/* FOOTER */

footer {
  background: url(../images/tobiasbg.png);
  width: 100%;
}

footer img {
  padding: 20px;
}

footer h1,
footer h5,
footer p {
  color: #fff;
  text-align: center;
}

.footer-details {
  position: absolute;
  width: 100%;
  transform: translate(0%, -50%);
  top: 50%;
  text-align: center;
  padding: 20px;
}
