* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -moz-box-sizing: border-box;
}
:root {
  --main-color: gold;
}
html {
  scroll-behavior: smooth;
}
::selection {
  background-color: var(--main-color);
  color: #fff;
}
body {
font-family: 'Poppins', sans-serif;
}
ul { 
  list-style: none;
}

.spechial-heading {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
.spechial-heading h1 {
  font-size: 36px;
  font-weight: 600;
}
.spechial-heading p {
  color: #777;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}


/* Start Header */
.header {
  width: 100%;
  height: 100vh;
  background-image: url(../imgs/banner.png);
  background-position: center;
  background-size: cover;
  position: relative;
}
.header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 60%);
}
nav {
  display: flex;
  padding: 2% 6%;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
nav .fa {
  display: none;
}

nav img {
  width: 135px;
}
.nav-links {
  flex: 1;
  text-align: right;
}
.nav-links ul li {
  display: inline-block;
  padding: 8px 12px ;
  position: relative;
  text-transform: uppercase;
}
.nav-links ul li::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--main-color);
  display: block;
  margin: 3px auto;
  transition: 0.4s;
}
.nav-links ul li:hover::after {
width: 100%;
}
.nav-links ul li a {
  color: #fff; 
  text-decoration: none;
  font-size: 13px;
}
.text-box {
  position: relative;
  width: 90%;
  top: 37%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}
.text-box h1 {
  font-size: 61px;
}
@media (max-width: 700px) {
  .text-box h1 {
    font-size: 25px;
  }
  .text-box p {
    font-size: 12px;
  }
  .nav-links ul {
    padding: 30px;
  }
  .nav-links ul li {
    display: block;
    margin-top: 6px;
    transition: 0.4s;
  }
  .nav-links ul li::after {
    content: "";
    width: 0;
    height: 2px;
    background: #fff;
    display: block;
    margin: 5px auto;
    transition: 0.4s;
  }
  .nav-links ul li:hover {
    font-weight: bold;
    transform: translate(-5px);
    width: 100%;
  }
  .nav-links {
    position: fixed;
    background: var(--main-color);
    width: 200px;
    height: 100vh;
    top: 0;
    right:-200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }
  nav .fa {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
    transition: 0.4s;
  }
  nav .fa:hover {
    color: #000;
  }
}
.text-box p {
  margin: 10px 0 40px;
  font-size: 14px;
  color: rgb(238, 238, 238);
  line-height: 1.8;
}
.btn-1 {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 15px;
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: 0.5s;
}
.btn-1:hover {
  border: 1px solid var(--main-color);
  background: var(--main-color);
  transition: 0.5s;
}
/* End Header */
 /* Start Hobby  */
.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}
.hobby-col {
  flex-basis: 31%;
  background-color: #fff3f3;
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 50px 30px;
  transition: 0.4s;
}
.hobby-col h3 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}
.hobby-col:hover {
  box-shadow: 0 0 20px 0px;
}
@media (max-width: 700px) {
  .row {
    flex-direction: column;
  }
}
 /* End hobby  */
 /* Start Projects  */
.project-col {
  flex-basis: 48%;
	max-height: 300px;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.project-col img {
  width: 100%;
  display: block;
}
.project-col .layer {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.4s;
}
.project-col .layer:hover {
  background-color: rgb(255,255, 0,0.7);
}
.project-col .layer h3 {
  width: 100%;
  font-weight: 500;
  color: #fff;
  font-size: 26px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.4s;
}
.project-col .layer:hover h3 {
bottom: 49%;
opacity: 1;
}
 /* End Projects  */
 /* Start What I Love */
.whatilove-col {
  flex-basis: 31%;
	max-width: 300px;
	height: 500px;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
}
.whatilove-col img {
  width: 100%;
  border-radius: 10px;
}
.whatilove-col p {
  padding: 0;
}
.whatilove-col h3 {
  margin-top: 16px;
  margin-bottom: 16px;
  text-align: left;
}
 /* End What I Love */

  /* Start Footer */
  footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
  }
  footer h4 {
    margin-top: 20px;
    margin-bottom: 25px;
    font-weight: 600;
  }
  footer p {
    color: #777;
    font-size: 15px;
  }
  .icons .fab {
    color: var(--main-color);
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
  }
i.fas {
    color: red;
  }
  footer p:last-child {
    font-family: cursive;
  }


  /* End Footer */
  .up {
    position: fixed;
    right: 0;
    bottom: 0;
    padding: 5px;
    margin-right: 30px;
    margin-bottom: 20px;
    width: 25px;
    height: 25px;
    text-align: center;
    transition: 0.4s;
    animation-name: up;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    z-index: 2;
  }
  .up i {
    color: var(--main-color);
    font-size: 30px;
  }
  @keyframes up {
    0% {
      transform: translateY(5px);
    }
    50% {
      transform: translateY(-5px);
    }
    100% {
      transform: translatey(5px);
    }
  }

/* About us page */

  .sub-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), 
    url("../imgs/banner.png");
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
  }
  .sub-header h1 {
    margin-top: 110px;
  }

  .about-us {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
  }
  .about-col {
    flex-basis: 48%;
    padding: 30px 2px;
  }
  .about-col img {
    width: 100%;
  }
  .about-col h1 {
    padding-top: 0;
  }
  .about-col p {
    padding: 15px 0 25px;
    color: #777;
  }
  .red-btn {
    border: 1px solid var(--main-color);
    background: transparent;
    color: var(--main-color);
  }
  .red-btn:hover {
    color: #fff;
  }

  /* blog page */

  .bolg-content {
    width: 80%;
    margin: auto;
    padding: 60px 0;
  }
  .bolg-left {
    flex-basis: 65%;
  }
  .bolg-left img {
    width: 100%;
  }
  .bolg-left h2 {
    color: #222;
    font-weight: 600;
    margin: 30px 0;
  }
  .bolg-left p {
    padding: 5px 0;
    color: #999;
    line-height: 1.4;
  }
  .bolg-right {
    flex-basis: 32%;
  }
  .bolg-right h3 {
    background: var(--main-color);
    color: #fff;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: normal;
  }
  .bolg-right div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
  }
  .comment-box {
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;
  }
  .comment-box h3 {
    text-align: left;
  }
  .comment-form input,
  .comment-form textarea {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border: none;
    outline: none;
    background: #f0f0f0;
    caret-color: var(--main-color);
  }
  .comment-form input:focus,
  .comment-form textarea:focus {
    border: 1px solid var(--main-color);
  }
  .comment-form button {
    margin: 10px 0;
  }

  @media (max-width: 700px) {
    .sub-header {
      font-size: 13px;
    }
  }

  /* Contact us page */

.location {
  width: 80%;
  margin: auto;
  padding: 80px 0;
}
.location iframe {
  width: 100%;
}
.contact-us {
  width: 80%;
  margin: auto;
}
.contact-col {
  flex-basis: 48%;
  margin-bottom: 30px;
}
.contact-col div {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.contact-col div i {
  font-size: 20px;
  color: var(--main-color);
  margin: 10px;
  margin-right: 21px;
  margin-top: -12px;
}
.contact-col h5 {
  font-weight: 500;
  font-size: 15px;
  color: rgb(36, 34, 34);
}

.contact-col p {
  margin-top: 11px;
  color: #777;
  font-size: 14px;
  margin-left: 3px;
}

.contact-col > form {
  margin-bottom: 70px;
  margin-top: -16px;
}
.contact-col input,
.contact-col textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
  caret-color: var(--main-color);
}
.contact-col input:focus,
.contact-col textarea:focus {
  border: 1px solid var(--main-color);
}
