/* Space out content a bit */
body {

    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 10px;
}

/* Custom page footer */
footer {
    color: #777;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

h3 {
    color: #444;
}
.row {
    margin-top: 20px;
}

.bg-grey {
    width: 100%;
    height: auto;
    background-color: #eee;
}

.extra-space {
    padding-top: 30px;
    padding-bottom: 30px;
}

.swellmap-title {
    font-weight: bold;
}

.swellmap-subtitle {
    font-weight: 400;
}

.weathermap-subtitle {
    display: none;
    font-weight: 400;
    font-size: 20px;
}

.swellmap-description {
    font-size: 20px;
}

.swellmap-img {
    position: relative;
    display: inline-block;
    width: 263px;
    height: 480px;
    background-repeat: no-repeat;
}

.title-img {
    width: 36px;
    height: 36px;
}

.swellmap-img-surf {
    background-image: url("../images/phone-surf.png");
}

.swellmap-img-boat {
    background-image: url("../images/phone-boat.png");
}

.swellmap-carousel {
    position: absolute;
    top: 57px;
    left: 21px;
    width: 219px;
    height: 342px;
}
  
li {
    margin-bottom: 20px;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 500px;
  margin-bottom: 0px;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  background-color: #777;
}

.carousel .item .container {
    text-align: center;
    color: #fff;
}

.carousel-inner .item {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.carousel-control .icon-prev, .carousel-control .glyphicon-chevron-left {
    left: 30px;
}

.carousel-control .icon-next, .carousel-control .glyphicon-chevron-right {
    right: 30px;
}

.carousel-indicators li, .carousel-indicators li.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 5px;
}


.store-links {
    text-align: center;
}

.store-link {
    margin-right: 0px;
}

.showcase {
    display: none;
}

@media screen and (min-width: 767px) {

    h2 {
        font-size: 45px;
        margin-bottom: 30px;
    }   

    .title-img {
        width: 72px;
        height: 72px;
    }

    .store-links {
        text-align: left;
    }

    .store-link {
        margin-right: 20px;
    }

    .carousel .item .container {
        text-align: left;
    }

    .carousel-indicators li, .carousel-indicators li.active {
        width: 10px;
        height: 10px;
        border-radius: 10px;
        margin: 1px;
    }

    .show-text {
        margin-left: 85px;
    }

    .weathermap-subtitle {
        display: inline;
    }
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 992px) {
    
    .showcase {
        display: block;
        position: absolute;
        height: 700px;
        width: 0;
        left: 55%;
        z-index: 10;
    }

    .iphone-wrapper {
        position: absolute;
        width: 565px;
        height: 1320px;
        top: 30px;
        left: 55%;
        -webkit-transform-origin: 50% 0;
        transform-origin: 50% 0;
        transform: scale(0.515909);
        margin-left: -39px;
        overflow: hidden;
    }

    .iphone {
        height: 100%;
        background-image: url("../images/iphone.png");
        background-size: 100% 100%;
    }

    .iphone video {
        width: 750px;
        height: 1334px;
        border-radius: 6px;
        -webkit-transform: perspective(500px) rotateY(-3.7deg) scale(.667,.731) translate(-23.5%,-2.5%);
        transform:perspective(500px) rotateY(-3.7deg) scale(.667,.731) translate(-23.5%,-2.5%);
        transition: opacity 1s;
    }
}
