* {
    margin: 0;
    padding: 0;
}
html{
    background: #303030;
}
.imam {
    filter: url("#blur");
    transform: translateZ(0) scale(0);
    animation: bringin 5s ease-out both;
}
.imam polygon,
.imam path {
    transform: translateZ(0);
    visibility: hidden;
}

@keyframes bringin {
    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}
@keyframes bringout {
    100% {
        opacity: 0;
    }
}
.dot {
    width: 10px;
    height: 10px;
    left: 48%;
    top: -220px;
    background-color: #303030;
    position: absolute;
    animation-name: example;
    animation-duration: 2.5s;
    border-radius: 100%;
}
@keyframes example {
    0% {
        background-color: #d5b52e;
        top: -220px;
    }
    50% {
        background-color: #d5b52e;
        top: 100px;
    }
    100% {
        background-color: #d5b52e;
        top: 100px;
        opacity: 0;
        background: #303030;
    }
}
.main {
    position: relative;
    display: flex;
}
.one {
    width: .1px;
    height: .1px;
    position: absolute;
    z-index: 3;
}
.two {
    z-index: 1;
    display: flex;
    justify-content: center;
}
.boaba {
    display: flex;
    justify-content: center;
}
.bg-boaba {
    background:#303030;
    background-size: cover;
    height: 100vh
}
.lang {
    opacity: .7;
    display: flex;
    justify-content: center;
    direction: rtl;
    margin-top: 60px;
}
.f3 {
    display: flex;
}
.f3 li,
.s2 li {
    display: inline-block;
}
.f3 ul,
.s2 ul {
    list-style-type: none;
    direction: rtl;
    text-align: center;
}
.f3 ul a,
.s2 ul a {
    text-decoration: none;
    color: #fff;
    font: bold 1.2em Arial, Helvetica, sans-serif;
}
.iraq {
    width: 150px;
    position: relative;
    margin-top: -65px;
}
.fr {
    width: 150px;
    position: relative;
    margin-top: -65px;
}
.pa {
    width: 150px;
    position: relative;
    margin-top: -65px;
}
.iran {
    width: 150px;
    position: relative;
    margin-top: -65px;
}
.eng {
    width: 150px;
    position: relative;
    margin-top: -65px;
}
.eng .c4 {
    background-color: #283593;
}
.eng .c5 {
    background-color: #D32F2F;
}
.fr .c4 {
    background-color: #D32F2F;
}
.fr .c5 {
    background-color: #283593;
}
.iran .c4 {
    background-color: #209E54;
}
.iran .c5 {
    background-color: #D32F2F;
}
.iraq .c4 {
    background-color: #D32F2F;
}
.iraq .c5 {
    background-color: #000;
}
.pa .c4,
.pa .c5 {
    background-color: #03491f;
}
.iran .mask {
    background: transparent url("../img/iran.svg") no-repeat center center;
}
.eng .mask {
    background: transparent url("../img/eng.svg") no-repeat center center;
}
.pa .mask {
    background: transparent url("../img/pa.svg") no-repeat center center;
}
.fr .mask {
    background: transparent url("../img/fr.svg") no-repeat center center;
}
.c4 {
    left: 55px;
}
.c5 {
    left: 86px;
}
.c1,
.c2,
.c3 {
    left: 70px;
    background-color: white;
}
.hover:hover ~ .c4,
.hover:hover ~ .c5 {
    opacity: 0;
}
.c1,
.c2,
.c3,
.c4,
.c5 {
    width: 10px;
    height: 10px;
    position: absolute;
    border-radius: 50%;
    top: 75px;
    z-index: 2;
}
.c2 {
    background-color: #424242;
    z-index: 1;
}
.c3 {
    background-color: #444a53;
    z-index: 0;
}
.mask {
    position: relative;
    z-index: 9;
    background: transparent url("../img/iraq.svg") no-repeat center center;
    width: 150px;
    height: 150px;
    display: none;
}
.hover {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 57px;
    left: 55px;
    z-index: 10;
    overflow: hidden;
}
.hover:hover {
    width: 100px;
    height: 100px;
    top: 28px;
    left: 20px;
}
.hover:hover ~ .mask {
    display: block;
}
.hover:hover ~ .c1,
.hover:hover ~ .c2,
.hover:hover ~ .c3 {
    width: 125px;
    height: 112px;
    top: 23px;
    left: 13px;
}
.hover:hover ~ .c1 {
    transition: all 0.9s ease-out;
}
.hover:hover ~ .c2 {
    transition: all 0.7s ease-out;
}
.hover:hover ~ .c3 {
    transition: all 0.5s ease-out;
}
.img-boaba {
    display: flex;
    justify-content: center;
    margin-top: 10em;
}
/*media query */
@media only screen and (min-device-width : 320px) and (max-device-width : 767px) {
    .img-boaba {
    display: flex;
    justify-content: center;
    margin-top: 15em;
}
.main{
        transform: scale(1.8);;
}
.boaba {
    display: flex;
    justify-content: center;
    margin-top: 7em;
}

.f3 ul,.s2 ul{
    display: flex;
    justify-content: center;
    flex-direction: column;
    transform: scale(2.2);
}

.f3 li,.s2 li {
        height: 120px;
        transform: scale(1.2);
    }       

    .lang {
        flex-direction: column;
        align-items: center;
    }

    div .s2 ,div .lang{
        margin-top: 24em;
    }
    .boaba object {
        transform: scale(1.8);
    }
    .bg-boaba{
        height: 100%;
    }
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1023px) {
    .bg-boaba {
        height: 100%;
    }
    .boaba {
        transform: scale(0.9);
        margin-top: -20px;
    }
    .img-boaba {
        transform: scale(1.1);
        margin-top: 6em !important;
    }
    .f3 li,
    .s2 li {
        height: 120px;
        transform: scale(1.1);
    }
    .lang {
        flex-direction: column;
        align-items: center;
    }
}
@media only screen and (min-device-width : 1024px) and (max-device-width : 1366px){
	.img-boaba {
        transform: scale(1.1);
        margin-top: 4em !important;
    }
}