html,
body {
    margin: 0;
}

@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-VariableFont_wght.woff2") format("woff2 supports variations"),
       url("/fonts/Geist-VariableFont_wght.woff2") format("woff2-variations");
  font-weight: 100 1000;
}

:root {
  --font-fallback: Helvetica, Arial, sans-serif;
}

body {
    font-family: "Geist", var(--font-fallback);
	-webkit-font-smoothing: antialiased;
    font-size: 16px;
    line-height: 22px;
    color: #1C1E21;
    background-color: #F1F1F1;
}

a,
a:link {
    color: #1C1E21;
    text-decoration: none;
}

a:hover,
a:visited {
    color: dimgray;
    text-decoration: underline;
}

p {
    font-size: 16px;
	font-weight: 400;
    line-height: 24px;
    color: dimgray;
}

.intro {
    font-size: 18px;
    margin-bottom: 24px;
}

.legal p {
    font-size: 18px;
    line-height: 28px;
    color: dimgray;
}

.legal li {
    font-size: 18px;
    line-height: 28px;
    color: dimgray;
}

h1 {
    font-size: 48px;
    line-height: 52px;
    font-weight: 800;
    margin-bottom: 12px;
	margin-top: auto;
}

.legal h1 {
    font-size: 48px;
    line-height: 52px;
    font-weight: 800;
    text-align: left;
}

h2 {
    font-size: 18px;
    font-weight: 800;
}

.legal h2 {
    font-size: 18px;
    line-height: 28px;
    font-weight: 800;
}

h3 {
    font-size: 14px;
    font-weight: 400;
}

label {
    display: none;
}


/* Header */

header {
    padding: 32px;
	max-width: 520px;
	margin: 0 auto;
}


/* Main */

.main {
    max-width: 520px;
    position: relative;
    display: block;
    padding: 0 32px;
    margin: 0 auto;
}

#form {
    height: 240px;
	width:100%;
	text-align: ;
	padding: 52px 0;
    display: table;
	background-color: #F9FAFB;
	border: 1px solid #e4e6e9;
	border-radius: 24px;
	box-shadow: 0 2px 1px rgba(0, 0, 0, 0.08), 0 4px 2px rgba(0, 0, 0, 0.08), 0 8px 4px rgba(0, 0, 0, 0.08), 0 16px 8px rgba(0, 0, 0, 0.08), 0 32px 16px rgba(0, 0, 0, 0.08);
}

#file_input {
    width: 200px;
    height: 240px;
    border-radius: 8px;
    display: block;
    position: relative;
    top: -40px;
}

#file_input:hover {
    cursor: pointer;
    background-color: aliceblue;
}

#file_input:focus {
    background-color: aliceblue;
}

.empty_state {
    width: 170px;
	font-size:14px;
    text-align: center;
    display: none;
    position: relative;
	margin: 0 auto;
	margin-top: -200px;
    z-index: 77;
    pointer-events: none;
}
.empty_state_mobile {
    width: 170px;
	font-size:14px;
    text-align: center;
    display: block;
    position: relative;
	margin: 0 auto;
	margin-top: -200px;
    z-index: 77;
    pointer-events: none;
}

@media only screen and (min-width: 1024px) {
	.empty_state_mobile {
		display:none;
	}
	.empty_state {
		display: block;
	}	
}


.icon {
    width: 36px;
    font-size: 36px;
    margin: 8px auto;
}

#droptarget {
    width: 200px;
    height: 200px;
	margin: 0 auto;
    border: 1px dashed #C4CCD1;
    border-radius: 8px;
    display: block;
    position: relative;
    overflow: hidden;   
}

.error-messages {
    background-color: rgba(255, 230, 239, 1);
    border-radius: 4px;
    font-size: 15px;
    font-weight: 400;
    padding: 24px;
    margin: 0 auto;
	left:2px;
    width: 152px;
    height: 152px;
    margin-top: -292px;
    z-index: 99;
    position: relative;
    text-align: center;
	left:1px;
	margin-bottom: 132px;
}

a#back {
    display: block;
    text-decoration: underline;
    color: #333;
    margin: 16px 0 0 0;
    position: relative;
    text-align: center;
}

.results {
    margin-top: 160px;
}

img#file_preview {
    width: 200px;
    height: 200px;
    position: relative;
    z-index: 88;
    pointer-events: none;
    margin: 0 auto;
	margin: 0 auto;
    margin-top: 0px;
    display: block;
    margin-top: -292px;
    border-radius: 8px;
    background-color: #F9FAFB;
	left:1px;
}

.preview {
    padding: 15px 16px 0px 16px;
    border-radius: 16px 16px 0 0;
    background-color: #dde1e7;
    margin-bottom: 24px;
}

.tab {
    background-color: #fff;
    display: block;
    border-radius: 8px 8px 0 0;
    padding: 1px 0px 0px 0px;
    height: 48px;
}

.placeholder {
    position: relative;
    display: block;
    float: left;
    width: 24px;
    height: 24px;
    margin: 12px 10px 0 10px;
    z-index: 11;
    pointer-events: none;
}

.tab h3 {
    position: relative;
    display: block;
}

.guidelines {
    max-width: 200px;
    display: block;
    margin: 0 auto;
    margin-top: 16px;
    text-align: center;
    color: dimgray;
    font-size: 13px;
    line-height: 18px;
}

#submit_button {
    display: none;
}

.button_primary {
    margin: 0 auto;
    display: table;
    background-color: #0232fd;
    border: none;
    border-radius: 24px;
    color: white;
    padding: 24px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    cursor: pointer;
    max-width: 295px;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.08), 0 4px 2px rgba(0, 0, 0, 0.08), 0 8px 4px rgba(0, 0, 0, 0.08), 0 16px 8px rgba(0, 0, 0, 0.08), 0 32px 16px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease-out;
}

.button_primary:hover {
    background-color: #0124b5;
    text-decoration: none;
}

.button_primary:active {
    transform: scale(.92);
}

/* Code snipet */

.code {
    margin-top: 52px;
}

.code ol {
    color: dimgray;
}

.code li {
    padding: 4px 0;
}

pre {
    background-color: #DFE3E9;
    color: #1C1E21;
    padding: 16px 16px 16px 16px;
    border-radius: 24px;
    font-family: "Courier New", Courier, monospace;
    white-space: pre-wrap;
}

pre .button_secondary {
    position: relative;
    float: right;
}

.button_secondary {
    background-color: #DFE3E9;
    border: none;
    border-radius: 12px;
    color: white;
    padding: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
    width: 40px;
    height: 40px;
	transition: transform 0.2s ease-out;
}

.button_secondary:hover {
    background-color: #F9FAFB;
}

.button_secondary:active {
    transform: scale(.92);
}

/* Buymeacoffee */

.buymeacoffee {
    margin-top: 52px;
    text-align: center;
    color: dimgray;
}

/* FAQ section */
.faq-container {
    max-width: 520px;
    margin: 40px auto;
    padding: 32px;
}

.faq-container h2 {
    font-size: 32px;
    line-height: normal;
    font-weight: 800;
}
.faq-list {
    margin-top:24px;
}

.faq-item {
    background-color: #F9FAFB;
    border-radius: 20px;
    margin-bottom: 8px;
    border: 1px solid #e4e6e9;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
}

.faq-question:hover {
    
}

.faq-question.active {
    
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s, padding 0.2s;
	transition-timing-function: cubic-bezier(0.86,0,0.07,1);
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 1024px; /* Adjust as needed for largest content */
}

.faq-answer p {
    color: dimgray;
	margin: 0;
}

.chevron {
	flex: 0 0 20px;
    width: 20px;
    height: 20px;
    transition: transform 0.2s;
	transition-timing-function: cubic-bezier(0.86,0,0.07,1);
}

.chevron.active {
    transform: rotate(180deg);
}




/* Terms & Privacy pages */

.legal {
    max-width: 520px;
    position: relative;
    display: block;
    padding: 0 32px;
    margin: 0 auto;
}


/* Footer */

footer {
    max-width: 520px;
    color: dimgray;
    position: relative;
    display: block;
    padding: 0 32px 72px 32px;
    margin: 0 auto;
}


/*

  .     '     ,
    _________
   /_|_____|_\ 
   '. \   / .'
     '.\ /.'
       '.'

Karim Dahou - Product Designer

*/