html{
scroll-behavior:smooth;
scroll-padding-top:15vh;
}
html,body{
margin:0;
padding:0;
background-color:rgb(10,25,47);
height:auto;
font-family:'Inter',sans-serif;
}
body{
padding-top:10vh;
overflow-x:hidden;
}
 
.huvud{
width:96vw;
height:10vh;
display:flex;
justify-content:space-between;
align-items:center;
padding:0 50px;
position:fixed;
top:0;
left:0;
z-index:999;
background-color:rgb(10,25,47);
}

.logan{
width:auto;
height:100%;
max-height:150px;
animation-name:rotate;
animation-duration:5s;
animation-iteration-count:infinite;
animation-timing-function:linear;
animation-direction:alternate;
}
.navigering{
display:flex;
gap:50px;
align-items:center;
}
 
.navigering a{
text-decoration:none;
color:white;
font-size:17px;
cursor:pointer;
}
 
.num{
margin-right:5px;
color:rgb(100,255,218);
white-space:nowrap;
}
 
.cv{
padding:10px 20px;
border-radius:5px;
border:2px solid rgb(100,255,218);
background-color:rgb(10,25,47);
color:rgb(100,255,218);
cursor:pointer;
transition:background-color 0.3s,color 0.3s;
}
.cv:hover{
background-color:rgb(100,255,218);
color:rgb(10,25,47);
}
 
.introduktion{
min-height:82vh;
width:90%;
max-width:1000px;
display:flex;
justify-content:center;
align-items:flex-start;
flex-direction:column;
margin:0 auto;
}
 
.första{
color:rgb(100,255,218);
}
.andra{
color:rgb(204,214,246);
font-size:60px;
font-weight:bold;
margin:0;
}
.tredje{
color:rgba(204,214,246,0.64);
font-size:60px;
margin:10px 0;
}
.fjärde{
color:rgba(204,214,246,0.63);
}
.femte{
margin-top:20px;
padding:10px 20px;
border-radius:5px;
border:2px solid rgb(100,255,218);
background-color:rgb(10,25,47);
color:rgb(100,255,218);
cursor:pointer;
transition:background-color 0.3s,color 0.3s;
}
.femte:hover{
background-color:rgb(100,255,218);
color:rgb(10,25,47);
}
@keyframes rotate{
0%{
transform:rotateY(0deg);
}
100%{
transform:rotateY(360deg);
}
}

.num2{
color:rgb(100,255,218);
}
.titel{
color:rgba(255,255,255,0.76);
font-size:33px;
font-weight:bold;
margin-bottom: 30px;
}
.num3{
color:rgb(100,255,218);
font-size:22px;
margin-right:7px;
}

 
.ruta{
box-shadow: 10px 10px rgba(3, 10, 32, 0.63);
max-width: 400px;
}
.flex1{
width: 90%;
min-height: 40vh;
display:flex;
justify-content: center;
align-items: center;
flex-direction: row;
margin: 150px auto;
gap: 50px;
max-width: 1200px;
}
.text{
color:rgba(255,255,255,0.76) ;
}
.flex1 ul{
display: flex;
margin-top: 20px;
gap: 30px;
color:rgba(255,255,255,0.76) ;
flex-wrap: wrap;

}
.flex2{
width: 50%;
max-width: 500px;
}
.bilden{
height:auto;
width:100%;
max-width:400px;
border-radius:5px ;
}
@keyframes appear{
from{
opacity:0;
scale:0.5;
}
to{
opacity:1;
scale:1;
}
}
.erfarenhet {
    width: 90%;
    max-width: 1000px;
    margin: 100px auto;
}
.jobb {
    margin-bottom: 40px;
    padding-left: 15px;
    border-left: 2px solid rgb(100,255,218);
}
.jobbtitel {
    color: rgb(204,214,246);
    font-weight: bold;
    font-size: 20px;
    margin: 0;
}
.jobbperiod {
    color: rgba(204,214,246,0.63);
    font-size: 14px;
    margin: 5px 0 15px 0;
}
.jobblista {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.jobbpunkt {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}
.jobbpunkt::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: rgb(100,255,218);
    font-size: 16px;
    line-height: 1;
}
.ani{
opacity:0;
transform:scale(0.5);
transition:opacity 0.8s ease-out, transform 0.8s ease-out; 
}
.ani.animation{
opacity:1;
transform:scale(1);
}

.projekter{
margin:30px auto;
width:90%;
max-width:1000px;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
min-height:100vh;
}
.text2{
color:rgba(255,255,255,0.76);
font-size:33px;
font-weight:bold;
width:100vw;
display:flex;
justify-content:center;
}
.proj1, .proj2, .proj3, .proj4, .proj5, .proj6, .proj7, .proj8, .proj9 {
    grid-column: auto;
    grid-row: auto;
}
.proj{
width:100%;
height:100%;
background-color:rgb(12,32,61);
border-radius:5px;
position:relative;
opacity:0;
transform:scale(0.5);
transition:opacity 0.8s ease-out, transform 0.8s ease-out;
}
.proj.animation{
opacity:1;
transform:scale(1);
}
.map{
width:100px;
height:80px;
position:absolute;
top:1px;
left:10px;
z-index:10;
}
.öppna{
width:30px;
height:30px;
position:absolute;
top:28px;
right:10px;
cursor:pointer;
z-index:10;
}
.projflex{
display:flex;
justify-content:center;
width:100%;
height:100%;
flex-direction:column;
gap:20px;
margin-top:20px;
}
.projflex p{
margin:0;
padding:0;
margin-left:20px;
}
.titel3{
color:rgb(204,214,246);
font-size:20px;
font-weight:bold;
}
.undertext{
color:rgba(204,214,246,0.63);
font-size:15px;
}
.kunskaper{
display:flex;
gap:30px;
}
.kunskap{
color:rgba(204,214,246,0.63);
}
.proj:hover{
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.kontaktflex{
width: 90%;
max-width: 700px;
height: 60vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 10px; 
margin: 0 auto;
}
.kontaktflex p{
     margin: 0;
}
.tredjev2{
color:rgba(204,214,246,0.64);
font-size:13px;
text-align: center;
}
.titelv2{
color:rgba(255,255,255,0.76);
font-size:33px;
font-weight:bold;      
}
ul.teknologier{
list-style: none; 
}

.tek-knapp{
padding:3px 5px;
border-radius:25px;
border:1.5px solid rgb(100,255,218);
background-color:rgb(10,25,47);
color:rgb(100,255,218);
user-select:text;
cursor: n-resize;
}
@media (max-width: 1524px) {
    .huvud {
padding: 0 2px;
}
.map{
display: none;
}
}
@media (max-width: 1024px) {
.flex1 {
flex-direction: column;
align-items: center;
width: 90%;
margin-top: 50px;
}
.huvud {
padding: 0 10px;
}
.flex2 {
width: 90%;
max-width: none;
order: 2;
}
.flex3 {
display: none; 
}
.projekter {
grid-template-columns: repeat(2, 1fr);
width: 90%;
}
.map{
display: none;
}
}
@media (max-width: 768px) {
html {
scroll-padding-top: 20vh;
}
.map{
display: none;
}
.huvud {
padding: 0 10px;
}
.navigering {
gap: 20px;
}
.navigering a {
font-size: 15px;
}
.andra, .tredje {
font-size: 40px;
}
.fjärde {
font-size: 14px;
}.projekter {
grid-template-columns: 1fr;
padding: 0 20px;
width: auto;
max-width: none;
}
.flex2, .flex1 {
width: 90%;
}
.titel {
font-size: 28px;
}
.erfarenhet {
width: 90%;
padding: 0 20px;
box-sizing: border-box;
}
.kontaktflex {
padding: 0 20px;
box-sizing: border-box;
}
}
@media (max-width: 480px) {
.huvud {
margin-right: 20px;
}
.navigering {
gap: 10px;
}
.navigering a {
font-size: 13px;
}
.andra, .tredje {
font-size: 30px;
}
.cv, .femte {
padding: 8px 15px;
font-size: 14px;
}
.teknologier {
gap: 15px;
}
.map{
display: none;
}
}
@media (max-width: 586px){
.numb{
    display: none;
}   
.logan{
    display: none;
}
.huvud{
    justify-content: center;
}}