:root {
    --rice: #faf5ef;
    
    --primary-color: var(--rice);
    --secondary-color: #ccc;
    --font-family: sans-serif;
}

body {
    background: #ffe url("../badges/fade.png") top repeat-x;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.element {
    padding: 20px;
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    background-color: #fff;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.element.id-card {
    display: grid;
    grid-template-columns: 1fr 1fr; 
}

.element.addresses {
    margin-top: 50px;
    margin-right: 256px;
    width: 100%;
    max-width: 512px;
    align-self: flex-end;
}

.id-card .title {
    grid-column: span 2;
    grid-row-end: 2;
    display: flex; 
    margin-bottom: 10px;
}

.id-card .title .flag {
    font-size: 2rem;
    margin: 0;
}

.title-text {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 0 10px;
    align-self: center; 
}

.id-card .info {
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    width: 300px;
    margin-left: -20px;
}

.info p {
  margin: 0;
  margin-bottom: 0px;
  margin-bottom: 15px;
}

.id-card .photo {
    width: 230px;
    height:100%;
    object-fit: cover;
}

.addresses .title-text {
    text-align: center;
}

.button {
    image-rendering: pixelated;
}