* {
    margin: 0;
    padding: 0;
    direction: rtl;
    box-sizing: border-box;
    font-family: "b yekan";
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8e131;
    height: 100vh;
    background-size: cover;
    background-position: center;
    padding: 50px;
}

.container {
    position: relative;
    width: calc(100% - 100px);
    height: calc(100vh - 200px);
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

header{
    position: absolute;
    top: -40px;
    left: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: space-between;
    direction: ltr;
    align-items: center;
    padding: 24px 48px;
    border-radius: 18px;
    backdrop-filter:blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}

header ul{
    display: flex;
}

header ul li{
    list-style: none;
    margin: 0 16px;
}

header ul li a {
    text-decoration: none;
    color: #262626;
    transition: 1;
    padding: 8px 15px;
    border-radius: 25px;
    transition: .6s;
}

header ul li a:hover, .active {
    background-color: #ffffff;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);
}

header .logo{
    color: #262626;
    font-size: 24px;
    font-weight:700;
    text-decoration: none;
}

.content {
    transform: translateX(210px);
    width: 700px;
    height: auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-radius: 18px;
    padding: 40px;
    padding-left: 100px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.content h2 {
    font-size: 40px;
    font-weight: bold;
    color: #262626;
}

.content p{
    font-size: 16px;
    color: #262626;
}

.content a{
    text-decoration: none;
    float: right;
    color: #262626;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 16px;
    margin-top: 24px;
    background-color: #fff;
    padding: 12px 16px;
}

.imgBox img{
    margin-bottom: 100px;
    width: 200px;
    animation: animate 5s infinite;
}

@keyframes animate {
    0%,100%{
        transform: translateY(50px);
    }
    50%{
        transform: translateY(80px);
    }
}

.icons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    left: -25px;
}

.icons li {
    list-style: none;
}

.icons li a {
    text-decoration: none;
    width: 50px;
    height: 50px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    margin: 4px 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.icons li a img {
    transform: scale(.6);
    width: 100%;
    height: 100%;
    transition: .7s;
}

.icons li:hover a img {
    transform: scale(0.6) rotate(360deg);
}


/*responsive*/
@media (max-width:1000px) {

    section{
        height: 100%;
        padding: 50px 32px 32px;
    }

    .container{
        flex-direction: column;
        height: auto;
        width: calc(100% - 20px);
        padding: 20px;
    }

    header{
        position: relative;
        right: 0;
        left: 0;
        width: 100%;
        flex-direction: column;
        padding: 20px;
        top: -50px;
    }

    header ul{
        flex-wrap: wrap;
        margin-top: 16px;
        justify-content: center;
    }

    header ul li {
        margin: 2px;
    }

    .container .content {
        transform: translateX(0);
        max-width: 100%;
        padding: 30px;
        margin-top: -40px;
    }

    .content h2{
        font-size: 30px;
    }

    .content p{
        font-size: 16px;
    }

    .icons{
        position: relative;
        flex-direction: row;
        margin: 0 30px;
    }
}