@font-face {
  font-family: NameFont;
  src: url(Magtis-ExtraBold.otf);
}

body {
    font-family: Helvetica, Arial, sans-serif;
    background-color: #d3dce5;
    color: black;
}

#anouncement {
    background-color: blue;
    color: white;
    position: fixed;
    bottom: 0;
    padding: 5px;
}

h1 {
    font-family: NameFont;
    font-size: 65pt;
    margin: 0% 0.5% 0%;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
}
nav li:not(:last-child)::after {
    content: "→";
    display: inline-block;
    margin: 0 7px;
    pointer-events: none;
}

footer ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin-left: 0.5%;
    margin-right: 0.5%;
    justify-content: space-between;
    margin-bottom: 30px;
}

ul.projectlist {
    list-style: none;
    margin-left: 80;
    margin-top: 0;
}


ul.CV-list {
    list-style: none;
    font-size: 10pt;
    padding-left: 0;
    margin-left: 0;
    font-family: 'Courier New', Courier, monospace;
}

.projectdetails {
    font-family: 'Courier New', Courier, monospace;
    font-size: 10pt;
}

.projectdetails a{
    font-family: 'Courier New', Courier, monospace;
}

.main-texts {
    margin-left: 0.5%;
    margin-right: 0.5%;
}

p.subtext {
    opacity: 50%;
    font-family: 'Courier New', Courier, monospace;
    font-size: 10pt;
}

#workdef {
    margin-bottom: 0;
}

a:hover {
    text-decoration: underline;
    text-decoration-thickness: 5%;
}

a {
    text-decoration: none;
    color: black;
}

p.textblock {
    width: 50%;
}

div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

div.gallery-column {
    width: 49%;
    margin: 0.5%;
}

div.gallery-column img {
  width: 100%;
  height: auto;
  margin-bottom: 1.2%;
}


@media screen and (max-width: 800px){
    p.textblock {
        width: 100%;
    }

    div.gallery-column {
    width: 99%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    margin-top: 0;
    margin-bottom: 0;
    }

    #name {
        font-size: 10.5vw;
    }
}