@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet');

:root{
    --back: #EBEAD6;
    --text: #505050;
}

a.active {
    color: red;
}

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

html, body{
    height: 100%;
    overflow: auto;
}

body{
    background: var(--back);
    background-image:url("./images/Picture.png");
    background-position: center bottom;
    background-repeat:no-repeat;
    background-attachment:fixed;
    background-size: auto 70%;
}

@media screen and (max-width: 1200px){
    body{
        background-size: auto 55%;
    }
}

@media screen and (max-height: 800px){
    body{
        background-size: auto 60%;
    }
}

a{
    font-family: Roboto;
    font-style: normal;
    font-weight: bold;
    font-size: 17px;
    color: var(--text);
    text-decoration: none;
}

#links a:hover{
    color: red;
}

p{
    font-family: Roboto;
    text-decoration: none;
    color: var(--text);
}

nav{
    list-style: none;
    margin-top: 40px;
    padding: 0;
    text-align: center;
}
nav li{
    display:inline;
}

nav a{
    display: inline-block;
    padding: 10px;
}

@media screen and (max-width: 1200px){
    nav a{
        padding: 5px;
    }
    a{
        font-size: 13px;
    }
}

#container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 250px;
}

.about {
    width: 400px;
    margin: 300px;
    text-align: center;
}

.name{
    font-size: 36px;
}