@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@100&display=swap');
@import url('https://fonts.googleapis.com/css?family=Overpass&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: black;
}

a, .grid > div {
    font-family: 'Overpass', sans-serif;
    font-weight: 100;
    font-size: 16px;
    color: seashell;
    text-decoration: none;

}


.bar {
    display:grid;
    position: fixed;
    top: -20px;
    z-index: 999;
    grid-gap: 0px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 3%;
    margin-top: 20px;   
    padding-top: 15px;
    width: 100%;
    margin-bottom: 20px;
    font-family: 'Overpass', sans-serif;
    font-weight: 300;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    background-color: black;
    /* transition: all 0.5s ease 0s; */
}


.dropbtn {
    /* background-color: #4CAF50; */
    /* color: white; */
    /* padding: 16px; */
    /* font-size: 16px; */
    border: none;
    cursor: pointer;
    
  }

  .dropdown {
    position: relative;
    display: inline-block;


  }

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 7px;
    /* padding-left: -20px; */
    /* background-color: #f9f9f9; */
    min-width: 100px;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.5);   
    z-index: 1000;
    right: 0;
    background-color: black;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    /* text-align: center; */
    color: #f9f9f9;
    padding-top: 2px;
    /* padding: 12px 16px; */
    text-decoration: none;
    display: block;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {
      /* background-color: #f1f1f1; */
    color: chocolate;
      
    transition: all 0.2s ease 0s;

    }
  
  /* Show the dropdown menu on hover */
  
  .dropdown:hover .dropdown-content {
    display: block;
    transition: all 0.2s ease 0s;

  }
  
  /* Change the background color of the dropdown button when the dropdown content is shown */
  .dropdown:hover .dropbtn>a {
    transition: all 0.3s ease 0s;
    color: chocolate;
    /* background-color: #3e8e41; */
  }

.name{
    text-align: left;
    padding-right: 7px;

}
.work, .about, .cv{
    text-align: right;
    padding-right: 7px;
}
.bar>div>a:hover{
    transition: all 0.2s ease 0s;
    opacity: 1.0;
    color: chocolate;
}
.bar>div>a{
    transition: all 0.2s ease 0s;
}
.bar>div{
    transition: all 0.2s ease 0s;
}


/* button:hover {
    background-color: rgba(20, 214, 62, 0.5);
    transition: all 1s ease 1s;
} */



/* .bar > div{ */
    /* background-color: cornflowerblue; */
    /* padding: 20px 20px; */
    /* border: 1px solid #dddddd; */
/* } */

.grid {
    display:grid;
    grid-gap: 0px;
    margin-top: 100px;
    grid-template-columns: 1fr 1fr 1fr;
    background-color: black;
}

.bio {
    grid-column: 1/3;
    grid-row: 1/4;
    /* background-color: darkslategrey; */
    padding: 20px 20px;
    margin-top: 0px;
}

img {
    display: flexbox;
    object-fit: cover;
    margin-left: 0px;
    margin-right: 0px;
    width: 100%;
    height: 100%;
    /* max-width:230px; */
    /* max-height:250px; */
    /* width: auto; */
    /* height: auto; */
    opacity: 0.5;
    transition: all 0.3s ease 0s;
  }

@media only screen and (min-width: 768px) {

    .bar{
        grid-template-columns: 70% 10% 10% 10%;
        position: fixed;
        top: -20px;
        width: 100%;
        padding-top: 15px;
        padding-bottom: 10px;
        padding-left: 30px;
        padding-right: 30px;
        margin-left: 0px;
        z-index: 99;
        box-sizing: border-box;
    }

    .grid {
        display:grid;
        grid-gap: 0px;
        margin-top: 50px;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;

    }

    .bio {
        grid-column: 2/4;
        grid-row: 1/2;
        /* background-color: darkslategrey; */
        padding: 20px 20px;
        margin-top: 0px;
    }
    img {
        display: flexbox;
        object-fit: cover;
        margin-left: 0px;
        margin-right: 0px;
        width: 100%;
        max-height: 540px;
        /* max-width:230px; */
        /* max-height:250px; */
        /* width: auto; */
        /* height: auto; */
        opacity: 0.3;
        transition: all 0.3s ease 0s;
      }
    
}

img:hover{
    transition: all 0.5s ease 0s;
    opacity: 1.0;
}

.defaultLink {
    color: goldenrod;
    /* background-color: darkslategrey; */
    transition: all 0.5s ease 0s; 
    opacity: 1.0;
}

.fakkely{
    cursor: pointer;
    margin-left: auto;
    order: 3;
    transition: all 0.5s ease 0s;
    opacity: 0;
}

.defaultLink:hover{ 
    color: palegreen;
    /* background-color: rgb(0, 0, 0); */
    transition: all 0.5s ease 0s;
    opacity: 1.0;
}

.highlight{ 
    color: palegreen;
    /* background-color: rgb(0, 0, 0); */
    transition: all 0.5s ease 0s;
    opacity: 1.0;
}


.itp{
    color: green;
}

