@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
/*font-family: "Montserrat", sans-serif;*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playwrite+HR+Lijeva:wght@100..400&display=swap");
/*font-family: "Playwrite HR Lijeva", cursive;*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playwrite+HR+Lijeva:wght@100..400&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
/*font-family: "Ubuntu", sans-serif;*/
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playwrite+HR+Lijeva:wght@100..400&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
/*font-family: "Dancing Script", cursive;*/
@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Dancing+Script:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playwrite+HR+Lijeva:wght@100..400&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
/*font-family: "Comfortaa", sans-serif;*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}
html {
  scroll-behavior: smooth;
}

/*---------header---------*/

header {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-color: #efefef;
  background: url("1.jpg");
  color: white;
}
.container-home {
  padding: 10px 1%;
}
.logo span {
  font-size: 40px;
  color: rgb(255, 179, 72);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
nav ul li {
  display: inline-block;
  margin: 10px 20px;
}
ul {
  list-style-type: none;
}
li a {
  color: #f8f7f7;
  text-decoration: none;
  font-size: 19px;
  position: relative;
}
nav ul li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: rgb(255, 179, 72);
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}
nav ul li a:hover::after {
  width: 100%;
}

/*------------Intro--------------*/

.intro {
  font-size: 30px;
  text-align: center;
  transform: translate(0%, 40%); /*margin: 14% 0px 0px 0px;*/
  color: rgb(244, 240, 240);
}
.intro .new {
  padding-top: -20px;
  padding-bottom: 20px;
  font-size: 16px;
  color: rgb(255, 179, 72);
  font-weight: 700;
}
.desc {
  padding-top: 10px;
  font-size: 16px;
  font-family: "Playwrite HR Lijeva";
}
.cv {
  display: inline-block;
  background-color: rgb(249, 208, 151);
  color: rgb(57, 57, 57);
  text-decoration: none;
  margin-top: 2.5%;
  padding: 20px 30px;
  font-size: 20px;
  border-radius: 50px;
  border-style: solid;
}
.cv:hover {
  color: rgb(255, 164, 36);
  background: #ffe4b5;
}

/*---------------------------------------typing text--------------------------------**/

.typing-container {
  font-size: 1em;
  color: #bbbaba;
  padding-top: 10px;
}

.cursor {
  display: inline-block;
  width: 10px;
  background-color: rgb(255, 179, 72);
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0% {
    background-color: rgb(255, 179, 72);
  }
  50% {
    background-color: transparent;
  }
  100% {
    background-color: rgb(255, 179, 72);
  }
}
/*------------------------------------------------------------*/

/*---------------------------------------About----------------------------------*/
.about-page {
  padding: 30px 0 0 10px;
  height: 100vh;
  overflow: hidden;
  text-align: center;
  background-color: #333;
}

.aboutbody {
  padding: 0em 5em 0em 5em;
}
.imgabout {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  width: 100%; /* Ensures full-width container */
}

.img-about-body {
  width: 250px; /* Adjust size */
  height: 250px; /* Adjust size */
  border-radius: 50%; /* Circular shape */
  border: 5px solid white; /* White border */
  object-fit: cover; /* Prevents stretching */
}

.aboutbody p {
  padding: 2em 1em;
  font-size: 20px;
  font-weight: 500;
  word-spacing: 5px;
  color: rgb(255, 255, 255);
  text-align: center;
  font-family: Georgia, "Times New Roman", Times, serif;
}
.para {
  box-sizing: content-box;
  background-color: rgba(255, 255, 255, 0.179);
  border-radius: 50px;
}
.about {
  padding: 0.2% 10%;
  font-size: 50px;
  color: rgb(255, 255, 255);
}
.about h1 {
  text-align: center;
}
.row {
  padding: 3%;
  display: flex;
  justify-content: space-between;
}
.img {
  width: 100%;
  flex-basis: 35%;
  /*animation: floatimage 5s ease-in;*/
}

/*
@keyframes floatimage {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateX(2.4rem);
  }
  100% {
    transform: translateY(0);
  }
}*/
/*
.about-sec {
  align-items: justify;
  padding: 3%;
  font-size: 20px;
  flex-basis: 50%;
  color: #8b7147;
}
.tabs-all {
  display: flex;
  margin: 0.6em 0 1em;
  color: #2d2d2d;
  font-family: "Comfortaa", sans-serif;
}
.tab {
  margin-right: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}
.tab::after {
  content: "";
  width: 0;
  height: 3px;
  background: rgb(69, 50, 23);
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}
.tab.active-link::after {
  width: 100%;
}
.tab-content {
  font-size: 19px;
  display: none;
}
.tab-content span {
  color: rgb(69, 50, 23);
  font-size: 16px;
}
.tab-content.active-tab {
  display: block;
}*/

/*---------------------------------------timeline--------------------------------*/
#timeline-head {
  text-align: center;
  padding: 20px 0px 40px 0px;
  font-size: 25px;
  color: white;
}
#time {
  background-color: #333;
}
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  color: rgb(59, 58, 58);
}

.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: rgb(255, 179, 72);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.container.left {
  left: 0;
}

.container.right {
  left: 50%;
}

.content {
  padding: 20px 30px;
  background: url("OIP.jpeg");
  position: relative;
  border-radius: 6px;
}
.content p {
  color: #232323;
  font-weight: 900;
  font-family: "Dancing Script", cursive;
}
.content h5 {
  color: rgb(51, 50, 50);
}
.content::before {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: rgb(255, 179, 72);
  border: 2px solid #f3f3ea;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.container.left .content::before {
  left: -17px;
}

.container.right .content::before {
  right: -17px;
}

h2,
h3 {
  margin: 0;
}

@media screen and (max-width: 600px) {
  .timeline::after {
    left: 31px;
  }

  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .container.left,
  .container.right {
    left: 0;
  }

  .content::before {
    left: -15px;
    top: 22px;
  }
}

/*-------------------------------Projects-----------------------------------*/

#projects {
  padding: 30px 0;
  font-family: "Ubuntu", sans-serif;
  background-color: #333;
}

.container-home {
  text-align: center;
}

.title h1 {
  font-size: 50px;
  color: #ffffff;
}

.list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 60px;
  margin-top: 50px;
}

.list div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #000000;
  padding: 20px;
  font-size: 16px;
  font-weight: 300;
  border-right: 10px;
  background: url("OIP.jpeg");
  transition: background 0.5s, transform 0.5s;
}

.list div img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.list div i {
  font-size: 40px;
  color: rgb(26, 26, 26);
  padding-top: 20px;
}

.list div h2 {
  padding: 30px 0px 30px 0px;
  font-size: 30px;
}

.list div p {
  text-align: justify;
}

.list div:hover {
  opacity: 0.9;
  transform: translateY(-10px);
}

@media (max-width: 1200px) {
  .list div img {
    height: 200px;
  }
  .list div {
    background: url("OIP.jpeg");
  }
}

@media (max-width: 900px) {
  .list div img {
    height: 200px;
  }
  .list div {
    background: url("OIP.jpeg");
  }
}

@media (max-width: 600px) {
  .list div img {
    height: 200px;
  }
  .list div {
    background: url("OIP.jpeg");
  }
}

/*--------------------------------contact-----------------------------------*/
#contact {
  background: url("OIP.jpeg");
  font-family: "Ubuntu", sans-serif;
}
.contact1 {
  flex-basis: 60%;
}
.contact2 {
  flex-basis: 35%;
  font-size: 20px;
}
.contact2 p {
  padding: 10px;
  letter-spacing: 2px;
}
.contact2 h1 {
  font-size: 30px;
  padding-bottom: 10%;
}
.contact2 p i {
  color: rgb(190, 155, 59);
}
.icons {
  padding: 0px 15px;
  font-size: 25px;
}
.icons a {
  text-decoration: none;
  color: rgb(247, 198, 83);
  display: inline-block;
  padding-right: 20px;
  transition: transform 0.5s;
}
.icons a:hover {
  color: rgb(255, 187, 0);
  transform: translateY(-5px);
}
.btn {
  font-size: 20px;
  background-color: rgb(254, 208, 123);
  padding: 15px 35px;
  border-radius: 30px;
  border: white solid 1px;
  cursor: pointer;
  color: #363636;
}
.btn:hover {
  background: rgb(254, 231, 174);
  color: #4b4b4b;
}
form {
  width: 100%;
}
form input,
form textarea {
  width: 100%;
  border: solid 1px;
  outline: none;
  background-color: rgb(255, 244, 231);
  padding: 15px 0px;
  margin: 15px 0px;
  color: #4a4a4a;
  font-size: 18px;
  border-radius: 6px;
}
input::placeholder,
textarea::placeholder {
  padding: 0px 10px;
  color: #434343;
}
.copyright {
  width: 100%;
  text-align: center;
  padding: 15px 0;
  font-size: 18px;
  color: #fcfcfc;
  background: url("2.jpg");
}
#msg {
  color: #694822;
  display: block;
  margin: 15px 0px 0px 8px;
}
/*-----------------------------space-fill--------------------------------
#space-fill {
  margin: 30px 0px 20px 0px;
  height: 25vh;
  width: 100%;
  object-fit: contain;
  background-image: url("space-fill.jpeg");
  background-repeat: repeat;
  background-size: contain;
  background-position: top left;
}
*/
/* styles.css */
.skills- {
  background-color: #333;
  padding: 2%;
}
.skills- h2 {
  font-size: 50px;
  text-align: center;
  color: white;
}
.skills-section {
  color: #333;
  background-color: #333;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 10px 20px;
  background-color: #333;
  justify-content: center;
  align-items: center;
}

.skills-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5em;
  color: #333;
}

.skill {
  background: url("OIP.jpeg");
  width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
  margin: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.skill-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.skill-header h3 {
  font-size: 1.2em;
  color: #575655;
  margin: 0;
}

.skill-header span {
  font-size: 1em;
  color: #555;
}

.skill-bar {
  background-color: #e0e0e0;
  border-radius: 8px;
  height: 10px;
  overflow: hidden;
  position: relative;
}

.skill-bar-fill {
  background-color: #fdd661;
  height: 100%;
  transition: width 0.5s ease;
}

/* Responsive Styles */
@media (min-width: 600px) {
  .skills {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media (max-width: 599px) {
  .skills {
    grid-template-columns: 1fr;
  }
}
