/*normal/dakrmode colors*/
:root {
    --bg-color: #272727;
    --menu-bar: #353535;
    --menu-button: #404040;
    --menu-button-hover: #505050;
    --text-color: #ffffff;
    --abt_bg_clr: #404040;
    --scroll: #757575;

}


/*lightmode colors*/
html.light_mode{
    --bg-color: #E3DFD4;
    --menu-bar: #8C8880;
    --menu-button: #696660;
    --menu-button-border: #696660;
    --menu-button-hover: #747069;
    --text-color: #35342F;
    --abt_bg_clr: #696660;
}

html, body {
    margin: 0;
    padding: 0;
}

body{
    background-color: var(--bg-color);
}

.body_text{
    color:var(--text-color);
    font-family: "K2D", sans-serif;
}

/*Top menu section*/

#menu_bar{
    width:100%;
    height:5vw;
    background-color:var(--menu-bar);
}

#home_button{
    width:5vw;
    height:auto;
    text-align:center;
    border-radius:100%;
    margin-left:0vw;
    color: white;
}

#home_button:hover{
    background-color:var(--menu-button-hover);
    cursor:pointer;
}

.MENU_BAR{
    position: sticky;
    top:0;
    left:0;
    display:flex;
    flex-direction: row;
    font-size:3vw;
    z-index:1;
}


.menu_btn{
    font-family: "K2D", sans-serif;
    font-size:1vw;
    width:5vw;
    height:2vw;
    margin-top:1vw;
    border-radius:.75em;
    color:white;
    background-color: var(--menu-button);
    border:0;
    text-align:center;
    margin-left:.25vw;
    vertical-align: middle;
}

.menu_btn:hover{
    background-color: var(--menu-button-hover);
    cursor:pointer;
}

#menu_buttons{
    position: relative;
    left:50vw;
}


#light_mode_btn{
    width:2vw;
    background-color: transparent;
}

#light_mode_btn:hover{
    background-color:var(--menu-button-hover);
}

#menu_logo{
    display: flex;
    flex-direction: row;
}

#hi_my_name_is{
    position: relative;
    font-size:2vw;
    color:white;
    transform: translate(-1vw, -1vw);
    
}

/*index.html start*/

/*About me section*/

#about_me{
    margin-top:2vw;
}

.home_info{
    display:flex;
    flex-direction:column;
    margin-left: 5vw;
    margin-bottom:-10vw;
}

.home_info_row{
    display: flex;
    flex-direction: row;
    position:relative;
    left:15vw;
    width:60vw;
}

.home_info_img{
    width:auto;
    height:12vw;
    border-radius: 1em;
    margin-bottom: 4vw;
    background-color: var(--abt_bg_clr);
}

#about_me_title, #experience_title, #contact_title{
    position: relative;
    top:-1.5vw;
    left:1vw;
    font-size:2.5vw;
    width:auto;
}

#about_me_text, #experience_text{
    display:flex;
    flex-direction: column;
    font-size:1vw;
    max-width:50vw;
    height:7vw;
    position: relative;
    transform:translate(0, -13.5vw);
    left:28.2vw;
    overflow-y:scroll;
}

#about_me_text::-webkit-scrollbar, #experience_text::-webkit-scrollbar {
    width: .3em;
}

#about_me_text::-webkit-scrollbar-track, #experience_text::-webkit-scrollbar {
    background: transparent;
}

#about_me_text::-webkit-scrollbar-thumb, #experience_text::-webkit-scrollbar {
    background: var(--menu-button-hover); /*skal laves om til variabel*/
    border-radius: 1em;
}

#about_me_text::-webkit-scrollbar-thumb:hover, #experience_text::-webkit-scrollbar {
    background: var(--scroll); /*skal laves om til variabel*/ 
}

.find_me_img{
    z-index: 0;
    width:3vw;
    height:3vw;
    position:relative;
    left:.9vw;
    cursor:pointer;
}

#find_me_row{
    position:relative;
    right:15vw;
    top:4vw;
    height:3vw;
    display:flex;
    flex-direction: row;
    width:30vw;
    gap:.75vw;
}


/*Latest Projects section*/
#lp_text{
    text-align: center;
    margin-top:7vw;
    font-size: 6vw;
}

#latest_projects{
    display:flex;
    flex-direction: row;
    position:relative;
    left:7.5vw;
    width:85vw;
    gap:5vw;
}

.lp_img_div{
    width:25vw;
    height:25vw;
}

.lp_imgs{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius:1em;
    cursor:pointer;
}

.project_item{
    text-align:center;
    font-size:3vw;
    cursor:pointer;
}

.project_item p{
    margin-top:1vw;
    cursor: pointer;
}

#ap_btn{
    font-family: "K2D", sans-serif;
    color:white;
    font-size:3vw;
    background-color: var(--menu-button);
    border:var(--menu-button-border) solid .1em;
    border-radius: 2em;
    position:relative;
    left:7.5vw;
    width:85vw;
    height:5vw;
    margin-bottom:5vw;
    cursor:pointer;
}

#ap_btn:hover{
    background-color:var(--menu-button-hover);
    border: var(--menu-button-hover) solid .1em;
}

/*index.html slut*/