@import url(http://fonts.googleapis.com/css?family=Montserrat:700);
.modal__background {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
-webkit-transition: 0.35s;
transition: 0.35s;
background: rgba(0, 0, 0, 0.8);
opacity: 0;
pointer-events: none;
z-index: 2;
}
.modal__background:target {
opacity: 1;
pointer-events: auto;
}
.background {
display: -webkit-box;
display: -moz-box;
display: box;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flexbox;
display: flex;
background: #FF7300;
height: 100vh;
width: 100vw;
}
.button {
-webkit-transition: 0.25s;
transition: 0.25s;
background: #fff;
border-radius: 4px;
color: #FF7300;
display: block;
font-family: Montserrat,sans-serif;
margin: auto;
padding: 1rem;
text-decoration: none;
}
.button:hover {
background: #008cff;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
color: #fff;
}
.modal__content {
background: #fff;
padding: 1rem;
position: relative;
z-index: 4;
}
@media screen and (max-width: 699px) {
.modal__content {
margin: 2rem;
}
}
@media screen and (min-width: 700px) {
.modal__content {
margin: 4rem auto;
max-width: 400px;
min-height: 300px;
}
}
.modal__content svg,
.modal__content path {
position: absolute;
top: 1rem;
right: 1rem;
height: 25px;
width: 25px;
-webkit-transition: all 0.15s ease-out 0s;
transition: all 0.15s ease-out 0s;
fill: #bfbfbf;
}
.modal__content svg:hover,
.modal__content path:hover {
fill: #0c0c0c;
}
h2 {
color: #008cff;
font-family: Montserrat,sans-serif;
font-size: 40px;
margin: 0rem 0 1rem;
text-align: center;
}
.success {
width: 100%;
}