﻿:root {
    --main-color: rgb(253,185,19);
}
@keyframes fadeTop{
    from{
        opacity:0;
    }
    to{
        opacity:1;
        margin-top:0;
    }
}
@font-face {
    font-family: 'iransans';
    src: url('../fonts/IRANSansWeb(FaNum.html).ttf');
}
.fadeTop{
    animation:fadeTop 2s ease both;
}
.body {
    overflow-x: hidden;
}

.isans {
    font-family: iransans
}

@keyframes rotateX {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

.rotateX {
    animation: rotateX 0.4s;
}

.name-wrapper {
    margin-top: 40px;
}

    .name-wrapper span {
        display: inline-block;
        font-weight: bold;
        text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    }

.socials-wrapper {
    margin-top: 20px;
    text-align: center;
    color: rgb(100,100,100);
}

    .socials-wrapper a {
        text-decoration: none;
        color: inherit;
        display: inline-block;        
    }

        .socials-wrapper a img {
            display: inline block;
            transition: 0.6s ease;
            backface-visibility: hidden;
        }

        .socials-wrapper a:hover img {
            transform: rotateY(360deg);
        }

.transition {
    transition: all 0.6s ease;
}

.img-wrapper {
    background-image: url("../images/01.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    padding-top: 400px;
    padding-bottom: 150px;
    text-align: center;
    position: relative;
}

.logo {
    width: 400px;
    height: auto;
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translateX(-50%) !important;
}

    .logo:hover {
        width: 450px;
        top: 40%;
    }

.language-wrapper {
    display: block;
    position:absolute;
    top:20px;
    left:20px;
    width:35px;
    height:35px;
}

    .language-wrapper:hover span {
        transform: rotateY(360deg);
    }

.language {
    position: absolute;
    transition: 0.6s ease;
    border: solid 2px #ccc;
    border-radius: 50%;
    color: #ccc;
    z-index: 2;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center; 
    display: inline block;
    top:2px;
    left:2px;
}


.socials-wrapper a {
    border: solid 2px #ccc;
    border-radius: 50%;
    padding: 2px;
    display: inline-block;
    width: 50px;
    text-align: center;
    color: transparent;
    transition: 0.6s ease;
}

    .socials-wrapper a span {
        display: inline-block;
        width: 100%;
        height: 100%;
        background: rgba(255,255,255,0.4);
        border-radius: 50%;
        padding: 10px;
        transition: 0.6s ease;
        color: black;
    }

    .socials-wrapper a:hover {
        border-color: var(--main-color);
    }

        .socials-wrapper a:hover span {            
            background: var(--main-color);
        }

    .socials-wrapper a span::before {
        opacity: 1;
    }

.name-wrapper {
    font-size: 22px;
    color: #ccc;
    padding-top: 10px;
    letter-spacing: 4px;
}

.about-wrapper {
    margin-top:150px;
    min-height:150px;
    background: var(--main-color);
    box-shadow: 0 0 8px 1px rgba(0,0,0,0.5);
    margin-bottom: -30px;
    position: relative;
    top: -50px;
    direction: rtl;
    text-align: justify;
    text-align-last: right;
    padding: 10px 15px;
}

    .about-wrapper h4 {
        position: relative;
        text-align: center;
    }

.tamtom-wrapper {
    background: url(../images/02.png);
    background-size: cover;
    min-height:270px;
    background-position: center center;
    background-repeat: no-repeat;    
    text-align: center;
    position: relative;
}

    .tamtom-wrapper img {
        width: 70%;
        height: auto;
        margin-bottom: 10px;
        margin-top: 30px;
    }

    .tamtom-wrapper .over {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.tamtom-text {
    direction: rtl;
    text-align: justify;
}
.btn-danger{
    background-color:var(--main-color);
    color:black;
    border:none;
    border-radius:5px;
    padding:10px 15px;
}
.edu{
    direction:rtl;
    text-align:justify;
}
.contact-wrapper{
    border:solid 6px var(--main-color);
    text-align:center;
    direction:rtl;
    padding:30px;
    margin-top:50px;
    font-weight:bold;
    font-size:20px;
    word-wrap:break-word;
}
footer{
    background:#333;
}
.hvr-rectangle-out:before {
    background: rgba(0,0,0,0.1)
}
/* BTN */
.btn-danger:not(:disabled):not(.disabled).active, .btn-danger:not(:disabled):not(.disabled):active, .show > .btn-danger.dropdown-toggle, .btn-danger:hover, .btn-danger.focus, .btn-danger:focus, .btn-danger:active, .btn-danger:not(:disabled):not(.disabled).active, .btn-danger:not(:disabled):not(.disabled):active, .show > .btn-danger.dropdown-toggle, .btn-danger:not(:disabled):not(.disabled).active:focus, .btn-danger:not(:disabled):not(.disabled):active:focus, .show > .btn-danger.dropdown-toggle:focus .btn{
    cursor: pointer;
    color: black;
    background: var(--main-color);
    border: none;
    box-shadow: none;
    outline:none !important;
}
/* BTN */
/*****************************/
/*             Footer              */
/*****************************/
.body {
    min-height: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    -webkit-box-shadow: #000 0 7px 35px 0;
    -moz-box-shadow: #000 0 7px 35px 0;
    box-shadow: #000 0 7px 35px 0;
    background: white;
}

.footer {           
    position: fixed;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
}

.footer {            
}
.pr-6{
    padding-right:6rem !important;
}
.pl-6 {
    padding-left: 6rem !important;
}
.pt-6 {
    padding-top: 6rem !important;
}
.pb-6 {
    padding-bottom: 6rem !important;
}
.p-6 {
    padding: 6rem !important;
}
/*********************************************************/
/*******************Footer End **************************/
/*********************************************************/
@media only screen and (max-width:992px) {
    .img-wrapper {
    }

    .tamtom-wrapper {
        background-size: cover;
    }
    .socials-wrapper a{
        width:40px;
        height:40px;
    }
    .socials-wrapper a span{
        padding:8px;
    }
}

@media only screen and (max-width:768px) {
    .img-wrapper {
        background-position: -500px;
    }
}

@media only screen and (max-width:576px) {
    .name-wrapper {
        margin-top: 10px !important;
    }

    .tamtom-wrapper {
        background-size: cover;
        background-position: -250px center;
    }

        .tamtom-wrapper .over {
            background: rgba(0,0,0,0.3);
        }

    .logo {
        width: 300px;
    }
        .logo:hover {
            width:360px;
        }

@media only screen and (max-width:450px) {
    .tamtom-wrapper {
        background-position: -300px center;
    }
    .img-wrapper{
        background-position:-650px;
    }
}

    @media only screen and (max-width:350px) {
        .name-wrapper {
            letter-spacing: 2px;
            font-size: 20px;
        }

        .tamtom-wrapper {
            background-position: -250px center;
        }

        .logo {
            width: 250px;
        }
            .logo:hover {
                width: 300px;
            }
    }
}
