@import "../CSS/main.css";

.category{
    width:350px;
    padding: 40px ;
    box-shadow: 0px 4px 8px rgba(0,0,0,.1);
    text-align: center;
    box-shadow: 10px;
    transition: 1.5s;
    margin-bottom: 20px;

}

.category:hover{
    box-shadow: 0px 4px 8px rgba(0,0,0,1);
}

.categories{
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.categories h2{
    font-size: 24px;
}


@media (max-width: 400px) {
    .container{
       width:100%;
    }

    .categories {
        padding:30px;
    }

    .category {
        padding:10px;
        width:100%;
    }
}

/*-------------------------------Modal CSS--------------------------------*/

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 50%; /* Could be more or less, depending on screen size */
    height:50%;
    
  }

  .modal-content iframe{
    width:100%;
    height:80%;
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  @media (max-width: 400px) {
    .modal-content{
        width:90%;
    }
    .modal{
        padding:70px 0px;
    }
}
/*-------------------------------Videos CSS---------------------------------*/

.videos{
    padding:40px 0px;
}
.videos img{
    width:200px;
    height:200px;
    border-radius: 20px;
    cursor: pointer;
}
.videos img:hover{
    transform: scale(1.1);
    box-shadow: 0px 4px 8px rgba(0,0,0,.1);
}