@import 'reset.css';
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,700');

html {
    height: 100vh;
}
body {
    height: 100vh;
    background-color: #28324E;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #ffffff;
    line-height: 3em;
}

.yellow { color: #F7DA64; }
.lt-blue { color: #54ACD2; }
.purple { color: #B284D7; }
.red { color: #D14841; }
.green { color: #8DC63D; }

header {
    width: 100%;
}
header .logo {
    width: 100%;
    height: 10vh;
    background-color: #28324E;
    text-align: center;
    position: relative;
    z-index: 0;
}
header .logo img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 11vw;
    max-width: 160px;
}
header .tag {
    width: 100%;
    background-color: #20273F;
    text-align: center;
    letter-spacing: 9px;
    text-transform: uppercase;
    padding: 1vh 0;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, .78);
    position: relative;
    z-index: 1;
    font-size: 1.1111111111111112vw;
}

@media screen and (min-width: 769px) {
    .swiper-container {
        height: 55vh;
    }
    .swiper-container .swiper-wrapper {
        box-sizing: border-box;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-flex: 0;
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        height: 55vh;
    }
    .swiper-container .swiper-wrapper .swiper-slide {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        -ms-flex-preferred-size: 16.66666667%;
        flex-basis: 16.66666667%;
        max-width: 16.66666667%;
        height: 55vh;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
}
.swiper-container .swiper-wrapper .swiper-slide .photo {
    width: 100%;
    height: 80%;
    visibility: hidden;
}
.swiper-container .swiper-wrapper .swiper-slide .photo img {
    width: 100%;
    height: 100%;
}
.swiper-container .swiper-wrapper .swiper-slide .name {
    width: 100%;
    background-color: #28324E;
    box-sizing: border-box;
    border-right: 1px solid #6C7386;
    height: 20%;
    position: relative;
}
.swiper-container .swiper-wrapper .swiper-slide:last-child .name {
    border-right: none;
}
.swiper-container .swiper-wrapper .swiper-slide .name h1 {
    text-transform: uppercase;
    font-size: 1.5277777777777777vw;
    font-weight: 700;
    position: absolute;
    top: 50%;
    left: 1vw;
    transform: translateY(-50%);
}
 .swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction{
    bottom: -5px;
}

footer {
    width: 100%;
    background-color: #8DC63D;
    height: 30vh;
    position: relative;
}
footer .mail-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
footer .mail-container .title {
    text-transform: uppercase;
    font-size: 2.1527777777777777vw;
    padding-bottom: 1vh;
}
footer .mail-container .subtitle {
    font-size: 1.6666666666666665vw;
    font-weight: 300;
    padding-bottom: 2vh;
}
footer .mail-container input[type='email'] {
    display: inline-block;
    border: none;
    border-radius: 0;
    border-bottom: 2px solid #28324E;
    background-color: transparent;
    color: #28324E;
    font-size: 20px;
    width: 250px;
    height: 55px;
    outline: 0;
}
footer .mail-container input::-webkit-input-placeholder { color: #28324E; }
footer .mail-container input::-moz-placeholder { color: #28324E; }
footer .mail-container input:-ms-input-placeholder { color: #28324E; }
footer .mail-container input[type='button'],
footer .mail-container button {
    background-color: #28324E;
    padding: 20px 16px;
    color: #ffffff;
    text-transform: uppercase;
    border: none;
    outline: 0;
    margin-bottom: 30px;
}
footer .mail-container input[type='button']:hover,
footer .mail-container button:hover {
    background-color: #20273F;   
}
footer .mobile-signup-btn,
footer .mobile-close-btn {
    display: none;
}

@media screen and (max-width: 768px) {
    header .logo img {
        width: 160px;
    }
    header .tag {
        letter-spacing: 7px;
        font-size: 3.5vw
    }
    .swiper-container {
        width: 100%;
        height: 70vh;
    
    }
    .swiper-container .swiper-wrapper {
        height: 70vh;
    }
   .swiper-container .swiper-wrapper .swiper-slide {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
    .swiper-container .swiper-wrapper .swiper-slide .name h1 {
        font-size: 4.8645833333333335vw;
        left: 5vw;
    }
    .swiper-slide{
        padding-bottom: 50px;
    }
    footer {
        height: 15vh;
    }
    footer.closed .mail-container {
        display: none;
    }

    footer .mobile-signup-btn {
        display: block;
        background-color: #ffffff;
        text-align: center;
        text-transform: uppercase;
        color: #8DC63D;
        width: 90%;
        margin: 0 auto;
        padding: 2vh 0;
        cursor: pointer;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    footer.open {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 3;
    }
    footer.open .mobile-signup-btn { display: none; }
    footer.open .mail-container {
        display: block;
        width: 85%;
    }
    footer .mail-container .title {
        font-size: 6.1527777777777777vw;
        padding-bottom: 2vh;
    }
    footer .mail-container .subtitle {
        font-size: 5.6666666666666665vw;
        padding-bottom: 2vh;
    }
    footer .mail-container input[type='email'] {
        width: 100%;
        margin-bottom: 2vh;
    }
    footer .mail-container input[type='submit'] {
        padding: 20px 0;
        width: 100%;
    }
    footer.open .mobile-close-btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        color: #ffffff;
        cursor: pointer;
    }
    footer.open .mobile-close-btn i {
        font-size: 30px;
    }
}

@media screen and (max-height: 400px) {
    header .logo { height: 20vh; }
    .swiper-container {
        height: 500px;
    }
    .swiper-container .swiper-wrapper {
        height: 500px;
    }
    footer { height: 30vh; }
    footer.open { height: 200vh; }
}