*,:after,:before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

html {
	font-family: sans-serif;
	font-size: 1.3vw;
	color: #333;
	background: #fff;
	height: 100vh;
	width: 100%;
	overflow-x: hidden;
}

.hidden {
    opacity: 0;
}

.no-events {
    pointer-events: none;
}

html.pointer {
    cursor: pointer;
}

body {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

img {
    max-width: 100%;
    max-height: 100%;
}

a {
    margin-top: 2rem;
    padding: 1rem 5rem;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    background: #fecc2a;
    font-weight: bold;
    border-radius: 500px;
    align-self: flex-start;
}

#popin {
    position: absolute;
    padding: 2rem;
    width: 90%;
    max-width: 800px;
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    transition: opacity ease-in-out .3s;
}

/* #popin:hover {
    pointer-events: all;
    opacity: 1;
} */

#popin-image {
    flex: 1;
    margin-right: 2rem;
    border-radius: 2rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#popin-content {
    flex: 3;
    display: flex;
    flex-direction: column;
}

#popin-content h1 {
    font-size: 2rem;
}

#popin-duration {
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: start;
}

#popin-content span {
    margin-left: 0.3rem;
    font-style: italic;
}

#popin-content p {
    margin-top: 2rem;
    text-align: justify;
}

#popin-close {
    width: 2rem;
    height: 2rem;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
}

#popin-close::before, #popin-close::after {
    content: '';
    width: 100%;
    height: 1px;
    background: #333;
    transform-origin: center;
    position: absolute;
}

#popin-close::before {
    transform: rotate(45deg);
}

#popin-close::after {
    transform: rotate(-45deg);
}