@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");
@import url("./nav_styles.css");
@import url("./userStyles.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  overflow-x: hidden;
}

.loader {
  width: 100px;
  height: 100px;
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.6s ease;
}

.loaderSlide {
  top: 50%;
}

.first {
  background-color: #eaf2f8;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: first 1.2s infinite alternate;
}

.second {
  background-color: #a9cce3;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10%;
  height: 10%;
  border-radius: 50%;
  animation: second 1.2s infinite alternate;
}

@keyframes first {
  from {
    width: 100%;
    height: 100%;
  }
  to {
    width: 10%;
    height: 10%;
    z-index: 222;
    background-color: #eaf2f8;
  }
}

@keyframes second {
  from {
    width: 10%;
    height: 10%;
  }
  to {
    width: 100%;
    height: 100%;
  }
}

.hide {
  opacity: 0;
}

.mainContent {
  width: 100%;
  display: none;
  transition: all 0.6s ease;
}

.showContent {
  display: block;
  opacity: 0;
}



/*skills*/

.skills {
  /*border: 1px solid gold;*/
  width: 95%;
  margin: 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px;
  position: relative;
}
.skills .skills-label {
  /*  position: absolute;
  top: 20px;
  left: 20px;*/
  width: 100%;
  margin-bottom: 10px;
  letter-spacing: 1px;
  font-weight: 400;
  color: #333;
  padding-left: 25px;
  font-family: "Open Sans", sans-serif;
}

.skill {
  /*border:  1px solid red;*/
  padding: 20px;
  display: flex;
  flex-direction: column;
  /*justify-content: flex-start;*/
  align-items: flex-start;
  width: 50%;
}

.skill .range {
  /*border: 1px solid blue;*/
  background: #eee;
  position: relative;
  width: 100%;
  height: 10px;
  margin-left: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -11;
}

.skill .range .shade {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #444;
}

.skill .skill-label {
  margin-left: 10px;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  color: gray;
  margin-bottom: 4px;
}

.html-shade {
  width: 100%;
}

.css-shade {
  width: 95%;
}

.js-shade {
  width: 85%;
}

.react-shade {
  width: 90%;
}

.node-shade {
  width: 70%;
}

.python-shade {
  width: 50%;
}

@media screen and (max-width: 700px) {
  .skills {
    flex-direction: column;
  }

  .skills .skills-label {
    padding-left: 5px;
  }

  .skills .skill {
    width: 100%;
    padding: 15px 15px 15px 0;
  }

  .loader {
    width: 60px;
    height: 60px;
  }
}

/* contact_page */

.contact_section {
  width: 100%;
  height: 90vh;
  background-color: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact_section img {
  width: 150px;
  height: 100px;
}

.contact_content {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #fff;
}

.contact_content * {
  padding-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
  color: gray;
}

.contact_content .email,
.phone {
  font-size: 17px;
}

.contact_content .street,
.city {
  font-size: 14px;
}

.contact_content .street {
  margin-top: 20px;
}

.contact_footer {
  text-align: center;
  font-size: 14px;
  background-color: #333;
  height: 120px;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.contact_footer a {
  text-decoration: none;
  color: white;
}

.mailto {
  margin-top: 10px;
}

@media screen and (max-width: 400px) {
  .contact_content {
    width: 320px;
    height: 320px;
  }
  .contact_footer p {
    width: 80%;
    font-size: 12px;
  }
}

/* projects page */

.projects_container {
  padding: 20px;
  margin: 20px auto;
}

.projects {
  background-color: #f5f5f5;
  display: flex;
  padding: 10px 0;
  width: 92%;
  margin: 10px auto;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.project {
  position: relative;
  margin: 0 10px 10px 0;
  overflow: hidden;
  width: 300px;
  height: 200px;
}
.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project_details {
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  bottom: -100%;
  transition: 0.4s linear;
}

.project_details .project_name {
  font-size: 22px;
}

.project .overlay {
  background-color: black;
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  transition: 0.4s linear;
}

.project_details a {
  text-decoration: none;
  padding: 10px;
  margin-top: 20px;
  color: white;
  border-radius: 20px;
  border: 1px solid white;
  transition: 0.2s ease;
}

.project:hover .project_details {
  bottom: 0;
}

.project:hover .overlay {
  opacity: 0.7;
}

.project a:hover {
  background-color: white;
  color: black;
}

@media screen and (min-width: 520px) and (max-width: 700px) {
  .project {
    width: 45%;
    height: 150px;
  }
}

@media screen and (max-width: 400px) {
  .projects {
    background-color: white;
  }
}

/* recent projecs */

.rp_label {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  margin-bottom: 20px;
  margin-left: 45px;
}

.rp_link {
  text-decoration: none;
  margin: 10px 0;
  font-size: 18px;
  margin-left: 45px;
}

@media screen and (max-width: 699px) {
  .rp_label,
  .rp_link {
    margin-left: 20px;
  }
}

.reach_me {
  margin-top: 10px;
}

.reach_me * {
  margin-right: 5px;

  font-size: 16px;
}

.about_me {
  padding: 80px;
  color: #9e9e9e;
}

.about_me h1,
h2 {
  font-weight: 300;
}
.about_me h1 {
  font-size: 32px;
}
.about_me h2 {
  margin-top: 10px;
  font-size: 28px;
}

.about_me_desc {
  margin-top: 20px;
}

.about_me_desc p {
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.about_me_footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
.dash {
  margin-right: 5px;
}

@media screen and (max-width: 570px) {
  .about_me {
    padding: 40px;
  }
  .about_me h1 {
    font-size: 26px;
  }
  .about_me h2 {
    font-size: 22px;
  }
}

@media screen and (max-width: 750px) and (min-width: 571px) {
  .about_me {
    padding: 50px;
  }
}
