/* swiper */
/*
Copyright (c) 2019 by BrumGB (https://codepen.io/brumgb/pen/EReQKv)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
.swiper-container {
width: 100%;
}
.swiper-slide {
background-size: cover;
background-position: 50%;
min-height: 80vh;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.swiper-pagination-bullet {
background-color: transparent;
border: 2px solid #fff;
border-radius: 50%;
width: 12px;
height: 12px;
opacity: 1;
}
.swiper-pagination-bullet-active {
background-color: #fff;
}
.swiper-button-container {
background-color: rgba(0, 0, 0, 0.25);
}
.swiper-button-prev {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}
.swiper-button-next {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}
.swiper-slide:before {
content: "";
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: black;
opacity: .4;
}
.swiper-slide h2 {
pointer-events: none;
opacity: 0;
color: #ffffff;
font-size: calc(5vw);
letter-spacing: -1px;
-webkit-transform: translateY(-5%) scale(0.8);
transform: translateY(-5%) scale(0.8);
transition: 1s ease;
text-transform: uppercase;
text-shadow: 0 5px 5px rgba(0, 0, 0, 0.01);
}
.swiper-slide-active h2 {
opacity: 1;
-webkit-transform: translateY(0%) scale(1);
transform: translateY(0%) scale(1);
transition: 1s ease;
}
.swiper-slide h1 {
font-family: 'Raleway', sans-serif !important;
color: white !important;
text-shadow:1px 1px #ffff00 !important;;
}
/* info container */
.info-container
{
width: 100%;
height: auto;
perspective: 1000;
overflow-y: scroll;
background-color: white;
font-family: 'Raleway',sans-serif;
color: black;
min-height: 0;
display: inline-block;
position: relative;
left: 50%;
margin: 150px 0;
transform: translate(-50%, 0);
max-width: 80%;
padding: 30px;
border-radius: 25px;
}
/* info wrap box */
.info-wrap {
font-family: "Raleway", sans-serif;
font-weight: 500;
color: #424949;
background-color: white;
padding: 0 25px;
display: flex;
flex-direction: column;
position: relative;
}
.info-wrap h1 {
font-size: 40px;
text-shadow: 2px 2px #66ccff;
font-family: 'Raleway', sans-serif !important;
}
.info-wrap h3 {
font-size: 30px;
font-family: 'Raleway', sans-serif !important;
}
.info-wrap p {
font-size: 22px !important;
font-family: 'Raleway',sans-serif !important;
}
/* divider */
.gradient {
box-sizing: border-box;
margin: 0;
padding: 0;
height: 20px;
position: relative;
width: 100%;
background: radial-gradient(ellipse farthest-side at top center, rgba(0,0,0,0.08), transparent);
}
.gradient:before {
content: "";
display: block;
position: absolute;
top: 0px;
right: 0;
left: 0;
height: 3px;
background: linear-gradient(left, transparent, rgba(0,0,0,0.02), rgba(0,0,0,0.02), transparent);
}
figure figcaption {
font-size: small;
color: gray;
}