@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
* {
    background: white;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}
.header{
    margin: 5px;
    padding: 5px;
    border: 1px solid black;
    box-shadow: 5px 5px 5px darkred;
    background-color: #171717;
    text-align: center;
    
}
.footer{
    margin: 5px;
    padding: 5px;
    border: 1px solid black;
    box-shadow: 5px 5px 5px darkred;
    text-align: center;
    
}
.ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  /*background-color: #333;*/
}

.li {
  float: left;
}

.li.a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.li.a:hover:not(.active) {
  /*background-color: #a76bcf;*/
}

.active {
  /*background-color: #04AA6D;*/
}

.mobile-container {
  max-width: auto;
  margin: auto;
  background-color: black;
  height: auto;
  color: white;
  border-radius: 10px;
}

.topnav {
  overflow: hidden;
  background-color: black;
  position: relative;
  text-align: center;
}

.topnav #myLinks {
  display: none;
}

.topnav a {
  color: white;
  padding: 5px 5px;
  text-decoration: none;
  font-size: 25px;
  display: block;
  text-align: center;
}

.topnav a.icon {
  background: black;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  text-align: center;
}

.topnav a:hover {
  /*background-color: #ddd;*/
  color: black;
  text-decoration: none;
  text-align: center;
}

.active {
    margin: 5px;
    padding: 5px;
    border: 1px solid black;
    box-shadow: 5px 5px 5px darkred;
    text-decoration: none;
    /*background-color: #04AA6D;*/
    color: white;
    text-align: center;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: monospace;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: black;
}

/* Style for form */
form {
  width: 490px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

/* Style for heading */
form header {
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  color: #e82a2a;
}

/* Style for input section */
form .url-input {
  margin: 30px 0;
}
.url-input .heading {
  font-size: 15px;
  color: #e82a2a;
}
.url-input .input-field {
  margin-top: 10px;
  height: 40px;
  width: 100%;
}
.url-input .input-field input {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  padding: 0 15px;
  font-size: 15px;
  background: #f1f1f7;
  border-radius: 10px;
}
.url-input .input-field input::placeholder {
  color: #b3b3b3;
}

/* Style for preview section */
form .preview-area {
  border-radius: 10px;
  height: 220px;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 2px dotted #e82a2a;
}
.preview-area .thumbnail {
  width: 100%;
  display: none;
  border-radius: 10px;
}
.preview-area .icon {
  color: #e82a2a;
  font-size: 80px;
}
.preview-area span {
  color: #e82a2a;
  margin-top: 25px;
  font-size: 15px;
  font-weight: 600;
}
.preview-area.active {
  border: none;
}
.preview-area.active .thumbnail {
  display: block;
}
.preview-area.active .icon,
.preview-area.active span {
  display: none;
}

/* Style for download button */
form .download-button {
  color: #fff;
  height: 50px;
  width: 100%;
  outline: none;
  border: none;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  margin-top: 20px;
  border-radius: 10px;
  background: #e82a2a;
}
.download-button:hover {
  background: #db0000;
}

 .container-class{
        background: #e9e9e9;
        border: #B3B2B2 1px solid;
        border-radius: 2px;
        margin: 20px;
        padding: 40px;
    }    
    .input-class{
        width: 100%;
        border-radius: 2px;
        padding: 20px;
        border: #e9e9e9 1px solid;
    }
    .submit-class{
        padding: 10px 20px;
        background: #000;        
        color: #fff;
        font-size: 0.8em;
        width: 110px;
        border-radius: 4px;
        cursor:pointer;
        border: black 2px solid;
    }