@font-face {
    font-family: 'wotfard';
    src: url('./Fonts/Wotfard-Regular-webfont/wotfard-regular-webfont.woff2') format('woff2'),
        url('./Fonts/Wotfard-Regular-webfont/wotfard-regular-webfont.ttf') format('woff');
    font-weight: normal;
    font-style: normal;
}


*,*::before,*::after {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: wotfard,'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    background-color: rgb(223, 223, 223);
}

.primary-header {
    padding :2vw;
    max-width: 2500px;
    min-height: 100vh;
    display: flex;
    justify-content: space-evenly;
    gap: 1em;
    color: rgb(207, 206, 206);
    background-image: linear-gradient(45deg,rgb(12, 12, 206) 20%,rgb(228, 28, 28));
}

.primary-header section {
    max-width: 600px;
    height: auto;
    align-self: center;
    font-size: 4.5vmin;
}

.primary-header section h1 {
    margin-bottom: 20px;
}

.primary-header section footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    font-size: 1.75rem;
    margin-top: 30px;
}

main{
    padding :2vw;
}

main .project-container{
    display: grid;
    grid-template-rows:400px 400px;
    grid-template-columns: 350px 350px 350px;
    gap: 3em;
    justify-content:center;
    
}

.project-screenshot {
    max-width: 100%;
    height: 200px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 5vmin;
    /* border: 1px solid red; */
}

.project {
    border-left:1px solid rgb(194, 194, 194);
    max-width: 100%;
    box-shadow: 10px 10px 10px rgb(192, 192, 192);
    border-radius:5px;
    /* max-height: 500px; */
    transition: transform ease-in-out 500ms;
}

.project:hover{
    transform: scale(1.1,1.1);
}

.project header {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.project header .icons {
    font-size: 1.5rem;
}

.description {
    padding: 10px;
}

.description header {
    margin-bottom: 20px;
}

main h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

.primary-footer {
    max-width: 2500px;
    /* min-height: 100vh; */
    display: flex;
    justify-content: space-evenly;
    gap: 1em;
    margin-top: 100px;
    padding: 20px;
    background-color: hsl(214, 35%, 16%);
    color: whitesmoke;
}

img {
    border-radius: 10px;
}

.footer-section {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    font-size: 4vmin;
    padding: 30px;
    align-self: center;
}

.footer-section h1 {
    margin-bottom: 20px;
}

.footer-section ul{
    list-style-type: none;
    padding: 0px;
    margin: 10px;

    & li {
        margin: 20px;
        display: flex;
        gap: 20px;
    }
}

footer section footer {
    margin-top: 10px;
    display: flex;
    gap: 30px;
}

footer section footer i {
    font-size: 6vmin;
}
 
@media (max-width : 1200px) {
    main .project-container{
        display: grid;
        grid-template-columns: 400px 400px;
        grid-template-rows: repeat(3,auto);
        gap: 2vmax;
    }

}

@media (max-width : 541px) {
    .primary-header {
        flex-direction: column;
    }
}

@media (max-width : 768px) {
   .primary-footer{
        flex-direction: column;
    }
}

@media (max-width : 843px){
    main .project-container{
        display: grid;
        grid-template-columns: min(100%,500px);
        grid-template-rows: repeat(6,auto);
    }
}