/* reseting base styles */

html, body {
    padding: 0;
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16pt;
}

body {
    background-color: #f6f6f6;
}

h2 {
    padding: 0;
    margin: 0;
    line-height: 1.3;
    color: #252525;
}

p {
    padding: 0;
    margin: 0;
    margin-bottom: 16px;
    line-height: 1.6;
    color: #3f454b;
}


main {
    width: 90%;
    margin: 32px auto;
    margin-bottom: 72px;
}

@media (min-width: 912px) {
    main {
        max-width: 712px;
    }
}

/* styling for cards */

.card {
    position: relative;
    box-sizing: border-box;
    padding: 0 32px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.card {
    border: 2px solid transparent;
    background-color: white;
}

/* reset p margins */

.card p {
    margin-bottom: 0;
}

/* adjust inner padding */

.card :first-child {
    padding-top: 16px;
}

.card :last-child {
    padding-bottom: 16px;
}

/* highlighting class for cards */
.highlighting {
    border-color: #09BC8A;
}

/* position the card icon */

.card .card-icon {
    position: absolute;
    display: block;
    top: 40%;
    right: 32px;
}

/* drag container */
.dragarea {
    margin-bottom: 32px;
}

/* classes to add when an element is dragged */

.drag {
    -webkit-box-shadow: 0 0 9px 3px hsla(0, 0%, 0%, 0.3);
    box-shadow: 0 0 9px 3px hsla(0, 0%, 0%, 0.3);
}

/* droparea styles */

.droparea {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 3em;
    border-radius: 6px;
    padding: 16px 32px;
    border-width: 3px;
    border-style: dashed;
    border-color: #bdbdbd;
    text-align: center;
}

.droparea p {
    color: #b8b8b8;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11pt;
    font-weight: bold;
}

/* droparea focus */
.droparea.focus {
    background-color: White;
    border-color: #09BC8A;
}

/* submit button */
#submit {
    display: block;
    width: 100%;
    margin: 0;
    padding: 16px 0;
    font-size: 14pt;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-color: hsla(163, 91%, 39%, 0.1);
    border: 2px solid #09BC8A;
    color: #09BC8A;
}