@import "../../styles/variables";

.event-form {
	width: 100%;
	height: 100%;
	margin: auto;
	background: -webkit-linear-gradient(top, #fff, $color-mint); /* Safari 5.1, iOS 5.0-6.1, Chrome 10-25, Android 4.0-4.3 */
	background: -moz-linear-gradient(top, #fff, $color-mint); /* Firefox 3.6-15 */
	background: -o-linear-gradient(top,  #fff, $color-mint); /* Opera 11.1-12 */
	background: linear-gradient(to bottom,  #fff, $color-mint);

	&__content {
		max-width: 1000px;
		position: relative;
		margin: auto;
		padding: 2rem;
		border-left: 1px solid $color-mint;
		border-right: 1px solid $color-mint;
		background-color: #eee;
		padding-bottom: 3%;
	}

	&__event-form__main{
	position: relative;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	}

	&__text {
		font-size: 1.6rem;
    }
    
    &__form-title{
		color: $color-mint;
		font-size: 3rem;
		letter-spacing: 0.2;
		font-weight: 600;
		text-shadow: 3px 3px 3px #000;
		margin-bottom: 3%;
    }

	&__toggle-span {
		font-size: 1.6rem;
		font-weight: bold;
		color: rgb(102, 104, 223);
	}

	&__event-box {
		margin-bottom: 2rem;
	}

	&__control-box {
		margin-top: 2rem;
		width: 100%;
	}

	&__error-event-text {
		margin-top: 1rem;
		text-align: center;
		width: 100%;
		color: #8f240a;
		font-size: 2rem;
	}

	&__picture {
		width: 100%;
		height: 400px;

		overflow: hidden;
		border: 1px solid $color-mint;
		margin-bottom: 2rem;
	}

	&__submit-btn {
		width: 100%;
		// border: 1px solid $color-mint;
		border-radius: 3px;
		display: block;

		color: #fff;
		background-color: $color-mint;
		border: none;
		cursor: pointer;
		font-weight: 600;
		font-size: 1.2rem;
		transition: 0.2s;
		padding: 1.3rem 1rem;

		&:focus {
			outline: none;
		}
		&:hover {
			outline: none;
			transform: translateY(-1px);
			box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
			&:after {
				transform: scaleX(1.4) scaleY(1.6);
				opacity: 0;
			}
		}

		&:disabled {
			color: $color-mint;
			border: 1px solid $color-mint;
			background-color: #eee;
		}
	}


}