@font-face {
    font-family: Sahel-Light;
    src: url(../../fonts/Sahel-Light-FD.ttf);
}
@font-face {
    font-family: Sahel;
    src: url(../../fonts/Sahel-FD.ttf);
}
@font-face {
    font-family: Sahel-SemiBold;
    src: url(../../fonts/Sahel-SemiBold-FD.ttf);
}
@font-face {
    font-family: Sahel-Bold;
    src: url(../../fonts/Sahel-Bold-FD.ttf);
}
@font-face {
    font-family: Sahel-Black;
    src: url(../../fonts/Sahel-Black-FD.ttf);
}
.background {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.header {
    width: 84%;
    margin-left: 6%;
    margin-top: 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header img {
    width: 170px;
}
.header a:nth-child(2) {
    font-family: Sahel-SemiBold;
    color: #e9e9e9;
    padding: 8px 24px;
    text-decoration: none;
    background: transparent;
    border: 2px solid #e9e9e9;
    border-radius: 7px;
}
.header a:hover:nth-child(2) {
    color: #121212;
    background: #e9e9e9;
    border: 2px solid #121212;
}
.content {
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    width: 86%;
    margin-left: 6%;
    color: #e9e9e9;
    position: absolute;
    z-index: 2;
}
.content p {
    font-family: Sahel;
    font-size: 18px;
    margin-bottom: 5px;
}
.content h1 {
    font-family: Sahel-Black;
    font-size: 50px;
}
.content span {
    font-family: Sahel-Light;
    color: #000;
    background-color: #e9e9e9a3;
    padding: 0px 10px;
    border-radius: 4px;
}
.content span:nth-child(3) {
    margin-left: 130px;
}
.content span:nth-child(4) {
    margin-right: auto;
    margin-left: 16px;
}
.content a {
    font-family: Sahel-SemiBold;
    color: #e9e9e9;
    padding: 8px 24px;
    text-decoration: none;
    background: transparent;
    border: 2px solid #e9e9e9;
    border-radius: 7px;
}
.content a:hover {
    color: #121212;
    background: #e9e9e9;
    border: 2px solid #121212;
}
.bubbles img {
    width: 50px;
    animation: bubble 7s linear infinite;
}
.bubbles {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: absolute;
    bottom: -70px;
}
@keyframes bubble {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translateY(-80vh);
        opacity: 0;
    }
}
.bubbles img:nth-child(1) {
    animation-delay: 2s;
    width: 25px;
}
.bubbles img:nth-child(2) {
    animation-delay: 1s;
}
.bubbles img:nth-child(3) {
    animation-delay: 3s;
    width: 25px;
}
.bubbles img:nth-child(4) {
    animation-delay: 4.5s;
}
.bubbles img:nth-child(5) {
    animation-delay: 3s;
}
.bubbles img:nth-child(6) {
    animation-delay: 6s;
    width: 20px;
}
.bubbles img:nth-child(7) {
    animation-delay: 1s;
    width: 35px;
}
@media screen and (max-width: 600px) {
    .header {
        width: 90%;
        margin-left: 5%;
        margin-top: 7%;
    }
    .content {
        width: 86%;
        margin-left: 7%;
    }
    .content h1 {
        font-size: 38px;
        line-height: 50px;
    }
    .content span {
        font-size: 12px;
    }
    .content span:nth-child(3) {
        float: right;
        margin-right: 20px;
        margin-left: 0px;
    }
    .content span:nth-child(4) {
        float: left;
        margin-left: 20px;
        margin-right: 0px;
    }
}
.activity p {
    font-family: Sahel;
    font-size: 20px;
    direction: rtl;
    text-align: center;
    padding: 1% 4% 0% 4%;
    line-height: 35px;
    margin-right: 4%;
    margin-bottom: 0px;
}
.activity h4 {
    font-family: Sahel-Black;
    font-size: 35px;
    text-align: center;
    margin-right: 4%;
    padding-top: 3%;
}
@media screen and (max-width: 600px) {
    .activity p {
        font-size: 16px;
        text-align: justify;
        padding: 2% 6% 0% 6%;
        line-height: 33px;
        margin-right: 0px;
    }
    .activity h4 {
        font-size: 30px;
        margin-right: 0px;
        padding-top: 7%;
    }
    .conference h6 {
        margin-right: unset;
    }
}
.base-card {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-right: 4%;
}
.home-card {
    margin: 5% 2.5%;
    display: grid;
    grid-template-columns: 300px;
    grid-template-rows: 170px 170px 70px;
    grid-template-areas: "image" "text" "stats";
    border-radius: 16px;
    background: #efefef;
    text-align: center;
    transform-style: preserve-3d;
    perspective: 1000px;
}
@media screen and (max-width: 600px) {
    .base-card {
        display: unset;
    }
    .home-card {
        width: 300px;
        margin: auto;
        margin-top: 12%;
    }
}
.card-image {
    grid-area: image;
    border-radius: 15px 15px 0px 0px;
    background-size: cover;
}
.home-card:nth-child(1) .card-image {
    background: linear-gradient(#fff0 0%, #fff0 70%, #1d1d1d 100%), url("../images/ikeeper.jpg");
}
.home-card:nth-child(2) .card-image {
    background: linear-gradient(#fff0 0%, #fff0 70%, #1d1d1d 100%), url("../images/ikotob.jpg");
}
.home-card:nth-child(3) .card-image {
    background: linear-gradient(#fff0 0%, #fff0 70%, #1d1d1d 100%), url("../images/ichoco.jpg");
}
.rgb::after {
    content: "";
    background: linear-gradient(45deg, #00072c 0%, #00072c 20%, #3fdad8 50%, #01525b 80%, #01525b 100%) repeat 0% 0% / 300% 100%;
    position: absolute;
    inset: -3px;
    border-radius: 16px;
    filter: blur(8px);
    transform: translateZ(-1px);
    animation: rgb 6s linear infinite;
}
.rgb-change::after {
    background: linear-gradient(45deg, #01525b 0%, #3fdad8 50%, #00072c 100%) repeat 0% 0% / 300% 100%;
}
@keyframes rgb {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.card-text {
    grid-area: text;
    margin: 25px;
    transform: translateZ(30px);
}
.card-text .date {
    font-family: Sahel;
    color: #003638;
    font-size: 13px;
}
.card-text p {
    font-family: Sahel-Light;
    color: #363636;
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 19px;
}
.card-text h2 {
    font-size: 26px;
    font-family: Sahel-Bold;
    padding-top: 7px;
}
.card-text a {
    font-family: Sahel;
    color: #fff;
    background-color: #00224c;
    text-decoration: none;
    padding: 0px 34px;
    border-radius: 10px 10px 0px 0px;
}
.card-text a:hover {
    background-color: #007784;
}
.card-stats {
    grid-area: stats;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    border-radius: 0px 0px 15px 15px;
    background: #01525b;
}
.card-stats .state {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    color: #fff;
}
.card-stats .type {
    font-family: Sahel-Light;
    font-size: 11px;
    font-weight: 300;
    text-transform: uppercase;
}
.card-stats .value {
    font-family: Sahel-Black;
    font-size: 22px;
    font-weight: 500;
}
.card-stats .border2 {
    border-left: 1px solid #00072c;
    border-right: 1px solid #00072c;
}
.card-stats .value span {
    font-size: 16px;
    padding-right: 2px;
}
.footer {
    background: linear-gradient(to right, #00072c, #01525b);
    color: #fff;
    padding: 55px 0px 20px;
    border-top-left-radius: 180px;
}
.footer-row {
    width: 85%;
    margin: auto;
    justify-content: space-between;
}
.footer-box {
    flex-basis: 25%;
    padding: 10px;
}
.footer-box:nth-child(3) {
    flex-basis: 18%;
}
.footer-box:nth-child(4) {
    flex-basis: 15%;
}
.footer-logo {
    width: 200px;
    margin: 30px 0px;
}
.footer-box h3 {
    font-family: Sahel-SemiBold;
    font-size: 22px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.email-p {
    text-align: center;
    font-family: Sahel;
    direction: rtl;
}
.footer-email {
    text-align: center;
    border-bottom: 1px solid #ccc;
    margin-bottom: 14px;
    padding: 0px 1px;
}
.footer-box ul li {
    font-family: Sahel;
    text-align: right;
    padding-right: 8px;
    list-style: none;
    margin-bottom: 12px;
}
.footer-box ul li a {
    text-decoration: none;
    color: #fff;
}
.footer-box form {
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    margin-bottom: 35px;
}
.footer-box h5 {
    direction: rtl;
    text-align: right;
    font-family: Sahel-SemiBold;
    padding-right: 6px;
}
.address {
    direction: rtl;
    text-align: center;
    font-family: Sahel-Light;
    padding-right: 8px;
}
.footer-box div {
    text-align: center;
}
.footer-box div a {
    color: #fff;
    font-family: Sahel-Bold;
}
.email-icon {
    width: 36px;
}
.footer-box form input {
    width: 100%;
    background: transparent;
    color: #ccc;
    border: 0px;
    outline: none;
}
.footer-box form input::placeholder {
    text-align: center;
    color: #a1a1a1;
    font-family: Sahel-Light;
    font-size: 14px;
}
.footer-box form button {
    background: transparent;
    border: 0px;
    outline: none;
}
.send-icon {
    width: 28px;
    padding-top: 8px;
}
.social-icons {
    text-align: center;
}
.social-icons img {
    width: 45px;
    margin: 0px 7px;
}
hr {
    width: 80%;
    border: 0px;
    border-bottom: 1px solid #ccc;
    margin: 20px auto;
}
.copyright {
    direction: rtl;
    text-align: center;
    font-family: Sahel;
}
.copyright p {
    margin-bottom: 4px;
}
.underline {
    width: 100%;
    height: 5px;
    background: #767676;
    border-radius: 3px;
    position: absolute;
    top: 38px;
    left: 0px;
    overflow: hidden;
}
.underline span {
    width: 15px;
    height: 100%;
    background: #fff;
    border-radius: 3px;
    position: absolute;
    top: 0px;
    right: 10px;
    animation: moving 2s linear infinite;
}
@keyframes moving {
    0% {
        right: -20px;
    }
    100% {
        right: 100%;
    }
}
@media screen and (max-width: 600px) {
    .footer {
        border-top-left-radius: 110px;
    }
    .footer-box {
        flex-basis: 100%!important;
    }
    .footer-box:nth-child(1) {
        text-align: center;
        margin-top: 0px;
    }
    .footer-box:nth-child(2), .footer-box:nth-child(3), .footer-box:nth-child(4) {
        text-align: center;
        margin-top: 30px;
    }
    .copyright {
        padding: 0px 10px;
        margin-bottom: 50px;
    }
    .footer-email {
        width: 80%;
        margin-left: 10%;
    }
}
