:root {
  --default-font-color: #798084;
  --light-gray: #f1f3f5;
  --dark-gray: #b5bEc2;
  --black: #212121;
  --white: #ffffff;
}

*,
*:after,
*:before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  color: var(--default-font-color);
  font-family: 'Roboto', sans-serif;
}

html, body {
  height: 100%;
}

body::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

body::-webkit-scrollbar-track {
	background: var(--black);
}

body::-webkit-scrollbar-thumb {
	border-radius: 800px;
	background-color: var(--default-font-color);
}

::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-thumb {
  background: var(--dark-gray);
	border-radius: 120px;
}

::-webkit-scrollbar-track {
	background: none;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.container {
	display: flex;
  width: 100%;
	justify-content: center;
	margin: 0 auto;
  flex: 1;
  padding: 32px 0;
  background-color: var(--light-gray);
}

.card {
  width: 100%;
  margin: auto;
  padding: 48px;
  max-width: 450px;
  color: var(--black);
  text-align: center;
  border-radius: 24px;
  flex-direction: column;
  background-color: var(--white);
  background-size: cover;
  box-shadow: 0 3px 20px rgba(33, 33, 33, 0.1);
}

.success {
  width: 100%;
	height: 440px;
	background: url(./../assets/success.svg) no-repeat center;
	background-size: cover;
}

h3 {
  color: var(--black);
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.download-popup {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(33, 33, 33, 0.8);
}

.download-popup p {
  font-weight: 500;
  font-size: 1.25rem;
}

.download-options {
  padding: 32px;
  border-radius: 16px;
  background-color: var(--white);
}

.download-options .btn {
  width: 100%;
}

.download-options .ios,
.download-options .android {
  display: block;
  width: 240px;
  height: 96px;
  margin: 0 auto;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.download-options .ios {
  background-image: url('./../assets/apple.svg')
}

.download-options .android {
  background-image: url('./../assets/android.svg')
}

.buttons .download-btn {
  outline: 0;
  cursor: pointer;
  display: block;
  width: 100%;
  max-width: 300px;
  min-height: 45px;
  margin: 0 auto;
  margin-bottom: 16px;
  font-weight: 500;
  text-align: center;
  border-radius: 22px;
  color: #ffffff;
  background-color: #1c9ef9;
  border: 1px solid #1c9ef9;
}

.hide {
  display: none;
}

@media (max-width: 855px) {
  .container {
    flex: 1;
    padding: 16px;
    flex-direction: column;
  }
}

@media (max-width: 767px) {  
  .card {
    padding: 32px;
    border-radius: 0;
  }

  .card.success {
    min-height: unset;
  }
}

@media (max-width: 480px) {
  .success {
    height: 360px;
  }
}

@media (max-width: 400px) {
  .success {
    height: 320px;
  }
}
