/* settings start */
@import url(fonts.css);

:root {
    --CB-700: 'Comfortaa-Bold';
    --CR-400: 'Comfortaa-Regular';
    --JB-700: 'JosefinSans-Bold';
    --JR-400: 'JosefinSans-Regular';
    --RB-700: 'Roboto-Bold';
    --RR-400: 'Roboto-Regular';
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

.container {
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}
/* settings end */
/* ******************************************************** */
/* footer start */
.header__nav {
    background: rgb(54, 37, 37);
}

.header__nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.header__nav-title {
    font-family: var(--JB-700);
    font-size: 35px;
    color: white;
    transition: .3s;
}

.header__nav-title span {
    color: red;
    transition: .15s;
}

.header__nav-title:hover {
    color: blue;
}

.header__nav-title:hover span {
    color: rgb(144, 245, 114);
}

.header__nav-list {
    display: flex;
}

.header__nav-item:not(:last-of-type) {
    margin-right: 30px;
}

.header__nav-link {
    font-family: var(--CB-700);
    color: white;
    font-size: 20px;
    text-transform: uppercase;
    transition: .3s;
}
.header__nav-link:hover {
    color: red;
}

.list__link {
    color: rgb(70, 66, 66);
    cursor: pointer;
}

.list__link:hover {
    color: rgb(70, 66, 66);
}


/* header end */
/* ******************************************************* */
/* main start */
.main {
    background: linear-gradient(180deg, rgb(54, 37, 37), rgb(176, 190, 235));
}

.main__content {
    width: 100%;
    text-align: center;
    position: relative;
}


.main__content-img {
    width: 75%;
}

.main__content-phone {
    background: white;
    position: absolute;
    top: 116px;
    left: 394px;
    width: 287px;
    height: 624px;
    transform: rotate(-12.2deg);
    border-radius: 30px;
    overflow-x: hidden;
    overflow-y: auto;
}

.main__content-phone::-webkit-scrollbar {
    display: none;
}

.main__insta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.main__insta-img {
    width: 40%;
}

.main__insta-send {
    width: 10%;
    padding-right: 25px;
}

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

.main__history-item {
    width: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.photo-photo {
    width: 56px;
    height: 56px;
    padding: 1px;
    border: 2px solid red;
    border-radius: 50%;
}

.main__history-img {
    width: 100%;
    border-radius: 50%;
    display: block;
}

.main__history-text {
    font-family: var(--RR-400);
    font-size: 9px;
    margin-top: 2px;
    text-transform: uppercase;
}







.main__photos {
    width: 100%;
}

.main__photos-item {
    margin-bottom: 11px;
}

.main__photos-shapka {
    display: flex;
    align-items: center;justify-content: space-between;
    padding: 10px 10px 5px 10px;
}

.main__photos-shapka-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}


.main__photos-photo {
    width: 30px;
    height: 30px;
    border: 2px solid red;
    border-radius: 50%;
    padding: 1px;
}


.main__photos-img {
    width: 100%;
    border-radius: 50%;
    display: block;
}

.main__photos-info {
    text-align-last: left;
    padding-left: 8px;
}

.main__photos-info-title {
    font-family: var(--RB-700);
    font-size: 15px;
}

.main__photos-text {
    font-family: var(--RR-400);
    font-size: 10px;
}

.main__photos-shapka-ikon {
    color: #000;
}

.main__photo-content-img {
    width: 100%;
    display: block;
}


.main__photos-icons {
    padding: 3px 10px 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main__photos-icons-left {
    display: flex;
    align-items: center;
}

.main__photos-icons-left-icon {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.507);
}

.main__photos-icon-img {
    width: 14px;
    margin-left: 10px;
}

.main__photos-comments {
    text-align-last: left;
    padding-left: 10px;
}

.main__photos-title {
    font-family: var(--RB-700);
    font-size: 12px;
    padding-top: 3px;
}

.main__photos-text {
    font-family: var(--RR-400);
    font-size: 11px;
    padding-top: 3px;
}

.main__photos-subtext {
    font-family: var(--RR-400);
    color: gray;
    font-size: 11px;
    padding-top: 3px;
}

.main__photos-add {
    padding-top: 4px;
    display: flex;
    align-items: center;
    justify-content: start;
}

.main__photos-add-img {
    width: 17px;
    border-radius: 50%;
}

.main__photos-add-text {
    font-family: var(--RR-400);
    color: gray;
    font-size: 11px;
    margin-left: 5px;
}




.main__photos-timetext {
    font-family: var(--RR-400);
    font-size: 11px;
    color: gray;
    padding-top: 4px;
}

.main__photos-timetext span {
    color: black;
    margin-left: 5px;
}


.main__content-load {
    padding: 15px 0 5px 0;
}

.main__content-loading {
    width: 30px;
}

/* main end */
/* *****************************  */
/* footer start */
.footer {
    background: rgb(154, 169, 216);
    padding: 10px;
}

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


.footer__qr {
    height: 40px;
    border-radius: 5px;
    opacity: .8;
}
/* footer end */
/* ************************************************* *
/* popup start */
.popup {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    overflow-x: hidden;
    transition: .8s;
    z-index: 5;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup:target .popup__content{
    opacity: 1;
    transform: perspective(600px) translate(0px, 0px) rotateX(0deg);
}

.popup__area {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.popup__body {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
    z-index: 9;
}
.popup__content {
    background: rgb(139, 161, 154);
    color: black;
    max-width: 800px;
    padding: 30px;
    position: relative;
    border-radius: 25px;
    transition: .8s;
    opacity: 0;
    transform: perspective(600px) translate(0px, -100%) rotateX(45deg);
}

.popup__close {   
    position: absolute;
    right: 20px;
    top: 20px;
    color: rgb(32, 39, 41);
    text-decoration: none;    
}

.popup__img {
    border-radius: 15px;
}
/* popup end */
/* ********************************* */