/********** GENERAL **********/

* {
	box-sizing: border-box;
	font-family: 'Varela Round', sans-serif;
}

:root {
    --color-primary: #138fb4;
	--color-secondary:#9dfff0;
	--color-red: #f00;
    --color-orange: #d56f0b;
    --color-pink: #ff4cbb;
	--color-margotte: #9c2f72;
	--color-white: #fff;
	--color-black: #000;
	--color-charcoal: #212121;
	--color-haley: #9e9e9e;
  }

html {
	height: 100%;
}

body {
	margin: 0;
	background-color:var(--color-charcoal);
	position: relative;
}







#wrapper {
    overflow: hidden;
    margin-bottom:30px;
    padding-top: 30px;
}

input {
    outline:none;
}



/********** FONTS **********/

h1 {
	color: var(--color-white);
	font-size: 2.5em;
	display: block;
	text-align: center;
	font-weight: 500;
	margin-left: 30px;
}

h2 {
	display: block;
    width:fit-content;
	font-size: 2.5em;
	font-weight: 600;
	color:var(--color-white);
	margin:0 auto 15px auto;
}

p, a, ul {
	color:var(--color-white);
}

p, a {
	font-size: 1.5rem;
}

ul li a {
	font-size:0.9em;
}

form p {
	margin-top:0;
}

li {
	margin-bottom:5px;
}







/********** HEADER **********/

#emojiemoji {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    position: fixed;
    z-index: 69;
    width: 100px;
    height: 100px;
    margin: 0;
    text-align: center;
}


#header {
	display: block;
	padding: 0;
	width: calc(100% - 20px);
	margin: 0 auto;
}

#header .inner {
	display: flex;
	align-items: stretch;
    margin-bottom:100px;
}

    #header .pinbutton-wrapper {
        display:block;
        width: 20%;
        margin: 0 auto;
        padding: 5px 20px;
    }


	#header .pinbutton-wrapper a.pinbutton {
        display: flex;
        width: fit-content;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        text-align: center;
        font-weight: 900;
        font-size: 1.5rem;
        transition: all 500ms ease-out;
        color: var(--color-pink);
        margin: 0 auto;
 }


		#header .pinbutton-wrapper a.pinbutton:hover {
			color: var(--color-white);

		}

		#header .pinbutton-wrapper a.pinbutton img {
			display: block;
			width: 100%;
		}




/********** LINKS **********/
.linksubmit {
    margin-bottom:100px;
}

.linksubmit input[type=text] {
	box-sizing: border-box;
	width: 100%;
	padding: 15px 30px;
	border-radius:20px;
	border: 5px solid var(--color-haley);
	font-size:1em;
	margin: 0 0 15px 0;
}

.linksubmit input[type=submit] {
	box-sizing: border-box;
	width: 100%;
	font-size:1em;
    padding: 30px;
    border: 5px solid var(--color-margotte);
    border-radius:20px;
	padding: 15px;
	background: var(--color-pink);
	color:var(--color-white);
	margin:0;
	cursor:pointer;
	font-weight: 500;
	opacity: 0.85;
}

	.linksubmit input[type=submit]:hover,
	.linksubmit input[type=submit]:active {
		transition-duration: 0.25s;
		transition-property: scale;
		scale:102%;
	}

#linkusers-wrapper {
	max-width: 1400px;
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
}

	.linkusers {
		width: 50%;
		margin-top: 0;
		margin-bottom: 0;
	}

		.linkusers.user-one {
			margin-left: 30px;
			margin-right: 15px;
		}

		.linkusers.user-two {
			width: 50%;
			margin-left: 15px;
			margin-right: 30px;
		}

.linkstable .entry {
	margin-bottom:15px;
}

	.linkstable .entry a.link-link {
		display: inline-block;
		margin-bottom: 5px;
		text-decoration: none;
		padding: 20px;
		border-radius:20px;
		font-size: 1.3em;
		font-weight: 500;
		border: 5px solid var(--color-margotte);
		background-color: var(--color-pink);
		width: 100%;
		transition-duration: 0.25s;
		transition-property: scale;
		overflow-wrap: break-word;
		color: var(--color-black);
	}

	.linkstable .entry a.link-link:hover,
	.linkstable .entry a.link-link:active {
        background-color:var(--color-pink);
		transition-duration: 0.25s;
		transition-property: scale;
		scale:102%;
	}

	.linkstable .entry .link-details {
		display:flex;
		align-items:center;
		margin-bottom: 20px;
		margin-left: 25px;
	}

		.linkstable .entry .link-details a {
			display:block;
			margin-left: 5px;
			margin-top: -5px;
			transition: all 200ms;
		}

			.linkstable .entry .link-details a:hover {
				scale:1.25;
				transform:rotate(10deg);
			}

		.linkstable .entry .link-details img {
			display:block;
			width:25px;
			height:auto;
		}

#error {
	display:block;
	background-color:var(--color-red);
	color:#fff;
	padding:1em;
	text-align:center;
}

.date {
	color:var(--color-white);
	display: block;
	line-height: 2em;
	font-size: 1em;
}

.addalink-block {
	display: block;
	margin-bottom: 30px;
	border-radius:20px;
}


#confirm-delete-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* dark overlay */
    z-index: 9999;
}

	#confirm-delete-popup.active {
		display:flex;
	}

#confirm-delete-popup .inner {
    background: #fff;
    padding: 20px;
    border-radius:20px;
    max-width: 300px;
    text-align: center;
    border: 5px solid #000;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
}


#confirm-delete-popup .inner p {
	color: #000;
	font-size: 2rem;
	font-weight:300;
}

#confirm-delete-popup .inner a {
	color: #000;
	font-size:1.3rem;
	font-weight:300;
	display: inline-block;
	margin: 0 30px 30px;
	text-decoration: none;
	transition:all 100ms;
}

#confirm-delete-popup .inner a:hover,
#confirm-delete-popup .inner a:focus{
	font-weight:700;
	scale:1.2;
}



/********** FOOTER **********/

footer {
	color: var(--color-white);
}


#rando-bg {
    display:none;
    position: fixed;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    left: 0;
    top: 0;
}










/********** MEDIA QUERIES **********/

@media (max-width: 1365px) {
	.addalink-block {
		width:100%;
	}
}

@media (max-width: 991px) {
	#linkusers-wrapper {
		display:block;
	}
	.linksubmit {
		width: 100%;
	}
	.linkusers.user-one,.linkusers.user-two {
		margin-left: 30px;
		margin-right: 15px;
		width: calc(100% - 60px);
	}
	.linkusers:last-child {
		margin-bottom:0;
	}
	.addalink-block {
		width: 100%;
	}

    #header .inner {
        display: block;
        margin-bottom:60px;
    }

    #header .pinbutton-wrapper {
        width:100%;
    }

    .linkstable {
        margin-bottom:60px;
    }
}
