/* Base styles */ body { font-family: Arial, sans-serif; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; height: 100vh; overflow: hidden; background-color: var(--color-white); color: var(--text-color); } /* Light and dark mode variables */ :root { --background-color: #121212; --text-color: black; --primary-color: #4169E1; --secondary-color: lightgrey; --header-bg-color: lightgrey; } /* Usercontainer styling */ .usercontainer { width: 70%; max-width: 1200px; margin-top: 20px; /* Space from the top for the filter */ display: flex; flex-direction: column; align-items: center; overflow-y: auto; } /* Filter container styles */ .filter { width: 100%; /* Full width of the usercontainer */ background: var(--color-white); border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); padding: 10px; position: sticky; /* Keeps it fixed at the top */ top: 0; /* Stick to the top */ margin-bottom: 20px; /* Space below the filter */ } /* Tabs container styles */ .tabs { display: grid; grid-auto-flow: column; gap: 10px; /* Space between tabs */ width: 100%; } /* Radio button input styles */ .input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: none; } /* Radio button label styles */ .label { padding: 10px 20px; cursor: pointer; text-align: center; background: var(--color-bg); border-radius: 8px; color: var(--color-black); transition: background 0.3s, color 0.3s; } .input:checked + .label { background: var(--primary-color); color: var(--text-color); } .input:not(:checked) + .label:hover { background: var(--secondary-color); } /* Search input styles */ .search-input { width: 100%; /* Full width of the filter */ background-color: var(--color-bg); border: none; padding: 10px; border-radius: 10px; outline: none; color: var(--text-color); margin-top: 10px; /* Space between the tabs and search input */ box-sizing: border-box; transition: box-shadow 0.3s ease; } .search-input:focus { animation: rotateShadow 2s infinite linear; } @keyframes rotateShadow { 0% { box-shadow: -2px -2px 8px 1px var(--primary-color), 2px 2px 8px 1px #4169E1; } 25% { box-shadow: -2px 2px 8px 1px var(--primary-color), 2px -2px 8px 1px #4169E1; } 50% { box-shadow: 2px 2px 8px 1px var(--primary-color), -2px -2px 8px 1px #4169E1; } 75% { box-shadow: 2px -2px 8px 1px var(--primary-color), -2px 2px 8px 1px #4169E1; } 100% { box-shadow: -2px -2px 8px 1px var(--primary-color), 2px 2px 8px 1px #4169E1; } } /* Usercards container */ .usercards { padding: 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 10px; /* Spacing between items */ width: 100%; /* Full width of the usercontainer */ overflow: auto; } .usercards::-webkit-scrollbar { width: 0px; /* Görgetősáv szélességének eltüntetése */ background: transparent; /* Háttér eltüntetése */ } /* Usercard styling */ .usercard { max-width: 360px; border-radius: 1rem; background-color: var(--color-white); padding: 1rem; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } .biocard { max-width: 460px; border-radius: 1rem; background-color:var(--color-bg); padding: 4rem; margin-top: 1rem; } .infos { display: flex; flex-direction: row; align-items: flex-start; grid-gap: 1rem; gap: 1rem; } .prof-image { height: 7rem; width: 7rem; border-radius: 8px; background-color: #4169E1; background: linear-gradient(to bottom right, #4169E1, #3658B4); } .info { height: 7rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; } .name { font-weight: 500; color: var(--color-black); } .userid { font-size: 0.75rem; color: rgba(156, 163, 175, 1); } .stats { width: 100%; border-radius: 0.5rem; background-color:var(--color-bg); display: flex; align-items: center; justify-content: space-around; font-size: 0.75rem; line-height: 1rem; color: var(--color-black); } .flex { display: flex; flex-direction: column; align-items: center; margin: 0 4px; } .state-value { font-weight: 700; color: #4169E1; } .request { margin-top: 1rem; width: 100%; border: 1px solid transparent; border-radius: 0.5rem; padding: 0.5rem 1rem; font-size: 1rem; line-height: 1.5rem; transition: all .3s ease; background-color: var(--color-bg); color: var(--color-black); } .request:hover { background-color: #4169E1; color: #fff; cursor: pointer; } h2{ color:var(--color-black); } .prof-image img{ width: 100%; height: 100%; border-radius: 8px; }