:root {
 --main-text: #14573a;
 --second-text: #222a26;
 --container-width: 1300px;
}

* {
 padding: 0;
 margin: 0;
 text-decoration: none;
 border: none;
 box-sizing: border-box;
}
/* @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');
html {overflow: hidden;} */

body {background-color: #fff !important;}

#highmanage_body {
    padding: 0rem 0 250px;
    
    margin: 0;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    background-image: url(../img/patternBackground.png);
    background-repeat: no-repeat;
    background-position: center 0px;
    animation: moveBackground 10s ease-in infinite alternate;
    min-height: 20vh;
    position: relative;
}

@keyframes moveBackground {
    0% {
        background-position: center 0px;
    }
    25% {
        background-position: center 15px;
    }
    50% {
        background-position: center 5px;
    }
    75% {
        background-position: center 20px;
    }
    100% {
        background-position: center 0px;
    }
}

.container {
 width: 90%;
 max-width: var(--container-width);
 background: url('../img/main_border.png') top center no-repeat;
 margin: 2rem auto;
 padding: 2rem 0;
 position: relative;
}
#highmanage_body::after {
    content: '';
    display: block;
    width: 90%;
    max-width: 813px;
    height: 214px;
    background: url('../img/university_pattern.png') bottom center no-repeat;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    z-index: 5;
}

@keyframes bodyPattern {
 
0% {transform: scale(1);}
100% { transform: scale(1.1);}

}

h2.main-title {
 display: block;
 width: 270px;
 background-color: #1b8354;
 position: absolute;
 top: -25px;
 right: 0;
 left: 0;
 margin: 0 auto;
 filter: drop-shadow(4px 0px 24px #1b835463);
 color: #fff;
 padding: 0.7rem 1rem;
 font-weight: 500;
 font-size: 1.1rem;
 border-radius: 8px;
 text-align: center;
}

.manager {
    background: url('../img/manager_border.png') top center no-repeat;
    position: relative;
    width: 90%;
    max-width: 775px;
    height: auto;
    margin: 3rem auto 0rem;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}
@keyframes breathing {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0px 0px 0px #226b4428);
    }
    50% {
        transform: scale(1.05);
                filter: drop-shadow(2px 4px 16px #2f9a6199);

    }
}
.manager .thum {
    display: block;
    width: 80%;
    max-width: 344px;
    margin: 1rem auto 0;
    animation: breathing 5s ease-in-out infinite;
}
.manager .thum img {
    width: 100%;
}

.manager h2 {
 text-align: center;
 color: var(--main-text);
 font-weight: 700;
 font-size: 1.3rem;
}
.manager h3 {
 text-align: center;
 color: var(--second-text);
 font-weight: 600;
 font-size: 1.2rem;
}

.grid {
 display: grid;
 grid-template-columns: repeat(1, 1fr);
 justify-content: center;
 align-items: stretch;
 gap: 1rem;
 margin-top: 3rem;
}

.item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 0.1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    min-height: 320px;
}

.item:nth-child(1) {
  animation-delay: 0.8s;
}
.item:nth-child(2) {
  animation-delay: 1.0s;
}
.item:nth-child(3) {
  animation-delay: 1.2s;
}
.item:nth-child(4) {
  animation-delay: 1.4s;
}

.item h2 {
 text-align: center;
 color: var(--main-text);
 font-size: 0.85rem;
}
.item h3 {
 text-align: center;
 color: var(--second-text);
 font-size: 1rem;
}
.item .thum {
 width: 100%;
 margin-bottom: 0.4rem;
}
.item .thum img {
 width: 100%;
 max-width: 231px;
}
.item .thum img {
 margin: 0 auto;
 display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.max-231{max-width: 231px;}

@media (min-width: 1025px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 600px) and (max-width:1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media screen and (max-width:600px) {
 html {font-size: 14px;}
 .manager {background: none; width: 100%;}
}