@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    color: black;
}

:root {
    --dark-gradient-color: #f8f6f6;
    --shadow-color: #00000099;
}

body {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-height: 100vh;
    background: repeating-linear-gradient(
            15deg,
            white 0px,
            white 20px,
            var(--dark-gradient-color) 20px,
            var(--dark-gradient-color) 60px,
            white 60px
    );
}

header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    padding: 30px;
    box-sizing: border-box;
}

header h1 {
    transition: 0.3s ease-in-out all;
}

header h1:hover {
    transform: scale(1.1);
}

header h1 span {
    transition: 0.3s ease-in-out all;
}

header h1:hover span:first-of-type {
    margin-right: 20px;
    transform: scale(0.9);
}

header h1:hover span:last-of-type {
    margin-left: 20px;
    transform: scale(0.9);
}

main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    align-items: center;
}

.lab-item {
    background: white;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 300px;
    height: 360px;
    border: 2px solid black;
    gap: 15px;
    border-radius: 15px;
    transition: 0.3s linear all;
}

.lab-item:hover {
    box-shadow:  0 0 30px var(--shadow-color);
}

.lab-item img {
    min-width: 250px;
    max-width: 280px;
    max-height: 300px;
}
