@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

html
{
    scrollbar-color: #b3c0e3 #4866b9;
    scrollbar-width: thin;
    overflow-y: scroll;
}
body
{
    width: 1080px;
    margin: 0 auto;
    background-color: #4866b9;
    color: rgb(179, 192, 227);
    font-family: 'times new roman', sans-serif;
}
a
{
    color: #b3c0e3;
}
#custom-alert
{
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 15px;
    z-index: 1000;
}
.main
{
    height: 0;
    overflow: hidden;
    transition: height 4s;
}

/*welcom*/

.welcom
{
    position: fixed;
    height: 50px;
    width: 1080px;
    top:-200px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    font-size: 230px;
    opacity: 1;
    transition: opacity 2s;
}

/*hero*/
.hero
{
    display: flex;
    justify-content: flex-start;
}
.portrait
{
    width: 200px;
    height: 200px;
    margin-top: 10px;
    margin-bottom: -10px;
}
.name
{
    font-size: 90px;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    margin-top: auto;
    margin-bottom: -24px;
}
.hero_hr
{
    position: relative;
    top: 0px;
}

/*expand-borders*/
.expand-borders
{
    position: relative;
    width: auto;
    height: auto;
}
.expand-borders::before,
.expand-borders::after
{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 5px solid #b3c0e3;
}
.expand-borders::before
{
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}
.expand-borders::after
{
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/*expand button*/
.expand_button {
    display: inline-block;
    height: auto;
    width: auto;
    font-size: 16px;
    text-align: center;
    rotate: 0deg;
    transition: rotate 1s;
  }

/*arbetserfarenhet*/
.arbetserfarenhet
{
    margin-top: 30px;
    margin-bottom: 2px;
}
.arbetserfarenhet_titel
{
    font-size: 25px;
    margin-bottom: 0px;
    font-weight: bold;
}
.arbetserfarenhet_entry
{
    margin-top: 10px;
    margin-bottom: 0px;
}
.arbetserfarenhet_entry_spacer
{
    display: flex;
    justify-content: space-between;
}
.arbetserfarenhet_entry_titel
{
    font-size: 25px;
    font-weight: italic;
}
.arbetserfarenhet_entry_city
{
    font-size: 25px;
    font-weight: normal;
}
.arbetserfarenhet_entry_period
{
    font-size: 25px;
    font-weight: bold;
}
.arbetserfarenhet_entry_company
{
    font-size: 25px;
    font-weight: bold;
}
.arbetserfarenhet_entry_description
{
    font-size: 20px;
    font-weight: normal;
}

/*header*/
.header_big
{
    font-size: 35px;
    margin-bottom: 0px;
    margin-top: 0px;
}
.header_span
{
    font-size: 25px;
    margin-top: 0px;
    cursor: pointer;
}
.header_divider
{
    margin-left: 10px;
    margin-right: 10px;
}
.header_contact
{
    display: flex;
    justify-content: center;
}

/*project*/
.project {
    margin-top: 30px;
    margin-bottom: 2px;
}
.project_titel {
    font-size: 25px;
    margin-bottom: 0px;
    font-weight: bold;
}
.repo {
    margin-top: 10px;
    font-size: 25px;
}
.repo p {
    margin: 0px !important;
    color: #000;
    font-size: 20px;
    text-decoration: none;
}
.repo p::before {
    content: "▪ ";
}

/*utbildning*/
.utbildning {
    margin-top: 30px;
    margin-bottom: 0px;
}
.utbildning_entry
{
    margin-top: 10px;
    margin-bottom: 0px;
}
.utbildning_titel
{
    font-size: 25px;
    margin-bottom: 0px;
    font-weight: bold;
}
.utbildning_entry_spacer
{
    display: flex;
    justify-content: space-between;
}
.utbildning_entry_school
{
    font-size: 25px;
    font-weight: bold;
}
.utbildning_entry_period
{
    font-size: 25px;
    font-weight: bold;
}
.utbildning_program
{
    font-size: 25px;
    font-weight: normal;
}
.utbildning_entry_location
{
    font-size: 25px;
    font-weight: normal;
}

.utbildning_Course
{
    height: auto;
    width: 540px;
    font-size: 20px;
    font-weight: normal;
    text-align: left;
}

.utbildning_Course div
{
    position: relative;
    height: 0px;
    padding: 5px;
    opacity: 0;
    font-weight: normal;
    overflow: hidden;
    left: 0px;
    /*transition: left 0.5, width 0.5s, height 0.5s, opacity 1s;*/
}

.utbildning_Courses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
}
.utbildning_course_title
{
    font-size: 20px;
    cursor: pointer;
}
.utbildning_course_description
{
    color: white;
    font-size: 18px;
    height: 0;
    width: 0;
    overflow: hidden;
    opacity: 0;
    left: 0px;
    transition: left 0.4s ease, width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
    text-align: left;
}
.utbildning_course_description p
{
    margin: 10px;
    width: 1020px;
}

/*
@media print {
    .half-filter {
        backdrop-filter: none; 
        background: none; 
    }

    body {
        background: white !important; 
        color: black !important;
    }
}
*/