/**====================================================
 * STYLE DEFAULTS
 ====================================================*/

html, body{
    width: 100%;
    height: 100%;
}

html, body {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

/**====================================================
 * TYPOGRAPHY
 ====================================================*/

body{
    font-family: "Roboto", "Helvetica", Arial, sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    color: #333;
}

h1, h2, h3, h4, h5, h6{
    font-family: "Avenir";
    font-weight: 700;
}

h1{
    font-size: 60px;
}

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

h3{
    font-size: 36px;
}

h4{
    font-size: 24px;
}

span.underline{
    position: relative;
    padding-bottom: 20px;
}

span.underline::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    height: 10px;
    width: 100%;
    background-image: linear-gradient(90deg, #00C1FF 0%, #0098FF 100%);
}

/**====================================================
 * WRAPPERS
 ====================================================*/

.container{
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 50px;
}

.flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 100px;
}

section{
    padding: 150px 0;
}

section.blue{
    background-image: linear-gradient(135deg, #00C1FF 0%, #0098FF 100%);
    color: white;
}

section.grey{
    background-color: #eee;
}

section.black{
    background-color: #222;
    color: white;
}

section.center{
    text-align: center;
}

section:first-of-type{
    padding-top: 200px;
}

section.blue h1,
section.blue h2,
section.blue h3,
section.blue h4{
    text-shadow: 0 2px 3px rgba(0,0,0,0.2);
}

/**====================================================
 * LINKS
 ====================================================*/

a{
    text-decoration: none;
    color: #333;
}

/**====================================================
 * BUTTONS
 ====================================================*/

a.button{
    display: inline-block;
    padding: 12px 30px;
    margin-top: 20px;
    border-radius: 10px;
    color: #fff;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;

    font-size: 20px;
    text-transform: uppercase;

    background-image: linear-gradient(180deg, #444444 0%, #232323 100%);
    box-shadow: rgba(50, 50, 93, 0.2) 0px 15px 35px 0px, rgba(0, 0, 0, 0.2) 0px 5px 15px 0px;
    border-radius: 11px;
}

a.button:before{
    position: absolute;
    content: " ";

    top: -100px;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    opacity: 0;

    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.0) 100%);
    transition: all 0.1s ease;
}

a.button:hover:before{
    opacity: 1;
    top: 0;
}

/**====================================================
 * IMAGES
 ====================================================*/

img.logo{
    width: 400px;
    height: auto;
}

.flex img{
    background-color: #fff;
    height: 300px;
    width: 300px;
    object-fit: cover;
    object-position: center bottom;
    margin: 25px 100px;
}

@media (max-device-width: 480px){
    .flex img{
        display: none;
    }
}

.flex img:first-child{
    margin-left: 0;
}

.flex img:last-child{
    margin-right: 0;
}

/**====================================================
 * NAVIGATION
 ====================================================*/

nav{
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255,255,255,0.9);
    padding: 0 25px;
}

nav .flex{
    align-items: center;
    padding: 0;
}

nav .logo{
    height: 35px;
    width: auto;
    display: block;
}

nav a{
    margin: 0 15px;
    padding-bottom: 15px;
    padding-top: 25px;
    display: inline-block;
    border-bottom: 4px solid transparent;
}

@media (max-device-width: 480px){
    nav a{
        font-size: 24px;
    }

    nav .logo{
        height: 40px;
    }
}

nav a:hover{
    border-bottom: 4px solid #00C1FF;
}

nav .flex img{
    background: transparent;
}

/**====================================================
 * CAROUSSEL
 ====================================================*/

.caroussel{
    margin: 100px 0;
    transform-style: preserve-3d;
    perspective: 750px;
}

.caroussel img{
    background-color: white;
    position: relative;
    width: 350px;
    height: auto;
    box-shadow: 0px 24px 27px -24px rgba(0,0,0,1);
    z-index: 2;
    transition: all 0.2s ease;
    display: inline-block;
}

.caroussel img:first-child,
.caroussel img:last-child{
    margin-bottom: 25px;
    margin-left: -75px;
    margin-right: -75px;
    z-index: 1;
    width: 300px;
    box-shadow: 0px 12px 27px -13px rgba(0,0,0,1);
}

.caroussel img:first-child{
    transform: rotate3d(0,1,0,5deg);
}

.caroussel img:last-child{
    transform: rotate3d(0,1,0,-5deg);
}

.caroussel img:first-child:hover,
.caroussel img:last-child:hover{
    width: 360px;
    z-index: 3;
    margin-bottom: -5px;
    margin-top: -5px;
    transform: rotate3d(0,1,0,0deg);
}


/**====================================================
 * SWITCHER
 ====================================================*/

.switcher{
    background-image: linear-gradient(180deg, #fff 0%, #bbb 100%);
}

.switcher > .container{
    display: flex;
    margin-top: 150px;
}

.switcher a{
    width: 100%;
    padding: 20px 0;
    font-size: 24px;
    text-align: center;
}

.switcher a:hover{
    background-image: linear-gradient(180deg, #fff 0%, #ccc 100%);
}

.switcher a.active{
    background-image: linear-gradient(180deg, #fff 0%, #eee 100%);
}

/**====================================================
 * PRICING-TABLE
 ====================================================*/

.pricing-table{
    align-items: flex-start;
}

.pricing-table > div{
    width: 49%;
}

.pricing-table h3{
    text-align: center;
    margin-bottom: 10px;
}

.pricing-table .panel{
    background-color: #eee;
    padding: 50px 70px;
    color: #333;
    border-radius: 5px;
    box-shadow: rgba(50, 50, 93, 0.0980392) 0px 15px 35px 0px, rgba(0, 0, 0, 0.0666667) 0px 5px 15px 0px;
}

.pricing-table ul{
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.pricing-table li{
    font-size: 20px;
    padding: 10px 0;
    border-bottom: 1px #ccc solid;
}

.pricing-table li:last-child{
    border: 0;
}

.pricing-table a.button{
    display: table;
    margin: 30px auto;
}

.pricing-table .price{
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 22px;
    text-align: center;
    margin: 50px -70px -50px -70px;
    border-radius: 0 0 5px 5px;
    padding: 20px 0;
    background-color: #b5edff;
    color: white;
}
