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

@font-face {
    font-family: "Kalameh";
    font-weight: normal;
    src: url("assets/fonts/KalamehWeb_Regular.ttf") format('truetype');
}

@font-face {
    font-family: "Kalameh";
    font-weight: bold;
    src: url("assets/fonts/KalamehWeb_Bold.ttf") format('truetype');
}


a {
    font-size: inherit;
    color: inherit;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    color: rgba(255, 255, 255, 0.89);
    font-family: "Kalameh";
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    background: linear-gradient(322deg, #ba4aff, rgba(186, 74, 255, 0) 70%), linear-gradient(178deg, #008aff, rgba(0, 138, 255, 0) 70%), linear-gradient(24deg, #00ffc6, rgba(0, 255, 198, 0) 35%);
    background-size: 100% 100%;
    direction: rtl;
    background-attachment: fixed;
}


main {
    margin-top: 1%;
    height: fit-content;
    width: 72%;
    --size: 6rem;
    --transition-duration: 500ms;
    --transition-easing: ease-out;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    border-radius: 0.5rem;
    box-shadow: 0 calc(var(--size) / 6) calc(var(--size) / 3) rgba(0, 0, 0, 0.1);
    background-attachment: fixed;
    position: relative;
}

nav {
    margin: 3% auto 0 auto;
    width: 90%;
    display: flex;
    height: 60px;
    color: rgba(255, 255, 255, 0.89);
    flex-direction: row;
    font-weight: bolder;
    font-size: 1.4rem;
    justify-content: space-around;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    column-gap: 5%;
    width: calc(100% - (8% + 44px));
    justify-content: center;
    cursor: pointer;
}

nav li {
    transition: all .5s ease;
}

nav li:hover {
    color: white;
    transform: scale(1.1);
}

nav button {
    color: white;
    width: 8%;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    transition: all .6s ease;
    border: 1px solid rgba(255, 255, 255, 0.82);
    outline: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

nav button:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: scale(1.1);
}

header {
    margin: 3% auto 0 auto;
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: 756px;
    position: relative;
}

#down {
    position: absolute;
    bottom: 0;
    cursor: pointer;
    transition: all .6s ease;
}

#down:hover {
    transform: scale(1.1);
}

.content {
    width: 50%;
    height: 556px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 5%;
}

.content h2 {
    font-size: 3rem;
}

.content h4 {
    width: 80% !important;
    font-size: 1.4rem;
    line-height: 2.3rem;
    text-align: center;
}

.content button {
    color: white;
    width: 155px;
    height: 38px;
    background: rgba(186, 74, 255, 0.38);
    transition: all .6s ease;
    border: 1px solid rgba(255, 255, 255, 0.82);
    outline: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all .6s ease;
}

.content button:hover, .more:hover {
    background: rgba(186, 74, 255 0.56);
    transform: scale(1.1);
}

.circle {
    border-radius: 30% 70% 70% 30% / 30% 40% 60% 70%;
    width: 556px;
    height: 556px;
    overflow-y: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.58);
}

.circle:after {
    background: url("assets/images/music.png");
    content: '';
    width: 480px;
    height: 463px;
    left: 4.7%;
    bottom: -2px;
    background-size: 100% 100%;
    position: absolute;
}

#new {
    margin: 7% auto 0 auto;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#new h2, #akhbar h2, #about h2 {
    font-size: 2.2rem;
    padding-bottom: 1%;
    border-bottom: 3px solid #00ffc6;
}

.con {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#new .row {
    margin-top: 10%;
    width: 26%;
    margin-right: 5%;
    margin-left: 2%;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    transition: all .6s ease;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 4px;
    height: 97px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#new .row:hover {
    transform: scale(1.1);
}

#new .row.active {
    animation: play 1.5s ease-in-out infinite;
}

@keyframes play {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

#new .row img {
    height: 111px;
    width: 111px;
    border-radius: 50%;
    position: absolute;
    top: -58px;
    right: -25px;
    border: 2px solid white;
}

#new .row h3 {
    font-size: 1.4rem;
}

#new .row a {
    background: rgba(0, 255, 198, 0.68);
    width: 45px;
    height: 45px;
    border-radius: 30% 70% 70% 30% / 30% 40% 60% 70%;
    position: absolute;
    bottom: -14px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: -13px;
}

.more {
    margin: 10% auto 0 auto !important;
    color: white;
    width: 155px;
    height: 38px;
    background: rgba(186, 74, 255, 0.38);
    transition: all .6s ease;
    border: 1px solid rgba(255, 255, 255, 0.82);
    outline: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all .6s ease;
}

#akhbar {
    margin: 7% auto 0 auto;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#akhbar .con {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

#akhbar .con .row {
    margin-top: 10%;
    width: 26%;
    margin-right: 5%;
    margin-left: 2%;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    transition: all .6s ease;
    border: none;
    border-radius: 1px;
    outline: 2px solid rgba(255, 255, 255, 0.82);
    outline-offset: 3px;
    height: 400px;
    position: relative;
    padding: 10px;
    cursor: pointer;
}

#akhbar .con img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
    display: block;

}

#akhbar .con .row div {
    width: 100%;
    position: absolute;
    bottom: 0;
    height: 86px;
    z-index: 1000;
    left: 0;
    background: rgba(255, 255, 255, 0.28);
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    opacity: 0;
    display: flex;
    transition: all .3s linear;
}

#akhbar .con .row div h3 {
    text-align: center;
    width: 80%;

}

#akhbar .con .row:hover {
    transform: scale(1.1);
}

#akhbar .con .row:hover div {
    opacity: 1;
}

#about {
    margin: 7% auto 0 auto;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#about .con{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

#about .con div, #about .con svg{
    flex-basis: 50%;
    max-width: 50%;
}

#about .con div {
    font-weight: bold;
    font-size: 1.7rem;
    text-align: center;
    line-height: 3.2rem;
}

footer {
    margin-top: 7%;
    width: 100%;
    height: 49px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
