:root {
  --bg: #0f1724;
  --card: #0b1220;
  --muted: #cfc4c4;
  --accent: #4fd1c5;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgb(255 255 255 / 69%);
  --text: #e6eef6;
  --br: #4cafef;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-align: center;
  text-decoration: none;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
.accent {
  color: var(--accent);
}
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}
a {
  color: var(--br);
  transition: 0.3s ease-in-out;
}
h1 {
  font-size: xxx-large;
  margin: auto;
  padding: 0.75rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text);
  text-align: center;
}
p {
  color: var(--muted);
  font-size: 30px;
  font-weight: 500;
  width: 75%;
  text-align: center;
  margin: auto;
  padding: 1.5rem;
}
nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: sticky;
  top: 0;
  background-color: var(--bg);
  z-index: 1000;
  border: 2px var(--br) solid;
  padding: 0.5rem 0.5rem;
  width: 100%;
  height: 50px;
  font-size: large;
  gap: 10rem;
}
.logo {
  font-weight: bold;
  margin: 0px 10rem;
  font-size: x-large;
}
.nav-links {
  display: flex;
  gap: 3rem;
}
.nav-links a {
  height: 30px;
}
.nav-links a:hover {
  color: var(--accent);
  border-bottom: 2px var(--br) solid;
  transform: translateY(-2px);
}
.header-content {
  margin: 3rem;
}
.jop {
  font-size: xx-large;
  padding: 0;
}
.CV {
  border-radius: 15px;
  font-size: large;
  color: var(--text);
  padding: 9px;
  background-color: var(--accent);
  font-weight: 800;
}
.CV:hover {
  background-color: var(--text);
  color: var(--accent);
}
.contact-linkes {
  width: 70%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.Accounts {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  margin: 0;
}
li a {
  background-color: var(--br);
  color: var(--text);
  transition: 0.2s linear;
  padding: 15px;
  border-radius: 50%;
  font-size: 40px;
  font-weight: 700;
  display: flex;
}
li a:hover {
  background-color: var(--text);
  color: var(--accent);
}
.connect-container .contact-linkes ul {
  display: flex;
  flex-direction: column;
}

.aboutme span,
.projects-hed span,
.skills span,
.certificates span,
.contact span {
  font-size: xxx-large;
  margin: auto;
  padding: 0.75rem;
  margin: 3rem;
  border-bottom: 3px solid var(--br);
}
.about {
  display: flex;
  margin: 2rem;
  width: 95%;
}
img {
  width: 35%;
}
.about img {
  max-width: 25%;
  height: auto;
  border-radius: 35%;
}
.education {
  width: 95%;
  text-align: center;
  font-size: x-large;
}
.education h3 {
  color: var(--accent);
  font-size: xx-large;
  font-weight: 700;
  margin: -53px 0 1rem;
}
.br {
  width: 57%;
  text-align: center;
  height: 5px;
  color: var(--br);
  margin: 8rem auto 4rem;
  border-bottom: 3px solid;
}
.projects {
  display: flex;
  width: 90%;
  margin: 3rem auto;
  gap: 2%;
  height: 40%;
}
.projects img {
  width: 100%;
  height: 50%;
  border-bottom: 2px solid var(--muted);
}
.projects h3 {
  margin-inline: 1rem;
  font-size: xx-large;
}
.projects p {
  font-size: x-large;
  width: 90%;
  padding: 1rem;
}
.projects a {
  margin: 1rem;
}
.projects a span:hover {
  background-color: var(--text);
  color: var(--accent);
}
.projects a span {
  font-size: x-large;
  background-color: var(--br);
  color: var(--text);
  border-radius: 10px;
  padding: 4px;
  transition: 0.4s ease-in-out;
  font-weight: 700;
}
.portfolio {
  border: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.agency {
  border: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.programming-skills table {
  margin: 4rem auto;
  border-collapse: collapse;
  width: 70%;
  border-radius: 8px;
  overflow: hidden;
}
.programming-skills th {
  background-color: var(--br);
  color: var(--text);
  padding: 12px;
  font-size: 1.25rem;
}
.programming-skills td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  font-size: 1rem;
}
.littelbr {
  width: 20%;
  text-align: center;
  height: 5px;
  color: var(--br);
  margin: 47px auto;
  border-bottom: 3px solid;
}
.certifivates-photos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 3rem 0;
  gap: 1rem 0;
}
.certifivates-photos figure img {
  border-radius: 10px;
  transition: transform 0.3s ease;
  width: 75%;
}
.certifivates-photos figcaption {
  margin-top: 10px;
  color: var(--br);
  text-align: center;
  font-size: larger;
  font-weight: 900;
}
.certifivates-photos figure {
  flex: 1 1 calc(50% - 2rem);
  max-width: calc(50% - 2rem);
  box-sizing: border-box;
}
.certifivates-photos figure:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
  z-index: 5;
  transform: scale(1.01);
}
.certifivates-photos figure:hover img {
  transform: scale(1.05);
}
.conectme {
  font-size: 28px;
  text-align: center;
  color: var(--accent);
  margin: 1rem 0 2rem 0;
}
.connect-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.connect-container .contact-linkes ul li a {
  font-size: 25px;
  width: fit-content;
  margin: 4px auto;
}
.connect-container .contact-linkes ul li a:hover {
  background-color: var(--text);
  color: var(--accent);
}
.connectside {
  flex: 1;
  min-width: 250px;
  padding: 1rem;
  border-radius: 10px;
}
.connectside p {
  font-size: 22px;
  width: 100%;
}
.form {
  flex: 2;
  background-color: #162322;
  padding: 1.5rem;
  border-radius: 10px;
}
.form h3 {
  margin-bottom: 1rem;
  text-align: center;
}
.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}
input[type="text"],
input[type="email"],
textarea {
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #0f1817;
  color: #fff;
}
input[type="submit"] {
  margin-top: 15px;
  padding: 10px 15px;
  border: none;
  background-color: var(--br);
  color: var(--text);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
}
input[type="submit"]:hover {
  background-color: #0056b3;
}
footer {
  margin-top: 1rem;
  width: 100%;
  height: 85px;
  text-align: center;
  background-color: #020305;
}
