*, 
*:before, 
*:after{
    box-sizing: border-box;
}
html{
    font-size: 16px;
    scroll-behavior: smooth;
}
body{
    margin: 0 auto;
    padding:0;
    background: url(../assets/images/background.png);
    background-size: cover;
    font-family: 'Open Sans', serif;
    display: flex;
    justify-content: center;
}
  
.container {
    width: 60rem;
    padding-top: 5rem;
    scroll-behavior: smooth;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #008edb;
    padding: 0.6rem 1.2rem;
    z-index: 1000;
}

.header-content {
    max-width: 60rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 3.5rem;
}
  
nav {
    display: flex;
}

nav div {
    margin: 0 0.9rem;
}

nav div a {
    color: #ccf9ff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.0rem;
}

section {
    padding: 6.2rem 0 3.1rem;
}
  
#about,
#projects,
#contact {
    min-height: 25rem;
    background-color: #ccf9ff;
    padding: 2rem;
    margin: 1rem auto;
    border-radius: 1rem;
}
  
h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0080bf;
    margin-bottom: 1rem;
}

h4{
    font-size: 1.4rem;
    font-weight: 800;
    color: #0080bf;
    margin-bottom: 1rem;
}
  
p {
    font-size: 1rem;
    color: #141414;
    line-height: 1.6;
    font-weight: 400;
}

#about{
    display: flex;
    flex-direction: row;
}

#about>div{
    width: 50%;
}

#images{
    margin-top: 1.3rem;
    width: 10%;
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    width: 55rem;
    margin: 1rem auto;
}
  
.project {
    background-color: #ccc;
    height: 14rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1.2rem;
    border-radius: 1rem;
}

.hideAll {
    display: none;
}

h3{
    background-color: #ffffffe6;
    padding: 0.5rem;
    color: #00acdf;
    border-radius: 0.4rem;
}

.restaurantapp{
    background: url(../assets/images/restaurnat.png);
    background-size: cover;
    background-position: center;
}

.guessinggame{
    background: url(../assets/images/gussinggame.png);
    background-size: cover;
    background-position: center;
}

.outdoorcompany{
    background: url(../assets/images/brandbook.png);
    background-size: cover;
    background-position: center;
}

.retailinstallation{
    background: url(../assets/images/retailinstallation.png);
    background-size: cover;
    background-position: center;
}

.markettingmatrials{
    background: url(../assets/images/markettingmaterials.png);
    background-size: cover;
    background-position: center;
}

.infographicvideo{
    background: url(../assets/images/featurevideo.png);
    background-size: cover;
    background-position: center;
}

.productdemo{
    background: url(../assets/images/productdemo.png);
    background-size: cover;
    background-position: center;
}

.digitalsignage{
    background: url(../assets/images/digitalsignage.png);
    background-size: cover;
    background-position: center;
}

.collaborativeproject{
    background: url(../assets/images/collaborativeprojects.png);
    background-size: cover;
    background-position: center;
}

#picture{
    background-color: #c0c0c0;
    padding: 1rem;
}

.profile-picture {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}
  
.profile-picture img {
    width: 55rem;
    height: 35rem;
    object-fit: cover;
    border: 0.25rem solid #ddd;
}

#description{
    background-color: #c0c0c0;
    padding: 1rem;
    margin: 1rem auto;
}

#description p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    max-width: 40rem;
    margin: 1.5rem auto;
    text-align: center;
}

#skills{
    background-color: #c0c0c0;
    padding: 1rem;
}

.skills-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0;
    margin-top: 1.5rem;
    height: 10%;
}

.skills-list img {
    height: 10%;
}

#picture{
    background-color: #ccf9ff;
    padding: 1rem;
    border-radius: 1.6rem;
}

.profile-picture {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 1.5rem;
}
  
.profile-picture img {
    width: 55rem;
    height: 35rem;
    object-fit: cover;
    border: 0.25rem solid #7ce8ff;
    border-radius: 1rem;
}

.profile-picture a{
    align-self: flex-end;
    border: solid 0.3rem #0080bf;
    margin-top: 1rem;
    padding: 0.7rem;
    border-radius: 2rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    color: #0080bf;
}

.profile-picture a:hover{
    background-color: #0080bf;
    color: #ccf9ff;
}

#description{
    background-color: #ccf9ff;
    padding: 1rem;
    margin: 1rem auto;
    border-radius: 1.6rem;
}

#description p {
    font-size: 1rem;
    color: #141414;
    line-height: 1.6;
    max-width: 40rem;
    margin: 1.5rem auto;
    text-align: left;
}

#skills{
    background-color: #ccf9ff;
    padding: 1rem;
    margin: 1rem auto;
    border-radius: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skills-list {
    display: flex; 
    justify-content: flex-start; 
    flex-wrap: wrap; 
}
  
.skills-list img {
    max-width: 4rem;
    margin-top: 2rem;
}

.key-list span{
    font-weight: 700;
    color: #008edb;
}

.contact-me {
    background-color: #ccf9ff;
    margin: 2rem auto;
    width: 100%;
    max-width: 40rem;
}

.contact-me h1 {
    font-size: 2rem;
    color: #0080bf;
    text-align: center;
    margin-bottom: 1rem;
}

.contact-me p {
    margin-bottom: 1.5rem;
}

.contact-me label {
    font-size: 1rem;
    font-weight: 700;
    color: #0080bf;
}

.contact-me input[type="text"],
.contact-me textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.contact-me input:focus,
.contact-me textarea:focus {
    outline: none;
    border-color: #0080bf;
    box-shadow: 0 0 8px rgba(0, 128, 191, 0.3);
}

.contact-me textarea {
    resize: none;
}

.contact-me input.submit {
    background-color: #0080bf;
    color: #ccf9ff;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 0.5rem;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.contact-me input.submit:hover {
    background-color: #005f8d;
}

/* Mobile view */
@media (max-width: 680px) {
    .container {
        width: 90%;
        padding-top: 2rem;
    }

    .header-content {
        flex-direction: column;
    }

    #about{
        margin-top: 5rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .profile-picture img {
        width: 100%;
        height: 20rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    p, #description p {
        font-size: 0.9rem;
    }

    .skills-list li {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .contact-me {
        padding: 1rem;
        width: 90%;
    }

    .contact-me h1 {
        font-size: 1.5rem;
    }

    .contact-me input.submit {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }
}

/* Tablet view */
@media (min-width: 681px) and (max-width: 1023px) {
    .container {
        width: 50rem;
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 45rem;
    }

    .profile-picture img {
        width: 45rem;
        height: 28rem;
    }
}

/* Desktop view */
@media (min-width: 1024px) {
    .container {
        width: 60rem;
    }

    .project-grid {
        grid-template-columns: repeat(3, 1fr);
        width: 55rem;
    }

    .profile-picture img {
        width: 55rem;
        height: 35rem;
    }
}

