body {
    margin: 0;
    padding: 0;
    font-family: 'Muli', sans-serif;
    background-color: #262626;
    color: #fff;
}

/*** SLIDESHOW ***/


.slider-text {
    font-family: 'Muli', sans-serif;
    font-weight: bold;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    color: #fefefe;
    display: flex;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    -o-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
}


/*** CODE ***/
.code {
    padding: 64px 32px;
    max-width: 600px;
    margin: auto;
}

.code__title {
    font-size: 24px;
    padding: 16px;
    text-align: center;
}

pre {
    margin: 0;
}

/*** INFO ***/
.info {
    padding: 64px 32px;
    max-width: 600px;
    margin: auto;
}

.info__title {
    font-size: 24px;
    padding: 16px;
    text-align: center;
}

.actions {
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.button {
    border: none;
    border-radius: 2px;
    position: relative;
    min-width: 64px;
    display: inline-block;
    font-family: Roboto, sans-serif;
    letter-spacing: 0;
    overflow: hidden;
    will-change: box-shadow;
    -webkit-transition: background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .2s cubic-bezier(.4,0,1,1);
    transition: background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .2s cubic-bezier(.4,0,1,1);
    transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);
    transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .2s cubic-bezier(.4,0,1,1);
    outline: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    -webkit-tap-highlight-color: rgba(255,255,255,0);
    background: hsla(0,0%,62%,.2);
    -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
    margin: 10px;
    color: #fff;
    font-size: 18px;
    line-height: 46px;
    height: 46px;
    padding: 0 20px;
    font-weight: 500;
}


.docs {
    background-color: #5088a5;
}


.buy {
    background-color: #6f9a37;
}

/*** DEVICES ***/
.devices {
    display: flex;
    flex-direction: column;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 64px 32px;
    margin: auto;
}

.devices__title {
    font-size: 24px;
    padding: 16px;
    text-align: center;
}

.devices__options {
    display: flex;
    flex-direction: column;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom: 10px;
}

.devices__type {
    display: flex;
    flex-direction: row;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
}

.devices__type-header {
    padding: 10px;
    font-family: 'Voltaire', sans-serif;
}

.devices__type-items {
    display: flex;
    flex-direction: row;
}

.devices__type-item {
    padding: 10px;
    font-size: 24px;
    -ms-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    -webkit-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
    -ms-opacity: 0.5;
    opacity: 0.5;
    cursor: pointer;
}

.devices__type-item:hover {
    -ms-opacity: 1;
    opacity: 1;
}

.devices__type-item.devices__type-item_selected {
    -ms-opacity: 0.9;
    opacity: 0.9;
}

.devices__scale {
    display: flex;
    flex-direction: row;
}


.devices__scale-items {
    display: flex;
    flex-direction: row;
}

.devices__scale-item {
    padding: 10px;
    font-family: 'Voltaire', sans-serif;
    -ms-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    -webkit-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
    -ms-opacity: 0.5;
    opacity: 0.5;
    cursor: pointer;
}

.devices__scale-item:hover {
    -ms-opacity: 1;
    opacity: 1;
}

.devices__scale-item.devices__scale-item_selected {
    -ms-opacity: 0.9;
    opacity: 0.9;
}

.devices__iframe {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

/*** DEVICE ***/
.marvel-device {
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -ms-transform-origin: top;
    -o-transform-origin: top;
    -webkit-transform-origin: top;
    transform-origin: top;
    max-width: 90vw;
    max-height: 90vh;
}

.marvel-device.scale70 {
        -webkit-transform: scale(0.71);
        -ms-transform: scale(0.71);
        transform: scale(0.71);
    }

    .marvel-device.scale50 {
        -webkit-transform: scale(0.46);
        -ms-transform: scale(0.46);
        transform: scale(0.46);
    }

/*** CONSTRUCTOR ***/
.constructor {
    max-width: 800px;
    margin: auto;
    padding-bottom: 100px;
}

.constructor__title {
    font-size: 24px;
    padding: 16px;
    text-align: center;
}

.constructor__preview {
    max-width: 800px;
    width: 100%;
    height: auto;
    margin: auto;
}

/*** LIBRARY ***/
.library {
    padding: 64px 32px;
    max-width: 980px;
    margin: auto;
    display: flex;
    flex-direction: row;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -o-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.library__title {
    font-size: 24px;
    padding: 16px;
    text-align: center;
    width: 100%;
}

.library__item {
    margin: 8px;
    display: block;
    max-width:300px;
    max-height:150px;
    width: auto;
    height: auto;
}