* {
    box-sizing: border-box;
}

.form-wrapper {
    display: flex;
    flex-direction: row;
}

.slider {
    width: 100%;
    overflow: hidden;
    margin-left: 20px;
}


.slides {
    display: flex;
	max-width: 50em;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /*
    scroll-snap-points-x: repeat(600px);
    scroll-snap-type: mandatory;
    */
}

.slides::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.slides::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 10px;
}

.slides::-webkit-scrollbar-track {
    /* background: transparent; */
}

.slides > div {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 100%;
    height: 1500px;
    margin-right: 10px;
    margin-left: 10px;
    /*padding-left: 40px;*/
    /*padding-right: 40px;*/
    /*background-color: unset;*/
    transform-origin: center center;
    transform: scale(1);
    transition: transform 0.5s;
    position: relative;

    display: flex;
    flex-direction: column;
}

.slides > div:target {
   /*  transform: scale(0.95); */
}


.slider-nav.img {
    object-fit: cover;
    background-color: rgb(118, 184, 42);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider > a {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    background: rgb(118, 184, 42);
    /*color: #fff;*/
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    justify-content: center;
    border-radius: 50%;
    margin: 0 0 0.5rem 0;
    position: relative;
}

.slider > a:active {
    top: 1px;
}

.slider > a:focus {
    background: #222;
}


.input {
    font-size: 1.5em;
    font-weight: bold;
    font-family: "Open Sans", sans-serif;
    color: rgb(118, 184, 42);
}

/* Don't need button navigation */
@supports (scroll-snap-type) {
    .slider > a {
        display: none;
    }
}

.slider #slide-1 {
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.slider #slide-3  {
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

p.rent-button {
	margin: 1em 0;
}

p.rent-button a {
    background-color: rgb(238, 68, 145);
	border-radius: .5em;
	color: white;
	font-weight: bold;
	padding: .5em 1em;
}

.result-box {
	color: rgb(118, 184, 42);
	font-weight: bold;
	font-size: 1.8em;
}

.pound {
	font-size: 1.8em;
}

a.slide-button {
	color: white;
}
