/*===========================================================
	 HOME PSawyer
     File: style.css
	 Release Notes:
		25.01.2024, P.Sawyer: First Release
=============================================================*/
body {
    background-color: darkblue;
    color: white;
    font-family: Arial, sans-serif;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.text-box {
    background-color: white;
    color: black;
	font-size: 1.2em;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 90%; /* Limit the width of the text box */
    position: relative;  /*fixed;relative;absolute*/	
	margin: 20px;
    overflow-y: auto;
}

#shapesContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    min-height: 100vh
}

.shape {
    /*flex-basis: calc(33.333% - (2 * (10px)));*/
	flex: 0 0 auto;
    border: 2px solid white;
    padding: 20px;
    margin: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 0; /* Ensure the shapes are below the text box */
	background-color: lightgray;
}

.circle {
    border-radius: 50%;
    width: 100px; /* You can adjust size as needed */
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.square {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Rectangle */
.rectangle {
    width: 150px; /* Width greater than height for a rectangle */
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
	border-radius: 15px;
}

.star {
    width: 100px;
    height: 100px;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.ellipse {
    width: 150px; /* Width greater than height for an ellipse */
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trapezoid {
    width: 100px;
    height: 100px;
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.torus {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.torus::before {
    content: '';
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    top: 50px;
    left: 50px;
}

/* Hemisphere */
.hemisphere {
    width: 100px;
    height: 100px;
	background-color:conic-gradient(at 50% 0%, #00cc00 0deg 180deg, transparent 0deg 360deg);
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hemisphere::before {
    content: '';
    width: 100px;
    height: 50px;
    border-radius: 0 0 50% 50%;
    position: absolute;
    top: 50px;
    left: 0;
}

/* Spheroid */
.spheroid {
    width: 150px;
    height: 100px;
    background: radial-gradient(ellipse at center, #0000ff 0%, transparent 70%);
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ellipsoid {
    width: 150px;
    height: 100px;
    background: radial-gradient(ellipse at center, #ff0000 0%, transparent 70%);
    border-radius: 50% / 70%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.oval {
    background-color: plum;
    width: 150px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sphere {
    background-color: skyblue;	
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.parallelogram {
    transform: skew(20deg);
}

.AIEngIcon {    
    height: 180px; /* Reduced height */
    object-fit: contain; /* Keep the aspect ratio of the images */
    padding-left: 15px; /* Left padding */
    display: block; /* Makes the image a block-level element */
	position: relative; 
	left: 10px;
    margin: 0 auto; /* Centers the image horizontally if needed */
}

.shape.expanded {
    padding: 40px;
    font-size: 14px;
    transform: translate(-50%, -50%) scale(3.5);
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999; /* To ensure it's in front of all others */
}