/* Общие стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    background-image:  url(images/background.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.my-contacts{
    display: flex;
    font-weight: 600;
}

p{
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 20px;
}

h3 {
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'Lato', sans-serif;
    font-size: 24px;
}
h2
{
    color: #ffffff;
    text-align: left;
    font-family: 'Lato', sans-serif;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 28px;
}
h1{
    margin-left: 20px;
    margin-top: 0;   
    margin-bottom: 0;
    font-family: 'Lato', sans-serif;
}


/* Стили для header */
header {
    display: flex;
    background-color: #000000;
    color: #fff;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
}

/* Стили для основного контента */
#about-me, #apps {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.app {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 40px 0 rgb(0 0 0 / 30%);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    
}
.privacy-content{
    padding: 1rem;
    margin: 2rem;
    box-shadow: 0 10px 40px 0 rgb(0 0 0 / 30%);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
}

.get-content{
    display: flex;
}

.get-icon
{
    width: 139px;
    height: 40px;
    float:right;
}

.about-me-content {
    align-items: center;
    text-align: left;
    padding: 1rem;
    box-shadow: 0 10px 40px 0 rgb(0 0 0 / 30%);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
}

.decor-in-contents{
    margin: auto;
    width: 10%;
    height: 3px;
    background-color: #000000;
    border-radius: 2px;
}
.decor-in-contents1{
    margin: left;
    width: 5%;
    height: 3px;
    background-color: #000000;
    border-radius: 2px;
}

.decor-in-contents2{
    margin: left;
    width: 1.5%;
    height: 3px;
    background-color: #000000;
    border-radius: 10px;
}

.app-icon-content
{
    margin-right: 1rem;
    justify-content: center;
    position:relative;
    align-items: center;
    display: flex;
    overflow:hidden;
    border-radius: 20px;
    width: 128px;
    height: 128px;
    background-color: rgba(221, 221, 221, 0.7);
    backdrop-filter: blur(5px);
}

.app-icon-content::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 140%;
    background: linear-gradient(#b47dfb, #7ab6ff); 
    animation-name: animate;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear
}

.app-icon-content::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: #271c2c;
    border-radius: 20px;
}

.app-icon {
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border-radius: 20px;
    z-index: 1;
}


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

.logo-icon
{
    max-width: 50px;
    margin-right: 1rem;
    position: absolute;
    left: 1rem;
}

.app-info {
    flex-grow: 1;
}

.contacts-section{
    display: flex;
    background-color: #000000;
    border-radius: 10px;
    margin-bottom: 5px;
    width: 117px;
}
.contacts-images{
    width: 50px;
    height: 50px;
}

.contacts1-images{
    width: 45px;
    height: 45px;
}

.nav 
{
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
    margin-right: 20px;
    padding-top: 0.5%;
}

.image-content
{
    height: 50px;
    margin-right: 10px;  
}

.nav__link 
{
    display: inline-block;
    vertical-align: top;
    position: relative;
    color: rgb(255, 255, 255);
    text-decoration: none;

    transition: color .1s linear;
}

.nav__link:after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: rgb(255, 255, 255);;
    opacity: 0;
    position: absolute;
    border-radius: 5px;
    left: 0;
    z-index: 1;
    transition: opacity .1s linear;
}

.nav__link:hover {
    color: rgb(255, 255, 255);;
}

.nav__link:hover:after,
.nav__link.active:after 
{
    opacity: 1;
}

.nav__link.active 
{
    color: rgb(255, 255, 255);;
}

.sections
{
    display: flex;
}

@media (max-width: 1080px){
    .nav 
    {
        font-size: 20px;
        text-align: center;
        font-weight: bold;
        font-family: 'Lato', sans-serif;
        margin-right: 20px;
        padding-top: 0.5%;
    }
    h1{
        font-size: 28px;
        margin-left: 20px;
        margin-top: 0;   
        margin-bottom: 0;
        font-family: 'Lato', sans-serif;
    }
}

@media (max-width: 500px){
    .nav 
    {
        font-size: 16px;
        text-align: center;
        font-weight: bold;
        font-family: 'Lato', sans-serif;
        margin-right: 10px;
        padding-top: 0.9%;
    }
    h1{
        font-size: 24px;
        margin-left: 20px;
        margin-top: 0;   
        margin-bottom: 0;
        font-family: 'Lato', sans-serif;
    }
    .nav__link:after {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        background-color: rgb(255, 255, 255);;
        opacity: 0;
        position: absolute;
        border-radius: 5px;
        left: 0;
        z-index: 1;
        transition: opacity .1s linear;
    }

    .decor-in-contents1{
        margin: left;
        width: 10%;
        height: 3px;
        background-color: #000000;
        border-radius: 2px;
    }

    .app {
        display: block;
        padding: 1rem;
        margin-bottom: 1rem;
        box-shadow: 0 10px 40px 0 rgb(0 0 0 / 30%);
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(5px);
    }
}

@media (max-width: 400px){
    .nav 
    {
        font-size: 12px;
        text-align: center;
        font-weight: bold;
        font-family: 'Lato', sans-serif;
        margin-right: 20px;
        padding-top: 2%;
    }
    h1{
        font-size: 20px;
        margin-left: 20px;
        margin-top: 0;   
        margin-bottom: 0;
        font-family: 'Lato', sans-serif;
    }
    .nav__link:after {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        background-color: rgb(255, 255, 255);;
        opacity: 0;
        position: absolute;
        border-radius: 5px;
        left: 0;
        z-index: 1;
        transition: opacity .1s linear;
    }
    .app {
        display: block;
        padding: 1rem;
        margin-bottom: 1rem;
        box-shadow: 0 10px 40px 0 rgb(0 0 0 / 30%);
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(5px);
    }
}

@media (max-width: 300px){
    .nav 
    {
        font-size: 12px;
        text-align: center;
        font-weight: bold;
        font-family: 'Lato', sans-serif;
        margin-right: 10px;
        padding-top: 1%;
    }
    h1{
        font-size: 16px;
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 0;   
        margin-bottom: 0;
        font-family: 'Lato', sans-serif;
    }
    .nav__link:after {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        background-color: rgb(255, 255, 255);;
        opacity: 0;
        position: absolute;
        border-radius: 5px;
        left: 0;
        z-index: 1;
        transition: opacity .1s linear;
    }
    .app {
        display: block;
        padding: 1rem;
        margin-bottom: 1rem;
        box-shadow: 0 10px 40px 0 rgb(0 0 0 / 30%);
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(5px);
    }
}


@keyframes animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}