body {

  display: flex;

  display: -webkit-flex;

  flex-direction: column;

  justify-content: space-between;

  width:100%;

  height:100%;

  margin:0;

  padding: 0;

  background: #c94b4b;  /* fallback for old browsers */

  background: -webkit-linear-gradient(to right, #4b134f, #c94b4b);  /* Chrome 10-25, Safari 5.1-6 */

  background: linear-gradient(to right, #4b134f, #c94b4b); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */



  font-family: Inter, 'Segoe UI', sans-serif;

}

.flex {

  display: flex;

}



.flex-column {

  flex-direction: column;

}



.justify-center {

  justify-content: center;

}

.align-center {

  align-items: center;

}



.topnav {

  padding: 10px;

  overflow: hidden;

  background-color: #3333332e;

  display: flex;

  justify-content: flex-end;

}



.topnav a {

  float: left;

  display: block;

  color: #f2f2f2;

  text-align: center;

  padding: 5px 16px;

  text-decoration: none;

  font-size: 15px;

}



.topnav a:hover {

  border-radius: 50px;

  border:1px solid #04AA6D;

  color: #fff;

}



.topnav a.active {

  border-radius: 50px;

  background-color: #c35786ad;

  color: white;

}



.topnav .icon {

  display: none;

}



@media screen and (max-width: 600px) {

  .topnav a:not(:first-child) {display: none;}

  .topnav a.icon {

    float: right;

    display: block;

  }

}



@media screen and (max-width: 600px) {

  .topnav.responsive {position: relative;}

  .topnav.responsive .icon {

    position: absolute;

    right: 0;

    top: 0;

  }

  .topnav.responsive a {

    float: none;

    display: block;

    text-align: left;

  }

}

main {

  padding-bottom: 20px;

}

.container {

}



.input-row {

  display: flex;



}

.input-row > .row-name {

  padding: 20px 0;

  width: 600px;

}

#id_input_name {

  outline: none;

  padding: 0 20px;

/*  font-family: 'SVN-Helga';*/

  font-size: 24px;

  margin-right: 5px;

  width: 80%;

}

#id_upload {

  width: 20%;

}

.canvas-area {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

}

#id_main_canvas {

  width: 100%;

  height: auto;

  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;

}

.horizontal {

  margin-top: 35px;

}

#id_width_pos {

  width: 801px;

  margin-bottom: 10px;

}

#label-zoom, #label-width, #label-height {

  font-size: 15px;

  text-transform: uppercase;

  color: #fff;

}

.download-btn > #download{

  font-weight: bold;

  text-transform: uppercase;

  margin-top: 50px;

  width: fit-content;

  background: #159957;  /* fallback for old browsers */

  background: -webkit-linear-gradient(to right, #155799, #159957);  /* Chrome 10-25, Safari 5.1-6 */

  background: linear-gradient(to right, #155799, #159957); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */





}

.site_title {

  color: #f20a51;

  text-align: center;

  font-weight: 500;

}



.full_name {

  border: none;

  padding: 0 6px;

  border-radius: 100px;

  font-size: 16px;

  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;

}



.upload_btn {

  width: 25%;

  font-size: 14px;

  font-weight: 400;

  color: #ffffff;

  border-radius: 100px;

  background: #642B73;  /* fallback for old browsers */

  background: -webkit-linear-gradient(to right, #C6426E, #642B73);  /* Chrome 10-25, Safari 5.1-6 */

  background: linear-gradient(to right, #C6426E, #642B73); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

  text-align: center;

  cursor: pointer;

  padding: 0.9rem;

  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;

}



.certificate {

  display: block;

  height: 50%;

  width: 50%;

  align-content: center;

  margin-left: auto;

  margin-right: auto;

}



.frame {

  position: relative;

}



/* Bottom left text */

.bottom-left {

  position: absolute;

  bottom: 8px;

  left: 16px;

}



.display_name {

  position: absolute;

  top: 77.5%;

  left: 40%;

  transform: translate(-50%, -50%);

  color: #e3d598;

  font-family: "SVN-Helga", cursive;

  font-size: 28px; 

  line-height: 28px; 

  font-weight: normal; 

  margin-bottom: 0px; 

  margin-top: 0px; 

  text-align: center; 

  text-shadow: 0 1px 1px rgb(79, 70, 5);

}



.avatar {

  position: absolute;

  border-radius: 50%;

  top: 33.8%;

  left: 32.4%;

  height: 37.9%;

  object-fit: cover;

  object-position: center;

}



.img_div {

  width: 250;

  /* width: 250px;

  height: 250px; */

}



.img_div:after {

  content: "";

  display: block;

  padding-bottom: 100%;

}



.hidden_img {

  display: none;

}



.vertical_silder {

  height: 100%;

  -webkit-appearance: slider-vertical;

  margin-bottom: 10px; 

}



.inline_block {

  display: flex;

  justify-content: center;

}



.clearfix{

  clear:both;

}

footer {

  padding: 10px 0;

  background-color: #3333332e;

  width: 100%;

}

footer > .footer-area, .footer-area a {

  font-size: 12px;

  width: 100%;

  text-align: center;

  color: white !important;

}



@font-face {

  font-family: 'SVN-Helga';

  src:  url('font/SVN-Helga.otf') format('truetype');

}



@font-face {

  font-family: 'UVNSangSongB';

  src:  url('font/UVNSangSong_b.ttf') format('truetype');

}



@media (max-width: 3000px) {

  .canvas-row > #id_main_canvas{

    width: 100% !important;

  }

  #id_width_pos {

    width: 1070px;

  }

}



/* // XX-Large devices (larger desktops) */

@media (max-width: 1920.1px) {

  .canvas-row > #id_main_canvas{

    width: 60% !important;

  }

  #id_width_pos {

    width: 801px;

  }

}

/* // X-Large devices (large desktops, less than 1400px) */

@media (max-width: 1399.98px) {

  .canvas-row > #id_main_canvas{

    width: 60% !important;

  }

 }



 /* // Large devices (desktops, less than 1200px) */

@media (max-width: 1199.98px) {

  .canvas-row {

    flex-direction: column;

  }

  .canvas-row > #id_main_canvas{

    width: 100% !important;

    order: 0;

  }

  .canvas-row > .left {

    margin-top: 2rem;

    order: 1

  }

  .canvas-row > .right   {

    margin-top: 2rem;

    order: 2

  }

  .vertical_silder, #id_width_pos  {

    width: 75%;

    -webkit-appearance: auto;

    -webkit-appearance: color-well;

  }

  .horizontal {

    width: 100%;

    margin-top: 2rem;

  }

  .download-btn > #download {

    margin-top: 2rem;

  }

}



/* // Medium devices (tablets, less than 992px) */

@media (max-width: 991.98px) {



}



/* // Small devices (landscape phones, less than 768px) */

@media (max-width: 767.98px) {



}







/* X-Small devices (portrait phones, less than 576px) */

@media (max-width: 575.98px) {

  .container {

    padding-bottom: 1rem;

  }

  .canvas-row {

    flex-direction: column;

  }

  .canvas-row > #id_main_canvas{

    width: 100% !important;

    order: 0;

  }

  .canvas-row > .left {

    margin-top: 1rem;

    order: 1

  }

  .canvas-row > .right   {

    margin-top: 1rem;

    order: 2

  }

  .vertical_silder, #id_width_pos  {

    width: 75%;

    -webkit-appearance: auto;

    -webkit-appearance: color-well;

  }

  .horizontal {

    width: 100%;

    margin-top: 1rem;

  }

  .download-btn > #download {

    margin-top: 1rem;

  }

}











