/* Modal (background) */
.teachers-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	align-items: center;
	justify-content: center;
}

/* Modal Content */
.teachers-modal-content {
    background-color: #fefefe;
    margin: auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 600px; /* Max width for larger screens */
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}


/* The Close Button */
.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
	position: absolute;
	top: 15px;
	right: 15px;
	line-height: 20px;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Styling for teacher items */
.teachers-items {
    cursor: pointer; /* Indicate it's clickable */
}


.artist-container .inner-container {
	max-width: 1280px;
	margin: auto;
	display: flex;
}


.artist-container .artist-profile .inner-container h2 {
	font-size: 24px;
    font-family: 'Poppins', sans-serif;
    line-height: normal;
    text-align: center;
    margin-top: 12px;
}

.artist-container .artist-profile .inner-container .profile-info {
	padding-right: 35px;
}

.artist-container .artist-profile .inner-container p {
	font-size: 16px;
	font-family: 'Glacial Indifference', sans-serif;
}

.artist-container .artist-profile .inner-container .profile-info img {
    width: 350px;
    max-width: 350px;
	border-radius: 20px;
}

.artist-container .artist-profile .artworks {
	margin-top: 35px;
	background-color: #FFF;
	padding: 20px;
	display: grid;
    grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	border-radius: 20px;
}

.artist-container .artist-profile .artworks .artwork-card {
	padding-right: 20px;
	border-right: 1px solid #EDEDED;
}
.artist-container .artist-profile .artworks .artwork-card:last-of-type {
	padding-right: 0;
	border-right: 0;
}

.artist-container .artist-profile .artworks img {
    width: 100%;
	border-radius: 20px;
}

.artist-container .artist-profile .artworks .artwork-card h3 {
	font-family: 'Poppins', sans-serif;
	font-size: 20px;
}

.artist-container .artist-profile {
	padding-top: 60px;
	padding-bottom: 60px;
}

.artist-container .artist-profile:nth-child(odd) {
  background-color: #EDEDED;
}

.artist-container .artist-profile:nth-child(even) {
  background-color: #FFF8E1;
}

.catalog-container {
	background-color: #FFF8E1;
}

.catalog-container .inner-container {
	max-width: 1260px;
    padding: 60px 0;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.catalog-container .catalog {
	border-radius: 20px;
	overflow: hidden;
}

.catalog-container img {
	width: 100%;	
}

.catalog-container .title {
	background-color: #FFF;
	display: flex;
	justify-content: space-between;
	padding: 25px;
	align-items: center;
}

.catalog-container .title h3 {
	font-family: 'Poppins', sans-serif;
	font-size: 20px;
	font-weight: 600;
}

.catalog-container a {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #000;
	border-radius: 50px;
}

@media (max-width: 921px) {
    .ast-separate-container #primary {
        padding: 0 !important;
    }
}

@media (max-width: 544px) {
    .ast-separate-container #content .ast-container {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 425px) {
	.teachers-container {
		grid-template-columns: repeat(1, 1fr) !important;
	}
}