@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap');

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

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Poppins', sans-serif;
    overflow: scroll;
    height: 520px;
    transition: background-color .5s;
}

.container{
    max-width: 1170px;
    margin: auto;
    padding: 0 10px;
}
div.massenger{
    position: fixed;
    bottom: 19px;
    right: 13px;
    background-color: rgb(10, 124, 255);
    width: 57px;
    height: 58px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
}

p{
    transition: color .5s;
}

/* icons */

i{
    margin-top: 8px;
    font-size: 43px;
    color: #fff;
}

i.fas.fa-list-ul {
    font-size: 29px;
    position: relative;
    bottom: 7px;
    margin-left: 9px;
    margin-bottom: 18px;
    cursor: pointer;
    display: none;
    animation: toRight 0s;
    animation-iteration-count: infinite;
    opacity: 0;
    cursor: auto;
}

i.fas.fa-times {
    font-size: 34px;
    position: relative;
    bottom: 10px;
    margin-left: 9px;
    margin-bottom: 18px;
    display: none;
    cursor: pointer;
    animation: toRight 0s;
    animation-iteration-count: infinite;
    opacity: 0;
    cursor: auto;
}

/* header */

header{
    /* background: url(../images/mike.png); */
    height: 657px;
    background-size: cover;
    transition: animation .6s;
}
header .back{
    position: absolute;
    width: 100%;
    height: 100%;
}

/* header .two{
    animation: backgroundTwo 8s;
    animation-delay: 8s;
    animation-iteration-count: infinite;
}
header .three{
    animation: backgroundOne 8s;
    animation-delay: 4s;
    animation-iteration-count: infinite;
} */

header nav {
    padding-bottom: 33px;
    position: fixed;
    width: 100%;
    transition: 1s;
}
header nav.sticky{
    background-color: #000;
    padding: 7px 17px 34px;
    margin-top: -39px;
    transition: .6s;
}

header nav.sticky .container{
    justify-content: space-between;
    transition: .6s;

}
header nav.sticky .container ul li {
    margin-right: 10px;
    transition: .2s;
}

header nav .container{
    height: 70px;
    width: 100%;
    display: flex;
    padding: 39px 0 10px ;
    justify-content: space-around;
    transition: .6s;
}

header nav .logo {
    width: 199px;
    height: 76px;
    overflow: hidden;
    transition: .6s;
}
header nav.sticky .logo {
    width: 170px;
    height: 59px;
    overflow: hidden;
    transition: .6s;
}

header nav .logo img {
    width: 100%;
    height: 100%;
}

header nav ul {
    list-style-type: none;
    display: flex;
    padding-top: 19px;
}

header nav ul li {
    margin-right: 14px;
    padding: 0px 3px 33px;
    border: 0;
}


header nav ul li:hover,
header nav ul li:focus{
    border-bottom: 3px solid #f34423;
}

header nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
} 

a#event {
    color: #636672;
    cursor: not-allowed;
}

li.event:hover {
    border-bottom: 0;
}
a.event{
    color: gray;
    cursor: not-allowed;
}

header nav ul li a:focus{
    color: #f34423;
}

header .icons{
    width: 60px;
    height: 30px;
    display: flex;
}

header .icons img {
    width: 50%;
    height: 100%;
    cursor: pointer;
}

header .icons .sun {
    display: none;
}

.top-list{
    display: none;
    width: 100%;
    height: 306px;
    background: black;
    position: relative;
    top: 106px;
    overflow: hidden;
    transition: .4s;
}
.top-list.fixed{
    position:fixed;
    top:65px;
    z-index: 100;
}

.top-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    background: black;
    height: 285px;
    overflow: hidden;
}

.top-list ul li{
    margin: 10px auto;
    transition: .4s;
}

.top-list ul li a{
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: .4s;
    user-select:none;
}


.top-list ul li a:hover{
    color:#f34423;
    transform: skew(.9)
}

/* about */
.about{
    margin: 100px 0;
}
.about .container{
    display: grid;
    grid-template-columns: repeat(7 ,1fr);
    column-gap: 20px;
}

.about .container h1 {
    grid-column: span 7;
    color: #f34423;
    margin-bottom: 15px;
}

.about .container .para{
    grid-column: span 5;
    display: flex;
}

.about .container .para div{
    width: 79px;
    background-color: #ef4444ed;
    margin-right: 23px;
    border-radius: 5px;
}

.about .container .para p {
    line-height: 1.9;
    font-weight: 410;
}

.about .container .para p span {
    color: #ef4444;
    font-weight: bold;
    font-size:18px;
}

.about .container .para p a {
    color: #ef4444;
    font-size: 20px;
}

.about .container .image {
    grid-column: span 2;
    width: 290px;
    height: 276px;
}

.about .container .image img{
    width: 100%;
    height: 100%;
}

.about hr{
    margin: 70px auto;
    width: 86%;
    border: 2px solid #e5e7eb;
}

/* count */


.count .container{
    display: flex;
    justify-content: space-around;
}

.count .container div {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    border: 4px solid #f34423;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.count .container div p{
    color: black;
    font-weight: bold;
    font-size: 50px;
    margin-top: 39px;
}

.count .container div span{
    color: #f34423;
    font-weight: bold;
    font-size: 27px;
}


/* team */

.team .container {
    text-align: center;
}

.team .container h1 {
    color: #f34423;
    font-size: 28px;
    position: relative;
    bottom: 54px;
    text-align: initial;
    z-index: -1;
}

.team .container .members-bar {
    display: flex;
    justify-content: space-around;
}

.team .container .member {
    width: 178px;
    height: 294px;
}

.team .container .members-bar .member .image{
    width: 100%;
    margin-bottom: 14px;
    height: 61%;
}
.team .container .members-bar .member .image img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.team .container .members-bar .member p{
    font-weight: bold;
    margin-bottom: 4px;
}

.team .container .members-bar .member span{
    color: gray;
    font-weight: 600;
}

.team .container button{
    margin: 34px 0;
    background-color: #f34423;
    color: #fff;
    border: 0;
    border-radius: 26px;
    text-align: center;
    font-size: 18px;
    padding: 13px 35px;
}

.team .container button:hover{
    background-color: #dc2626;
    cursor: pointer;
}

/* footer */

footer {
    background-color: black;
    padding: 30px 0;
}

footer .container{
    text-align: center;
}

footer .container ul {
    list-style-type: none;
    max-width: 447px;
    margin: 20px auto;
    display: flex;
    justify-content: space-around;
}


footer .container ul li a {
    text-decoration: none;
    color: #f3f4f6;
    font-weight: bold;
}

footer .container ul li a:hover{
    cursor: pointer;
    color: #f34423;
}

footer .container .images {
    width: 240px;
    height: 50px;
    margin: 10px auto;
    display: flex;
    justify-content: space-around;
}

footer .container .images img {
    width: 20%;
    height: 100%;
    transition: transform .2s ease-in;
}
footer .container .images img:hover {
    transform: rotateZ(360deg);
    cursor: pointer;
}

footer .container button{
    padding: 13px 46px;
    text-align: center;
    color: #000;
    background-color: #f3f4f6;
    border: 0;
    border-radius: 21px;
    font-weight: bold;
    margin-top: 10px;
    font-size: 16px;
    cursor: pointer;
}

footer .container p{
    color: #88a393;
    margin: 15px 0;
}

/* Contact Page */



.contact-header{
    background: #000;
    height: 117px;
    margin-top: -1px;
    z-index: 2;
}

.contact-header .contact-page{
    background-color: black;
    z-index: 1000;
}

h1.contact{
    text-align: center;
    font-size: 35px;
    color: #fff;
    margin: 54px 0 28px 0;
    position: relative;
    z-index: 0;
    top: 69px;
}

form.contact-form{
    background: bottom;
    margin: 85px auto;
    max-width: 400px;
    position: relative;
    z-index: 0;
}
form.contact-form label{
    color: gray;

}
form.contact-form input {
    display: block;
    padding: 11px 8px;
    width: 100%;
    border-radius: 7px;
    border: 0;
    font-size: 17px;
    margin: 7px 0px;
    background: #aaaaac;
    color: gray;
    transition: .3s;
}

form.contact-form input:hover{
    background: #fff;
}

input:focus{
    outline: none;
}

form.contact-form input.message {
    padding-bottom: 104px;
}

form.contact-form input.submit{
    background: #ef4444;
    border-radius: 40px;
    padding: 14px;
    font-size: 19px;
    color: #fff;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
}

.contact-header .contact-page .top-list{
    position: fixed;
    top: 106px;
    z-index: 1000;
}


@media (max-width:700px){

    .about .container {
        grid-template-columns: 1fr;
    }

    .about .container h1{
        grid-column: span 1;
    }

    .about .container .para {
        grid-column: span 1;
    }

    .about .container .image {
        grid-column: span 1;
        margin: 30px auto 0;
    }

    .count .container {
        flex-direction: column;
    }

    .count .container > *:first-child{
        margin: 0 auto 17px;
    }

    .count .container > *:nth-child(2){
        margin: 0 auto;
    }

    .team .container .members-bar {
        flex-direction: column;
    }

    .team .container .member{
        margin: 0 auto;
    }

    footer .container ul li {
        margin-right: 4px;
    }

    footer .container ul li a {
        font-size: 14px
    }
    .contact-header .contact-page .top-list{
        position: fixed;
        top: 106px;
        z-index: 1000;
    }
}

@media (max-width:500px){

    form.contact-form{
        text-align: center;
    }
    form.contact-form input{
        width: 80%;
        margin: 7px auto;
    }

}

@media (max-width: 1022px){

    header nav ul li {
        display: none;
    }

    i.fas.fa-list-ul{
        display: inline;
    }

    .top-list{
        display:none ;
    }

    i.fas.fa-times,
    i.fas.fa-list-ul{
        animation: none;
        opacity: 1;
        cursor: pointer;
    }

}

@keyframes toRight {
    0% {
        transform: translateX(100px);
    }
    100% {
        transform: translateX(100px);
    }
}

@keyframes backgroundOne {
    0%{
        transform: translateX(0%);
    }
    25%{
        transform: translateX(100%);
    }
    50%{
        transform: translateX(200%);
    }
    100%{
        transform: translateX(0%);
    }
}

@keyframes backgroundTwo {
    0%{
        transform: translateX(0%);
    }
    25%{
        transform: translateX(-100%);
    }
    50%{
        transform: translateX(-200%);
    }
    100%{
        transform: translateX(0%);
    }
}






