/* Global Rules */
* {
  box-sizing: border-box;
}
body {
  font-family: "Raleway", sans-serif;
}
p {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--p-color);
}
ul {
  list-style: none;
}
::selection {
  color: white;
  background-color: black;
}
a {
  text-decoration: none;
}
.container {
  margin-left: auto;
  margin-right: auto;
}
/* Phone */
@media (max-width: 600px) {
  .container {
    width: 100%;
  }
}
/* Small */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
/* Medium*/
@media (min-width: 992px) {
  .container {
    width: 960px;
  }
}
/*Large*/
@media (min-width: 1200px) {
  .container {
    width: 1100px;
  }
}
/* Start Variables */
:root {
  --main-color: #ffe500;
  --scnd-color: #1a1a1a;
  --p-color: #7a7a7a;
}
/* End Variables */
/* Start Components */
.special-header {
  padding: 60px 0 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.special-header img {
  height: 40px;
}
.special-header h1 {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 15px;
  margin-top: 30px;
  color: #1b1b1b;
}
.special-header p {
  width: max(200px, 64%);
  line-height: 1.7;
}
/* End Components */
/* Start Header And Landing */
.head-land-holder {
  background-image: url("../images/bg.jpeg");
  background-size: cover;
  height: 100vh;
  position: relative;
}
.header img {
  cursor: pointer;
}
.header {
  padding: 30px 10px;
  display: flex;
  justify-content: space-between;
}
.header .lines {
  width: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  cursor: pointer;
}
.header .lines span {
  background-color: var(--main-color);
  height: 5px;
  border-color: transparent;
  border-radius: 10px;
  transition: 0.2s;
  margin-top: 6px;
}
.header .lines span:first-child {
  width: 100%;
}
.header .lines span:nth-child(2) {
  width: 60%;
}
.header .lines span:last-child {
  width: 50%;
  transition-delay: 0.1s;
}
.header .lines:hover span {
  width: 100%;
}
.landing {
  margin-top: 200px;
  position: relative;
}
.landing .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.landing .content .text {
  color: white;
  width: 100%;
}
.landing .content .text h1 {
  font-size: clamp(1rem, 1.3vw, 2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 7.6px;
  line-height: 2;
}
.landing .content .text h4 {
  margin-top: 40px;
  font-weight: 300;
  letter-spacing: 3px;
  line-height: 1.6;
}
.landing .content button {
  margin-top: 30px;
  padding: 18px 40px;
  text-transform: uppercase;
  font-size: 13.5px;
  font-weight: bold;
  background-color: transparent;
  border: 2px solid var(--main-color);
  color: white;
  box-shadow: 0 0 0 0 var(--main-color) inset;
  transition: ease-out 0.3s;
  cursor: pointer;
}
.landing .content button:hover {
  box-shadow: 200px 0 0 0 var(--main-color) inset;
  color: black;
}
.head-land-holder .scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.head-land-holder .scroll i {
  font-size: 35px;
  color: var(--main-color);
  animation: rot 1.5s infinite;
}
@keyframes rot {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}
/* End Header And Landing */
/* Start Info */
.info {
  padding: 100px 0;
}
.info .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.info .content p {
  width: max(250px, 40%);
  text-align: center;
  margin-top: 50px;
  line-height: 1.5;
}
/* End Info */
/* Start Services */
.services {
  background-color: #eee;
  padding-bottom: 30px;
}
.services .content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.services .content .box {
  width: fit-content;
  /* margin-bottom: 20px; */
  background-color: #eee;
  text-align: center;
}
.services .content .box .service {
  background-color: white;
  padding: 45px 20px 15px;
  transition: 0.3s;
}
.services .content .box .service:hover {
  transform: scale(1.04);
}
.services .content .box img {
  height: 55px;
}
.services .content .box h3 {
  text-transform: uppercase;
}
.services .content .box p {
  width: 100%;
  line-height: 1.7;
}
.services .content .box .tools {
  width: 100%;
  height: 200px;
  background-color: white;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin-top: 20px;
}
.services .content .box .tools span {
  display: block;
  height: 4px;
  background-color: #eee;
}
.services .content .box .tools span::before {
  content: "";
  position: absolute;
  top: -25px;
  left: 0;
  font-size: 18px;
  font-weight: 750;
}
.services .content .box:first-child .tools span:first-child {
  box-shadow: 200px 0 0 0 var(--main-color) inset;
  position: relative;
}
.services .content .box:first-child .tools span:nth-child(2) {
  box-shadow: 235px 0 0 0 var(--main-color) inset;
  position: relative;
}
.services .content .box:first-child .tools span:last-child {
  box-shadow: 160px 0 0 0 var(--main-color) inset;
  position: relative;
}
.services .content .box:first-child .tools span:first-child::before {
  content: "Ps";
}
.services .content .box:first-child .tools span:nth-child(2)::before {
  content: "Ai";
}
.services .content .box:first-child .tools span:last-child::before {
  content: "ld";
}
.services .content .box:nth-child(2) .tools span:first-child {
  box-shadow: 235px 0 0 0 var(--main-color) inset;
  position: relative;
}
.services .content .box:nth-child(2) .tools span:nth-child(2) {
  box-shadow: 200px 0 0 0 var(--main-color) inset;
  position: relative;
}
.services .content .box:nth-child(2) .tools span:last-child {
  box-shadow: 220px 0 0 0 var(--main-color) inset;
  position: relative;
}
.services .content .box:nth-child(2) .tools span:first-child::before {
  content: "Ui";
}
.services .content .box:nth-child(2) .tools span:nth-child(2)::before {
  content: "Ux";
}
.services .content .box:nth-child(2) .tools span:last-child::before {
  content: "Responsive";
}
.services .content .box:nth-child(3) .tools span:first-child {
  box-shadow: 230px 0 0 0 var(--main-color) inset;
  position: relative;
}
.services .content .box:nth-child(3) .tools span:nth-child(2) {
  box-shadow: 230px 0 0 0 var(--main-color) inset;
  position: relative;
}
.services .content .box:nth-child(3) .tools span:last-child {
  box-shadow: 180px 0 0 0 var(--main-color) inset;
  position: relative;
}
.services .content .box:nth-child(3) .tools span:first-child::before {
  content: "Html";
}
.services .content .box:nth-child(3) .tools span:nth-child(2)::before {
  content: "Css";
}
.services .content .box:nth-child(3) .tools span:last-child::before {
  content: "Js";
}
.services .content .box:last-child .tools span:first-child {
  box-shadow: 185px 0 0 0 var(--main-color) inset;
  position: relative;
}
.services .content .box:last-child .tools span:nth-child(2) {
  box-shadow: 200px 0 0 0 var(--main-color) inset;
  position: relative;
}
.services .content .box:last-child .tools span:last-child {
  box-shadow: 175px 0 0 0 var(--main-color) inset;
  position: relative;
}
.services .content .box:last-child .tools span:first-child::before {
  content: "C++";
}
.services .content .box:last-child .tools span:nth-child(2)::before {
  content: "Java";
}
.services .content .box:last-child .tools span:last-child::before {
  content: "Swift";
}
.services .content .box .service,
.services .content .box .tools {
  border: 0;
  box-shadow: 0 2px 7px 0 hsla(0, 0%, 0%, 0.2);
}
/* End Services */
/* Start Works */
.works {
  padding: 100px 0;
  background-color: var(--scnd-color);
}
.works .content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.works .content .box {
  background-color: white;
  width: 250px;
  text-align: center;
}
.works .content .box h3 {
  font-family: monospace;
  font-size: 20px;
  letter-spacing: 2px;
}
.works .content .box p {
  color: black;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
}
/* End Works */
/* Start Portfolio */
.portfolio .shuffle {
  width: 100%;
  padding-bottom: 70px;
  display: flex;
  justify-content: center;
}
@media (max-width: 700px) {
  .portfolio .shuffle {
    flex-direction: column;
    align-items: center;
  }
  .portfolio .shuffle img {
    width: 10rem;
  }
  .portfolio .shuffle ul {
    width: 80%;
  }
}
.portfolio .shuffle img {
  padding-left: 35px;
  padding-right: 35px;
}
.portfolio .shuffle ul:first-child,
.portfolio .shuffle ul:last-child {
  flex-basis: 30%;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-self: center;
  border: 2px solid black;
  border-left: 0;
  border-right: 0;
}
.portfolio .shuffle ul li a {
  color: black;
}
.portfolio .pics {
  display: grid;
  grid-template-columns: repeat(auto-fill, 224.4px);
}
@media (max-width: 1199px) {
  .portfolio .pics {
    gap: 30px;
    justify-content: center;
  }
}
.portfolio .pics .pic {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.portfolio .pics .pic .work-info {
  opacity: 0;
  transition: 0.3s ease-out;
}
.portfolio .pics .pic:hover .work-info {
  opacity: 1;
}
.portfolio .pics .pic .text {
  width: calc(100% - 20px);
  height: calc(100% - 80px);
  padding: 0 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background-color: white;
  z-index: 1;
}
.portfolio .pics .pic .text p {
  font-size: 14.5px;
}
.portfolio .pics .pic .bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 60px);
  height: calc(100% - 40px);
  background-color: rgb(255 229 0 / 80%);
}
.portfolio .btn {
  padding: 80px 0;
  text-align: center;
}
.portfolio .btn button {
  padding: 15px 35px;
  border: 2px solid var(--main-color);
  background-color: transparent;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 2px;
  transition: 0.4s;
}
.portfolio .btn button:hover {
  box-shadow: 0 50px 0 0 var(--main-color) inset;
}
/* End Portfolio */
/* Start Video */
video {
  width: 100%;
  height: 70vh;
  object-fit: cover;
}
.video {
  position: relative;
}
.video::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 65%);
}
.video .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}
.video .btn button {
  position: relative;
  padding: 15px 40px;
  border: 2px solid var(--main-color);
  text-transform: uppercase;
  color: var(--main-color);
  letter-spacing: 4px;
  background-color: transparent;
  cursor: pointer;
  transition: 0.3s;
}
.video .btn .fill {
  position: absolute;
  bottom: -237px;
  left: -350px;
  height: 300px;
  width: 350px;
  background-color: var(--main-color);
  border-radius: 50%;
  z-index: -1;
  transition: 0.5s ease-out;
}
.video .btn:hover .fill {
  position: absolute;
  bottom: -95px;
  left: -59px;
}
.video .btn:hover button {
  color: black;
  font-weight: bold;
}
/* End Video */
/* Start Team */
.team {
  padding-bottom: 100px;
}
.team .persons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}
.team .persons .person {
  box-shadow: 0px 2px 6px 0 hsl(0deg 0% 0% / 20%);
}
.team .persons .img {
  position: relative;
  overflow: hidden;
}
.team .persons .img img {
  width: 100%;
  padding: 0;
  transition: 0.3s;
}
.team .persons .img:hover .name {
  position: absolute;
  bottom: 0;
}
.team .persons .img:hover img {
  transform: scale(1.05) rotate(2.3deg);
}
.team .persons .name {
  position: absolute;
  bottom: -54px;
  letter-spacing: 2px;
  width: 100%;
  padding: 15px 0;
  background-color: rgb(255 229 0 / 80%);
  font-size: 1.2rem;
  font-weight: bold;
  transition: 0.3s;
}
.team .persons .text {
  line-height: 1.4;
  padding: 5px;
}
/* End Team */
/* Start Contact */
.contact {
  position: relative;
  padding-bottom: 30px;
}
.contact .boxs {
  height: 100vh;
  display: flex;
  justify-content: space-between;
}
.contact .boxs .box:first-child {
  position: relative;
  flex-basis: 47.5%;
  height: 60%;
  padding: 40px 30px;
  background-color: var(--scnd-color);
}
.contact .quote-1 {
  position: absolute;
  bottom: -50%;
}
.contact .boxs .box:first-child .text p {
  color: rgb(177, 177, 177);
  line-height: 1.6;
  font-size: 0.95rem;
}
.contact .boxs .box:nth-child(2) {
  flex-basis: 45%;
  align-self: center;
  position: relative;
  transform: translateY(25%);
}
.contact .quote-2 {
  position: absolute;
  top: -43%;
}
.contact .quote-2 {
  text-align: end;
}
.contact .quote-1 p,
.contact .quote-2 p {
  text-align: center;
  line-height: 1.5;
}
.contact .quote-1::after {
  content: "John Doe SEO";
  font-size: 0.9rem;
  font-weight: bold;
  font-style: italic;
  text-align: start;
}
.contact .quote-2::after {
  content: "John Doe SEO";
  font-size: 0.9rem;
  font-weight: bold;
  font-style: italic;
}
.contact .yellow-bar {
  height: 12em;
  width: 100%;
  background-color: var(--main-color);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
}
@media (max-width: 1199px) {
  .contact .boxs {
    flex-direction: column;
  }
  .contact .box:nth-child(2) img {
    width: 100%;
    transition: 0.1s ease;
  }
  .contact .quote-2 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: 0.3s ease-in;
  }
  .contact .box:nth-child(2):hover .quote-2 {
    opacity: 1;
  }
  .contact .box:nth-child(2):hover img {
    filter: blur(5px);
  }
  .contact .quote-2 p {
    color: var(--scnd-color);
    font-weight: 700;
    width: calc(100% - 0);
  }
  .contact .quote-2::after {
    color: var(--main-color);
  }
  .contact .quote-1 {
    display: none;
  }
}
@media (max-width: 599px) {
  .contact .box:first-child {
    display: none;
  }
  .contact .yellow-bar {
    top: 0;
  }
}
/* End Contact */
/* Start Footer */
.footer {
  background-color: var(--scnd-color);
  padding: 80px 0 40px;
}
.footer .box-holder {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  align-items: center;
}
.footer .box-holder .box:first-child img {
  padding-left: 15px;
  cursor: pointer;
}
.footer .box-holder .box:first-child p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.829);
}
.footer .box-holder .box:first-child a {
  color: var(--main-color);
}
.footer .box-holder .box:nth-child(2) {
  display: flex;
  color: rgba(255, 255, 255, 0.829);
}
.footer .box-holder .box:nth-child(2) li {
  margin-bottom: 20px;
}
.footer .box-holder .box:nth-child(3) {
  color: rgba(255, 255, 255, 0.829);
}
.footer .box-holder .box:nth-child(3) p {
  color: rgba(255, 255, 255, 0.829);
  line-height: 1.7;
}
.footer .box-holder .box:nth-child(3) button {
  margin: 25px 0;
  width: 100%;
  padding: 15px 0;
  border: 0;
  border-radius: 24px;
  cursor: pointer;
  background-color: var(--main-color);
}
.footer .box-holder .social-media ul {
  display: flex;
}
.footer .box-holder .social-media li {
  margin-right: 10px;
  transition: 0.3s;
}
@media (min-width: 600px) {
  .footer .box-holder .box:nth-child(3) {
    padding-left: 50px;
  }
}
@media (max-width: 600px) {
  .footer .box-holder .box {
    padding: 0 20px;
  }
  .footer .box-holder .social-media ul {
    justify-content: space-evenly;
    transform: translateX(-4%);
  }
}
/* End Footer */
/* Start JS Components */
.scroll-btn {
  position: fixed;
  bottom: 18px;
  right: 40px;
  background-color: var(--main-color);
  padding: 15px 16px 0px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
  opacity: 0;
}
.scroll-btn i {
  font-size: 44px;
  width: 100%;
  height: 100%;
}
/* End JS Components */
