:root {
    --green: #65AE75;
    --green-light: #528f5f;
    --teal: #2B8D76;
    --red: #EE8052de;
    --blue: #59B3E5de;
    --blue-light: #75badf;
    --dark: #3D393D;
    --dark-light: #3D393DCC;
    --dark-lighter: #3d393d75;
    --yellow: #F2C94C;
    --white: #FAF9EA;

    --font-sans: 'inter',  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--white);
    font-family: 'inter',  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#map {
    transition: all 2s ease-in-out;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    overflow: hidden;
}

.name_panel{
    padding: 24px 28px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    color: var(--dark);
}

.links_panel {
    padding: 0px 19.5px;
}

.link_list {
    /* list-style-type: none; */
    padding: 0;
}

.link_button {
    padding: 0 24px 0 30px;
    font-family: 'inter',  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.5em;
    text-decoration: none;
}

.link_button:hover {
    color: var(--yellow);
    text-decoration: underline;
}

.about, .contact {
    padding: 0 42px;
    font-family: var(--font-sans);
    width: fit-content;
}

.about > h1 {
    color: var(--green);
}

.about > p {
    color: var(--dark);
    width: 400px;
    padding: 8px 1px;
    font-weight: 500;
    text-align: justify;
    font-size: 1.1em;
}

.about > .abt-ctr {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-around;
}

.about > a:hover {
    text-decoration: none;
}

.credit {
    position: absolute;
    top: 0;
    right: 0;
    padding: 12px 12px 12px 12px;
    font-size: 14px;
    text-align: right;
    color: var(--dark-lighter);
    z-index: 100;
}

.credit > a {
    font-weight: 600;
    color: var(--dark-lighter);
}

.credit > a:hover {
    text-decoration: none;
}

.button {
    display: block;
    width: fit-content;
    padding: 8px 16px;
    border-radius: .25em;
    margin: 6px 0;    
    cursor: pointer;
}

.button.to_home {
    background-color: #2d292dcc;
}

.button.to_home:hover {
    background-color: #2d292ddd;
}

.link {
    display: block;
    margin-top: 10px;
    color: var(--teal);
    font-family: 'basier_circle_monoregular', "Aktiv-Grotesk", monospace;
    font-weight: 100;
    font-size: 14px;
}

.link:hover {
    text-decoration: none;
}

.link-container {
    position: absolute;
    right: -12px;
    bottom: 14px;
    float: right;
}


.green {
    background-color: var(--green);
}

.green:hover {
    background-color: var(--green-light);
}

.blue {
    background-color: var(--blue);
}

.blue:hover {
    background-color: var(--blue-light);
}

.button > a {
    color: var(--white);
    font-weight: 600;
    font-size: 1em;
    text-decoration: none;
}


.contact {
    padding-top: 20px;
    color: var(--blue);
}

.contact > h1 {
    margin-bottom: 12px;
}

.contact > p {
    color: var(--dark);
    padding: 12px 1px 16px 0;
    font-weight: 500;
    /* text-align: justify; */
    /* font-weight: 600; */
    font-size: 1.1em;}

.contact > input, .contact > textarea {
    font-family: 'inter',  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 100%;
    padding: 8px 16px;
    /* border-radius: .25em; */
    border: 5px solid var(--blue);
    background-color: var(--white);
    margin: 6px 0;
    font-size: 1em;
}

.contact > input:focus, .contact > textarea:focus {
    border: 5px solid var(--blue-light);
    color: var(--dark);
    outline: none ;
}

.contact > input {
    color: var(--dark);
    font-weight: 500;
}

.contact > textarea {
    padding-top: 12px;
    font-weight: 500;
}

.contact-ctr {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    /* flex-direction: column;
    align-items: flex-end;
     */
}

.projects {
    /* background-color: #F2C94C; */
    width: 400px;
    height: 10000px;
    overflow: hidden;
}

.projects-content {
    height: 500px; /* Adjust to your needs */
    overflow-y: hidden;
}

.projects-list {
    list-style-type: none;
    list-style-position: inside;
}

.title-container, .img-container, .desc {
    margin-left: 50px;
}


li > h1 {
    color: var(--red);
}

.subtitle {
    color: var(--dark-light);
    font-weight: 600;
}

.link-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.link-container>a {
    text-decoration: none;
    color: white;
    background-color: var(--dark);
    /* padding-top: 3px; */
    /* background-image: url("./logo.svg");
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat; */
    align-items: center;
    justify-content: center;
    display: flex;
    width: max-content;
    padding: 8px;
}

.link-container>a:hover {
    background-color: #2d292d;
}

.link-container>a>img {
    display: block;
    height: 20px;
    padding: 0 4px 0 0;
}

.link-container>a>p {
    display: block;
    padding: 0 4px 0 4px;
}

.title-container {
    position: relative;
}
.link-container>a>img {
    display: block;
    height: 20px;
    padding: 0 4px 0 0;
}

img {
    width: 100%;
    height: 100%;
    z-index: 100;
    /* border: 1px solid black; */
}

.img-container {
    z-index: 10;
    border: 1px solid var(--c-display);
    fill: #0F111A;
    background-color: #0F111A;
    padding: 0%;
    margin-bottom: 30px;
    margin-top: 20px;
    width: 300px;
    height: 169px;
    position: relative;
}

.img-container > img {
    border: 6px solid var(--red);
}

.code {
    margin: 4px 0 8px 0;
    color: #3d312dcc  ;
}

.desc { 
    margin-top: 40px;
    margin-bottom: 70px;
    color: var(--dark);
    font-weight: 600;
}

.proj-button-ctr {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.proj-button-ctr > .to_home {
    margin-right: 50px;
    margin-bottom: 30px;
    padding: 0;
    background: none;
}

.proj-button-ctr > .to_home > a {
    color: #2d292daa;
    font-weight: 800;
    font-size: 1.2em;
}

.proj-button-ctr > .to_home > a:hover {
    color: #2d292ddd;
    background: none;
}

.proj-button-ctr > .to_home:hover {
    background: none;
}


li::before {
    content: ''; 
    position: absolute;
    left: -47px; 
    top: 50%;
    transform: translateY(-50%); 
    width: 18px;
    height: 18px;
    background-color: var(--red);
    border-radius: 50%;
    border: 6px solid var(--white); 
}

#projectsObj-fO > div {
    position: fixed;
}

@media screen and (max-width: 600px) {
    .credit {
        top: auto;
        bottom: 0 !important;
    }
    .about {
        padding: 0;
    }

    .about > h1 {
        padding-left: 36px;
    }

    .about > p {
        width: 280px;
        padding: 10px 1px 30px 36px;
        text-align: start;
        font-size: 1.2em;
    }

    .about > a {
        font-size: 1.2em;
        width: 100%;
    }

    .projects {
        width: 360px;
    }

    .proj-button-ctr > .to_home {
        margin-right: 4px;
    }
}
