@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  width: 100%;
  min-height: 100vh;
  background: #4f6072;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.file__upload {
  width: 400px;
  height: 445px;
  margin: 20px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.file__upload .header {
  width: 100%;
  height: 145px;
  background: #474787;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px 5px 0 0;
}

.file__upload .header p {
  color: #fff;
}

.file__upload .header p i.fa {
  margin-right: 10px;
}

.file__upload .header p span {
  font-size: 2rem;
  font-weight: 100;
}

.file__upload .header p span span {
  font-weight: 600;
}

.file__upload .body {
  background: #fff;
  width: 100%;
  height: calc(100% - 145px);
  border-radius: 0 0 5px 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.file__upload .body input[type="file"] {
  opacity: 0;
}

.file__upload .body i.fa {
  color: #d3d3d3;
  margin-bottom: 20px;
}

.file__upload .body p strong {
  color: #474787;
}

.file__upload .body p span {
  color: #40407a;
  text-decoration: underline;
}

.btn {
  background: #40407a;
  border: none;
  outline: none;
  margin: 20px 0;
  padding: 0.7rem 2rem;
  font-size: 1.3rem;
  color: #fff;
  border-radius: 3px;
  opacity: 0.8;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  opacity: 1;
}

#link_checkbox {
  display: none;
}

#link {
  border: 1px solid;
  color: #474787;
  background: none;
  width: calc(100% - 20px);
  border-radius: 0;
  outline: none;
  padding: 10px;
  font-size: 1rem;
  margin: 10px 0;
  display: none;
}

#link_checkbox:checked ~ #link {
  display: block;
}

label[for="link_checkbox"] {
  padding: 0.5rem 2rem;
  background: #706fd3;
  color: #fff;
  outline: none;
  cursor: pointer;
}

.download .download_link {
  text-decoration: none;
  color: #fff;
  background: #474787;
  padding: 0.5rem 2rem;
  border-radius: 3px;
  opacity: 0.8;
  transition: 0.3s;
}

.download .download_link:hover {
  opacity: 1;
}