@import url(vars.css);
@import url(banner.css);
@import url(tables.css);
@import url(hccard.css);

* {
	margin: 0rem;
	padding: 0;
	border: 0;
	font-size: 1.05em;
	font-family: Montserrat;
}

#main {
	background-color: var(--parchment);
	height: 150%;
    min-height: 100vh;
}

h1 {
	font-size: 2.5em;
}

article {
	margin: auto;
	width: 50%;
	display: flex;
	flex-flow: wrap;
	justify-content: center;
	align-content: center;
}

.flex-item {
	flex: 1 100%;
	margin: auto;
	text-align: center;
	width: fit-content;
}

.page-content {
    flex: 1 100%;
	margin: auto;
	/* text-align: center; */
	width: 75%;
}

.main-content {
	margin-top: 2rem;
}

.errors {
	display: flex;
	color: white;
	background-color: #da202080;
	border-radius: 0.5em;
	height: 3rem;
	margin: auto;
	text-align: center;
    align-items: center;
    padding-left: 1rem;
    /* margin-top:1rem; */
    
}
.errors p {
	display: table-cell;
	vertical-align: middle;
    height: fit-content;
    padding-right: 1rem;
}

.error-button {
	float: right;
	color: black;
	background-color: #da2020cc;
	width: 1em;
	border-radius: 0 0.5em 0.5em 0;
    height: 100%;
}

.error-button:hover {
	color: white;
	border: 1px black solid;
}

/* Tooltip container */
.tooltip {
	position: relative;
	display: inline-block;
	border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
	visibility: hidden;
	width: 120px;
	background-color: black;
	color: #fff;
	text-align: center;
	padding: 1rem 0;
	border-radius: 6px;
    transform: translateY(-111%);

	/* Position the tooltip text - see examples below! */
	position: absolute;
	z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
	visibility: visible;
}


@keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
}

.lock{
    animation: fade-in 2000ms;
    animation-iteration-count: 1;
}

@keyframes fade-out{
    from {
        opacity: 1;
      }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.present-fade{
    animation: fade-out 2000ms;
    animation-delay: 1000ms;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    opacity: 1;
}


.nav{
    flex: 1 100%;
	margin: auto;
	text-align: center;
	width: fit-content;
}
.slow-appear{
    animation: fade-in 2000ms 3000ms 1 forwards;
    opacity:0;
    margin-right: 1rem;
}

button{
    border: .1rem solid black;
    border-radius: .2rem;
    padding-left: .2rem; 
    padding-right: .2rem;
    margin-bottom: .2rem;
}
input{
    border: .1rem solid black;
    border-radius: 0;
    padding: .5rem .2rem; 
}

.sign-in {
    margin-top: .5rem;
}

select {
    border: .1rem solid black;
    border-radius: .2rem;
    padding-left: .2rem; 
    padding-right: .2rem;
    margin-bottom: .2rem;
}

.selection {
    margin-top: 1rem !important;
    padding: .2rem;
}

button {
    border: .1 solid black;
    border-radius: 0;
    padding: .5rem;
    background-color: var(--that);
    color: white;
}

input:focus {
    outline: none;
    border: solid 2 px black;
    border-radius: 0 !important;
}