/* GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  z-index: 2;
}
body {
  background-color: #02021e;
}
a {
  text-decoration: none;
}
.container {

  height: 100vh;
}
/* THE BELOW IS CSS CODE FOR PAGE 1 OF THE WEBSITE */
.card-text {
  color: #ffffff;
}
#page1 a {
  color: white;
}
span {
  color: #bb9285;
}
.btn {
  border: none;
}
#logo-text {
  font-size: 1.5em;
  font-weight: bolder;
  letter-spacing: 3px;
}
.nav-link {
  letter-spacing: 2px;
}
#navbar-cta {
  background-color: #3719ca;
  border-radius: 10px;
  font-weight: 450;
  letter-spacing: 1px;
}
.star {
  position: fixed;
  top: 20vh;
  height: 10px;
  z-index: 1;
  width: 10px;
  background-color: #797788;
  border-radius: 50%;
}
.star:nth-child(2) {
  top: 50vh;
  left: 60%;
  height: 6px;
  width: 6px;
}
.star:nth-child(3) {
  top: 80vh;
  left: 15%;
  height: 4px;
  width: 4px;
}
.star:nth-child(4) {
  top: 40vh;
  left: 75%;
  height: 3px;
  width: 3px;
}
.star:nth-child(5) {
  top: 70vh;
  left: 55%;
  height: 3px;
  width: 3px;
}
.star:nth-child(6) {
  top: 20vh;
  left: 65%;
  height: 3px;
  width: 3px;
}
.star:nth-child(7) {
  top: 17vh;
  left: 85%;
  height: 2px;
  width: 2px;
}
.star:nth-child(8) {
  top: 45vh;
  left: 2%;
  height: 3px;
  width: 3px;
}
.star:nth-child(9) {
  top: 65vh;
  left: 25%;
  height: 3px;
  width: 3px;
}
.star:nth-child(10) {
  top: 10vh;
  left: 75%;
  height: 30px;
  width: 30px;
  background: linear-gradient(
    135.91deg,
    #ffffff 24.58%,
    rgba(160, 147, 215, 0) 70.4%
  );
}
#page1-section2 {
  margin-top: 10%;
}
#landing-text-area {
  height: auto;

  margin-top: 10vh;
  margin-bottom: 5%;
}
.landing-main-text {
  width: 85%;
  position: relative;
  left: 7.5%;
  font-size: 5.5em;
}
#page1-mini-cards {
  height: auto;
}
#page1-skill-card {
  height: 100%;
  display: inline-block;
  background-color: blue;
  margin: auto;
}
#card-image {
  height: 100%;
}
#card1 {
  height: 50vh;
}
/* somehwere here hai  */
.carousel-inner {
  padding: 1em;
}
.card {
  margin: 0 0.5em;
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  border: none;
}
.carousel-control-prev,
.carousel-control-next {
  background-color: #e1e1e1;
  width: 6vh;
  height: 6vh;
  border-radius: 50%;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
}
.skill-image{
  border-radius: 20px;
}
.card .img-wrapper {
  max-width: 100%;
  height: 13em;

  display: flex;
  justify-content: center;
  align-items: center;
}
img {
  max-height: 100%;
}

/* the above was for the gallery */
.card-group {
  background-color: transparent;
  height: 100%;
}
.card {
  background-color: transparent;
}
.card-text {
  width: 60%;
  position: relative;
  left: 20%;
}
*/ .card-img {
  position: relative;
  height: 40%;
  width: 20%;
}
.img-full {
  height: 80%;
  width: 80%;
  left: 10%;
  top: 10%;
  position: relative;
}
.img-box {
  height: 100%;
  position: relative;
  left: 40%;
  width: 20%;
}

#nav-tog {
  height: 40%;
  background-color: transparent;

  border-radius: 10%;

  background-image: url(./hammy.png);
  background-size: 100% 100%;
}

/* nothing above here  */

/* THE BELOW IS CSS CODE FOR PAGE TWO OF THE WEBSITE */

#page2-section1 {
  display: inline-block;
}
#page2-section2 {
  margin-top: 2%;
  height: 55vh;
  background-color: red;
}
#page2-image-box {
  height: 80%;
  display: inline-block;
  background-image: url(./illu1.png);
  background-size: 100% 100%;
}
#page2-image-text {
  height: 100%;
  display: inline-block;
}

#page2-website-h1 {
  margin-top: 5%;
  margin-bottom: 5%;
}

#cards-text p {
  width: 80%;
  left: 10%;
}
#offers {
  height: 70vh;
}
#offers p {
  width: 80%;
  position: relative;
  left: 10%;
  padding-bottom: 10px;
  color: #02021e;
}
#offer1 {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.fa-check-circle {
  color: green;
}
#offer2 {
  border-radius: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

#offer1_btn {
  position: relative;
  height: 7%;
  background-color: #3719ca;
  border-radius: 10px;
}
#offer2_btn {
  position: relative;
  height: 7%;
  background-color: #f54538;
  border-radius: 10px;
}
#page3_contact {
  margin-top: 10%;
  font-weight: bolder;
}
#page3_header {
  margin-bottom: 3%;
}

#offer1_banner {
  background-color: #3719ca;
  height: 10%;
  border-radius: 10px;
  transform: translateY(-1%);
}
#offer2_banner {
  background-color: #f54538;
  height: 10%;
  border-radius: 10px;
  transform: translateY(-1%);
}

nav.stroke ul li a,
nav.fill ul li a {
  position: relative;
}
nav.stroke ul li a:after,
nav.fill ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: ".";
  color: transparent;
  background: #aaa;
  height: 1px;
}
nav.stroke ul li a:hover:after {
  width: 100%;
}

nav.fill ul li a {
  transition: all 2s;
}

nav.fill ul li a:after {
  text-align: left;
  content: ".";
  margin: 0;
  opacity: 0;
}
nav.fill ul li a:hover {
  color: #fff;
  z-index: 1;
}
nav.fill ul li a:hover:after {
  z-index: -10;
  animation: fill 1s forwards;
  -webkit-animation: fill 1s forwards;
  -moz-animation: fill 1s forwards;
  opacity: 1;
}
/* nothing abovehere */
/* FOR THE Contact form */
#page2-image-text{
  overflow: hidden;
}
a {
  font-size: 14px;
  line-height: 1.7;
  color: #666666;
  margin: 0px;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

a:focus {
  outline: none !important;
}

a:hover {
  text-decoration: none;
  color: #57b846;
}

/*---------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0px;
}

ul,
li {
  margin: 0px;
  list-style-type: none;
}

/*---------------------------------------------*/
input {
  outline: none;
  border: none;
}

textarea {
  outline: none;
  border: none;
}
#about_section2 {
  height: 50vh;
  display: inline-flex;
}
#about_section2_text {
  height: 80%;
}

#section2_h1 {
  letter-spacing: 3px;
  font-weight: bolder;
}
#about_section2_skills {
  display: inline-flex;
  height: 100%;
}
.skill {
  width: 120%;
  margin-right: 10%;
  position: relative;
  height: 10%;
  margin: auto;
  background-color: red;
}

textarea:focus,
input:focus {
  border-color: transparent !important;
}

input:focus::-webkit-input-placeholder {
  color: transparent;
}
input:focus:-moz-placeholder {
  color: transparent;
}
input:focus::-moz-placeholder {
  color: transparent;
}
input:focus:-ms-input-placeholder {
  color: transparent;
}

textarea:focus::-webkit-input-placeholder {
  color: transparent;
}
textarea:focus:-moz-placeholder {
  color: transparent;
}
textarea:focus::-moz-placeholder {
  color: transparent;
}
textarea:focus:-ms-input-placeholder {
  color: transparent;
}

input::-webkit-input-placeholder {
  color: #999999;
}
input:-moz-placeholder {
  color: #999999;
}
input::-moz-placeholder {
  color: #999999;
}
input:-ms-input-placeholder {
  color: #999999;
}

textarea::-webkit-input-placeholder {
  color: #999999;
}
textarea:-moz-placeholder {
  color: #999999;
}
textarea::-moz-placeholder {
  color: #999999;
}
textarea:-ms-input-placeholder {
  color: #999999;
}

/*---------------------------------------------*/
button {
  outline: none !important;
  border: none;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

iframe {
  border: none !important;
}

/*//////////////////////////////////////////////////////////////////
[ Contact 2 ]*/
.bg-contact2 {
  width: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.container-contact2 {
  width: 100%;
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: transparent;
}
#page1-section2 p {
  letter-spacing: 2px;
}
.wrap-contact2 {
  width: 790px;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  padding: 72px 55px 90px 55px;
}

/*------------------------------------------------------------------
[  ]*/

.contact2-form {
  width: 100%;
}

.contact2-form-title {
  display: block;

  font-size: 39px;
  color: #333333;
  line-height: 1.2;
  text-align: center;
  padding-bottom: 90px;
}
#anim_span{
  width: 60%;
    background: #3719ca;
    display: block;
    height: 2px;
    margin-top: 20px;
}
/*------------------------------------------------------------------
[  ]*/

.wrap-input2 {
  width: 100%;
  position: relative;
  background-color: transparent;
  border: 0.5px solid #333333;
  margin-bottom: 37px;
}

.input2 {
  display: block;
  width: 100%;
  background-color: transparent;

  font-size: 15px;
  color: #555555;
  line-height: 1.2;
}

.focus-input2 {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 2%;
  pointer-events: none;
}

.focus-input2::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: -2%;
  width: 0;
  height: 2px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;

  background: rgba(219, 21, 99, 1);
  background: -webkit-linear-gradient(45deg, #fff, #3719ca);
  background: -o-linear-gradient(45deg, #fff, #3719ca);
  background: -moz-linear-gradient(45deg, #fff, #3719ca);
  background: linear-gradient(45deg, #fff, #3719ca);
}

.focus-input2::after {
  content: attr(data-placeholder);
  display: block;
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0;

  font-size: 13px;
  color: #999999;
  line-height: 1.2;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

/*---------------------------------------------*/
input.input2 {
  height: 45px;
}

input.input2 + .focus-input2::after {
  top: 16px;
  left: 0;
}

textarea.input2 {
  min-height: 115px;
  padding-top: 13px;
  padding-bottom: 13px;
}

textarea.input2 + .focus-input2::after {
  top: 16px;
  left: 0;
}

.input2:focus + .focus-input2::after {
  top: -13px;
}

.input2:focus + .focus-input2::before {
  width: 100%;
}

.has-val.input2 + .focus-input2::after {
  top: -13px;
}

.has-val.input2 + .focus-input2::before {
  width: 100%;
}
.myicon {
  font-size: 5em;
}
/*------------------------------------------------------------------
[ Button ]*/
.container-contact2-form-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 13px;
}

.wrap-contact2-form-btn {
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 2px;
  width: auto;
  overflow: hidden;
  margin: 0 auto;
}

.contact2-form-bgbtn {
  position: absolute;
  z-index: -1;
  width: 300%;
  height: 100%;
  background: #3719ca;

  top: 0;
  left: -100%;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}
#contact2-form,
#page4 {
  display: block;
}
.contact2-form-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  min-width: 244px;
  height: 50px;

  font-size: 16px;
  color: #fff;
  line-height: 1.2;
}

.wrap-contact2-form-btn:hover .contact2-form-bgbtn {
  left: 0;
}

/*------------------------------------------------------------------
[ Responsive ]*/

@media (max-width: 576px) {
  .wrap-contact2 {
    padding: 72px 15px 90px 15px;
  }
}

/*------------------------------------------------------------------
[ Alert validate ]*/

.validate-input {
  position: relative;
}

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  max-width: 70%;
  background-color: transparent;
  border: 1px solid #c80000;
  border-radius: 2px;
  padding: 4px 25px 4px 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 0px;
  pointer-events: none;

  color: #c80000;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;

  visibility: hidden;
  opacity: 0;

  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.alert-validate::after {
  content: "\f12a";
  font-family: FontAwesome;
  display: block;
  position: absolute;
  color: #c80000;
  font-size: 16px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 8px;
}

.alert-validate:hover:before {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 992px) {
  .alert-validate::before {
    visibility: visible;
    opacity: 1;
  }
}

#footer {
  background-color: transparent;

  border-top: 1px solid #797788;
}

/* THE BELOW CSS CODE IS FOR THE ABOUT ME PAGE OF THE WEBISTE */
#About_landing {
  height: 80vh;
  margin-top: 10vh;
  display: flex;
}
#about_img {
  height: 40%;
  position: relative;
  top: 15%;
  border-radius: 50%;
  background-image: url(./me.png);
  background-size: cover;
}
#exp_text {
  height: 100%;
}
#about_exp {
  position: relative;
  display: inline-flex;
  height: 50vh;
  top: 15vh;
}
#page2 h1 {
  letter-spacing: 5px;
}
#experience_h1 {
  margin-bottom: 5%;
}
#exp_text p {
  width: 80%;
  margin-bottom: 5%;
}
#exp_text span {
  margin-right: 5%;
}
#exp_btns {
  height: 10vh;
  margin-top: 20vh;
}
#cv_btn {
  background-color: #3719ca;
  border-radius: 20px;
}
#cv_btn:nth-child(2) {
  background-color: transparent;
  border: 1px solid #3719ca;
}
.skill_card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-align: center;

  color: white;
  height: 70%;
  position: relative;
  top: 10%;
}

#skill_img {
  margin-top: 10%;
  height: 20%;

  width: 50%;
  margin-bottom: 10%;
  background-size: 100% 100%;
}
#skill_img i {
  width: 100%;
  height: 100%;
}

.skill_card h3 {
  margin-top: 10%;
}

.skill_h1 {
  position: relative;
  margin-top: 10vh;
}
#skills_section {
  position: relative;

  height: 80vh;
  display: inline-flex;
}
#exp_illu {
  background-image: url(./illu2.svg);
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  top: 20%;
  height: 60%;
}
#about_h1 {
  font-size: 4em;
  font-weight: bolder;

  margin-bottom: 2%;
}
.about_p {
  width: 100%;

  font-weight: 100;
  letter-spacing: 2px;
}
#about_text {
  height: 70%;
  top: 15%;
  position: relative;
}
/* THE BELOW IS MEDIA QUERIES FOR THE WEBPAGE  */
/* PAGE1 MEDIA QUERIES */
@media (min-width: 768px) {
  .carousel-inner {
    display: flex;
  }
  .carousel-item {
    margin-right: 0;
    flex: 0 0 33.333333%;
    display: block;
  }
}
@media only screen and (max-width: 575px) {
  #skills_section {
    position: relative;
    width: 80%;
  }
  #about_img {
    width: 50%;
  }
  #exp_illu {
    margin-top: 10vh;
    width: 60%;
  }
  #exp_btns {
    margin-top: -20vh;
  }
  #exp_text {
    width: 80%;
  }
  #about_text {
    width: 80%;
  }
  .landing-main-text {
    font-size: 4em;
  }
  .img-full {
    height: 80%;
    width: 50%;
    left: 25%;
    top: 10%;
    position: relative;
  }
  #offers {
    position: relative;
    width: 90%;
    left: 7.5%;
  }
}
@media only screen and (max-width: 765px) {
  #landing-text-area {
    margin-top: 5vh;
    font-size: 0.9em;
  }
  #offer1 {
    margin-bottom: 20%;
  }
  #offers {
    height: 80vh;
  }
  #offer2_btn,
  #offer1_btn {
    transform: translateY(-30%);
  }
  #page4 {
    margin-top: 15%;
  }
}
@media only screen and (max-width: 600px) {
  #skill_card {
  }

  #logo-text {
    font-size: 1em;
  }
  .landing-main-text {
    font-size: 3em;
    margin-bottom: 5%;
  }
}
@media only screen and (max-width: 1199px) {
  #exp_btns {
    margin-top: 30vh;
  }

  #exp_btns button {
    width: 49%;
  }
}
@media only screen and (max-width: 992px) {
  #footer1 {
    margin-top: 120vh;
  }
  #exp_text {
    text-align: center;
  }
  #exp_text p {
    width: 100%;
  }
  #exp_text span {
    margin-right: 0;
  }
  #exp_btns {
    margin-top: 30%;
  }
  #exp_btns button {
    width: 40%;
    position: relative;
    left: 10%;
  }
  #exp_illu {
    height: 100%;
    top: 20%;
  }
  #About_landing {
    height: 80vh;

    margin-top: 0vh;
    text-align: center;
    display: inline;
  }
  #exp_btns {
    margin-top: 80vh;
  }
  #about_img {
    top: 1%;
    margin-bottom: 0%;
  }
  #about_text {
    top: 5%;
  }
  #about_exp {
    position: relative;
    display: inline-block;
    height: 50vh;
    top: 15vh;
  }
  #navbar-cta {
    background-color: #3719ca;
    border-radius: 10px;
    text-align: center;
    font-weight: 450;
    width: 50%;
    left: 25%;
    position: relative;
    letter-spacing: 1px;
  }
  #skills_section {
    position: relative;

    height: 80vh;
    display: inline-block;
  }
  #p2 {
    height: 100vh;
    margin-top: 50vh;
  }
  .nav-item {
    text-align: center;
  }
  .landing-main-text {
    width: 100%;
    left: 0%;
  }
  #page1-section2 {
    margin-top: 0%;
  }

  .card {
    margin-top: 10%;
  }
  #logo-text {
    font-size: 0.81em;
  }

  #page2-image-text {
    margin-top: 25%;
    text-align: center;
  }
  #page3_header {
    margin-top: 10%;
  }
}

@media only screen and (max-width: 516px) {
  #footer {
    margin-top: 80vh;
  }
  #about_img {
    width: 60%;
  }
  #about_text {
    font-size: 0.8em;
    width: 90%;
  }
  #websites {
    margin-top: 15%;
  }
  #page3 {
    margin-top: 150%;
  }
  #page4 {
    margin-top: 180%;
  }
  #page2-image-text {
    margin-top: 80%;
  }
  #exp_btns {
    margin-top: 70vh;
  }
  #about_exp {
    width: 100%;
  }
}
@media only screen and (max-width: 400px) {
  #page2{
    margin-top:-20%;
  }
  #anim_span{
    width: 100%;
  }
  #skills_section {
    width: 90%;
  }
  #about_img {
    width: 70%;
  }
  #exp_illu {
    margin-top: 20vh;
  }
  #p2 {
    margin-top: 25vh;
  }
}
/* Keyframes */
@-webkit-keyframes fill {
  0% {
    width: 0%;
    height: 1px;
  }
  50% {
    width: 100%;
    height: 1px;
  }
  100% {
    width: 100%;
    border-radius: 10px;
    height: 100%;
    background: #3719ca;
  }
}
