html, body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #2d2d2f;
    color: #fff;
    font-family: "Space Grotesk", serif;
}

.full-width-container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.full-width-content {
    width: 95%;
    max-width: 1200px;
    margin-bottom: 40px;
}

.full-width-content h3 {
    font-weight: normal;
}

.full-width-content p {
    font-size: 1.1em;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 5px 0;
}

.avatar {
    width: 125px;
    height: auto;
    margin-right: 10px;
}

.icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.info {
    display: flex;
    flex-direction: column;
}

.footer {
    width: 100%;
    padding: 20px;
    background-color: #1a1a1a;
    text-align: center;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 200px;
    margin-top: 10px;
}

.social-icons a img:hover {
    transform: scale(1.1);
}

.social-icons a img {
    width: 35px;
    height: 35px;
    transition: transform 0.2s ease-in-out;
    filter: invert(100%) brightness(100%);
}

.social-icons a img:hover {
    transform: scale(.9);
}

.gradient {
    background: linear-gradient(90deg, #1e90ff, #a4d1ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-on-hover {
    transition: all 0.3s ease-in-out;
}

.gradient-on-hover:hover {
    background: linear-gradient(90deg, #1e90ff, #a4d1ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 {
    font-size: 3em;
    font-weight: bold;
    margin: 0 0 5px;
}

h2 {
    font-size: 1.8em;
    font-weight: bold;
    margin: 0 0 5px;
}

nav {
    display: flex;
    flex-direction: column;
}

nav a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.2em;
    transition: color 0.3s, transform 0.3s ease-in-out;
}

nav a:hover {
    color: #1e90ff;
    transform: translateX(5px);
}

#service-text {
    display: inline-block;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out; 
}

.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.fade-in {
    opacity: 1;
    transform: translateY(0px);
}

.material-icons {
    font-size: 1.2em;
    margin-left: 6px;
    vertical-align: middle;
}

.highlight {
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
}

p a {
    color: #1e90ff;
    text-decoration: none;
}

footer {
    width: 100%;
    padding: 20px;
    text-align: center;
    color: #ffffff5e;
    font-size: 0.8em;
    margin-top: auto;
}

footer a {
    color: #ffffff5e
}

.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.project {
    display: flex;
    flex-direction: column;
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    width: calc(50% - 20px);
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease-in-out;
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.15s ease-in-out;
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: calc(50% - 20px);
    max-width: 400px;
    transition: transform 0.3s ease-in-out;
}

.project:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.project-title {
    font-size: 1.4em;
    font-weight: bold;
    margin: 0;
    text-align: left;
}

.project-position {
    font-size: 1em;
    font-weight: 500;
    color: #bbb;
    margin-top: 5px;
    text-align: center;
}

.project-date {
    font-size: 0.9em;
    color: #bbb;
    text-align: right;
}

.project-skills {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
    max-width: 350px;
    justify-content: center;
}

.project-skills span {
    background-color: #444;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing {
    display: flex;
    flex-direction: column;
    background-color: #1a1a1a;
    border-radius: 8px;
    width: calc(33.33% - 20px);
    max-width: 500px;
    min-width: 100px;
    height: 175px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease-in-out;
    padding: 15px;
}

.pricing:hover {
    transform: scale(1.025);
}

.pricing-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.pricing-title {
    font-size: 1.4em;
    font-weight: bold;
    margin: 0;
    text-align: left;
}

.pricing-position {
    font-size: 1em;
    font-weight: 500;
    color: #bbb;
    margin-top: 5px;
    text-align: left;
}

.pricing-price {
    font-size: 0.9em;
    text-align: left;
    margin-top: 5px;
}

@media (max-width: 1024px) {
    .pricing {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .pricing {
        width: 100%;
    }
}


/* Mobile view: Stacks projects vertically */
@media (max-width: 768px) {
    .project {
        width: 100%;
    }
}

.back-button-container {
    padding: 10px 20px;
    display: flex;
    align-items: left;
}

.back-button {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    transition: transform 0.2s ease-in-out;
}

.back-button i {
    font-size: 1.5em;
    margin-right: 10px;
}

.back-button:hover {
    transform: translateX(-5px);
}