* {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f2f4f7;
}

a {
    text-decoration: none;
    color: #c0c0c0;
}

ul {
    list-style: none;
    display: flex;
}

/* Start nav */
.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip-text {
    visibility: hidden;
    background-color: black;
    font-size: 14px;
    color: #fff;
    text-align: center;
    padding: 5px 8px;
    border-radius: 5px;
    position: absolute;
    z-index: 1;
    top: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

nav {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0px 0px 5px #00000050;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

nav .container .box {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

nav .box img {
    width: 45px;
    border-radius: 50%;
    border: 1px solid #eee;
}

nav .box .search {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #eee;
    border-radius: 30px;
    padding: 10px;
}

nav .box .search input {
    border: none;
    background-color: #eee;
}

nav .box .search input:focus {
    outline: none;
}

@media (max-width: 980px) {
    nav {
        padding: 10px;
    }

    nav .box .search input {
        display: none;
    }



    nav .box .links .tooltip-container {
        width: 60px !important;
    }
}

@media (max-width: 760px) {
    nav .box .links {
        display: none;
    }
}

nav .box .links {
    gap: 5px;
}

nav .box .links .tooltip-container {
    width: 80px;
    padding: 10px;
    text-align: center;
    font-size: 20px;
    color: #666;
    border-radius: 5px;
    transition: all 0.3s;
}

nav .box .links li:hover {
    background-color: #eee;
}

nav .box .circles {
    align-items: center;
    gap: 10px;
}

nav .box .circles li:last-child {
    width: 45px;
    height: 45px;
}

nav .box .circles li:not(:last-child) {
    padding: 10px;
    font-size: 20px;
    background-color: #eee;
}

nav .box .circles li{
    width: 45px;
    height: 45px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s;
}

nav .box .circles li:hover:not(.tooltip-text) {
    filter: brightness(0.9);
}

nav .circles li:last-child {
    position: relative;
}

nav .circles li .arrow {
    position: absolute;
    font-size: 10px;
    padding: 2px;
    background-color: #f2f4f7;
    border-radius: 50%;
    bottom: -5px;
    right: -5px;
    border: 2px solid #fff;
}
/* End nav */

/* Start header */
header {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #FFFFFF;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 50%, rgba(228, 255, 227, 1) 100%);
    box-shadow: 0px 0px 5px #00000050;
    margin-bottom: 10px;
}

header .container {
    width: 1000px;
    display: flex;
    flex-direction: column;
}

header .container .image {
    overflow: hidden;
    border-radius: 0 0 10px 10px;
    width: 100%;
    height: 400px;
    position: relative;
}

header .container .image img {
    width: 100%;
    height: 100%;
}

header .main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
}

header .main .heading {
    display: flex;
    gap: 50px;
    position: relative;
}

header .main .heading img {
    width: 150px;
    border-radius: 50%;
    border: 5px solid #f2f4f7;
    background-color: #fff;
    position: absolute;
    top: -80px;
}

header .main .heading .text {
    display: flex;
    flex-direction: column;
    margin-left: 180px;
}

header .main .heading h1 {
    margin-bottom: 10px;
}

header .main .heading p {
    color: #65686c;
    font-weight: bold;
}

header .main .buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

header .main .buttons button:first-child {
    background-color: #0866ff;
    color: #fff;
    transition: all 0.3s;
}

header .main .buttons button:first-child:hover {
    background-color: #0857e0;
}

header .main .buttons button {
    display: flex;
    gap: 5px;
    background-color: #e2e5e9;
    border-radius: 5px;
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

header .main .buttons button:hover {
    background-color: #d2d5d9;
}

header .links {
    display: flex;
    justify-content: center;
    align-items: center;
}

header .wrapperLinks {
    width: 90%;
    border-top: 1px solid #c0c0c0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px 5px;
}

header .links .listLinks ul {
    gap: 5px;
}

header .links .listLinks ul li:first-child {
    color: #0866ff;
}

header .links .listLinks ul li:first-child::after {
    content: '';
    position: absolute;
    background-color: #0866ff;
    width: 100%;
    height: 3px;
    left: 0;
    bottom: -3px;
}

header .links .listLinks ul li:last-child {
    display: flex;
    align-items: center;
    gap: 5px;
}

header .links .listLinks ul li {
    position: relative;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    color: #65686c;
    transition: all 0.3s;
}

header .links .listLinks ul li:hover:not(:first-child) {
    background-color: #f2f4f7;
}

header .links .more {
    padding: 10px 15px;
    border-radius: 5px;
    background-color: #e2e5e9;
    transition: all 0.3s;
}

header .links .more:hover {
    background-color: #d2d5d9;
}

@media (max-width: 980px) {
    header .container .image {
        height: 200px;
    }

    header .main {
        flex-direction: column;
        gap: 20px;
    }

    header .main .heading {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    header .main .heading .text {
        margin: 0;
        margin-top: 80px;
    }
    
    header .links .listLinks {
        font-size: 12px;
    }

    header .links .listLinks ul li {
        padding: 5px;
    }
}
/* End header */

.content {
    display: flex;
    justify-content: center;
}

.wrapper {
    width: 1000px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Start aside */
aside {
    position: sticky;
    top: -70px;
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 760px) {
    .wrapper {
        flex-direction: column;
    }

    aside {
        position: static;
    }
}

/* Intro */
aside .intro,
aside .photos {
    overflow: hidden;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 5px #00000050;
    padding: 15px;
}

aside .intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

aside .intro .heading h2 {
    margin-bottom: 10px;
}

aside .intro .heading p {
    direction: rtl;
    text-align: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    line-height: 1.5;
}

aside .intro .info .item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

aside .intro .info .item i {
    width: 35px;
    background-color: #e2e5e9;
    padding: 10px;
    border-radius: 50%;
}

aside .intro .info .item a {
    color: #000;
}

/* Photos */
aside .photos .heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

aside .photos .heading a {
    color: #0866ff;
}

aside .photos .images {
    width: 100%;
    border-radius: 10px;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

aside .photos .imgCountainer {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

aside .photos .imgCountainer a {
    width: 30%;
    height: 80px;
    cursor: pointer;
}

aside .photos .imgCountainer img {
    width: 100%;
    height: 100%;
    transition: all 0.3s;
}

aside .photos .imgCountainer img:hover {
    transform: scale(1.05);
}

/* copy */

aside .copy ul {
    font-size: 12px;
    color: #65686c;
    gap: 5px;
}

/* End aside */

/* Start section */
section {
    flex: 2;
    padding: 20px;
}

@media (max-width: 760px) {
    section {
        flex: 1;
    }
}

.post {
    padding: 10px;
    padding-bottom: 0px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 5px #00000050;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.post .heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.post .heading .publisher {
    display: flex;
    align-items: center;
    gap: 20px;
}
.post .heading .publisher img {
    width: 50px;
    border-radius: 50%;
    border: 1px solid #d2d5d9;
}
.post .heading .publisher .name h3 {
    margin-bottom: 10px;
}
.post .heading .publisher .name p {
    color: #65686c;
    font-size: 14px;
    font-weight: bold;
}

.post .heading .more {
    border-radius: 50%;
    padding: 10px;
    width: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.post .heading .more:hover {
    background-color: #eee;
}

.post .about {
    direction: rtl;
    font-weight: bold;
    margin: 20px;
}

.post img.prod {
    margin-top: 20px;
    width: 100%;
}

.post .interact {
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #65686c;
}

.post .interact .emojis {
    display: flex;
    align-items: center;
}

.post .interact .emojis img {
    width: 25px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.post .interact .emojis :first-child {
    position: relative;
    left: 5px;
}

.post .interact .emojis .num {
    margin-left: 5px;
}

.post .interact .statics {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.post .interact .statics *:hover {
    text-decoration: underline;
}

.post .react {
    border-top: 1px solid #ccc;
    padding: 5px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.post .react .item {
    width: 30%;
    border-radius: 5px;
    padding: 10px;
    color: #65686c;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.post .react .item:hover {
    background-color: #e2e5e9;
}
/* End section */