html {
    scroll-behavior: smooth;
}
*{
    padding: 0;
    margin: 0;
    text-decoration:dashed;
    list-style: none;
    box-sizing: border-box;
  }
body{
    font-family:Times,Times, serif;
    font-size: 20px;
    background-color: #303030;
}
.topic{
    text-align: left;
    font-size:60px;
    color:#fff;
    font-family:cursive;
    padding-left: 20px;
}
.border{
	width: 98%;
	margin-left: auto;
	margin-right: auto;
	background:rgba(32, 32, 32, 0.8);
	border-radius: 6%;
	padding-bottom: 20px;
	margin-bottom: 30px;
}
hr{
	margin:auto;
 	border:1px solid rgba(255, 255, 255, 0.774);
 	width: 85%;
}	
/*loader*/
.loader{
	position: fixed;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: rgb(112, 112, 112);
    display: flex;
    justify-content: center;
    align-items: center;
	margin-left: auto;
	margin-right:auto;
}
.dot{
	width: 40px;
	height: 40px;	
	display: inline-block;
	border-radius: 50%;
	
}
.loader.hidden {
    animation: fadeOut 1s;
    animation-fill-mode: forwards;
}

@keyframes fadeOut {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}
.dot1{
	background-color: #1abc9c;
	animation: jump-up 0.6s 0.1s linear infinite;
}
.dot2{
	background-color: #ffd64a;
	animation: jump-up 0.6s 0.2s linear infinite;
}
.dot3{
	background-color: #e067af;
	animation: jump-up 0.6s 0.3s linear infinite;
}

@Keyframes jump-up{
	50%{
		transform: translate(0,15px);
	}
}
/*loader*/

/**navigation menu bar**/
nav{
	display: flex;
	position:fixed;
	height: 80px;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	padding: 0 50px 0 100px;
	flex-wrap: wrap;
	z-index: 2;
}
.scrolling-active{
    background-color:black;
    box-shadow: 0 3px 1rem rgba(0,0,0,.1);
}
nav .logo a{
	color: #fff;
	font-size: 50px;
	font-weight: 600;
}
nav .navigation-menu-bar ul{
	display: flex;
	flex-wrap: wrap;
	list-style: none;
}
nav .navigation-menu-bar ul li{
	margin: 0 5px;
}
nav .navigation-menu-bar ul li a{
	color: #f2f2f2;
	text-decoration: none;
	font-size: 26px;
	font-weight: 500;
	padding: 8px 15px;
	border-radius: 5px;
	letter-spacing: 1px;
	transition: all 0.3s ease;
}
nav ul li a.active,
nav ul li a:hover{
	color: #111;
	background: #fff;
}
input[type="checkbox"]{
	display: none;
}
nav .hide-navigation-menu-bar{
	display: none;
}
/*navigation menu bar*/

/**image slider**/
.overlay2{
    width:100%;
    height:100vh;
    background:linear-gradient(to bottom right , rgba(0,0,0,0.3),rgba(0,0,0,0.6));
    position:absolute;
}
.slider{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    animation: slide 12s infinite;
}
.load{
    animation: slide 1s;
}
.content{
    width:100%;
    margin:300px auto 0;
    text-align: center;
    color:#fff;
    position: absolute;
    text-align: center;
}
.content h1{
    font-size: 60px;
}
.content h3{
    width:80%;
    margin:20px auto 100px;
    font-weight: 100px ;
    line-height: 25px;
}
button{
    width: 200px;
    padding:15px 0;
    text-align:center;
    margin:0 10px;
    border-radius:25px;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid #fe7250;
    background: #fe7250;
    color:#fff;
    cursor: pointer;
    transition:background 0.3s;
}
button:hover{
    background:transparent;
    border: 2px solid #fff;
}
button a{
	color:#fff;
}
@keyframes slide {
    0%{
        background-image: url('image/1.jpg')
    }
    25%{
        background-image: url('image/1.jpg')
    }
    25.01%{
        background-image: url('image/2.jpg')
    }
    50%{
        background-image: url('image/2.jpg')
    }
    50.01%{
        background-image: url('image/3.jpg')
    }
    75%{
        background-image: url('image/3.jpg')
    }
    75.01%{
        background-image: url('image/4.jpg')
    }
    100%{
        background-image: url('image/4.jpg')
    }
}
/**image slider**/

/**about me**/
#about{
	position: relative;
	padding-top: 50px;
	padding-bottom: 20px;
	width: 100%;
	height:625px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 40px;
}
.row{
	width:100%;
	padding-left:20px;
	padding-right: 20px;
}
.col-md-5{
	position: absolute;
  }
.col-md-7-about-right{
	position: absolute;
	text-align: justify;
	padding-left: 500px;
}
#about h2{
	margin-bottom: 36px;
	margin-top: 12px;
}
.color-3{
	color: #d6c6b2;
	font-size: 50px;
}
#about .social-link-text{
	margin-top: 50px;
	margin-bottom: 25px;			
}
#about .about-link{
	padding-left: 0px;
}
#about .about-link li{
	display: inline-block;
}
#about .about-link li a i{
	width: 50px;
	height: 50px;
	border-radius: 50%;
	line-height: 50px;
	text-align: center;
	border: 1px solid #d6c6b2;
	margin-right: 10px;
	font-size: 22px;
	color: #d6c6b2;
	transition: all .3s;
}
#about .about-link li a i:hover{
	color: #222222;
	background: #d6c6b2;
	border-color: #d6c6b2;
}
#about .about-img{
	position: relative;
}
#about .about-img .man{
	position: absolute;
	bottom: 161px;
	top: 42px;
	left: -2px;
}
.text-white{
	color: white;
	margin-bottom: 0;
	font-size: 20px;
	line-height: 24px;
	padding-right: 30px	;
	padding-top: 10px;
}
.btn-social{
	border-radius: 3;
	padding: 10px 20px;
}
.btn-social a{
	color:#fff
}
/**about me**/

/**Interests**/
#table{
	width:100%;
	text-align: center;
	position: relative;
	margin:auto;
	top:0;
	bottom:0;
	left:0;
	right:0;
	padding:0px;
}
table td{
	padding:20px;
}
.div1{
	background-color: #fff;
	padding:20px;
	border-radius: 10px;
	box-shadow: 0px 0px 15px 2px teal;
	transition: 0.5s;
}
.div1:hover{
	transform:scale(0.9);
	box-shadow:0px 0px 5px 7px teal;
	transition: 0.3s;
}
.btn{
	padding:5px 15px 5px 15px;
	border-radius: 20px 4px 20px 4px;
	border:none;
	color:white;
}
.btn1{
   background-color:#2f5597;
}
.btn2{
	background-color:#c55a11;
}
.btn3{
	background-color:#00b050;
}
.btn4{
	background-color:#7030a0;
}
  
@keyframes animate {
	0%{
	  transform: scale(0.5);
	}
	100%{
	  transform: scale(1.5);
	}
}
/**Interests**/

/*life in pinhwa**/
.card-align {
	display: flex;
	justify-content:center;
	width: 50%;
	margin-left: auto;
	padding-top: 50px;
	padding-bottom: 50px;
	margin-right: auto;
	position:relative;
}
.card-align .table {
	border-collapse: collapse;
	width: 100%;
	text-align: center;
	background: #fff;
	filter: brightness(0.8);
}
.card-align .table th {
	padding: 1.5rem 0;
	background: rgb(109, 109, 109);
	color: #fff;
	font-size: 25px;
}
.card-align .table td {
	display: block;
	padding: 1rem 0;
	background: rgb(255, 255, 255);
	font-size: 20px;
}
.card-align .table .class{
	font-size: 35px;
}
.card-align .table td:nth-child(7) {
	font-size: 50px;
	background: rgb(245, 245, 245);
}
.card-align .table:hover{
	filter:brightness(1.0);   
  
}
/**life in pinhwa**/

/**My Photo**/
.main{
	position: relative;
	height: 100%;
	width: 100%;
  }
  .main .gallery{
	position: relative;
	height: auto;
	width: 90%;
	margin: auto;
	padding: 45px 0;
	display: grid;
	grid-template-columns:auto auto auto auto ;
	grid-gap: 2vh;
	grid-auto-flow: dense;
  }
  .main .gallery .img{
	position: relative;
	height: 100%;
	width: 100%;
	overflow: hidden;
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.9 );
	border-radius: 2px;
  }
  .main .gallery .img:first-child {
	grid-column-start: span 2;
	grid-row-start: span 2;
  }
  .main .gallery .img:nth-child(2n+4){
	grid-column-start: span 1;
	grid-row-start: span 1;
  }
  .main .gallery .img:nth-child(3){
	grid-column-start: span 1;
  grid-row-start: span 2;
  }
  .main .gallery .img:nth-child(5n+6){
	grid-column-start: span 1;
	grid-row-start: span 1;
  }
  .main .gallery .img:nth-child(7){
	grid-column-start: span 2;
  grid-row-start: span 2;
  }
  .main .gallery .img:nth-child(8){
	grid-column-start: span 2;
  grid-row-start: span 1;
  }
  .main .gallery .img img{
	height: 100%;
  width: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  border-radius: 2px;
  transition: 0.3s ease-in-out;
  }
  .main .gallery .img:hover img{
	filter:brightness(1);
  }
/**My Photo**/

/*future*/
.future img{
	width: 50%;
	margin-left: auto;
	margin-right: auto;
	align-items: center;
	justify-items: center;
}
.future h1{
	color: white;
	text-align: center;
}
.future p{
	color: white;
	font-size: 20px;
	padding-top:25px;
	padding-left: 250px;
}
/*future*/

/**footer**/
footer{
    position:relative;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    height: auto;
    width: 100%;
    font-family: "Open Sans";
    padding-top: 30px;
    color: #fff;
}
.footer-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.footer-content h3{
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 3rem;
}
.footer-content p{
    max-width: 500px;
    margin: 10px auto;
    line-height: 28px;
    font-size: 14px;
}
.socials{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 3rem 0;
}
.socials li{
    margin: 0 10px;
}
.socials a{
    text-decoration: none;
    color: #fff;
}
.socials a i{
    font-size: 1.1rem;
    transition: color .4s ease;
}
.socials a:hover i{
    color: aqua;
}
.footer-bottom{
    background: #000;
    width: 100%;
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p{
    font-size: 14px;
    word-spacing: 2px;
    text-transform:unset;
}
.footer-bottom span{
    text-transform: unset;
    opacity: .4;
    font-weight: 200;
}
/**footer**/

/*back-to-top-btn*/
#back-to-top-btn {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 20px;
	font-size: 40px;
	width: 60px;
	height: 60px;
	background-color: #fff;
	color: #333;
	cursor: pointer;
	outline: none;
	border: 3px solid #333;
	border-radius: 50%;
	transition-duration: 0.2s;
	transition-timing-function: ease-in-out;
	transition-property: background-color, color;
}
#back-to-top-btn:hover, #back-to-top-btn:focus {
    background-color: #333;
    color: #fff;  
}
.btnEntrance {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: btnEntrance;
  } 
@keyframes btnEntrance {
    from {
      opacity: 0;
      transform: translate3d(0, 100%, 0);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
} 
.btnExit {
    animation-duration: 0.25s;
    animation-fill-mode: both;  
    animation-name: btnExit;
} 
@keyframes btnExit {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
      transform: translate3d(0, 100%, 0);
    }
}
/*back-to-top-btn*/

@media (max-width: 920px) {
	nav .navigation-menu-bar{
	  display:none;
	}
	nav .hide-navigation-menu-bar .menu-btn i{
	  color: #fff;
	  font-size: 22px;
	  cursor: pointer;
	  display: block;
	}
	nav .hide-navigation-menu-bar{
	  display: block;
	}
	#click:checked ~ .hide-navigation-menu-ba .menu-btn i:before{
	  content: "\f00d";
	}
	nav .hide-navigation-menu-bar ul{
	  display: flex;
	  position:absolute;
	  top: 80px;
	  left: -100%;
	  background: #111;
	  height:500px;
	  width: 100%;
	  text-align: center;
	  display: block;
	  transition: all 0.3s ease;
	  z-index: 1;
	}
	#click:checked ~ ul{
	  left: 0;
	}
	nav .hide-navigation-menu-bar ul li{
	  width: 100%;
	  margin: 40px 0;
	}
	nav .hide-navigation-menu-bar ul li a{
	  width: 100%;
	  margin-left: -100%;
	  display: block;
	  font-size: 25px;
	  transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	}
	#click:checked ~ ul li a{
	  margin-left: 0px;
	}
	nav .hide-navigation-menu-bar ul li a.active,
	nav .hide-navigation-menu-bar ul li a:hover{
	  background: none;
	  color: cyan;
	}
	nav .hide-navigation-menu-bar ul li a{
	  color: #f2f2f2;
	  text-decoration: none;
	  font-size: 18px;
	  font-weight: 500;
	  padding: 8px 15px;
	  border-radius: 5px;
	  letter-spacing: 1px;
	  transition: all 0.3s ease;
	}
	#back-to-top-btn {
		font-size: 22px;
		width: 40px;
		height: 40px;
		bottom: 15px;
		right: 15px; 
	}
}
