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

:root {
    --CB-700: 'Comfortaa-Bold';
    --CR-400: 'Comfortaa-Regular';
    --JB-700: 'JosefinSans-Bold';
    --JR-400: 'JosefinSans-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;
    cursor: default;
}

.header__nav-title span {
    color: red;
}

.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 {
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.main__content-img {
    width: 100%;
}

.main__content-on-off {
    position: absolute;
    top: 666px;
    left: 668px;
    width: 78px;
    height: 22px;
    background: rgba(211, 182, 141, 0.945);
    box-shadow: 2px 2px 3px black;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 3px;
}

.main__content-on {
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    font-size: 11px;
}

.main__content-off {
    font-family: Arial, Helvetica, sans-serif;
    color: red;
    font-size: 11px;
}

.main__content-power {
    position: absolute;
    top: 272px;
    left: 297px;
    width: 442px;
    height: 352px;
    border-radius: 5px;
    background: #000;
}

.main__content-item {
    position: absolute;
    top: 272px;
    left: 297px;
    width: 442px;
    height: 352px;
    border-radius: 5px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: -1px -1px 2px black;
    background: white;
    opacity: 0;
    visibility: hidden;
    transition: 1s;
}

.main__content-item:target {
    opacity: 1;
    visibility: visible;
}

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

.main__content-ekran {
    width: 100%;
    background: blue;
}

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

.main__content-subtitle {
    font-family: var(--CB-700);
    font-size: 20px;
    color: white;
    padding: 10px;
    text-align: center;
}

.main__content-subtext {
    padding: 10px 15px;
    font-family: var(--CR-400);
    font-size: 16px;
}

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

.main__gallery-img {
    width: 30%;
}

.main__content-info {
    width: 100%;
    background: rgb(81, 83, 83);
    margin: 15px 0;
    text-align: center;
}
/* 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 */
/* ********************************* */