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

:root {
    --white: #ffffff;
    --black: #000000;
    --charcoal: #36454F; 

    --font-main: "Lato", "sans-serif";
}

::-moz-selection{
    color: var(--white);
    background: var(--charcoal);
}

::selection{
    color: var(--white);
    background: var(--charcoal);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("../Images/home-img.jpg");
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

#home {
    animation: fadeInAnimation ease 5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.main {
    flex-direction: column;
    height: 100vh;
}

.title {
    font-size: 4rem;
    text-align: center;
}

.project-btn {
    margin: 1rem 0;
}

.icon-container {
    margin: 1rem 0;
}

.icon-container i {
    margin: 0 1rem 0 1rem;
    font-size: 1.1rem;
}

.main-icon {
    color: white;
    text-decoration: none;
}

.main-icon:hover {
    color: white;
    font-size: 1.5rem;
    transition: 500ms ease-in-out;
}

@media (max-width: 375px) {
    .title{
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .title{
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .title{
        font-size: 3rem;
    }
}
