@charset "utf-8";
@import url(./reset.css);

:root {
    --primary-dark: #202124;
    --secondary-dark: #313455;
    --primary-grey: #969bb7;
    --light-color: #fff;
    --transparent-input: #ffffff85;
    --transparent-bg: rgba(253, 253, 253, 0.616);
    --primary-pink: #fc37d0;
    --secondary-pink: #c21e9e;
    --light-pink: #f4aad9;
    --primary-purple: #9458FF;
}

body {
    min-height: 100dvh;
    background: rgb(255, 130, 227);
    background: radial-gradient(circle, rgba(255, 130, 227, 1) 0%, rgba(255, 187, 240, 1) 25%, rgba(227, 227, 255, 1) 75%);
    color: var(--primary-dark);
    font-family: 'Poppins', sans-serif;
}

.container {
    width: min(100% - 30px, 1280px);
    margin-inline: auto;
    /* min-height: 100dvh; */
}

section {
    display: flex;
    align-content: space-between;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

h1 {
    font-size: 6.2rem;
    background: linear-gradient(90deg, #FC37D0 20%, #9458FF 40%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3 {
    margin-bottom: 10px;
}

header {
    height: 80px;
    background-color: var(--transparent-bg);
    display: flex;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.header-wrapper, .header-wrapper div {
    display: flex;
    width: 100%;
    align-items: center;
    height: 80px;
}

.home img {
    width: 150px;
}

.nav {
    justify-content: center;
}

li {
    display: inline;
    vertical-align: middle;
    transition: 0.35s ease-in-out;
}

.nav li + li, .account li + li {
    margin-left: 20px;
}

li:hover {
    color: var(--primary-pink);
    cursor: pointer;
}

li i:hover {
    color: var(--secondary-pink);
}

.account {
    justify-content: flex-end;
    color: var(--primary-pink);
}

.account i:hover{
    color: var(--secondary-pink);
}

.account img, .connection-pic, .post-header img {
    width: 50px;
    border-radius: 50%;
    height: 50px;
    display: inline;
}

.fa-gear,
.fa-message, 
.fa-arrow-up-from-bracket, 
.fa-paper-plane {
    font-size: 24px;
    color: var(--primary-pink);
    transition: 0.35s ease-in-out;
}

/* Inputs/Buttons */

input[type='text'],
input[type='email'],
input[type='password'] {
    /* height: 46px; */
    /* padding: 7px 15px; */
    background: transparent;
}

/* because label is in input- dark placeholder, but text area has no label */
input::placeholder { 
    color: var(--primary-dark)
}

textarea::placeholder {
    color: var(--primary-grey);
}

.input-wrapper {
    border-radius: 10px;
    border: 2px solid var(--light-color);
    background-color: var(--transparent-input);
    display: flex;
    flex-direction: column;
    padding: 7px 15px;
    width: 500px;
}

.input-wrapper+.input-wrapper {
    margin-top: 25px;
}

label,
a {
    font-size: 12px;
    color: var(--primary-grey);
    text-decoration: none;
    transition: 0.35s ease-in-out;
}

input[type=button] {
    height: 60px;
    padding: 10px 70px;
    border-radius: 10px;
}

.primary-button {
    background-color: var(--primary-pink);
    color: var(--light-color);
    transition: 0.5s ease-in-out;
}

.primary-button:hover {
    background-color: var(--primary-purple);
}

.secondary-button {
    background-color: var(--transparent-input);
    color: var(--primary-pink);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
    transition: all 200ms;
}

.secondary-button:hover {
    transform: translateY(-1px);
}

/* Login */

.left-login {
    position: relative;
    background: #fff url(../img/girlthree.png) center center / cover no-repeat;
    height: 100dvh;
    width: 100%;
}

.left-img img {
    height: 100dvh;
}

.main-logo img {
    width: 200px;
}

.login-title img {
    width: 250px;
    display: inline;
    vertical-align: middle;
    margin-left: -10px;
}

.body-login {
    overflow: hidden;
}

main.login {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100dvh;
}

.right-login {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    background: rgba(253, 253, 253, 0.616);
    backdrop-filter: saturate(180%) blur(20px);
    padding: 50px 80px 50px 100px;
    width: 100%;
}

/* Columns */
.columns {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    width: 100%;
}

.title {
    font-weight: 400;
    width: 100%;
}

.profile {
    width: 30%;
}

section.feed {
    justify-content: center;
    align-content: center;
    flex-direction: column;
    width: 75%;
    margin-bottom: 30px;
}

section.profile, .post, section.new-users {
    background-color: var(--transparent-bg);
    padding: 20px;
    border-radius: 10px;
}

.new-users {
    width: 30%;
}

/* post/feed section */

textarea {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-inline: auto;
    resize: none;
    background-color: transparent;
    border-radius: 10px;
    padding: 13px 5px;
}

.new-post {
    width: 100%;
}

.new-post .input-wrapper {
    width: 100%;
    margin-bottom: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
    border: none;
}

.new-post span {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    padding: 10px 5px;
}

.new-post i {
    transition: 0.35s ease-in-out;
}

.new-post i:hover {
    cursor: pointer;
    color: var(--secondary-pink);
}

.post {
    border-radius: 10px;
    padding: 20px;
}

.post + .post {
    margin-top: 20px;
}

.post-header {
    border-bottom: 1px solid var(--primary-grey);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 20px;
}

.post-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: 10px;
}

.post-content {
    padding: 20px 0px;
}

.post-content p {
    padding-bottom: 20px;
}

.post-content span {
    color: var(--primary-purple);
}

.post-content img {
    border-radius: 10px;
}

.post-footer {
    padding-top: 20px;
    border-top: 1px solid var(--primary-grey);
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.like-comment-share {
    display: flex;
    align-items: center;
}

.icon {
    margin-right: 5px;
}

.hashtags {
    color: var(--primary-pink);
    transition: 3.5s ease-in-out;
}

.hashtags:hover {
    cursor: pointer;
}

.like,
.comment,
.share {
    cursor: pointer;
    color: #333;
}

span.likes {
    font-size: 12px;
    color: var(--primary-grey);
}

/* profile section */
.bio {
    display: flex;
    flex-direction: column;
}

.views-info {
    margin-top: 20px;
}

.connection-info {
    margin-top: 20px;
}

.connection-item h3 {
    margin: 0;
}

.profile-content {
    margin-top: 20px;
}

.profile-header img {
    margin-bottom: 20px;
    border-radius: 100%;
}

.headline p, .post-time p {
    color: var(--primary-grey);
}

.post-time p {
    font-size: 12px;
}

/* Recommended section */

section.new-users {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-content: stretch;
}

.insert-users {
    width: 100%;
}

.connections-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    width: 100%;
}

.connection-item {
    display: flex;
    align-items: center;
    padding: 20px 0px;
    border-bottom: 1px solid var(--primary-grey);
    width: 100%;
}

ul#connections-list li:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.connections, .connection-count, .views-info {
    color: var(--primary-grey);
}


img.connection-pic {
    margin-right: 10px;
}

.login-title h3 {
    margin-top: -25px;
}

form {
    display: flex;
    flex-direction: column;
}

.login-options {
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 500px;
}

.login-options a:hover {
    color: var(--primary-pink);
}

input#remember {
    vertical-align: middle;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    width: 500px;
}

.form-buttons input[type=button] {
    height: 60px;
    /* padding: 10px 70px; */
    border-radius: 10px;
    width: 240px;
}

.social-links {
    display: flex;
    justify-content: space-between;
    width: 500px;
    align-items: center;
}

.social-links a {
    color: var(--primary-pink);
    font-size: inherit;
    margin-inline: 20px;
}

.social-links a:hover {
    color: var(--secondary-pink);
}

p#error-message {
    font-size: 12px;
    margin-top: 10px;
    color: #ff004e;
}

/* footer */

.footer-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-content: center;
}

footer {
    display: flex;
    align-items: center;
    height: 80px;
    background-color: var(--light-pink);
    color: var(--primary-pink);
}

.social {
    text-align: center;
    width: 100%;
}

i.fa-brands {
    font-size: 20px;
    margin-right: 7px;
    transition: 0.3s ease-in-out;
}

i.fa-brands:hover {
    color: var(--secondary-pink);
    cursor: pointer;
}

footer a {
    text-decoration: none;
    color: var(--primary-pink);
    transition: 0.3s ease-in;
}

footer a {
    margin-left: 20px;
}

footer a:hover {
    color: var(--secondary-pink);
}

.footer-nav a, .footer-nav li {
    font-size: 16px;
}

/* .footer-wrapper a, .footer-wrapper p, .footer-wrapper span, .footer-wrapper i {
    color: var(--primary-pink);
} */

.footer-wrapper a:hover, .footer-wrapper span:hover, .footer-wrapper i:hover {
    color: var(--primary-dark);
}
