*{
    box-sizing: border-box;
}

body{
    padding: 0;
    margin: 0;
    font-family: 'Roboto'; /* set real font */
}

#app{
    display: flex;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
}

.screenpart{
    display: flex;
    width: 100vw;
    height: 100vh;
}

#filters{
    background: #321c2b;
    color: #ffffff;
    flex: 1;
    padding: 15px;
    overflow: auto;
}

.filter-block{
    margin: 15px 0;
    padding: 15px;
    border-radius: 10px;
    background: rgba(255,255,255,.1);
}

.filter-block > strong{
    display: block;
    margin: 0 0 10px;
}

.filter-block > div{
    display: inline-block;
    margin: 0 5px 5px 0;
}

.filter-block .radio-selection{
    display: none;
}

.filter-block .radio-item{
    display: inline-block;
    padding: 5px;
    background: rgba(255,255,255,.1);
    cursor: pointer;
    border-radius: 5px;
}

.filter-block .radio-item svg{
    width: 30px;
}

.filter-block .radio-item-color{
    width: 20px; height: 20px; display: inline-block; border-radius: 20px;
}

.filter-block .radio-selection[type="radio"]:checked ~ .radio-item{
    border: 3px solid #ffffff;
}

#result{
    flex: 1.5;
    display: flex;
    background: #3c2434;
    justify-items: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

#card{
    background: #c4f1f3;
    margin: auto;
    width: 400px;
    height: 600px;
    border: 10px solid #ffffff;
    border-radius: 20px;
    box-shadow: 0 40px 150px 0 rgba(0,0,0,0.7);
    position: relative;
}

.card-layer svg {
  width: 100%;
  height: 100%;
}

.card-layer{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.3s ease-in-out;
}

/* Ensure card has proper dimensions for export */
#card {
  position: relative;
  background: #e3e3e3; /* Add background for better export */
}

.card-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card-layer svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Fix for html2canvas */
#card * {
  box-sizing: border-box;
}

/* other screens */
.avatarlist{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}
.avatarlist li{
    margin: 0 10px 10px 0;
    padding: 0;
    display: flex;
}
.avatardisplay{
    width: 50px;
    height: 50px;
    border-radius: 300px;
    background: #3f3f3f;
    display: inline-block;
    display: none;
}
.avatardisplay.selected{
    zoom: 2;
    display: inline-block;
}
.avatardisplay.add{
    background: silver;
}
.avatardisplayname{
    display: inline-block;
    font-size: 50px;
    font-weight: 800;
    text-transform: uppercase;
    margin: -15px 0 0 10px;
}
.avatardisplayname span{
    display: block;
    font-size:15px;
    margin-top: -20px;
    opacity: .7;
}
.block-well{
    margin: 40px 0 0;
    border-radius: 20px;
    padding: 20px;
    border: 3px solid #f1f1f1;
}

.block-well h2{
    margin-top: 0;
}

.block-well strong{
    display: block;
    margin: 0 0 20px;
}

.block-well .input--control{
    width: 100%;
}

@media (max-width: 992px) {
    #filters{
        order: 2;
    }
    #result{
    }
    .screenpart{
        flex-direction: column;
        
    }
}

@media (max-height: 900px) and (max-width: 992px) {
    #card{
        width: 300px;
        height: 450px;
    }
    #filters{
    }
    #result{
    }
}

.export-mode {
  transform: none !important;
  transition: none !important;
  animation: none !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 850px !important;
  height: 1115px !important;
  overflow: visible !important;
}

.export-mode .card-layer {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.export-mode svg {
  width: 100% !important;
  height: 100% !important;
}