/* För hero container */
.hero {
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center;    
    min-height: 80vh;        
    text-align: center;
    color: whitesmoke;
}

/* För mitt namn i mitten */
.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);      
    margin-bottom: 0.5rem;   
}

/* Texten under */
.hero p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);     
    color: #6B5718;            
}





.projects_section {
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center;    
    min-height: 100vh;         
    text-align: center;
    color: whitesmoke;
}

/* Containern i sektionen */
.project_container {
    display: flex;
    flex-direction: column;
    gap: 10vh;
    width: 60vw;
}

/* Varje rad med två projekt */
.project_row {
    display: flex;
    justify-content: space-between;
}

/* Wrapper runt kort + text */
.project_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
}

/* Kortens stil */
.project_card {
    width: 100%;           
    aspect-ratio: 4/3; 
    background-color: #6B5718;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2vw;
    border-radius: 2vw;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.project_card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


/* Texten under kortet */
.languages {
    font-size: 1.2rem;
    color: whitesmoke;
    text-align: left;
    margin-top: 15px;
    width: 100%;
    padding-left: 3vw;
}

/* Punkt mellan språken */
.languages span::after {
    content: " •"; 
    margin: 0 0.5em; 
}

/* Tar bort sista punkten */
.languages span:last-of-type::after {
    content: "";
}

/* One-liner text under listan */
.languages .one-liner {
    font-size: 0.9rem;
    margin-top: 10px;
    color: #ccc;
}

