:root {
    --button-primary: #329675;
    --button-primary-hover: #44aa88;
    --light-blue: #003A8C;
    --light-green: #52D0A1;
    --dark-blue: #002766;
    --white: #FFF;
    --white-background: #FAFAFB;
    --light-grey: #E5E5E5;
    --medium-grey: #E8E7E8;
    --medium-dark-grey: #C3C2C3;
    --dark-grey: #BFBFBF;
    --text-light-color: #8C8C8C;
    --text-color: #474747;
    --red: #F2545B;
    --yellow: #E0B569;

}

* {
    font-family: 'Mulish', sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    background: var(--white-background);
}

header {
    display: flex;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.02);
}

header #title{
    width: 100%;
    height: 100px;

    display: flex;
    align-items: center;
    
    padding-left: 28px;
    background: var(--light-blue);
    border-bottom: solid 40px var(--dark-blue);

    box-sizing: border-box;
}

header #logo {
    width: 230px;

    margin: auto;
    text-align: center;
}

header #logo img {
    width: 170px;
    height: 26px;
}

h1 {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    text-align: left;
    
    box-sizing: border-box;
}

h2 {
    color: var(--light-blue);
    
    font-size: 16px;
    font-weight: 400;
    display: inline-block;
    padding-bottom: 12px;
    
    border-bottom: 2px solid var(--light-blue);
}

#wrapper-title {
    border-bottom: 1px solid var(--light-grey);
}


#content-wrapper {
    display: flex;
    margin: auto;
    margin-top: 74px;
}

#formulario-wrapper {
    display: flex;
    flex-direction: column;
    
    height: 636px;
    width: 293px;
    margin-right: 52px;
}


#formulario-content-wrapper, #preview-content-wrapper {
    background: var(--white);
    height: inherit;
    
    margin-top: 26px;

    border-bottom: 2px solid var(--light-green);
}

#formulario-content-wrapper > div {
    display: flex;
   flex-direction: column;
   padding: 12px;
   
   box-sizing: border-box;
}

#formulario-content-wrapper > div > input {
    height: 32px;

    margin-top: 4px;
    padding: 0 6px;
    
    border: 1px solid var(--dark-grey);
    border-radius: 2px;
}

#preview-wrapper {
    display: flex;
    flex-direction: column;
    
    height: 636px;
    width: 864px;
}

#preview-content-wrapper {
    text-align: center;
    padding: 32px 24px 0px 24px;
    box-sizing: border-box;
}

#preview-example-wrapper {
    margin-bottom: 40px;

    border: 1px solid var(--medium-grey);
    border-radius: 2px;
}

#preview {
    text-align: left;
    padding: 10% 0 10% 20%;
}

#preview-email-circles, #preview-email-title {
    text-align: left;
    background: var(--medium-grey);
}

#preview-email-circles {
    border-bottom: 1px solid var(--medium-dark-grey);
}

#preview-email-title {
    padding: 8px 0 8px 30px;
}

#preview-email-title > p {
    font-size: 12px;
}

#preview-email-title > p:nth-child(1) {
    padding-bottom: 4px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 8px 0 0 8px;
    
    border-radius: 50%;
    display: inline-block;
}

.dot:nth-child(1) {
    background-color: var(--red);
}

.dot:nth-child(2) {
    background-color: var(--yellow);
}

.dot:nth-child(3) {
    background-color: var(--light-green);
}

input:focus {
    outline: none;
}

label {
    color: var(--text-light-color);
    font-size: 12px;
}

label[required]:before {
    content: "* ";
    color: var(--red);
}

button.primary {
    background: var(--button-primary);
    color: var(--white);
    
    font-weight: 700;
    font-size: 16px;
    
    padding: 5px 10px;
    margin-bottom: 16px;

    transition: background 0.2s ease-in-out;

    cursor: pointer;
    
    border: none;
    border-radius: 4px;
}

button.primary:hover {
    background: var(--button-primary-hover);
}

footer {
    color: var(--text-light-color);
}