/* font */
@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&family=Heebo:wght@400;500;600&display=swap");

/* variables */
:root {
  --c-brand: #0000ff;
  --c-brand-rgb: 248, 54, 145;
  --c-dark: #303050;
  --c-body: #636383;
  --c-btn: #ef0107;
  --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);
}

/* reset and helpers */
body {
  font-family: var(--f-main);
  color: var(--c-body);
  line-height: 1.7;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-weight: 700;
  color: var(--c-dark);
}

a {
  text-decoration: none;
  color: var(--c-dark);
  transition: var(--transition);
}

a:hover {
  color: var(--c-brand);
}

img {
  width: 100%;
}

.section-padding {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* navbar */

.navbar {
  padding-top: 30px;
  padding-bottom: 30px;
  transition: var(--transition);
}

.navbar.scrolled {
  padding-top: 7px;
  padding-bottom: 7px;
  background-color: white;
  box-shadow: var(--shadow);
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.navbar .navbar-nav .nav-link {
  font-weight: 700;
  color: var(--c-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--c-brand);
}

.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-dark);
}

@media screen and (max-width: 450px) {
  .navbar-brand {
    font-size: 17px;
  }
}

.navbar-toggler {
  border-radius: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

@keyframes background-pan {
  from {
    background-position: 0% center;
  }

  to {
    background-position: -200% center;
  }
}

.social-icon {
  width: 36px;
  height: 36px;
  padding-left: 10px;
  padding-right: 10px;
}

.text-brand {
  animation: background-pan 3s linear infinite;
  background: linear-gradient(
    to right,
    var(--c-brand),
    var(--c-btn),
    var(--c-btn),
    var(--c-brand)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  background-size: 200%;
  display: flex;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 24px;
  border-radius: 5px;
  border-width: 2px;
  font-weight: 500;
}

.btn-brand,
.btn-brand:focus {
  background-color: var(--c-btn);
  color: white;
}

.btn-brand:hover {
  background-color: transparent;
  color: var(--c-brand);
  border-color: var(--c-brand);
}

/* home */
#home {
  background: url(./images/5562093.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-display {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.section-title {
  max-width: 560px;
  margin: 0 auto 60px auto;
}

.section-title .line {
  width: 60px;
  height: 2px;
  background-color: var(--c-brand);
  display: inline-block;
}
/* services */
.service-icon {
  width: 30px;
  height: 30px;
  background-color: var(--c-brand);
  color: white;
  font-size: 15px;
  align-items: center;
  justify-content: center;
  display: inline-flex;
}

.custom-link {
  display: inline-flex;
  align-items: center;
}
.custom-link span {
  font-weight: 700;
}

.custom-link i {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--c-brand);
  border-radius: 100px;
  color: white;
  margin-left: 6px;
  transition: var(--transition);
}

.custom-link:hover i {
  transform: translate(5px);
}

/* work/project */
.project {
  overflow: hidden;
  position: relative;
}

.project .content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--c-btn);
  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 */
.client {
  margin-top: -1px;
  margin-left: -1px;
}

.client img {
  opacity: 0.7;
  height: 30px;
}

/* resume */
.educ-exp {
  position: relative;
}

.educ-exp::before {
  content: "";
  height: 100%;
  width: 1px;
  background-color: rgba(var(--c-brand-rgb), 0.4);
  position: absolute;
  left: 0;
  top: 0;
}

.educ-exp::after {
  content: "";
  height: 14px;
  width: 14px;
  background-color: var(--c-brand);
  position: absolute;
  left: -7px;
  top: 0;
}

#contact .form-control {
  border-radius: 0;
}

#contact .form-control:focus {
  box-shadow: none;
  border-color: var(--c-brand);
}

#contact input.form-control {
  height: 44px;
}

/* footer */
footer {
  background-color: var(--c-dark);
  padding-top: 80px;
}

footer h4 {
  color: white;
}

footer p,
footer li,
footer li a {
  color: rgba(255, 255, 255, 0.7);
}

footer ul {
  list-style: none;
  padding: 0;
}

.footer-top {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  padding-top: 40px;
  padding-bottom: 40px;
}

.work-title {
  font-weight: bold;
  font-size: 20px;
  justify-content: center;
  display: flex;
}

.work-title2 {
  font-weight: bold;
  font-size: 20px;
  justify-content: center;
  display: flex;
  padding-top: 2rem;
}

.bg-work {
  background-color: rgb(223, 223, 223);
}
