

/* Colour pallete */
/* Primary #F9F8F6 */
/* Secondary #EFE9E3 */
/* Onclick,shadow #D9CFC7 */
/* Buttons #C9B59C */


*{
    background-color:#F9F8F6 ;
    font-family:monospace;
    padding: 0;
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
    overflow-x: hidden; 
    margin: 0; 
}

.full-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

header{
    margin: 0;
    border-bottom:2px solid #EFE9E3;
}

/* NavBar */
.navbar{
    margin: 0;
    padding: 10px 2rem;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center; 
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.website-logo-container{
    padding: 0;
}

.website-logo {
    white-space: nowrap;
    margin: 0;
}

.link-list{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    list-style-type: none;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.links{
    padding-left: 20px;
    font-size: 20px;
    font-weight:500;
    text-decoration: none;
}

.links a{
    text-decoration: none;
    color: black;
}

.links a:hover {
    color: #C9B59C; 
}

.burger-toggle {
    display: none;
}

.burger-btn {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.burger-btn img {
    background: none;
}

.work{
    background-color: #eee1d2;
}
.aboutme-container{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4vh 10vw; 
    flex-direction: column;
}

.aboutme{
    font-size: 46px;
    padding: 10px;
}

.aboutme-socials{
    display: flex;
    flex-direction: row;
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 20px;
}
.social-container{
    padding: 15px;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    border: 2px solid #e7d6c1;
    border-radius: 20px;
    font-size: 24px;    
    background-color: #FFF5E4;
    text-decoration: none;
    color: black;
    transition: transform 0.0s ease, box-shadow 0.2s ease; 
}

.social-container:hover {
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
}

.social-icon{
    background-color: #FFF5E4;
}

.techstack-list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 4vh 10vw;
    justify-items: center;
    flex: 1; 
    align-content: center;
}

.techstack-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 110px;
    border: 2px solid #e7d6c1;
    border-radius: 20px;
    background-color: #FFF5E4;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.techstack-item:hover {
    transform: translateY(-3px); 
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5); 
}

.techstack-icon {
    position: relative;
    z-index: 2;
    background-color: #FFF5E4;
}

.techstack-label {
    position: relative;
    z-index: 1; 
    margin-top: 6px;
    font-size: 13px;
    font-family: monospace;
    color: #888;
    background-color: #FFF5E4;
    text-align: center;
}


.social-name{    
    padding-left: 10px;
    background-color: #FFF5E4;
}

.heading{
    font-size: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2vh 0; 
}

.project-card-vertical{
    display: flex;
    flex-direction: row;
    padding: 2vh 10vw 4vh; 
    justify-content: center;
    flex: 1;
    align-items: flex-start;
}

.project-card-horizontal{
    display: flex;
    flex-direction: column;
    padding-left: 5vh;
}
.Projectcard{
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    height: 80vh;
    width: 60vh;
    max-width: 100%; 
}

.Projectcard h2{
    font-size: 25px;
}
.projectcard-description{
    font-size: 15px;
}

.project-preview{
    width: 100%;
    height: 100%;
    background:#F9F8F6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-preview img{
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
}
.projectcard-tags-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; 
    gap: 1vh;
}
.projectcard-tags{
    padding: 5px;
    border: 1px solid #e7d6c1;
    border-radius: 20px;
    background-color: #FFF5E4;
}
.project-link-container{
    display: flex;
    flex-direction: row;
    gap:10px;
}

.previewLink{
    padding: 5px;
    border: #e7d6c1;
    background: #EFE9E3;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    border-radius: 15px;
    font-size: 15px;
}
.previewLink img{
    padding-left: 5px;
    align-items: center;
    background: #EFE9E3;
    padding-right: 10px;
}
.previewLink a{
    align-items: center;
}

.contact-section {
    display: flex;
    flex-direction: row;
    padding: 4vh 8vw;
    gap: 6vw;
    align-items: center;
    flex: 1; 
    width: 100%; 
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
    min-width: 200px;
}

.contact-links-heading { 
    font-size: 28px;
    font-family: monospace;
    margin-bottom: 10px;
}

.contact-links .social-container { 
    justify-content: flex-start;
    width: 100%;
}

.contact-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    overflow: hidden;
}

.contact-heading { 
    position: relative;
    z-index: 1;
    font-size: 56px;
    font-family: monospace;
    margin-bottom: 20px;
}

.contact-description { 
    position: relative;
    z-index: 1;
    font-size: 20px;
    line-height: 1.6;
    max-width: 520px;
    color: #555;
    margin-bottom: 30px;
}

.contact-container-child { 
    position: relative;
    z-index: 1;
    align-self: flex-start;
    font-size: 22px;
    padding: 16px 28px;
}

.copyright{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 2vh 0;
}

.copyright a{
    text-decoration: none;
    background: none;
    color: black;
}

a:hover, a:visited{
    text-decoration: none;
}

a{
    text-decoration: none;
    color: black;
}


/* Tablet */
@media (max-width: 768px) {

    .full-section {
        min-height: auto;
        padding: 4vh 0;
    }

    .navbar {
        padding: 10px 1rem;
    }

    .link-list {
        gap: 4px;
    }

    .links {
        padding-left: 0;
        font-size: 16px;
    }

    .aboutme-container {
        padding: 4vh 5vw; 
    }

    .aboutme {
        font-size: 32px;
    }

    .project-card-vertical {
        flex-direction: column;
        padding: 2vh 5vw 4vh; 
        align-items: center;
    }

    .project-card-horizontal {
        padding-left: 0;
        align-items: center;
    }

    .Projectcard {
        width: 80vw;
        height: auto;
        margin-bottom: 4vh;
    }

    .project-preview img {
        max-width: 100%;
    }

    /* Headings */
    .heading {
        font-size: 36px;
    }

    .techstack-list {
        grid-template-columns: repeat(3, 1fr);
        padding: 4vh 5vw 8vh;
    }

    .contact-section {
        flex-direction: column;
        min-height: auto;
        padding: 6vh 5vw;
        gap: 4vh;
    }
    .contact-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        min-width: 0;
    }

    .contact-links .social-container {
        width: auto;
    }

    .contact-content {
        align-items: center;
        text-align: center;
    }

    .contact-heading {
        font-size: 40px;
    }

    .contact-bg-text {
        font-size: 80px;
    }

    .contact-description {
        font-size: 18px;
    }

    .contact-container-child {
        align-self: center;
    }
}


/* Phone */
@media (max-width: 480px) {

    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px 16px;
    }

    .nav-left {
        flex: 1;
    }

    .burger-btn {
        display: flex;
        align-items: center;
    }

    .website-logo {
        font-size: 18px;
    }

    .link-list {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 10px 0 0;
        margin: 0;
        gap: 0;
    }

    .burger-toggle:checked ~ .link-list {
        display: flex;
    }

    .links {
        padding: 12px 0;
        text-align: center;
        font-size: 18px;
        border-top: 1px solid #EFE9E3;
    }

    .full-section {
        min-height: auto;
        padding: 3vh 0;
    }

    .aboutme-container {
        padding: 3vh 4vw; 
    }

    .aboutme {
        font-size: 22px;
    }

    .social-container {
        font-size: 18px;
        padding: 10px;
    }

    .project-card-vertical {
        padding: 2vh 4vw 4vh; 
    }

    .Projectcard {
        width: 92vw;
    }

    .heading {
        font-size: 28px;
    }

    .techstack-list {
        grid-template-columns: repeat(2, 1fr);
        padding: 3vh 4vw 6vh;
    }

    .techstack-item {
        width: 110px;
        height: 95px;
    }

    .techstack-label {
        font-size: 11px;
    }

    .contact-section {
        padding: 4vh 4vw;
        gap: 3vh;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-heading {
        font-size: 28px;
    }

    .contact-bg-text {
        font-size: 50px;
    }

    .contact-description {
        font-size: 16px;
    }

    .contact-container-child {
        font-size: 18px;
        padding: 12px 20px;
    }

    .copyright {
        font-size: 14px;
    }
}
