@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inconsolata', monospace;
    font-weight: bold;
}

body {
	background-color: #1b1d20;
    overflow: hidden;
    scroll-behavior: smooth;
}

p, h1, h2, h3, h4, h5, h6 {
    color: #eee;
    text-align: center;
}

h1 {
    font-size: 1.5em;
	color: #eee;
	top: 50%;
	left: 50%;
	position: absolute;
	transform: translateX(-50%) translateY(-50%) scale(2, 2);
	transition: 0.5s ease-in-out;
}

header {
    height: 120px;
}

.container {
    width: 90%;
    margin: auto;
}

.top {
    top: 60px;
    font-size: 1.15em;
}

.main {
    opacity: 0;
    transition-property: opacity;
    transition-duration: 0.5s;
    font-size: 1.4em;
}

.coloranim {
    animation: color-change 5s infinite;
}

.coloranim:hover {
    cursor: pointer;
}

@keyframes color-change {
    0% { color: rgb(194, 52, 194); fill: rgb(194, 52, 194); }
    50% { color: rgb(100, 100, 245); fill: rgb(100, 100, 245); }
    100% { color: rgb(194, 52, 194); fill: rgb(194, 52, 194); }
}

.hidden {
    display: none;
}

@media only screen and (min-width: 768px) {
    .container {
        width: 50%;
    }

    h1 {
        font-size: 2em;
    }
}

a {
    color: #eee;
    text-decoration: none;
    opacity: 0.75;
}

a:hover {
    opacity: 1;
}

svg:hover {
    cursor: pointer;
}

path {
    fill: white;
}

.project {
    margin: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}