@font-face {
    font-family: 'iceberg';
    src: url('../fonts/Iceberg-Regular.ttf');
}

@font-face{
    font-family: 'k2d';
    src: url('../fonts/K2D-Regular.ttf');
}

body{
    height: 100%;
    margin: 0px;
    background-image: url('../images/background-projects.png');
    background-size:cover;
    margin-bottom: 100px;
}

.top-nav{
    display: flex;
    color: white;
    height: 100px;
    width: 100%;
    margin-top: 50px;
    justify-content: space-around;
    font-size: 300%;
    font-family: 'iceberg';
}

.button{
    display: flex;
    background-color: #454545;
    color: white;
    border: 2px solid white;
    border-radius: 10px;
    width: 400px;
    justify-content: center;
    align-items: center;
    text-decoration:none;
}

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

.button[target="current"]{
    background-color: #EE37E3;
    color: black;
}

.intro{
    display:flex;
    color:white;
    font-size: 400%;
    font-family: 'k2d';
    font-weight: bold;
    margin-top: 100px;
    justify-content: center;
    margin-bottom: 100px;
}

span{
    background-color: rgba(0, 0, 0, .05);
}

.projects{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 1500px;
    gap: 120px;
    margin-left: 200px;
}

.project{
    display: flex;
    justify-content: center;
    text-decoration: none;
    height: 300px;
    transition: transform .3s;
}

.project:hover{
    transform: scale(1.1);
}

.project:nth-child(even){
    flex-direction: row-reverse;
}

.project-button{ 
    display: flex;
    flex-direction: column;
    background-color: #454545;
    color: white;
    border: 2px solid white;
    border-radius: 10px;
    padding: 25px;
    height: 250px;
    width: 1000px;
}

.titel{
    color: white;
    font-size: 300%;
    font-family: 'iceberg';
    font-weight: bold;
}

.tekst{
    color:white;
    font-size: 200%;
    font-family: 'k2d';
}

img{
    border-radius: 10px;
    border:2px solid white;
}

.bottom{
    display: flex;
    height: 100%;
    align-items: end;
    justify-content: space-between;
}

.code-styles{
    display: flex;
    gap: 5px;
}

.code-styles .tekst{
    border: 2px solid white;
    padding: 0px 2px;
}

.bottom .tekst{
    font-size: 150%;
}
