﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html, body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    font-family: tahoma;
}


body {
    background: #f3f6fb;
}



.cover {
    position: relative;
    width: min(1400px,100%);
    margin: auto;
}



    .cover picture,
    .cover img {
        display: block;
        width: 100%;
    }



    .cover img {
        height: auto;
    }



/* الأزرار */

.btn {
    position: absolute;
    display: block;
    cursor: pointer;
    z-index: 1000;
}
    .btn::before {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background: rgba(255,255,255,0.35);
        border-radius: 50%;
        transition: width .8s ease, height .8s ease, opacity .8s ease;
        opacity: 0;
    }
    .btn:hover::before {
        width: 150%;
        height: 150%;
        opacity: 1;
    }

    .btn:hover {
        transform: scale(1.08);
        box-shadow: 0 0 15px rgba(255,255,255,.8), 0 0 35px rgba(0,170,255,.7);
        transition-delay: .15s;
    }
.btn {
    transition: transform .5s ease, box-shadow .5s ease;
}


/* زر الطلبة */

.students {
    left: 33.8%;
    bottom: 21.2%;
    width: 22.3%;
    height: 8%;
}



/* زر الكلية */

.college {
    left: 58.5%;
    bottom: 21.2%;
    width: 22.5%;
    height: 8%;
}



/* الصوت */

#playAudio {
    position: absolute;
    z-index: 1000;
    left: 50%;
    top: 4%;
    transform: translate(-50%,-50%);
    width: 370px;
}



/* الخلفية المتحركة */

..circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 999;
    pointer-events: none;
}


.circles li {
    position: absolute;
    display: block;
    list-style: none;
    bottom: -150px;
    animation: animate 25s linear infinite;
}


    /* توزيع العناصر */

    .circles li:nth-child(1) {
        left: 25%;
        width: 80px;
        height: 80px;
        animation-delay: 0s;
        color: #C0860C;
    }


    .circles li:nth-child(2) {
        left: 10%;
        width: 20px;
        height: 20px;
        animation-delay: 2s;
        animation-duration: 12s;
        color: #069;
    }


    .circles li:nth-child(3) {
        left: 70%;
        width: 20px;
        height: 20px;
        animation-delay: 4s;
        color: #efd551;
    }


    .circles li:nth-child(4) {
        left: 40%;
        width: 60px;
        height: 60px;
        animation-delay: 0s;
        animation-duration: 18s;
        color: #0e519e;
    }


    .circles li:nth-child(5) {
        left: 65%;
        width: 20px;
        height: 20px;
        animation-delay: 0s;
        color: #C0860C;
    }


    .circles li:nth-child(6) {
        left: 75%;
        width: 110px;
        height: 110px;
        animation-delay: 3s;
        color: #069;
    }


    .circles li:nth-child(7) {
        left: 35%;
        width: 150px;
        height: 150px;
        animation-delay: 7s;
    }


    .circles li:nth-child(8) {
        left: 50%;
        width: 25px;
        height: 25px;
        animation-delay: 15s;
        animation-duration: 45s;
        color: #efd551;
    }


    .circles li:nth-child(9) {
        left: 20%;
        width: 15px;
        height: 15px;
        animation-delay: 2s;
        animation-duration: 35s;
        color: #d6508b;
    }


    .circles li:nth-child(10) {
        left: 85%;
        width: 150px;
        height: 150px;
        animation-delay: 0s;
        animation-duration: 11s;
        color: #0e519e;
    }



    .circles li i {
        font-size: 3em;
    }



@keyframes animate {

    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }


    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

.area {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 999;
}



/* الجوال */

@media(max-width:768px) {



    .cover {
        width: 100%;
    }



    /* اخفاء الصوت */

    #playAudio {
        display: none;
    }



    /* صورة الجوال */

    .cover img {
        width: 100%;
        height: auto;
    }



    /* تعديل أماكن الأزرار حسب صورة الجوال */

    .students {
        left: 25%;
        bottom:47%;
        width: 50%;
        height: 40px;
    }



    .college {
        left: 25%;
        bottom: 39%;
        width: 50%;
        height: 40px;
    }
}
