.slider{
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: auto;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.2);
    transition: all 2s ease-in-out;
}

.slide.current {
    opacity: 1;
    transform: scale(1);
}

.slide .content {
    position: relative;
    bottom: 230px;
    left: -200px;
    opacity: 0;
    width: 600px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #333;
    padding: 3px 15px 15px 15px;
    top: 230px;
}
.text-white{
    color: white !important;
}
@media screen and (max-width: 767px){
    .slide .content {
    position: relative;
top: 450px;
    bottom: 230px;
    left: -600px;
    opacity: 0;
    width: 600px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #333;
    padding: 3px 15px 15px 15px;
}
    }

.slide .content h1 {
    margin-bottom: -10px;
    color: #db3736;
    font-size: 40px;
    font-weight: 800;
}
.slide .content h2 {
    margin-bottom: -28px;
}

.slide.current .content {
    opacity: 1;
    transform: translateX(600px);
    transition: all 1s ease-in-out 1s;
}

.buttons button#next {
    position: absolute;
    top: 50%;
    right: 15px;
}

.buttons button#prev {
    position: absolute;
    top: 50%;
    left: 15px;
}

.buttons button {
    border: 2px solid #E94654;
    background-color: transparent;
    color: #E94654;
    cursor: pointer;
    padding: 13px 15px;
    border-radius: 50%;
    outline: none;
}

.buttons button:hover {
	background-color: #E94654;
	color: #FFF;
}

@media(max-width: 500px) {
	.slide .content {
		bottom: -300px;
		left: 0;
		width: 100%
	}
	
	.slide.current .content {
		transform: translateY(-300px);
	}
}



/* Background Images */
.slide:first-child {
    background: url('images/ban7.jpg') no-repeat center center/cover;
}
.slide:nth-child(2) {
    background: url('images/ban11.jpg') no-repeat center center/cover;
}
.slide:nth-child(3) {
    background: url('images/ban8.jpg') no-repeat center center/cover ;
}
.slide:nth-child(4) {
    background: url('images/ban9.jpg') no-repeat center center/cover;
}
.slide:nth-child(5) {
    background: url('images/ban10.jpeg') no-repeat center center/cover;
}

.onoffswitch {
	position: absolute;
	top: 10%;
	right: 15px;
	width: 75px;
  -webkit-user-select:none; -moz-user-select:none;
  -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    height: 36px; padding: 0; line-height: 36px;
    border: 2px solid #E3E3E3; border-radius: 36px;
    background-color: #FFFFFF;
    transition: background-color 0.3s ease-in;
}
.onoffswitch-label:before {
    content: "";
    display: block; width: 36px; margin: 0px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 37px;
    border: 2px solid #E3E3E3; border-radius: 36px;
    transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkbox:checked + .onoffswitch-label {
    background-color: #E94654;
}
.onoffswitch-checkbox:checked + .onoffswitch-label, .onoffswitch-checkbox:checked + .onoffswitch-label:before {
 border-color: #E94654;
}
.onoffswitch-checkbox:checked + .onoffswitch-label:before {
    right: 0px; 
}