/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   V2 styles
   ========================================================================== */

#home {
    overflow: hidden;
}

#home-title {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px;
    text-align: center;
}

.intro {
    font-size: 25px;
    margin: 15px;
    position: relative;
}

.intro-tag {
    font-size: 32px;
    /* font-weight: 600; */
    margin: 20px;
}

.intro-spacer {
	height: 2px;
	width: 100px;
    background: #22a6b3;
    margin: 10px auto;
}

.intro-pic-container {
    margin-top: 15px;
    width: 256px;
    height: 256px;
    border-radius: 128px;
    margin: auto;
    display: block;
    position: relative;
}

.intro-pic-container:hover {
    box-shadow: 0px 0px 25px rgba(103, 230, 220,0.55);
}

.intro-pic-container:active {
    box-shadow: 0px 0px 25px rgba(103, 230, 220,0.55);
    transform: scale(0.95);
}

.intro-roundel {
    position: absolute;
    left:0px;
    right:0px;
    bottom:0px;
    top: 0px;
    border-radius: 9999999999px;
    background: #dfe4ea;
}

.intro-pic {
    border-radius: 128px;
    width: 250px;
    height: 250px;
    margin: 3px;
    position: relative;
    z-index: 10;
}

#arrow-down {
    position: relative;
    z-index: 5;
}

.joint {
    font-size: 25px;
    /* background: #22a6b3; */
    text-align: center;
    padding: 100px 10px;
    padding-bottom: 200px;
    color: white;
}

.joint.joint-thin {
    padding: 50px 10px;
    padding-bottom: 150px;
}

.joint.joint-plain {
    padding: 50px 10px;
}

.joint div {
    margin: 10px 10px ;
}

.joint-overlay {
    margin: auto;
    margin-top: -100px;
    padding: 30px;
    padding-bottom: 40px;
    background: white;
    text-align: center;
    /* z-index: 100;
    position: relative; */
}

@media (min-width: 1000px) {    
    .joint-overlay {
        width:1000px;
        /* border-radius: 50px; */
        box-shadow: 0px 5px 10px rgba(0,0,0,0.05);
        margin-bottom: 10px;
    }
    .joint-overlay.joint-overlay-thin {
        width:700px;
    }
}

.joint-accent {
    height: 10px;
    background: url('../img/stripes.png') repeat;
    margin: -30px;
    margin-bottom: 50px;
}

.simple-title {
    font-size: 25px;
    font-weight: 700;
    margin: 10px;
}

.simple-paragraph {
    margin: 10px;
    font-size: 16px;
}

.simple-icon {
    width: 64px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.extra {
    opacity: 0.3;
}

.extra-mid {
    opacity: 0.5;
}

.extra-more {
    opacity: 1;
}

.entry-divider {
    background-image: url('../img/skill-sprite.png');
    background-repeat: repeat;
    height: 10px;
    margin: 5px 0px;
}

.big-section {
    margin: 40px 0px;
}

.section-title {
    font-size: 40px;
    font-weight: 300;
    margin-top: 2em;
    margin-bottom: 1em;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 15px;
}

@media(max-width:767px) {    
    .section-title {
        font-size: 40px;
        /* margin-top: 50px; */
        letter-spacing: 5px;
    }
}

.section-title-spacer {
	height: 3px;
	width: 150px;
    background: #22a6b3;
    margin: 20px auto;
}

/* ==========================================================================
   Product and cloud info
   ========================================================================== */

.tag-cloud {
    text-align: center;
    margin: 5px 10px;
    line-height: 30px;
}

.tag-cloud-item {
    padding: 0px 10px;
    margin: 3px;
    background: #f1f2f6;
    font-size: 14px;
    display: inline-block;
}

.tag-cloud-item-2 {
    border-bottom: 2px solid #22a6b3;
}
   
.product-container {
    padding: 2em 0em;
}

.product {
    margin: 2em auto;
}

@media (min-width: 1000px) {    
    .product {
        width:1000px;
    }
}

.product-left {
    
}

.product-image {
    max-width: 100%;
}

.product-image-container {
    text-align: center;
}

.product-left .product-image-container {
    margin-right:30px;
}

.product-right .product-image-container {
    margin-left:30px;
}

.product-center .product-image-container {
    margin-bottom: 30px;
}

@media(max-width:767px) {    
    .product-image-container {
        margin-bottom: 10px !important;
        margin-right:0px !important;
        margin-left:0px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .product-left .product-image-container {
        margin-right:20px;
    }
    
    .product-right .product-image-container {
        margin-left:20px;
    }
}

.product-right .product-info {
    text-align: right;
}

.product-center .product-info {
    text-align: center !important;
}

@media(max-width:767px) {    
    .product-info {
        text-align: center !important;
    }
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    margin: 10px 20px;
    margin-top: 0px;
}

.product-paragraph {
    margin: 10px 20px;
    font-size: 20px;
}

.product-misc {
    margin: 10px 20px;
    margin-bottom: 0px;
    font-size: 16px;
}

.product-date {
    opacity: 0.75;
}

.product-tag {
    opacity: 0.5;
}

.product-misc a {
    color: #22a6b3;
    text-decoration: none;
}

.product-misc a:active {
    color: black;
}

@media(max-width:767px) {    
    .product-title {
        font-size: 25px;
    }
    .product-paragraph {
        font-size: 18px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .product-title {
        font-size: 30px;
    }
    .product-paragraph {
        font-size: 18px;
    }
}

.product-info {
    
}

.gradient .product-info {
    color: white;
}

.product-info-container {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.product-thumbnails-container {
    margin:auto;
    margin-top: 10px;
    text-align: center;
}

.product-thumbnail-link {
    width: 100px;
    margin: 10px;
    display: inline-block;
    border-radius: 5px;
    border: 1px solid transparent;
}

.product-thumbnail-link:hover {
    transform: scale(1.05);
}

.product-thumbnail-link:active {
    transform: scale(0.95);
}

.product-thumbnail {
    width: 100%;
    border-radius: 5px;
    overflow:hidden;
}

*[inline-template] {
    display: none;
}

/* ==========================================================================
   Map and contact
   ========================================================================== */

.map {
    background: teal;
    height: 300px;
    margin: 3em 0em;
}

.button-nice {
    font-size:16px;
    margin: 20px;
    margin-bottom:10px;
    padding: 15px 30px;
    display: inline-block;
    border-radius: 9999px;
    border: 0px solid transparent;
    color: white;
    background: #00d2d3;
    box-shadow: 0px 5px 15px rgba(103, 230, 220,0.75);
}
.button-nice:hover {
    transform: scale(1.05);
}

.button-nice:active {
    transform: scale(0.95);
}


/* ==========================================================================
   Gradients
   ========================================================================== */


.gradient.gradient-aqua-marine {
    background-image: linear-gradient(0deg, #00d2d3 0%, #0abde3 100%);
}

.gradient.gradient-tempting-azure {
    background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
}

.gradient.gradient-happy-fisher {
    background-image: linear-gradient(120deg, #89f7fe 0%, #66a6ff 100%);
}

.gradient.gradient-dusty-grass {
    background-image: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
}

/* yep */
.gradient.gradient-ripe-malinka { 
    background-image: linear-gradient(120deg, #f093fb 0%, #f5576c 100%);
}

/* yep */
.gradient.gradient-malibu-beach {
    background-image: linear-gradient(180deg, #4facfe 0%, #00f2fe 100%);
}

/* yep */
.gradient.gradient-plum-plate {
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* yep */
.gradient.gradient-itmeo {
    background-image: linear-gradient(135deg, #2af598 0%, #009efd 100%);
}

/* yep */
.gradient.gradient-star-wine {
    background-image: linear-gradient(to right, #b8cbb8 0%, #b8cbb8 0%, #b465da 0%, #cf6cc9 33%, #ee609c 66%, #ee609c 100%);
}

/* yep */
.gradient.gradient-strong-bliss {
    background-image: linear-gradient(to right, #f78ca0 0%, #f9748f 19%, #fd868c 60%, #fe9a8b 100%);
}

/* yep */
.gradient.gradient-phoenix {
    background-image: linear-gradient(180deg, #f83600 0%, #f9d423 100%);
}

/* yep */
.gradient.gradient-palo-alto {
    background-image: linear-gradient(-60deg, #16a085 0%, #f4d03f 100%);
}

/* yep */
.gradient.gradient-fabled-sunset {
    background-image: linear-gradient(180deg, #231557 0%, #44107A 29%, #FF1361 67%, #FFF800 100%);
}

   

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
