@import url("https://fonts.googleapis.com/css2?family=Bree+Serif&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

/* Global variables */
:root {
  --primary: #12bdff;
  --primary-hover: #0c8ec2;
  --dark-primary: #1b1f24;
  --section-max-width: 700px;
  background-color: var(--dark-primary);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Bree Serif", serif;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-primary);
    padding: 30px 300px 30px 300px;
    color: #fff;
    display: flex;
    align-items: center;
    z-index: 1;
	margin-left: auto;
    margin-right: auto;
    max-width: 1600px;
	justify-content: space-between;
   align-items: center;
   width: 100%;
}

.logo-container {
   flex-grow: 1;
}

.nav-container {
   display: flex;
}

header .logo {
  color: var(--primary);
  margin-right: 130px;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 2px;
}

header ul {
  display: flex;
  list-style: none;
}

header ul li {
  margin-right: 30px;
}

header ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease 0s;
}

header ul li a:hover {
  color: var(--primary);
  transition: all 0.3s ease 0s;
}

/* Hero Section */
section.hero-section {
    color: #fff;
    display: flex;
    align-items: center;
    padding: 120px 300px 0px 300px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1600px;
}

.hero-section__title {
  font-size: 48px;
  font-weight: 400;
  padding-bottom: 10px;
}

.hero-section__title span {
  color: var(--primary);
}

.hero-section h3{
  letter-spacing: 2px;
}

.hero-section__desc {
  color: #c4c4c4;
  font-family: Arial;
  line-height: 20px;
}

.hero-img img {
  margin-left: 30px;
  border-radius: 15px;
}

.social-icons {
  margin: 18px 0;
}

ul.social-icons {
  list-style: none;
  display: flex;
}

.social-icons li {
  margin-right: 15px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  padding: 8px 12px;
}

.social-icons li:hover {
  background-color: var(--primary);
  transition: all 0.3s ease 0s;
}

.social-icons li a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease 0s;
}

.hero-buttons button {
  margin: 20px 0px 0px 0px;
}

.hero-buttons button > a {
  text-decoration: none;
  color: var(--primary);
  padding: 10px 20px;
}

.contact-info {
  padding-top: 20px;
  }
.contact-info a {
  text-decoration: none;
  color: inherit;
  padding-right: 10px;
  font-family: Arial;
  line-height: 20px;
  }

.contact-info a:visited {
  color: inherit;
}

/* buttons */
.btn {
  padding: 10px 0px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease 0s;
}

.btn.btn-primary {
  background-color: var(--primary);
  color: var(--dark-primary);
  font-weight: 400;
}

.btn.btn-primary:hover {
  background-color: #2b4048;
  transition: all 0.3s ease 0s;
}

.btn-dark-outlined {
  background-color: var(--dark-primary);
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 5px;
  font-weight: 400;
}

.btn-dark-outlined:hover {
  cursor: pointer;
  background-color: #2b4048;
  color: #fff !important;
  transition: all 0.3s ease 0s;
}

/* About Section */
section.about-section {
  background-color: #22282f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.about-img img {
  width: 300px;
  padding: 2px;
  border-radius: 50%;
  object-fit: cover;
}

.about-content {
  margin-left: 100px;
  max-width: 600px;
}

.about-content h2 {
  font-size: 33px;
  letter-spacing: 2px;
}

.about-content h2 > span {
  color: var(--primary);
  letter-spacing: 2px;
}

.about-content p {
  color: #c4c4c4;
  font-size: 15px;
}

.about-content button {
  margin-top: 30px;
  font-size: 15px;
}

.about-content button > a {
  text-decoration: none;
  color: var(--dark-primary);
}

.skills-container {
    display: flex;
    gap: 20px; /* Space between the two sections */
	background-color: var(--dark-primary);
	padding-left: 120px;
    padding-right: 120px;
}

section.skills-section {
  background-color: var(--dark-primary);
  color: #fff;
  padding: 40px 0px 1px 0px;
}

.skills-section {
    flex: 1; /* Ensures equal width */
    min-width: 0; /* Prevents overflow */
}

.skills-section h2 {
  font-size: 28px;
  letter-spacing: 2px;
}

.skills-section h2 > span {
  color: var(--primary);
  letter-spacing: 2px;
}

/* Work Section */
section.work-section {
  background-color: var(--dark-primary);
  color: #fff;
  padding: 80px 120px 1px 120px;
}

.work-section h2 {
  font-size: 28px;
  text-align: center;
  letter-spacing: 2px;
}

.work-section h2 > span {
  color: var(--primary);
  letter-spacing: 2px;
}

.work-cards {
  display: flex;
}

.work-card-box {
  width: 33.33%;
  margin: 35px 10px;
  padding: 33px;
  background-color: #22282f;
  border-radius: 5px;
  transition: all 0.5s ease 0s;
}

.work-card-box__icons > i {
  font-size: 30px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  padding: 20px;
}

.work-img img {
  border-radius: 5px;
  margin-top: 20px;
}

.work-card-box:hover .work-card-box__icons > i {
  color: var(--primary);
  background-color: var(--dark-primary);
  transition: all 0.5s ease 0s;
}

.work-card-box__desc h3 {
  font-size: 18px;
  margin: 18px 0 10px 0;
  letter-spacing: 2px;
}

.work-card-box__desc p {
  font-size: 16px;
  color: #c4c4c4;
  font-family: Arial;
  line-height: 20px;
}

.work-card-box__buttons {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.work-card-box__buttons button {
  background-color: #22282f;
}

.work-card-box__buttons button > a {
  text-decoration: none;
  font-size: 13px;
  color: var(--primary);
  padding: 10px 20px;
}

.work-cards {
  display: flex;
}

.work-details-box {
  width: 100%;
  margin: 35px 10px;
  padding: 33px;
  background-color: #22282f;
  border-radius: 5px;
  transition: all 0.5s ease 0s;
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 1000px;
}

.skills-details-box {
    padding: 33px;
    background-color: #22282f;
    border-radius: 5px;
    transition: all 0.5s ease 0s;
    margin-left: auto;
    margin-right: auto;
    display: block;
	max-width: 1000px;
}

.work-details-box__icons > i {
  font-size: 30px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  padding: 20px;
}

.work-img img {
  border-radius: 5px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.work-details-box:hover .work-details-box__icons > i {
  color: var(--primary);
  background-color: var(--dark-primary);
}

.work-details-box__desc h2 {
  text-align: left;
}

.work-details-box__desc h3 {
  font-size: 22px;
  margin: 18px 0 10px 0;
  letter-spacing: 2px;
    font-weight: 400;
}

.work-details-box__desc h4 {
  font-size: 18px;
  margin: 18px 0 10px 0;
  letter-spacing: 2px;
  color: var(--primary);
}

.work-details-box__desc h5 {
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 2px;
  margin: 10px 0px;
}

.work-details-box__desc p,
.work-details-box__desc ul,
.work-details-box__desc li {
  font-size: 16px;
  color: #c4c4c4;
  font-family: Arial;
  line-height: 20px;
}

.work-disclaimer {
    font-size: 16px;
    color: #c4c4c4;
    font-family: Arial;
    line-height: 20px;
    font-style: italic;
    margin: 18px auto;
    background-color: #36404b;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    width: fit-content;
}

.work-details-box__desc ul {
  padding-left: 20px;
}

.work-details-box__desc li {
  list-style-type: disc;
  margin-top: 5px;
  margin-bottom: 5px;
}

.work-details-box__desc p {
  margin-bottom: 5px !important;
}

.work-details-box__buttons {
  margin-top: 25px;
  display: flex;
  justify-content: right;
  align-items: center;
  min-width: 100px;
}

.work-details-box__buttons button {
  background-color: #22282f;
  min-width: 110px;
}

.work-details-box__buttons button > a {
  text-decoration: none;
  font-size: 13px;
  color: var(--primary);
  padding: 10px 10px;
}

/* Contact Section */
section.contact-section {
  background-color: #22282f;
  color: #fff;
  text-align: center;
  padding: 30px;
}

.contact-section h2 {
  font-size: 28px;
  margin: 18px 0;
  letter-spacing: 2px;
}

.contact-section h2 > span {
  color: var(--primary);
  letter-spacing: 2px;
}

.contact-section form div > input,
textarea {
  background-color: #c4c4c4;
  width: 300px;
  padding: 5px 8px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: none;
  outline: none;
  resize: none;
  font-family: "Poppins", sans-serif;
}

.contact-section form div > input:focus,
textarea:focus {
  border: 1px solid var(--primary);
}

.contact-section form div > button {
  font-size: 14px;
}

.contact__github {
  margin-top: 15px;
}

.contact__github button {
  padding: 10px 44px;
  background-color: #171515;
  font-size: 14px;
}

.contact__github button > a {
  text-decoration: none;
  color: #fff;
}

.contact__github button > a > i {
  font-size: 16px;
}

.contact__github button:hover {
  background-color: #030303;
}

/* Footer */
footer {
  background-color: var(--dark-primary);
  color: gray;
  text-align: center;
  padding: 15px 0;
  font-size: 13px;
}

footer a {
  text-decoration: none;
  color: var(--primary);
}

.footer-buttons {
  margin-top: 10px;
}

.footer-buttons button {
  padding: 8px 10px;
  margin-right: 5px;
  cursor: pointer;
  font-weight: 400;
  border-radius: 8px;
}

.footer__theme1 {
  color: var(--primary);
  background-color: transparent;
  border: 1px solid var(--primary);
  transition: all 0.5s ease 0s;
}

.footer__theme1:hover {
  background-color: var(--primary);
  color: #fff;
  transition: all 0.5s ease 0s;
}

.footer__theme2 {
  color: #ff5555;
  background-color: transparent;
  border: 1px solid #ff5555;
  transition: all 0.5s ease 0s;
}

.footer__theme2:hover {
  background-color: #ff5555;
  color: #fff;
  transition: all 0.5s ease 0s;
}

.footer__theme3 {
  color: #ff29e4;
  background-color: transparent;
  border: 1px solid #ff29e4;
  transition: all 0.5s ease 0s;
}

.footer__theme3:hover {
  background-color: #ff29e4;
  color: #fff;
  transition: all 0.5s ease 0s;
}

.active-theme {
  background-color: #12bdff;
  color: white;
}

/* Media queries */
@media only screen and (max-width: 768px) {
  header {
    flex-direction: column;
	padding: 20px 40px 20px 40px;
  }
  header .logo {
    margin: auto;
  }

  header ul {
    margin-top: 10px;
	margin-left: 40px;
  }
  
  .skills-details-box {
	  padding: 10px
  }
  
  .work-details-box {
	  padding: 10px
  }

  /* Hero Section */
  section.hero-section {
    flex-direction: column;
    padding: 130px 15px 0px 15px;
  }

  .hero-img img {
    margin-left: 30px;
    border-radius: 15px;
    margin: 30px 0px;
    width: 100%;
  }

	.work-img img {
		border-radius: 5px;
		margin: 30px 0px;
		width: 100%;
	}
  
  .btn-dark-outlined {
    display: block;
	margin: 20px auto 0px auto !important;
  }
	
  .work-card-box {
    padding: 10px;
  }

  /* About Section */
  section.about-section {
    flex-direction: column;
    padding: 40px;
  }

  .about-content {
    margin-left: 0;
    margin-top: 30px;
  }

  /* Projects Section */
  section.work-section {
    padding: 100px 15px 40px 15px;
  }
  
  section.skills-section {
    padding: 1px 15px 40px 15px;
  }

  .work-cards {
    margin-top: 15px;
    flex-direction: column;
  }

  .work-card-box {
    width: 100%;
    margin: 10px 0;
  }

  /* Contact Section */
  .contact-section form div input,
  textarea {
    width: 100%;
  }
}

.skills-category {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: var(--section-max-width);
	padding-bottom: 5px;
}

.chip {
    display: inline-block;
    font-size: 14px;
    padding: 5px 10px;
    border: 1px solid #D7D7D7;
    border-radius: 20px;
    margin-right: 10px;
	margin-bottom: 10px;
	font-family: Arial;
    line-height: 20px;
}

.max-space {
  width: 100%;
}