@import url("https://fonts.googleapis.com/css2?family=Chewy&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Chewy&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #121212;
  color: #f0f0f0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: #f0f0f0;
  margin-bottom: 1rem;
}

a {
  color: #c5d3dd;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
a:hover {
  color: rgb(229.152173913, 235.3913043478, 239.847826087);
}

p {
  margin-bottom: 1.5rem;
}

#posts-section {
  display: flex;
  justify-content: center;
  gap: 4rem;
  max-width: 1500px;
  margin: 0 auto;
  padding: 5rem 6%;
}
#posts-section .posts {
  flex: 5 1 0;
  min-width: 0;
  max-width: 1100px;
  font-size: 1.3rem;
  line-height: 1.8;
}
#posts-section .recent-posts {
  flex: 1 1 400px;
  min-width: 350px;
  background: rgba(255, 255, 255, 0.07);
  padding: 2rem 2.5rem;
  border-radius: 10px;
  font-size: 1.1rem;
}
@media (max-width: 900px) {
  #posts-section {
    flex-direction: column;
    padding: 3rem 4%;
  }
  #posts-section .posts, #posts-section .recent-posts {
    max-width: 100%;
    flex: none;
    min-width: auto;
  }
  #posts-section .recent-posts {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
  }
}
@media (max-width: 480px) {
  #posts-section {
    padding: 2rem 3%;
  }
  #posts-section .posts {
    font-size: 1.1rem;
  }
  #posts-section .recent-posts {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }
}

.main-head nav ul li a {
  font-size: 1.4rem;
}
@media (max-width: 480px) {
  .main-head nav ul li a {
    font-size: 1.1rem;
  }
}

.main-head {
  background: linear-gradient(to bottom, #000, #1a1a1a);
  color: #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.main-head.hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}
.main-head.visible {
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}
.main-head nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 2rem 5%;
  max-width: 1200px;
  margin: auto;
}
.main-head nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.main-head nav ul li a {
  font-size: 1.75rem;
  color: #f0f0f0;
  text-decoration: none;
}
.main-head nav ul li a:hover, .main-head nav ul li a:focus {
  color: #c5d3dd;
  outline: none;
}
.main-head nav #logo {
  font-family: "Chewy", cursive;
  font-size: 2.8rem;
  color: #c5d3dd;
}

/* Page-wide post section layout */
#post-detail {
  display: flex;
  justify-content: center;
  padding: 4rem 1rem;
  min-height: 100vh;
  background: linear-gradient(to bottom, #121212, #1c1c1c);
}

/* Wrapper to constrain width */
.post-detail-wrapper {
  width: 100%;
  max-width: 960px;
  padding: 0 1rem;
}

/* Post card styling */
.post-detail {
  background-color: rgba(255, 255, 255, 0.03);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

.post-detail-head {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 3.2rem;
  margin-bottom: 1rem;
}

.date {
  font-size: 1.3rem;
  color: #999;
  margin-bottom: 1.5rem;
}

.post-body {
  font-size: 2.15rem;
  margin-top: 1.5rem;
}
.post-body p {
  margin-bottom: 1.2rem;
}
.post-body br {
  margin-bottom: 0.8rem;
}
.post-body pre {
  background-color: #1e1e1e;
  color: #d4d4d4;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-family: "Fira Mono", "Consolas", "Monaco", monospace;
  font-size: 2.5rem;
  overflow-x: auto;
  margin: 1rem 0;
  line-height: 1.4;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}
.post-body code {
  background-color: #f4f4f4;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: "Fira Mono", monospace;
  font-size: 2.95rem;
}

/* Container adjustments */
.container {
  max-width: 700px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Individual comment */
.comment {
  border: 1px solid #ddd;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.comment .info {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.comment .comment-body {
  font-size: 1rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

/* Form styling */
form.form-row {
  display: flex;
  flex-direction: column;
}

form label {
  color: #ccc;
}

.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: block;
}
.form-group input[type=text],
.form-group input[type=email],
.form-group textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  background: rgba(255, 255, 255, 0.07);
}
.form-group input[type=text]:focus,
.form-group input[type=email]:focus,
.form-group textarea:focus {
  border-color: #4a90e2;
  outline: none;
}
.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.submit-input {
  align-self: flex-start;
  background-color: #4a90e2;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.submit-input:hover {
  background-color: #357abd;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .container {
    padding: 0 0.5rem;
  }
}
.hero {
  min-height: 40vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(18, 18, 18, 0.9)), url("../img/contact.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
}
.hero h1 {
  background: linear-gradient(#ffffff, #091d1d);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3rem;
}
.hero h2 {
  font-size: 6rem;
  margin-bottom: 2rem;
  color: #f0f0f0;
  font-family: "Poppins", sans-serif;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  background: linear-gradient(#ffffff, #f1f1f1, #3d3d3d);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h3 {
  font-size: 2.4rem;
  color: #ccc;
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero h2 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
  }
  .hero h3 {
    font-size: 1.6rem;
  }
}
@media (max-width: 480px) {
  .hero h2 {
    font-size: 2.4rem;
  }
  .hero h3 {
    font-size: 1.4rem;
  }
}

footer {
  background: #1a1a1a;
  padding: 2rem 5%;
  color: #ccc;
  text-align: center;
}
footer .footer-wrapper {
  max-width: 1200px;
  margin: auto;
}
footer .footer-wrapper h5 {
  margin-bottom: 1rem;
}
footer .footer-wrapper ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
}
footer .footer-wrapper ul img {
  width: 2.4rem;
  filter: brightness(0.8);
  transition: all 0.3s ease-in-out;
}
footer .footer-wrapper ul img:hover {
  filter: brightness(1);
}

#portfolio {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card-portfolio {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.card-portfolio:hover {
  transform: translateY(-5px);
}

.card-portfolio .img-portfolio img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-portfolio .text {
  padding: 1rem 1.2rem;
  font-size: 1rem;
  color: #333;
  flex-grow: 1;
}

.card-portfolio .text p {
  margin-bottom: 1rem;
  line-height: 1.4;
}

.card-portfolio .text a {
  display: inline-block;
  text-decoration: none;
  background-color: #4a90e2;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.card-portfolio .text a:hover {
  background-color: #357abd;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .card-portfolio {
    flex-direction: column;
  }
}
.hero-contact {
  min-height: 40vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(18, 18, 18, 0.9)), url("../img/contact.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-contact h2 {
  font-size: 6rem;
  margin-bottom: 2rem;
  color: #f0f0f0;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}
.hero-contact h3 {
  font-size: 2.4rem;
  color: #ccc;
}

.contact {
  max-width: 480px;
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.07);
}

.form-wrapper h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: #cac9c9;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #cac9c9;
}

.input input,
.input textarea {
  width: 100%;
  padding: 0.55rem 0.8rem;
  font-size: 1rem;
  border: 1.8px solid #cac9c9;
  border-radius: 6px;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.input input:focus,
.input textarea:focus {
  border-color: #4a90e2;
  outline: none;
  box-shadow: 0 0 6px rgba(74, 144, 226, 0.5);
}

.input textarea {
  min-height: 100px;
}

.sendBtn {
  padding: 0.7rem 1rem;
  background-color: #4a90e2;
  color: white;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.sendBtn:hover {
  background-color: #357abd;
}

/* Checkbox container */
.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #555;
  font-weight: 500;
}

.error-container {
  min-height: 100vh;
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("/static/img/CAR.jpg") no-repeat top center;
  background-size: cover;
  background-attachment: fixed;
  text-align: center;
}

.error-wrapper {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 1rem;
  padding: 4rem 2rem;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.error-wrapper h1 {
  font-size: 8rem;
  color: #4a90e2;
  margin-bottom: 1rem;
  background: linear-gradient(#ffffff, #091d1d);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.error-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  background: linear-gradient(#ffffff, #f1f1f1, #3d3d3d);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #ccc;
  background: linear-gradient(#ffffff, #f1f1f1, #3d3d3d);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.back-home {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #4a90e2;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.back-home:hover {
  background: #357abd;
}

/*# sourceMappingURL=style.css.map */
