@import url(clash-display.css);
@import url(boska.css);
@import url(satoshi.css);

:root{
    --primary-color: #E6E6F0;
    --border-color: #A0A3C0;
    --accent-color: #b162db;
    --background-color: #0b0b0b;
}

body{
    background-color: var(--background-color);
    color: var(--primary-color);
    width: 90%;
    margin: 0 auto;
}

header{
    position: relative;
    text-align: left;
    width: 75%;
    margin: 15px auto 0 auto;
    top: 50px;
    background: transparent;
}

header h1{
    font-size: 90px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-family: 'Boska-Medium';
}

header h3{
    font-size: 50px;
    color: var(--primary-color);
    font-family: 'Boska-Medium';
}

header h4{
    font-size: 24px;
    color: var(--border-color);
    font-family: 'Boska-Medium';
}

header h5{
    font-size: 18px;
    color: var(--border-color);
    font-family: 'satoshi-regular';
}

#nav-bar {
    position: sticky;
    top: 0;
    width: 80%;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    margin: 0 auto;
}

.logo {
    margin-left: 0;
    border: 1px solid var(--border-color);
    padding: 5px 10px;
    border-radius: 500px;
    font-size: 16px;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center; 
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin-left: 1rem;
}

.nav-list a, .logo a, section a{
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1em;
    font-family: 'Satoshi-Light';
}

.nav-list a:hover, .logo a:hover, section a:hover{
    color: var(--border-color);
    font-family: 'Satoshi-LightItalic';
}

footer{
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: transparent;
    text-align: center;
    padding: 10px 0;
    
}

main{
    position: relative;
    top: 50px;
    /* text-align: center; */
    padding-bottom: 60px;
    font-family: 'satoshi-regular';
}

section{
    border-radius: 8px;
    padding: 30px; 
    border-bottom: 1px solid var(--border-color);
    position: relative;
    text-align: left;
    width: 75%;
    margin: 15px auto 0 auto;
    background: transparent;
}

section h3{
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

section p{
    font-size: 20px;
    color: var(--primary-color);
}

#latest-project{
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    padding: 10px 16px;
    height: 400px;
    width: 300px;
}
#latest-project:hover{
    border: 2px solid #E6F1FF;
    color: #85a805;
}

#latest-project-list{
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
}

#latest-project img{
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.quick-box{
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 30%;
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
}

.quick-box a, section a{
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
    color: var(--primary-color);
}

.quick-box h6{
    font-size: 18px;
    color: var(--accent-color);
}

.quick-box ul{
    list-style: square;
}

#top-boxes{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

#contact-form{
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50%;
    margin: 0 auto;
}

#contact-form button{
    width: 100px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 16px;
    cursor: pointer;
    margin: 0 auto;
}

#contact-form button:hover{
    background-color: #85a805;
}

#contact-form input, #contact-form textarea{
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: transparent;
    color: var(--primary-color);
    font-size: 16px;
}

#contact-form div{
    margin: 0 auto;
}

#disclaimer{
    font-size: 12px;
    color: var(--border-color);
    text-align: center;
    margin-top: 20px;
}

.project-image{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.project-card{
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    background-color: transparent;
    color: var(--primary-color);
    text-align: center;
    width: 30%;
    margin-bottom: 20px;
}

.project-card p{
    font-size: 16px;
    color: var(--primary-color);
}

#projects{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

#project-details{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

#project-details h5{
    font-size: 18px;
    color: var(--accent-color);
}

#project-details img{
    margin: auto;
}

#description{
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    background-color: transparent;
    width: 100%;
}

#skills{
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    background-color: transparent;
    width: 40%;
    margin-right:7%;
    margin-left: 4%
}

#skills li{
    margin-bottom: 10px;
}

#purpose{
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    background-color: transparent;
    width: 40%;
    margin-left: 5%;
}

#purpose li{
    margin-bottom: 10px;
}

/* Mobile optimization */
@media (max-width: 768px) {
  body {
    width: 100%;
    margin: 0;
    padding: 0 10px;
  }

  header {
    width: 95%;
    text-align: center;
    top: 20px;
    margin: 0 auto;
  }

  header h1 {
    font-size: 40px;
  }

  header h3 {
    font-size: 24px;
  }

  header h4 {
    font-size: 18px;
  }

  header h5 {
    font-size: 14px;
  }

  #nav-bar {
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
  }

  .nav-list {
    flex-direction: column;
    gap: 10px;
  }

  section {
    width: 95%;
    padding: 15px;
  }

  #latest-project-list {
    flex-direction: column;
    align-items: center;
  }

  #latest-project {
    width: 100%;
    height: auto;
  }

  .quick-box {
    width: 100%;
    margin-bottom: 20px;
  }

  #top-boxes {
    flex-direction: column;
    align-items: center;
  }

  .project-card {
    width: 100%;
  }

  #projects {
    flex-direction: column;
    align-items: center;
  }

  #project-details {
    flex-direction: column;
    align-items: center;
  }

  #project-details img {
    width: 100%;
    height: auto;
  }

  #skills, #purpose {
    width: 100%;
    margin: 0 0 20px 0;
  }

  #contact-form {
    width: 95%;
  }
}