:root {
    --head-color: #c24d2c;
    --text-color: #1a2639;
    --hover-color: #3e4a61;
    --card-color: #d9dad7;
    --card-bg: linear-gradient(111.4deg, rgb(209, 231, 235) 7.4%, rgb(238, 219, 199) 51.4%, rgb(255, 159, 122) 82.6%, rgb(255, 109, 58) 100.2%);
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  justify-content: center;
  /* font-family: 'Roboto Mono', monospace; */
  font-family: 'Fredoca', sans-serif;
  color: var(--text-color);
}

h1, h2{
    color: var(--head-color);
}

a:link {
    text-decoration: none;
    color: var(--text-color);
}
  
a:visited {
    text-decoration: none;
    color: var(--text-color);
}
  
a:hover {
    text-decoration: underline;
    color: var(--hover-color);
}
  
img{
    /* display: block; */
    margin-left: auto;
    margin-right: auto;
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
}

div#card{
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: var(--card-color);
    /* background: var(--card-bg); */
    border-radius: 50px;
    align-items: center;
    max-width: 50%;
}

div#picture{
    display: contents;
    
}

div#picture > img {
    width: 15%;
	border-radius: 50%;
    padding-left: 20px;
    padding-right: 20px;
}

div#info{
    flex-grow: 3;
}

div#head{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

div#head> div >img{
    width: 200px;
    padding-right: 20px;
}

div#download{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 10px;
}

div#download > a {
    margin-left: 10px;
    margin-right: 10px;
}


div#qrcode{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 10px;
}

@media all and (orientation: portrait){
    div#card{
        flex-direction: column;
        max-width: 90%;
    }

    div#info{
        padding: 10px;
    }

    div#head{
        flex-direction: column-reverse;
        align-items: center;
    }

    div#name{
        text-align: center;
    }

    div#title{
        text-align: center;
    }

    div#picture > img {
        width: 30%;
        border-radius: 50%;
        padding-top: 10px;
    }
}

@media all and (orientation: landscape) and (max-width: 1535px){
    div#card{
        flex-direction: row;
        max-width: 90%;
    }
}