/*
  #index

  @general
    -> @link-styles
    -> @css-variables
    -> @form-styles
    -> @typography
  @header
  @footer
    -> @share
    -> @result
    -> @notes
  @body
    -> @wrapper
    -> @container
    -> @search
  @profile
*/


/*
  @general
*/

/* Import Google Inter and Roboto Mono fonts with all weights */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');



/*
  @css-variables
*/

/* Use CSS variables, so when you change the font, you just need to change it here and it will automatically apply everywhere */
:root {
	--backgroundcolor: #f6f6f6;
	--interfacefont: 'Inter', -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Arial, sans-serif;
	--definitionfont: 'Roboto Mono', monospace;
}

body {
    margin: 0;
    font-family: var(--interfacefont);
    background: var(--backgroundcolor);
    color: #666;
    font-size: 1.3rem;
    text-shadow: 1px 1px white;
}

#flexcontainer {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 0px);
	
}


/* @link-styles */

a {
    color: #666;
    text-decoration: none;
    color: inherit;
}

a:visited {
    color: inherit;
}

a:active {
    color: #666;
}

a:visited {
    color: #666;
}

div.a {
    display: inline;
    cursor: pointer;
}

::selection {
    background: #ffefc6;
}


/* @form-styles*/

input, button, textarea, select {
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    /* remove the ugly input shadow on iOS devices */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


/* @typography */

h3 {
    color: #333;
    font-size: 2.5rem;
    margin: 15px;
    font-weight: 400;
}

h2 {
    color: #333;
    font-size: 1.3rem;
    margin: 8px;
    font-weight: 200;
}


/*
  end @general
*/


/*
  @header
*/

nav {
	background-color: var(--backgroundcolor);
    height: 5rem;
    line-height: 5rem;
    text-align: center;
    text-shadow: 1px 1px white;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 3;
}

nav .beta {
	position: absolute;
    left: 50px;
    font-size: 13px;
    letter-spacing: 4px;
    color: darkgray;
    line-height: 5rem;
}

nav .logo {
    font-weight: 900;
    letter-spacing: 0.05rem;
    font-size: 2.7rem;
    color: #000;
    display: inline-block;
    margin: 0;
}

nav .logo:hover {
    color: #555;
}

nav .profile {
    background: url(https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png);
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    position: absolute;
    right: 50px;
    top: 12px;
    cursor: pointer;
    opacity: 0.8;
    display: none;
}

nav .profile:hover {
    opacity: 1;
    background-position-y: 1px;
    background-position-x: 1px;
}

nav .notifications-nav {
    position: absolute;
    right: 130px;
    top: 0;
    font-size: 1.3rem;
    display: block;
    padding: 0 10px 0 10px;
}

nav .notifications-nav:hover {
    background: white;
    color: black;
}

.login-buttons:hover { 
	opacity: 0.7;
}

.twitter-mobile-content, .twitter-desktop-content {
    color: #1DA1F2;
}

.twitter-bird {
    margin: 0px 8px;
}

.twitter-desktop-content>.twitter-bird {
    width: 20px;
}

.twitter-mobile-content>.twitter-bird {
    width: 15px;
}

nav .login-with-twitter, .login-with-twitter-mobile {
    position: absolute;
    right: 50px;
    top: 0;
    font-size: 1.3rem;
    /*display: none;*/
    padding: 0 0px 0 10px;
}

nav .login-with-twitter:hover {
    color: black
}

nav .profile-icon {
    background: url(https://pbs.twimg.com/profile_images/673858689174863872/CEegJawA_normal.jpg);
    width: 45px;
    height: 45px;
    background-size: contain;
    border-radius: 50%;
    position: absolute;
    right: 60px;
    top: 18px;
    opacity: 1;
}

nav .profile-icon:hover {
    opacity: 0.85;
    background-position-y: 1px;
    background-position-x: 1px;
}

.profile-icon {
    border-radius: 50%;
    opacity: 1;
    vertical-align: bottom;
    height: 25px;
}

.profile-icon:hover {
    opacity: 0.7;
    background-position-y: 1px;
    background-position-x: 1px;
}

.followsyou {
	background-color: #fffddf;
    color: #9a7545;
    font-size: 14px;
    padding: 5px;
    font-family: Courier New;
    display: inline-block;
    margin: 20px;
}

.new-notifications {
    background: #ddffe7;
}

.notification {
	margin-top: 30px;
    width: 350px;
    margin: 0 auto;
    max-width: 100%;
}

.notification img {
	width: 25px;
	height: 25px;
	
}

.notification ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
}

.notification ul li {
    padding: 15px 0 15px 0;
    border-bottom: 1px dashed #d4d4d4;
}

.notification ul li div {
    font-size: 1rem;
    padding-bottom: 5px;
    display: inline;
}

.notification ul li b a:hover {
	color: gray;
}

.notification b a {
	font-weight: 500;
    color: black;
    font-family: var(--definitionfont);
    letter-spacing: -0.5px;
}


/*
  end @header
*/


/*
  @footer
*/

.footer {
    font-size: 0.85rem;
    font-weight: 400;
    color: #afafaf;
    text-align: center;
    margin-top: auto;
    padding: 30px;
}

.footer a {
    border-bottom: 1px dashed #d4d4d4;
    text-decoration: none;
    opacity: 0.7;
    margin-right: 15px;
}

.footer a:hover {
    opacity: 1;
}

.footer .playdemo {
	border-bottom: none;
    display: block;
    background: #7affb7;
    width: fit-content;
    width: -moz-fit-content;
    margin: 13px auto;
    padding: 7px 15px;
    font-size: 1rem;
    color: #333;
}

.showmore {
	width: fit-content;
    margin: 0 auto;
    text-align: center;
    margin-top: 50px;
    border-radius: 20px;
    padding: 20px 40px;
    color: #48e69a;
    cursor: pointer;
    outline: none;
    font-size: 1.6rem;
    background: #48e69a;
    color: white;
}

.showmore:hover {
    color: white;
    background: #31de8b;
}

.timeago {
    color: #bbb;
    font-size: 14px
}

.comment {
    margin-bottom: 10px;
    outline-width: 0;
    border: 1px #d4d4d4 dashed;
    border-radius: 20px;
    font-size: 24px;
    font-weight: 200;
    color: rgb(102, 102, 102);
    padding: 20px;
    max-width: 90%;
}

#word-likes-tab-header { 
	position: relative;
    padding: 40px 0 0 0;
	border-top: 1px dashed #d4d4d4;
    max-width: 600px;
    text-align: center;
    margin: 25px auto 0 auto;
}


/*
  @share
*/

.share {
	display: none; /* hide the share buttons for now, until i fix the layout css margins */
    width: 100%;
    text-align: center;
    margin: 0 auto;
    position: relative;
    bottom: 200px;
}

.share * {
    display: inline-block;
}

.twitter {
    fill: #4099ff;
    margin: 25px auto;
    cursor: pointer;
    padding: 10px;
    opacity: 0.25;
}

.twitter:hover {
    opacity: 1;
}

.facebook {
    fill: #3b5998;
    margin: 25px auto;
    cursor: pointer;
    padding: 10px;
    opacity: 0.25;
}

.facebook:hover {
    opacity: 1;
}


/*
  @result
*/


#result {
	margin-left: 25px;
    text-align: left;
    font-weight: 200;
    font-size: 1.3rem;
    opacity: 0;
    font-family:  var(--definitionfont);
    font-weight: 300;
    letter-spacing: -0.5px;
}


/* old results as of 23 August 2020, before the monospace implementation
#result {
    margin-left: 25px;
    text-align: left;
    font-weight: 200;
    font-size: 1.7rem;
    opacity: 0;
}
*/

#result .a {
    text-decoration: none;
    color: #666;
}

#result .a:hover {
    border-bottom: 1px dashed #666;
}

#result .a:visited {
    color: #666;
}

#result .a:visited:hover {
    color: #4cee98;
}

#word-information { display:none; }

.definition {
    color: #666;
    margin-top: 30px;
}

.deftypewrapper {
    position: absolute;
    width: 100px;
    margin: 5px 0 0 -129px;
}

.deftype {
    background-color: #fffddf;
    color: #9a7545;
    font-size: 14px;
    padding: 5px;
    font-family:  var(--definitionfont);
    float: right;
    text-align: right;
}

.deftype:hover {
    background: black;
    color: white;
    text-shadow: none;
    cursor: help;
}


/* @notes */

.notes {
    padding: 0 0 0 0;
    /* margin-top: 100px; */
    color: #666;
    font-size: 1.1rem;
}

.notes ul {
    list-style: none;
    width: 500px;
    margin: 0 auto;
    padding: 0;
    font-weight: 300;
}

.notes ul li {
    padding: 12px 0 12px 0;
}

.notes-profile a {
	border-bottom: 1px dashed #d4d4d4;
}


/*
  end @footer
*/


/*
 @body
*/


/* @wrapper*/

.wrapper {
    /* background: white; */
    padding: 125px 0 25px 0;
}


/* @container */

.container {
    text-align: center;
    width: 70%;
    max-width: 600px;
    margin: 25px auto 0px auto;
}

.container p a {
    border-bottom: 1px dashed #666;
}


/* @search */

.search {
    box-sizing: border-box;
    padding: 20px 70px 20px 20px;
    border: 1px #d4d4d4 dashed;
    border-radius: 20px;
    font-size: 2.4rem;
    font-weight: bold;
    color: #333;
    text-indent: 5px;
    position: relative;
    width: 100%;
}

/* remove the X that appears when using html type = search */

::-webkit-search-cancel-button {
 display: none;
}

.mywl-link, .mywl-link-login {
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
	right:16px;
    display: flex;
    justify-content: center;
    align-items: center;
	padding:6px 5px 4px 0px;
    box-sizing: border-box;
    color: rgb(212, 212, 212);
}

.mywl-link-login:hover {
    color: red;
}

.mywl-link.favorited {
    color: red;
}

.mywl-link:hover {
    color: red;
    cursor: pointer;
}

.mywl-hide {
    display: none;
}

#foo {
    position: relative;
}


/*
  end @body
*/


/* misc - i havent figured out there place
 im just putting them here for now im just being lazy
 but i promise i'll fix this*/

.profileimg {
    background: url(https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png);
    height: 125px;
    width: 125px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    margin: 0 auto;
    background-color: gray;
    margin-bottom: 15px;
    margin-top: 50px;
}

.profileimg svg {
    fill: white;
    position: relative;
    top: 35px;
    display: none;
}

.profileimg:hover svg {
    display: inline;
}

button {
    padding: 10px;
    background: white;
    border: 1px dashed #d4d4d4;
    font-size: inherit;
}

.notes-profile {
    padding: 0 0 100px 0;
    margin: 0 auto;
    width: fit-content;
    text-align: center;
}

.notes-profile ul {
    list-style: none;
    width: 350px;
    margin: 0 auto;
    padding: 0;
}

.notes-profile ul li {
    padding: 10px 0 10px 0;
    /* border-bottom: 1px dashed #d4d4d4; */
}

/* prevent text selection when clicking around on tabs */
.profiletabs::selection, .profiletabs b::selection {
	background: transparent;
}

.profiletabs {
    display: inline-block;
    position: relative;
    height: 60px;
    line-height: 30px;
    border-right: 1px dashed #d4d4d4;
    padding: 25px;
    opacity: 0.7;
    cursor: pointer;
    margin-bottom: 40px;
}

.profiletabs:hover {
    opacity: 0.9;
}

.profiletabs:focus {
	outline: none;
    opacity: 1;
    color: black;
}

/* this span shows the emoji finger pointing down when a profiletab is in focus */
.profiletabs span {
	display: table;
	margin: 0 auto;
}

.profiletabs:focus span:after {
	content: "👇🏽";
}

#word-likes-tab .timeago {
	display: none;
}

#word-likes-tab a {
	font-weight: 500;
}
#word-likes-tab a:hover {
    color: #333;
}

.content-tab a:hover {
    color: #333;
}

.button-red {
    display: block;
    background: white;
    width: 125px;
    margin: 0 auto;
    text-align: center;
    border: 1px dashed salmon;
    margin-top: 100px;
    border-radius: 20px;
    padding: 10px;
    color: salmon;
    cursor: pointer;
    outline: none;
}

.button-red:hover {
    border: 1px dashed red;
    color: red;
}

.button-red:focus {
    position: relative;
    top: 5px;
    color: red;
}

.button-green {
    display: block;
    background: white;
    /*width: 100px;*/
    margin: 0 auto;
    text-align: center;
    border: 1px dashed #48e69a;
    margin-top: 100px;
    border-radius: 20px;
    padding: 10px 25px 10px 25px;
    color: #48e69a;
    cursor: pointer;
    outline: none;
    margin-top: 0;
}

.button-green:hover {
    color: #46ba82;
    border: 1px dashed #46ba82;
}

.button-green:focus {
    position: relative;
    top: 2px;
    color: #46ba82;
}

#log {
    display: block;
}

input[placeholder], [placeholder], *[placeholder] {
    color: black !important;
}

 ::-webkit-input-placeholder {
    color: #b7b7b7;
}

div.a {
    display: inline;
    cursor: pointer;
}


/*
  @profile
*/


#user-followings-tab a::before, #user-followers-tab a::before {
    content: "@" /* add '@' before each username */
}

.container-content {
    display: inline-block;
}
