@import url("https://use.typekit.net/fzm6yco.css");

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

body {
    background: black;
    color: white;
    font-family: area-normal, sans-serif;
}

header,
footer {
    width: 100%;
    background: black;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

header {
    position: sticky;
    top: 0;
    background: black;
    padding: 16px 0;
    z-index: 100;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hlogo {
    max-width: 250px;
    margin-top: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.7;
}

.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 16px;
}

.hero h1 {
    font-size: 48px;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.hero p {
    font-size: 20px;
}

.section-title {
    position: relative;
    top: 40px;
}

section.projects {
    padding: 64px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.sd {
    font-style: italic;
    font-size: 14px;
    margin-top: 10px;
}

.project {
    padding-top: 32px;
    text-decoration: none;
    color: white;
}

.project-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 16px;
    transition: 0.3s;
}

.project-img:hover {
    scale: 102%;
}

.project h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.project p {
    margin-bottom: 16px;
}

.tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tools-label {
    font-size: 15px;
    font-weight: 100;
}

.tool-icon {
    width: 24px;
    height: 24px;
}

.htmllogo {
    width: 30px;
    height: 30px;
}

.csslogo {
    width: 35px;
    height: 35px;
    margin-left: -10px;
}

.desctop {
    margin-top: 15px;
}

.po {
    margin-top: 30px;
}

.tu {
    margin-top: 50px;
}

.labelsb {
    font-weight: 600;
}

.links {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.links:hover {
    opacity: 0.7;
}

.divider {
    color: dimgray;
}

.projdec {
    margin: 0;
    padding-left: 20px;
}

.about-section {
  display: flex;
  justify-content: flex-start;
  gap: 4rem;
  padding: 96px 0 64px;
}

.about-text {
  max-width: 640px;
}

.about-img img {
  max-width: 400px;
  border-radius: 3px;
}


.cont {
    font-size: 20px;
    font-weight: medium;
    padding-bottom: 10px;
}

footer {
    margin-top: 25px;
    padding: 32px 0;
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-icon {
  width: 30px;
  margin: 0 12px;
  margin-top: 10px;
  transition: opacity 0.3s;
}

.footer-icon:hover {
  opacity: 0.7;
}

.footerl{
    text-decoration: none;
}

.about-img {
    max-width: 200px;
    border-radius: 4px;
}

.abtinfo {
    list-style-type: none;
    text-decoration: none;
}

.imgdes {
    text-align: center;
    font-style: italic;
    font-size: 14px;
}

.project-detail {
    margin-top: 80px;
}

.project-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.projectpage {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.project-title {
    margin-bottom: 15px;
}

.results-section {
  padding: 40px 0;
  color: white;
}

.table-wrapper {
  overflow-x: auto;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 16px;
  text-align: left;
  background-color: #000;
  color: white;
}

.results-table th,
.results-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #444;
}

.results-table th {
  background-color: #111;
  color: white;
}

.results-table tr:nth-child(even) {
  background-color: #1a1a1a;
}

h4 {
    margin-top: 20px;
    font-weight: 100;
}

.htmllogop {
    width: 40px;
    height: 40px;
}

.csslogop {
    width: 45px;
    height: 45px;
    margin-left: -10px;
}

.viewp {
    text-decoration: none;
    color: white;
    transition: 0.3s;
    padding-top: 40px;
}

.viewp:hover {
    opacity: 0.7;
}

.toolsu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 64px;
    }
    section.projects {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-section p {
        text-align: left;
    }

      .about-section ul {
        text-align: left;
        list-style-type: none;
      }

      .about-text,
      .about-img {
        flex: 0 0 100%;
        max-width: 100%;
      }

      .about-text {
        margin-top: 24px;
      }

      .about-img img {
        max-width: 100%;
        height: auto;
      }
}


@media (max-width: 600px) {
    .hlogo {
        max-width: 180px;
    }

    nav a {
        font-size: 13px;
    }

    .project-images {
        grid-template-columns: 1fr;
    }

    .projectpage {
        width: 100%;
    }

    header .container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .about-section {
        padding: 24px 0 64px;
    }

}
