@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");

/* variables */

:root {
  --c-brand: #f83691;
  --cbrand-rgb: 248, 54, 145;
  --c-dark: #303050;
  --c-body: #fff;
  --f-main: "Bai Jamjuree", sans-serif;
  --transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow: 0px 15px 40px rgba(0, 0, 0, 0.1);
}

body {
  font-family: var(--f-main);
  line-height: 1.7;
  background-color: var(--c-body);
}

h1 .h1,
h2 .h2,
h3 .h3,
h4 .h4,
h5 .h5,
h6 .h6 {
  font-family: var(--f-main);
  color: var(--c-dark);
  font-weight: 700;
}

a {
  color: var(--c-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--c-brand);
}

.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

.text-brand{
  color: var(--c-brand);
}

img {
  width: 100%;
}

.section-title{
  max-width: 560px;
  margin: 0 auto 60px auto;
}
.section-title p {
  max-width: 560px;
  margin: 0 auto;
}

.section-title .line{
  width: 80px;
  height: 2px;
  background-color: var(--c-brand);
  display: inline-block ;
  margin-bottom: 20px;
  margin-top: 20px;
}

.section-connector {
  position: relative;
}

.section-connector::after {
  content: '';
  width: 2px;
  height: 100px;
  background-color: var(--c-brand);
  position: absolute;
  top: -50px;
  left: 50%;
}




/* Navbar styling*/

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 16px;
    padding-right: 16px;
  }
}


.navbar .navbar-nav .nav-link {
  color: var(--c-dark);
  font-weight: 600;
}


.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--c-brand);
}

.navbar .navbar-brand{
  color: var(--c-dark);
  font-weight: 700;
  font-size: 24px;
}
.navbar .navbar-brand:hover{
  color: var(--c-brand);
}

.navbar{
  padding-top: 30px;
  padding-bottom: 30px;
  transition: var(--transition);
}

.scrolled{
  padding-top: 7px;
  padding-bottom: 7px;
  background-color: white;
  box-shadow: var(--shadow);
}

.social-icon{
  width: 36px;
  height: 36px;
  font-size: 20px;
  background-color: var(--c-brand);
  display: inline-flex ;
  align-items: center;
  justify-content: center;
  margin-right:16px ;
  color: white;
}

.social-icon:hover{
  background-color: transparent;
  border: var(--c-brand) 1px solid;
  color: var(--c-brand);
}

.navbar-toggler:focus{
  box-shadow: none;
  border-color: var(--c-brand);
}

 /* Home section styling */

 .btn.btn-brand{
  background-color: var(--c-brand);
  color: white;
  padding: 12px 24px;
  transition: var(--transition);
 }

.btn.btn-brand:hover{
  background-color: transparent;
  color: var(--c-brand);
  border: var(--c-brand) 1px solid;
  padding: 12px 24px;
  transition: var(--transition);
}

.img-fluid{
  background-position: center;
  background-size: cover;
}

.cover-1{
  background-position: center;
  background-size: cover;
}

#home{
  background-image: url(../images/hero.jpg);
  background-position: center;
  background-size: cover;
}

/* Service section syling */


.service-icon{
  width: 36px;
  height: 36px;
  font-size: 24px;
  background-color: var(--c-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.custom-link{
  display: inline-flex;
  align-items: center;
}

.custom-link span{
  font-weight: 700;
}

.custom-link i{
  background-color: var(--c-brand);
  color: #fff;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: 8px;
  transition: var(--transition);
}

.custom-link:hover i{
  transform: translateX(10px);
}

/* work section */

.project{
  overflow: hidden;
  position: relative;
}

.project .content{
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--c-brand);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project img,
.project .content{
  transition: var(--transition);
}


.project:hover .content{
  top: 0;
}

.project:hover img{
  transform: translateY(-100%);
}

/* Client section styling */

.client{
  margin-top: -1px;
  margin-left: -1px;
}

.client img{
  opacity: 0.7;
  height: 30px;
}

/* Resume */

.eduexp{
  position: relative;
}

.eduexp::before{
  content: '';
  height: 100%;
  width: 2px ;
  background-color: rgba(var(--cbrand-rgb) ,0.4);
  position: absolute;
  top: 0;
  left: 0;
}
.eduexp::after{
  content: '';
  height: 14px;
  width: 14px;
  background-color: var(--c-brand);
  position: absolute;
  top: 0;
  left: -6px;
}

.eduexp p{
  max-width: 500px;
}

/* Contact section styling  */

#contact .form-control:focus{
  box-shadow: none;
  border-color: var(--c-brand);
}

#contact input.form-control{
  height: 44px;
}

/* Footer section styling */

footer{
  background-color: var(--c-dark);
  padding-top: 80px;
}

footer h4{
  color: white;
}

footer ul{
  list-style: none;
  padding: 0;
}

footer p,
footer li,
footer li a,
footer a{
  color: rgba(255,255,255,0.7);
}

.footer-top{
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom{
  padding-top: 40px;
  padding-bottom: 20px;
}

.footer-bottom a:hover{
  background-color: transparent;
}
