body {
  font-family: "Cairo", serif;
  background-color: rgb(212, 255, 255);
  margin: 0;
  direction: rtl;
}

@media (max-width: 480px){
  
  .heading {
    background-color: rgb(0, 166, 166);
    background-image: url(pictures/222.jpg);
    background-size: cover;
    height: max-content;
    margin: 0;
    border-radius: 0 0 20px 20px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    text-align: center;
  }
  
  .library{
    border-radius: 10px;
    width: 150px;
    height: 90px;
    align-items: center;
    background-image: url(pictures/library.png);
    background-size: 150px;
    background-position: center;
    background-color: #fff;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }
  
  .library p{
    color: yellow;
    padding-top: 55px;
    margin: 0;
  }
  
  .library:hover{
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0px 5px 20px 5px white;
  }
  
  .Media{
    border-radius: 10px;
    width: 150px;
    height: 90px;
    align-items: center;
    background-image: url(pictures/Kids-Media.webp);
    background-size: 130px;
    background-position: center;
    background-color: #fff;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }
  
  .Media p{
    color: yellow;
    padding-top: 55px;
    margin: 0;
  }
  
  .Media:hover{
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0px 5px 20px 5px white;
  }
  
  .nav-display{
    margin-top: 10px;
    display: flex;
    width: 100%;
    justify-content: space-around;
  }
  
  .welcome {
    color: white;
    margin: 0;
  }
  
  h1 {
    text-align: center;
    color: goldenrod;
    font-size: 20px;
    margin: 100px 0 0 0;
  }
  
  .hh {
    margin: 20px 0 0 0;
  }
  .heading img {
    width: 70px;
    margin: 0;
  }
  
  .tp-div {
    align-items: center;
    justify-content: space-around;
    display: flex;
  }
  
  .tp {
    color: white;
    text-decoration: none;
    font-size: 15px;
    padding: 2px 0;
    width: 80px;
    border: 1px white solid;
    transition: border-radius 0.3s ease-in-out, transform 0.3s ease;
  }
  
  .tp:hover {
    background-color: rgb(0, 219, 219);
    border-radius: 35px;
    border: 1px white solid;
  }
  
  .heading p {
    font-weight: 700;
    font-size: 20px;
  }
  
  .navigation a {
    margin: 0 20px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 25px;
    padding: 7px;
    border-radius: 20px;
  }
  .navigation a:hover {
    background-color: rgb(255, 140, 140);
    transition: 0.3s;
  }
  
  .m524 {
    margin: 0 0 15px 0;
  }
  
  .m524 p {
    color: rgb(255, 255, 255);
    margin: 0;
    font-size: 40px;
  }
  
  .card-display {
    justify-content: center;
    display: grid;
    grid-template-rows: auto auto auto;
    grid-template-columns: repeat(3, auto);
    width: 100%;
    margin-top: 20px;
    padding: auto;
  }
  .cccc {
    margin: 10px;
    width: 95px;
    height: 135px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    align-items: center;
    top: 0px;
  }
  
  .cccc img {
    width: 100%;
    height: 60%;
    object-fit: cover;
  }
  
  .cccc-content {
    padding: 5px;
    text-align: center;
  }

  a {
    text-decoration: none;
  }
  
  .cccc h3 {
    color: rgb(32, 120, 0);
    margin: 0;
    font-size: 11px;
    margin: 0;
  }
  
  /* White shadow and fade-out hover effect */
  .cccc:hover {
    box-shadow: 0 4px 20px rgba(183, 0, 255, 0.6);
    opacity: 0.9;
    transform: scale(1.05);
    cursor: pointer;
  }
  
  .cccc:hover img {
    opacity: 1;
  }







  footer {
    background-color: rgb(0, 166, 166);
    height: 350px;
    display: flex;
    justify-content: space-around;
    margin-top: 200px;
  }
  .left{
    margin-top: 20px;
  }
  .right{
    margin-top: 20px;
    display: block;
  }
  
  footer a {
    text-decoration: none;
    font-size: 15px;
    color: white;
    margin: 0px;
  }
  footer a:hover{
    color: blue;
    text-decoration: dashed;
  }
  footer p{
    margin: auto;
    font-size: 25px;
    color: white;
  }
  .a{
    margin: 5px;
  }
}




























@media (min-width: 480px) and (max-width: 550px){
  
  .heading {
    background-color: rgb(0, 166, 166);
    background-image: url(pictures/222.jpg);
    background-size: cover;
    height: max-content;
    margin: 0;
    border-radius: 0 0 30px 30px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    text-align: center;
  }
  
  .library{
    border-radius: 10px;
    width: 200px;
    height: 120px;
    align-items: center;
    background-image: url(pictures/library.png);
    background-size: 150px;
    background-position: center;
    background-color: #fff;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }
  
  .library p{
    color: yellow;
    padding-top: 70px;
    margin: 0;
  }
  
  .library:hover{
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0px 5px 20px 5px white;
  }
  
  .Media{
    border-radius: 10px;
    width: 200px;
    height: 120px;
    align-items: center;
    background-image: url(pictures/Kids-Media.webp);
    background-size: 150px;
    background-position: center;
    background-color: #fff;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }
  
  .Media p{
    color: yellow;
    padding-top: 70px;
    margin: 0;
  }
  
  .Media:hover{
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0px 5px 20px 5px white;
  }
  
  .nav-display{
    margin-top: 10px;
    display: flex;
    width: 100%;
    justify-content: space-around;
  }
  
  .welcome {
    color: white;
    margin: 0;
  }
  
  h1 {
    text-align: center;
    color: goldenrod;
    font-size: 30px;
    margin: 100px 0 0 0;
  }
  
  .hh {
    margin: 20px 0 0 0;
  }
  .heading img {
    width: 70px;
    margin: 0;
  }
  
  .tp-div {
    align-items: center;
    justify-content: space-around;
    display: flex;
  }
  
  .tp {
    color: white;
    text-decoration: none;
    font-size: 15px;
    padding: 2px 0;
    width: 80px;
    border: 1px white solid;
    transition: border-radius 0.3s ease-in-out, transform 0.3s ease;
  }
  
  .tp:hover {
    background-color: rgb(0, 219, 219);
    border-radius: 35px;
    border: 1px white solid;
  }
  
  .heading p {
    font-weight: 700;
    font-size: 20px;
  }
  
  .navigation a {
    margin: 0 20px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 25px;
    padding: 7px;
    border-radius: 20px;
  }
  .navigation a:hover {
    background-color: rgb(255, 140, 140);
    transition: 0.3s;
  }
  
  .m524 {
    margin: 0 0 15px 0;
  }
  
  .m524 p {
    color: rgb(255, 255, 255);
    margin: 0;
    font-size: 40px;
  }
  
  .card-display {
    justify-content: center;
    display: grid;
    grid-template-rows: auto auto auto;
    grid-template-columns: repeat(3, auto);
    width: 100%;
    margin-top: 20px;
    padding: auto;
  }
  .cccc {
    margin: 10px;
    width: 110px;
    height: 165px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    align-items: center;
  }
  
  .cccc img {
    width: 100%;
    height: 60%;
    object-fit: cover;
  }
  
  .cccc-content {
    padding: 5px;
    text-align: center;
  }

  a {
    text-decoration: none;
  }
  
  .cccc h3 {
    color: rgb(32, 120, 0);
    margin: 0;
    font-size: 13px;
    margin: 0;
  }
  
  /* White shadow and fade-out hover effect */
  .cccc:hover {
    box-shadow: 0 4px 20px rgba(183, 0, 255, 0.6);
    opacity: 0.9;
    transform: scale(1.05);
    cursor: pointer;
  }
  
  .cccc:hover img {
    opacity: 1;
  }







  footer {
    background-color: rgb(0, 166, 166);
    height: 350px;
    display: flex;
    justify-content: space-around;
    margin-top: 200px;
  }
  .left{
    margin-top: 20px;
  }
  .right{
    margin-top: 20px;
    display: block;
  }
  
  footer a {
    text-decoration: none;
    font-size: 20px;
    color: white;
    margin: 0px;
  }
  footer a:hover{
    color: blue;
    text-decoration: dashed;
  }
  footer p{
    margin: auto;
    font-size: 25px;
    color: white;
  }
  .a{
    margin: 10px;
  }
}





















@media (min-width: 550px) and (max-width: 650px){
  
  .heading {
    background-color: rgb(0, 166, 166);
    background-image: url(pictures/222.jpg);
    background-size: cover;
    height: max-content;
    margin: 0;
    border-radius: 0 0 30px 30px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    text-align: center;
  }
  
  .library{
    border-radius: 10px;
    width: 200px;
    height: 120px;
    align-items: center;
    background-image: url(pictures/library.png);
    background-size: 150px;
    background-position: center;
    background-color: #fff;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }
  
  .library p{
    color: yellow;
    padding-top: 70px;
    margin: 0;
  }
  
  .library:hover{
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0px 5px 20px 5px white;
  }
  
  .Media{
    border-radius: 10px;
    width: 200px;
    height: 120px;
    align-items: center;
    background-image: url(pictures/Kids-Media.webp);
    background-size: 150px;
    background-position: center;
    background-color: #fff;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }
  
  .Media p{
    color: yellow;
    padding-top: 70px;
    margin: 0;
  }
  
  .Media:hover{
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0px 5px 20px 5px white;
  }
  
  .nav-display{
    margin-top: 10px;
    display: flex;
    width: 100%;
    justify-content: space-around;
  }
  
  .welcome {
    color: white;
    margin: 0;
  }
  
  h1 {
    text-align: center;
    color: goldenrod;
    font-size: 30px;
    margin: 100px 0 0 0;
  }
  
  .hh {
    margin: 20px 0 0 0;
  }
  .heading img {
    width: 70px;
    margin: 0;
  }
  
  .tp-div {
    align-items: center;
    justify-content: space-around;
    display: flex;
  }
  
  .tp {
    color: white;
    text-decoration: none;
    font-size: 15px;
    padding: 2px 0;
    width: 80px;
    border: 1px white solid;
    transition: border-radius 0.3s ease-in-out, transform 0.3s ease;
  }
  
  .tp:hover {
    background-color: rgb(0, 219, 219);
    border-radius: 35px;
    border: 1px white solid;
  }
  
  .heading p {
    font-weight: 700;
    font-size: 20px;
  }
  
  .navigation a {
    margin: 0 20px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 25px;
    padding: 7px;
    border-radius: 20px;
  }
  .navigation a:hover {
    background-color: rgb(255, 140, 140);
    transition: 0.3s;
  }
  
  .m524 {
    margin: 0 0 15px 0;
  }
  
  .m524 p {
    color: rgb(255, 255, 255);
    margin: 0;
    font-size: 40px;
  }
  
  .card-display {
    justify-content: center;
    display: grid;
    grid-template-rows: auto auto auto;
    grid-template-columns: auto auto auto;
    width: 100%;
    margin-top: 20px;
    padding: auto;
  }
  .cccc {
    margin: 10px;
    width: 115px;
    height: 175px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    align-items: center;
  }
  
  .cccc img {
    width: 100%;
    height: 60%;
    object-fit: cover;
  }
  
  .cccc-content {
    padding: 5px;
    text-align: center;
  }

  a {
    text-decoration: none;
  }
  
  .cccc h3 {
    color: rgb(32, 120, 0);
    margin: 0;
    font-size: 15px;
    margin: 0;
  }
  
  /* White shadow and fade-out hover effect */
  .cccc:hover {
    box-shadow: 0 4px 20px rgba(183, 0, 255, 0.6);
    opacity: 0.9;
    transform: scale(1.05);
    cursor: pointer;
  }
  
  .cccc:hover img {
    opacity: 1;
  }







  footer {
    background-color: rgb(0, 166, 166);
    height: 350px;
    display: flex;
    justify-content: space-around;
    margin-top: 200px;
  }
  .left{
    margin-top: 20px;
  }
  .right{
    margin-top: 20px;
    display: block;
  }
  
  footer a {
    text-decoration: none;
    font-size: 20px;
    color: white;
    margin: 0px;
  }
  footer a:hover{
    color: blue;
    text-decoration: dashed;
  }
  footer p{
    margin: auto;
    font-size: 25px;
    color: white;
  }
  .a{
    margin: 5px;
  }
}












































































@media (min-width: 650px) and (max-width: 730px){
  
  .heading {
    background-color: rgb(0, 166, 166);
    background-image: url(pictures/222.jpg);
    background-size: cover;
    height: max-content;
    margin: 0;
    border-radius: 0 0 30px 30px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    text-align: center;
  }
  
  .library{
    border-radius: 10px;
    width: 200px;
    height: 120px;
    align-items: center;
    background-image: url(pictures/library.png);
    background-size: 150px;
    background-position: center;
    background-color: #fff;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }
  
  .library p{
    color: yellow;
    padding-top: 70px;
    margin: 0;
  }
  
  .library:hover{
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0px 5px 20px 5px white;
  }
  
  .Media{
    border-radius: 10px;
    width: 200px;
    height: 120px;
    align-items: center;
    background-image: url(pictures/Kids-Media.webp);
    background-size: 150px;
    background-position: center;
    background-color: #fff;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }
  
  .Media p{
    color: yellow;
    padding-top: 70px;
    margin: 0;
  }
  
  .Media:hover{
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0px 5px 20px 5px white;
  }
  
  .nav-display{
    margin-top: 10px;
    display: flex;
    width: 100%;
    justify-content: space-around;
  }
  
  .welcome {
    color: white;
    margin: 0;
  }
  
  h1 {
    text-align: center;
    color: goldenrod;
    font-size: 40px;
    margin: 100px 0 0 0;
  }
  
  .hh {
    margin: 20px 0 0 0;
  }
  .heading img {
    width: 70px;
    margin: 0;
  }
  
  .tp-div {
    align-items: center;
    justify-content: space-around;
    display: flex;
  }
  
  .tp {
    color: white;
    text-decoration: none;
    font-size: 15px;
    padding: 2px 0;
    width: 80px;
    border: 1px white solid;
    transition: border-radius 0.3s ease-in-out, transform 0.3s ease;
  }
  
  .tp:hover {
    background-color: rgb(0, 219, 219);
    border-radius: 35px;
    border: 1px white solid;
  }
  
  .heading p {
    font-weight: 700;
    font-size: 20px;
  }
  
  .navigation a {
    margin: 0 20px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 25px;
    padding: 7px;
    border-radius: 20px;
  }
  .navigation a:hover {
    background-color: rgb(255, 140, 140);
    transition: 0.3s;
  }
  
  .m524 {
    margin: 0 0 15px 0;
  }
  
  .m524 p {
    color: rgb(255, 255, 255);
    margin: 0;
    font-size: 40px;
  }
  
  .card-display {
    justify-content: center;
    display: grid;
    grid-template-rows: auto auto auto;
    grid-template-columns: auto auto auto;
    width: 100%;
    margin-top: 00px;
    padding: auto;
  }
  .cccc {
    margin: 10px;
    width: 120px;
    height: 170px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    align-items: center;
  }
  
  .cccc img {
    width: 100%;
    height: 60%;
    object-fit: cover;
  }
  
  .cccc-content {
    padding: 5px;
    text-align: center;
  }

  a {
    text-decoration: none;
  }
  
  .cccc h3 {
    color: rgb(32, 120, 0);
    margin: 0;
    font-size: 16px;
    margin: 0;
  }
  
  /* White shadow and fade-out hover effect */
  .cccc:hover {
    box-shadow: 0 4px 20px rgba(183, 0, 255, 0.6);
    opacity: 0.9;
    transform: scale(1.05);
    cursor: pointer;
  }
  
  .cccc:hover img {
    opacity: 1;
  }







  footer {
    background-color: rgb(0, 166, 166);
    height: 350px;
    display: flex;
    justify-content: space-around;
    margin-top: 200px;
  }
  .left{
    margin-top: 20px;
  }
  .right{
    margin-top: 20px;
    display: block;
  }
  
  footer a {
    text-decoration: none;
    font-size: 20px;
    color: white;
    margin: 0px;
  }
  footer a:hover{
    color: blue;
    text-decoration: dashed;
  }
  footer p{
    margin: auto;
    font-size: 25px;
    color: white;
  }
  .a{
    margin: 5px;
  }
}




























@media (min-width: 730px) and (max-width: 880px) {
  
  .heading {
    background-color: rgb(0, 166, 166);
    background-image: url(pictures/222.jpg);
    background-size: cover;
    height: max-content;
    margin: 0;
    border-radius: 0 0 30px 30px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    text-align: center;
  }
  
  .library{
    border-radius: 10px;
    width: 260px;
    height: 165px;
    align-items: center;
    background-image: url(pictures/library.png);
    background-size: 190px;
    background-position: center;
    background-color: #fff;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }
  
  .library p{
    color: yellow;
    padding-top: 100px;
    margin: 0;
  }
  
  .library:hover{
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0px 5px 20px 5px white;
  }
  
  .Media{
    border-radius: 10px;
    width: 260px;
    height: 165px;
    align-items: center;
    background-image: url(pictures/Kids-Media.webp);
    background-size: 195px;
    background-position: center;
    background-color: #fff;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }
  
  .Media p{
    color: yellow;
    padding-top: 100px;
    margin: 0;
  }
  
  .Media:hover{
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0px 5px 20px 5px white;
  }
  
  .nav-display{
    margin-top: 10px;
    display: flex;
    width: 100%;
    justify-content: space-around;
  }
  
  .welcome {
    color: white;
    margin: 0;
  }
  
  h1 {
    text-align: center;
    color: goldenrod;
    font-size: 40px;
    margin: 100px 0 0 0;
  }
  
  .hh {
    margin: 20px 0 0 0;
  }
  .heading img {
    width: 70px;
    margin: 0;
  }
  
  .tp-div {
    align-items: center;
    justify-content: space-around;
    display: flex;
  }
  
  .tp {
    color: white;
    text-decoration: none;
    font-size: 15px;
    padding: 2px 0;
    width: 80px;
    border: 1px white solid;
    transition: border-radius 0.3s ease-in-out, transform 0.3s ease;
  }
  
  .tp:hover {
    background-color: rgb(0, 219, 219);
    border-radius: 35px;
    border: 1px white solid;
  }
  
  .heading p {
    font-weight: 700;
    font-size: 30px;
  }
  
  .navigation a {
    margin: 0 20px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 25px;
    padding: 7px;
    border-radius: 20px;
  }
  .navigation a:hover {
    background-color: rgb(255, 140, 140);
    transition: 0.3s;
  }
  
  .m524 {
    margin: 0 0 15px 0;
  }
  
  .m524 p {
    color: rgb(255, 255, 255);
    margin: 0;
    font-size: 40px;
  }
  
  .card-display {
    justify-content: center;
    display: grid;
    grid-template-rows: auto auto auto auto;
    grid-template-columns: repeat(4 , auto);
    width: 100%;
    padding: auto;
  }

  .cccc {
    margin: 10px;
    width: 160px;
    height: 240px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    align-items: center;
  }
  
  .cccc img {
    width: 100%;
    height: 60%;
    object-fit: cover;
  }
  
  .cccc-content {
    padding: 5px;
    text-align: center;
  }

  a {
    text-decoration: none;
  }
  
  .cccc h3 {
    color: rgb(32, 120, 0);
    margin: 0;
    font-size: 20px;
    margin: 0;
  }
  
  /* White shadow and fade-out hover effect */
  .cccc:hover {
    box-shadow: 0 4px 20px rgba(183, 0, 255, 0.6);
    opacity: 0.9;
    transform: scale(1.05);
    cursor: pointer;
  }
  
  .cccc:hover img {
    opacity: 1;
  }







  footer {
    background-color: rgb(0, 166, 166);
    height: 350px;
    display: flex;
    justify-content: space-around;
    margin-top: 200px;
  }
  .left{
    margin-top: 20px;
  }
  .right{
    margin-top: 20px;
    display: block;
  }
  
  footer a {
    text-decoration: none;
    font-size: 25px;
    color: white;
    margin: 0px;
  }
  footer a:hover{
    color: blue;
    text-decoration: dashed;
  }
  footer p{
    margin: auto;
    font-size: 25px;
    color: white;
  }
  .a{
    margin: 5px;
  }
}
























@media (min-width: 880px) and (max-width: 1020px) {
  
  .heading {
    background-color: rgb(0, 166, 166);
    background-image: url(pictures/222.jpg);
    background-size: cover;
    height: max-content;
    margin: 0;
    border-radius: 0 0 30px 30px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    text-align: center;
  }
  
  .library{
    border-radius: 10px;
    width: 260px;
    height: 165px;
    align-items: center;
    background-image: url(pictures/library.png);
    background-size: 190px;
    background-position: center;
    background-color: #fff;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }
  
  .library p{
    color: yellow;
    padding-top: 100px;
    margin: 0;
  }
  
  .library:hover{
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0px 5px 20px 5px white;
  }
  
  .Media{
    border-radius: 10px;
    width: 260px;
    height: 165px;
    align-items: center;
    background-image: url(pictures/Kids-Media.webp);
    background-size: 195px;
    background-position: center;
    background-color: #fff;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }
  
  .Media p{
    color: yellow;
    padding-top: 100px;
    margin: 0;
  }
  
  .Media:hover{
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0px 5px 20px 5px white;
  }
  
  .nav-display{
    margin-top: 10px;
    display: flex;
    width: 100%;
    justify-content: space-around;
  }
  
  .welcome {
    color: white;
    margin: 0;
  }
  
  h1 {
    text-align: center;
    color: goldenrod;
    font-size: 40px;
    margin: 100px 0 0 0;
  }
  
  .hh {
    margin: 20px 0 0 0;
  }
  .heading img {
    width: 70px;
    margin: 0;
  }
  
  .tp-div {
    align-items: center;
    justify-content: space-around;
    display: flex;
  }
  
  .tp {
    color: white;
    text-decoration: none;
    font-size: 19px;
    padding: 2px 5px;
    width: 80px;
    border: 1px white solid;
    transition: border-radius 0.3s ease-in-out, transform 0.3s ease;
  }
  
  .tp:hover {
    background-color: rgb(0, 219, 219);
    border-radius: 35px;
    border: 1px white solid;
  }
  
  .heading p {
    font-weight: 700;
    font-size: 30px;
  }
  
  .navigation a {
    margin: 0 20px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 25px;
    padding: 7px;
    border-radius: 20px;
  }
  .navigation a:hover {
    background-color: rgb(255, 140, 140);
    transition: 0.3s;
  }
  
  .m524 {
    margin: 0 0 15px 0;
  }
  
  .m524 p {
    color: rgb(255, 255, 255);
    margin: 0;
    font-size: 40px;
  }
  
  .card-display {
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(4, auto);
    width: 100%;
    padding: auto;
  }

  .cccc {
    margin: 10px;
    width: 175px;
    height: 260px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    align-items: center;
  }
  
  .cccc img {
    width: 100%;
    height: 60%;
    object-fit: cover;
  }
  
  .cccc-content {
    padding: 5px;
    text-align: center;
  }

  a {
    text-decoration: none;
  }
  
  .cccc h3 {
    color: rgb(32, 120, 0);
    margin: 0;
    font-size: 20px;
    margin: 0;
  }
  
  /* White shadow and fade-out hover effect */
  .cccc:hover {
    box-shadow: 0 4px 20px rgba(183, 0, 255, 0.6);
    opacity: 0.9;
    transform: scale(1.05);
    cursor: pointer;
  }
  
  .cccc:hover img {
    opacity: 1;
  }







  footer {
    background-color: rgb(0, 166, 166);
    height: 350px;
    display: flex;
    justify-content: space-around;
    margin-top: 200px;
  }
  .left{
    margin-top: 20px;
  }
  .right{
    margin-top: 20px;
    display: block;
  }
  
  footer a {
    text-decoration: none;
    font-size: 25px;
    color: white;
    margin: 0px;
  }
  footer a:hover{
    color: blue;
    text-decoration: dashed;
  }
  footer p{
    margin: auto;
    font-size: 25px;
    color: white;
  }
  .a{
    margin: 5px;
  }
}




@media (min-width: 1020px) {
  
  .heading {
    background-color: rgb(0, 166, 166);
    background-image: url(pictures/222.jpg);
    background-size: cover;
    height: max-content;
    margin: 0;
    border-radius: 0 0 30px 30px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    text-align: center;
  }
  
  .library{
    border-radius: 10px;
    width: 260px;
    height: 165px;
    align-items: center;
    background-image: url(pictures/library.png);
    background-size: 190px;
    background-position: center;
    background-color: #fff;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }
  
  .library p{
    color: yellow;
    padding-top: 100px;
    margin: 0;
  }
  
  .library:hover{
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0px 5px 20px 5px white;
  }
  
  .Media{
    border-radius: 10px;
    width: 260px;
    height: 165px;
    align-items: center;
    background-image: url(pictures/Kids-Media.webp);
    background-size: 195px;
    background-position: center;
    background-color: #fff;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }
  
  .Media p{
    color: yellow;
    padding-top: 100px;
    margin: 0;
  }
  
  .Media:hover{
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0px 5px 20px 5px white;
  }
  
  .nav-display{
    margin-top: 10px;
    display: flex;
    width: 100%;
    justify-content: space-around;
  }
  
  .welcome {
    color: white;
    margin: 0;
  }
  
  h1 {
    text-align: center;
    color: goldenrod;
    font-size: 40px;
    margin: 100px 0 0 0;
  }
  
  .hh {
    margin: 20px 0 0 0;
  }
  .heading img {
    width: 100px;
    margin: 0;
  }
  
  .tp-div {
    align-items: center;
    justify-content: space-around;
    display: flex;
}

.tp {
    color: white;
    text-decoration: none;
    font-size: 25px;
    padding: 0 15px;
    width: 80px;
    border: 1px white solid;
    transition: border-radius 0.3s ease-in-out, transform 0.3s ease;
}

.tp:hover {
    background-color: rgb(0, 219, 219);
    border-radius: 35px;
    padding: 0px 15px;
    border: 1px white solid;
}
  
  .heading p {
    font-weight: 700;
    font-size: 30px;
  }
  
  .navigation a {
    margin: 0 20px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 25px;
    padding: 7px;
    border-radius: 20px;
  }
  .navigation a:hover {
    background-color: rgb(255, 140, 140);
    transition: 0.3s;
  }
  
  .m524 {
    margin: 0 0 15px 0;
  }
  
  .m524 p {
    color: rgb(255, 255, 255);
    margin: 0;
    font-size: 40px;
  }
  
  .card-display {
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(4, auto);
    width: 100%;
    padding: auto;
  }

  .cccc {
    margin: 10px;
    width: 175px;
    height: 260px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    align-items: center;
  }
  
  .cccc img {
    width: 100%;
    height: 60%;
    object-fit: cover;
  }
  
  .cccc-content {
    padding: 5px;
    text-align: center;
  }

  a {
    text-decoration: none;
  }
  
  .cccc h3 {
    color: rgb(32, 120, 0);
    margin: 0;
    font-size: 20px;
    margin: 0;
  }
  
  /* White shadow and fade-out hover effect */
  .cccc:hover {
    box-shadow: 0 4px 20px rgba(183, 0, 255, 0.6);
    opacity: 0.9;
    transform: scale(1.05);
    cursor: pointer;
  }
  
  .cccc:hover img {
    opacity: 1;
  }







  footer {
    background-color: rgb(0, 166, 166);
    height: 350px;
    display: flex;
    justify-content: space-around;
    margin-top: 200px;
  }
  .left{
    margin-top: 20px;
  }
  .right{
    margin-top: 20px;
    display: block;
  }
  
  footer a {
    text-decoration: none;
    font-size: 25px;
    color: white;
    margin: 0;
    padding-top: 20px ;
  }
  footer a:hover{
    color: blue;
    text-decoration: dashed;
  }
  footer p{
    margin: auto;
    font-size: 25px;
    color: white;
  }
  .a{
    margin: 5px;
  }
}