@import url('https://fonts.googleapis.com/css2?family=Tajawal&display=swap');

* {
 padding: 0;
 margin: 0;
 text-decoration: none;
 border: none;
 box-sizing: border-box;
}

body {
    padding: 15% 0 0 0;
    margin: 0;
    background: url("img/bg.png") left top no-repeat;
    height: 100vh;
    width: 100%;
    overflow-y: hidden;
    font-family: 'Tajawal', sans-serif;
    display: block;
    justify-content: center;
    align-items: center;
}

.container {
 max-width: 1150px;
 width: 100%;
 margin: 0 auto;
 display: flex;
 column-gap: 4rem;


}

.item {
 max-width: 47%;
 flex: 1 1 0;
 height: 350px;
 border-radius: 16px;
 background: linear-gradient(147deg, #005773, #177d9f, #005773);
 background-size: 200% 200%;
 animation: gradientAnimation 5s ease infinite;
 box-shadow: 0 8px 24px 0 rgba(22, 125, 158, 0.32);
 position: relative;
 display: flex;
 flex-direction: column;
 align-items: center;
 padding-top: 210px;
 transition: all 0.3s ease-in-out;
}
.item:hover {
 transform: scale(1.01);
 box-shadow: 0 8px 32px 0 rgba(22, 125, 158, 0.4);
}
.thum {
 display: block;
 position: relative;
 position: absolute;
 top: -40px;
 animation: float 3s ease-in-out infinite;
}
.thum img {
 margin: 0 auto;
}
span.logo {
 display: block;

 width: 80px;
 height: 64.225px;
 flex-shrink: 0;
 aspect-ratio: 71/57;

 margin: 0 auto;
 background: url('img/logo.png');
}

.container h3 {
 display: block;
 text-align: center;
 font-weight: 400;
 color: #fff;
 font-size: 1.2rem;
}
.container h3 a {
 color: #fff;
}
.container h3 a:hover {
 color: #DBA102;
}
span.info {
 color: #fff;
 display: flex;
 justify-content: center;
 align-items: center;
 column-gap: .5rem;
}
.item1 a img {
    vertical-align: middle;
}

.item1 {
    display: block;
    position: relative;
    margin: 0 auto;
}
.container1 {
    margin: 3% auto;
    text-align: center;
}

.item1 a{
color: #0c6d76;
    font-size: 1.3em;
}
@keyframes float {
 0% {
  transform: translateY(0px);
 }
 50% {
  transform: translateY(-10px);
 }
 100% {
  transform: translateY(0px);
 }
}
@keyframes gradientAnimation {
 0% {
  background-position: 0% 50%;
 }
 50% {
  background-position: 100% 50%;
 }
 100% {
  background-position: 0% 50%;
 }
}
