/* General */

* {
    box-sizing: border-box;
}

p,h1,h2,h3, span{
    font-family: "Press Start 2P", cursive;
    color: white;
    text-align: center;
    padding: 0;
}
p {
    font-family: "DM Mono", monospace;
}

Body {
    padding: 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

button {
    border: none;
    background-color: darkmagenta;
    color: white;
    font-family: "Press Start 2P", cursive;  
    cursor: pointer;
    transition: 500ms;
}
button:hover {
    transform: scale(1.1);
}

/* header */

header {
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #0F325D;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 5px solid pink;
    min-height: 55px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-nav button {
    border: none;
    background-color: darkmagenta;
    color: white;
    padding: 12px;
    transition: 500ms;
}

.header-nav button:hover {
    background-color: white;
    color: darkmagenta;
}
/* Body Styles */

main {
    padding-top: 65px;
    background: #1A1A2E;

}

#doll {
  opacity: 0;
  transform: translateY(20px); 
  transition:  0.8s ease, transform 0.3s ease; 
}

#doll.show-doll {
  opacity: 1;
  transform: translateY(0);
}

#doll:hover {
    transform: scale(1.1);
}

.body-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hero {
    min-height: calc(100vh - 65px);
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

aside {
    border-right: 2px solid blue;
    width: 200px;
    flex-shrink: 0;
}

aside nav{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#aboutMeBtn {
    padding: 20PX;
    font-family: "Press Start 2P", cursive;

}

#aboutMeDiv {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition:
        opacity 0.3s ease-out,
        transform 0.3s ease-out,
        visibility 0.3s;

    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border: lightseagreen solid 5px;
    background-color: rgba(135, 206, 235, 0.08);
    width: 450px;
}

#aboutMeDiv.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#aboutMeDiv p {
    font-family: "Kode Mono", monospace;
    font-size: 20px;
    /* line-height: 1.5; */
 
}

#aboutMe {
    opacity: 1;

}

/* Building */

.building {
    border-top: 3px dashed #3f3f66;
    background-color: #121225;
    padding: 50px;
    box-sizing: border-box;
}

.section-label {
    color: #ff9dcc;
    font-family: "Press Start 2P", cursive;
    font-size: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.building-box {
    background-color: #1c1c38;
    border: 4px solid #5542a8;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: row;
    margin: auto;
    gap: 25px;
    padding: 20px;
    max-width: 800px;
}

.building-content {
    display: flex;
    align-items: flex-start;
    justify-content: left;
    flex-direction: column;
}

.building-box h2 {
    color: white;
    font-family: "Press Start 2P", cursive;
    font-size: 18px;
    margin: 0;
}

.building-box p {
    line-height: 1.6;
    font-family: "DM Mono", monospace;
    margin: 15px;
    color: grey;
}

.building-icon {
    width: 50px;
    height: 50px;
    padding: 10px;
    display: flex;
    background-color: red;
    align-items: center;
    justify-content: center;
}

.status {
    align-self: flex-start;
    color: greenyellow;
    font-family: "DM Mono", monospace;
    font-size: 13px;
}
/* Projects */

#projects {
    padding: 50px;
    box-sizing: border-box;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.project-box {
    text-align: left;
    border: 3px solid #36365d;
    background: #121225;
    padding: 25px;
    transition: transform 0.5s ease, border-color 0.2s ease;
}

.project-box:hover {
    transform: scale(1.1);
    border-color: #ff8acb;
}


.project-box h3,p {
    text-align: left;
}

.project-number {
    color: #ff8acb;
    font-size: 11px;
}

.porject-tags {
    display: flex;
    gap: 8px;
    /* flex-wrap: wrap; */
}

.tag {
    font-family: "DM Mono", monospace;
    font-size: 11px;
    padding: 6px 8px;
    color: #c6baff;
    border: 1px solid #5542a8;
}

/* socials */
.socials {
    border-top: 3px dashed #3f3f66;
    background-color: #121225;
    padding: 50px;
    box-sizing: border-box;

}

.social-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-button {
    padding: 14px 18px;
    border: 3px solid darkmagenta;
    color: white;
    text-decoration: none;
    font-family: "Press Start 2P", cursive;
    font-size: 11px;
}


/* Footer */

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0F3460;
    border-top: 5px solid greenyellow;
}

/* Animations */

#typing {
  width: fit-content;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid;
  animation: typing 1.5s steps(24) forwards,
  blink 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}