@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;1,300&family=Lora:ital@0;1&family=Roboto:wght@300&display=swap');
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  font-family: 'Roboto', sans-serif;
  background: #2d283e;
  color: #d1d7e0;
}
a {
  color: #b0b8b4ff !important;
}
.intro {
  font-size: 1.2rem !important;
}
a:hover {
  color: white !important;
}

.navbar {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2rem;
  background: #b0b8b4ff;
  opacity: 100%;
  padding: 2px 0px;
}
.navbar-dark .container-fluid .navbar-nav .nav-link {
  color: white;
  padding-left: 20px;
  margin: 5px;
  text-transform: uppercase;
}
.navbar-dark .container-fluid .navbar-nav .nav-link.active,
.navbar-dark .container-fluid .navbar-nav .nav-link:hover {
  color: white !important;
  cursor: pointer;
}

/* .width{
     max-width: 1300px;
     padding: 0 80px;
     margin:auto;
 } */

/* .home{
    display:flex;
    background: lightblue url("profile-left.jpeg") no-repeat center;
    min-height:500px;
} */

.home-content {
  position: absolute;
  top: 200;
  width: 100%;
  max-width: 100%;
  color: #d1d7e0;
  /* color: #d1d7e0; */
}

.home-content h2 {
  font-size: 5em;
  font-weight: bolder;
  font-family: monospace;
  color: black;
  color: white;
}
.home-content h5 {
  font-size: 3em;
  font-weight: 300;
  font-family: monospace;
}
.home-content h4 {
  font-size: 3em;
  font-weight: 400;
  font-family: 'ubuntu', sans-serif;
}
.home-content span {
  /* color:#0f6679; */
  color: white;
}

/* -----------------------------------------about section */

/*
 section{
    padding:50px 0;
}
*/

.row {
  justify-content: center;
}
.screen {
  /* background: linear-gradient(
    rgb(147, 201, 226) 10%,
    rgb(138, 213, 236) 20%,
    rgb(221, 161, 221)
  ); */
  background: black;
  padding: 60px 0;
}

.pic {
  margin: auto;
}
.profile {
  box-shadow: 0px 4px 8px #b0b8b4ff;
  object-fit: cover;
  margin-left: 5%;
  border-radius: 6px;
  width: 400px;
  position: relative;
  margin: auto;
  display: block;
}

.line {
  background-color: #b0b8b4ff;
}

.heading {
  margin-top: 30px;
}
.title {
  /* position:relative; */
  font-family: 'Ubuntu', sans-serif;
  font-size: 40px;
  font-weight: 500;
  color: white;
}

#about .text {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 10px;
  color: white;
  /* color: #38479a; */
}

#about .text span {
  color: aliceblue;
}

/* .right{
    flex:100%;
    margin-left:10px;
}  */
#about p {
  text-align: justify;
  color: #a4b3b6;
}

.btns {
  display: flex;
  padding: 30px;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-around;
}
.btnn {
  display: flex;
  border: 2px solid#b0b8b4ff;
  padding: 15px 20px;
  background: #403e4d;
  border-radius: 5px;
  margin-top: 10px;
  justify-content: space-around;
}
.one {
  width: 30%;
}
.two {
  width: 30%;
  text-align: center;
}

.btnn a {
  color: white;
  font-size: 1em;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
}

.btnn:hover {
  border: 2px solid#b0b8b4ff;
  cursor: pointer;
  box-shadow: 0px 4px 8px #b0b8b4ff;
  background: black;
  color: white;
}

/*---------------------------skills--------------------------------- */

#skills .h5 {
  box-shadow: 0px 4px 8px #2d283e;
  object-fit: cover;
  margin-left: 5%;
  border-radius: 6px;
  position: relative;
  margin-top: 50px;
  height: auto;
}
#skills .card {
  background-color: #d1d7e0;
}
.card {
  border: 2px solid#b0b8b4ff;
  box-shadow: 0px 4px 8px #6c6d6e;
  background: none;
  /* width:19em; */
  margin: 0px auto;
}
.card:hover {
  box-shadow: 0px 10px 20px #6c6d6e;
  transform: scale(1.05);
  /* width:22em; */
}

#projects .card-p {
  border: 2px solid#b0b8b4ff;
  box-shadow: 0px 4px 8px #6c6d6e;
  position: relative;
  background: none;
  border-radius: 20px;
  height: 350px;
  width: auto;
  background-color: antiquewhite;
  background: linear-gradient(#9ea8e0, rgb(216, 230, 238));
  /* width:19em; */
  margin: 0px auto;
}
.card-p .card-body {
  border-radius: 20px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  visibility: hidden;
  opacity: 0;
}

.card-p:hover .card-body {
  visibility: visible;
  opacity: 100%;
}

#projects .card-img-top {
  box-shadow: 0px 4px 8px #6c6d6e;
  /* margin-bottom: 0px; */
  height: 80%;
  max-width: 100%;
  width: auto;
  margin-left: 50%;
  transform: translateX(-50%);
}

#projects .card-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  /* background: linear-gradient(#9ea8e0, rgb(216, 230, 238)); */
}
#projects .card-header a {
  color: rgb(2, 24, 24) !important;
}
#projects .card-body {
  background: linear-gradient(#9ea8e0, rgb(216, 230, 238));
}
#projects .btnn {
  height: 40px;
  align-items: center;
}

#projects .h5 {
  box-shadow: 0px 4px 8px #a4b3b6;
  object-fit: cover;
  margin-left: 5%;
  border-radius: 6px;
  position: relative;
  margin-top: 50px;
  height: auto;
}

.form {
  justify-content: center;
  width: 40%;
  color: #b0b8b4ff;
}
.icon {
  color: black;
}
.icon:hover {
  color: white !important;
  /* font-size: 1.5em; */
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}
.n {
  color: black !important;
  font-size: 1.1rem;
}
/* @media (max-width:720px){
    .profile{
        height:300px;
        width:300px;
     }
} */

/* @media (min-width: 768px){
.col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
}
@media (min-width: 576px){
.col-sm-12 {
    -ms-flex: 0 0 1000%;
    flex: 0 0 100% ;
    max-width: 100% ;
}
} */

@media (max-width: 767px) {
  .profile {
    height: 400px;
    width: 400px;
  }
}

@media screen and (max-width: 767px) {
  .profilepic {
    min-height: 600px;
  }
  .navbar-dark .container-fluid .navbar-nav .nav-link {
    padding: 10px, 0;
    letter-spacing: 0.1rem;
  }
  /* .navbar-light .navbar-nav .ul1{

        padding: 10px,0;
    }
    .navbar-dark .navbar-nav .nav-link{
        letter-spacing: 0.1rem;
      } */
  .home-content h5 {
    font-size: 2em;
  }
  .home-content h2 {
    font-size: 4em;
  }
  .home-content h4 {
    font-size: 3em;
  }
  .home-content {
    top: 20%;
  }
  .post-heading h4 {
    font-size: 2.3em;
  }
}

@media screen and (max-width: 479px) {
  .profilepic {
    min-height: 500px;
  }
  .navbar-dark .container-fluid .navbar-nav .nav-link {
    padding: 7px, 0;
    letter-spacing: 0.1rem;
  }

  /* .navbar-light .navbar-nav .ul1{
        padding: 7px,0;
    }
    .navbar-dark .navbar-nav .nav-link{
        letter-spacing: 0.1rem;
    } */
  .home-content h5 {
    font-size: 1.5em;
  }
  .home-content h2 {
    font-size: 3em;
  }
  .home-content h4 {
    font-size: 2em;
  }
  .home-content {
    top: 15%;
  }
  .post-heading h4 {
    font-size: 2em;
  }
}
