@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: black;
    background-image: url("/pics/htmlpic.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #FEFCFD;
    font-family: 'Montserrat', sans-serif;
    width: 90vw;
    height: 99vh;
}

.navbar {
    display: block;
    position: fixed;
    top: -1px;
    font-size: 25px;
    font-weight: 700;
    font-variant-caps:all-small-caps;
}

.navbar > a {
    color: #FEFCFD;
    padding: 10px;
    text-decoration: none;
}

.navbar a:hover {
    background-color: #00B9E8;
}
.maincontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.home, .projects, .services {
    display: flex;
    flex-direction: column;
    height: 90vh;
    padding-top: 10vh;
}
.contact {
    display: flex;
    flex-direction: row;
    font-size: 33px;
    margin: 10px;
    padding: 25px;
    justify-content: center;
}

.contact i {
    padding: 20px;
}

.contact a {
    color: #FEFCFD;
}

.contact a:hover {
    color: #FEFCFD;
}

.contact a:active {
    color: #FEFCFD;
}

.text {
    margin-top: 20px;
    padding: 20px;
    text-indent: 50px;
}
h2 {
    color: #00B9E8;
    font-weight: bold;
    font-style: italic;
    font-size: 33px;
    margin-inline-start: auto;
    margin-inline-end: auto;   
}
h2 span {
    color: #F55139;
    font-weight:800;
    font-size: 33px;
}

hr {
    background-color: #50C878;
    margin: 2px;
	height: 3px;
	width: 150px;
    border-radius:5px;
	border: hidden;
	margin-inline-start: auto;
    margin-inline-end: auto;
}


.work{
	display: flex; 
	flex: 1;
    flex-wrap: wrap;
    justify-content:center;
	align-items: center;
	padding: 20px;
}

.card{
	display: flex;
	flex-direction: column;
	margin: 20px;
	width: 200px;
	height:250px;
	border-radius:12px;
    background: #00B9E8;
}

.card img{
	width: 100%;
	height:70%;
	border-radius:10px 10px 0px 0px;
}

.card .work-content{
	text-align: center;
	padding: 10px 5px;
	font-size: 1rem;
	cursor: pointer;
}

.card a{
	text-decoration: none;
    color: #FEFCFD;
}

.card .work-content:hover{
    color:#FEFCFD;
}

.card:hover{
	box-shadow: 0 0 1.5rem gray;
}

footer {
    position: fixed;
    bottom: 0;
}