:root {
    --grey: #919295;
    --greylight: #c8c9cb;
}

@font-face{
  font-family: "OpenSans";
  src: url("Font/OpenSans-Regular.ttf") format("truetype");
}

body{
    font-family:'OpenSans', Verdana, sans-serif;
    color: var(--grey);
    line-height: 2em;
    margin: 0;
}

p{
    margin: 0;
}

a{
    color: var(--grey);
    text-decoration: none;
}

a:hover{
    color: black;
    transition-duration: 1000ms;
}

.header-section{
    background-image: url("bg-image.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 400px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;

}

.header-section img{
    max-height: 250px;
}

.container{
    background-color: white;
    display: flex;
    gap: 30px;
    flex-direction: column;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
    margin-top: -50px;
    padding: 30px 20px 20px 20px;
}
.topparagraph{
    max-width: 700px;
    margin: auto;
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
}
.cardscontainer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 33.33%;
    padding: 0 20px;
    
}

.card img{
    width: 100%;
    margin: auto;
    transition: 100ms;
    
}

.card img:hover{
    translate: 0 -10px;
    transition: 200ms;
}

.card a{
	letter-spacing: 3px;
}

.columnline:first-child{
    border-left: 1.5px solid var(--greylight);
}

.columnline{
    justify-content: center;
    display: flex;
    border-right: 1.5px solid var(--greylight);
}

.columnline a{
    display: flex;
    justify-content: center;
}

.centeralign{
    text-align: center;
}
hr.line{
    border-top: 1.5px solid var(--greylight);
    width: 150px;
}

.footer{
    border-top: 1.5px solid var(--greylight);
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    font-size: 14px;
    padding: 0 50px;
}

li{
    list-style-type: none;
    float: left;
    padding-left: 15px;
}

.twocolumns{
    display: flex;
    flex-direction: row;
    gap: 40px;
}

h1{
    font-size: 25px;
    font-weight: 500;
}

h3{
    margin: 0;
}

ul{
    margin: 0;
}


@media screen and (max-width: 1024px){
    .header-section img{
        max-height: 200px;
    }
    .header-section{
        max-height: 300px;
    }
    .container{
        margin-top: -20px;
    }
    
    .topparagraph{
        font-size: 18px;
    }
    .h1{
        font-size: 22px;
    }
    .twocolumns{
        gap: 20px;
    }
    .footer{
        font-size: 14px;
        padding: 0;
    }
    
    .card img{
        width: 90%;
        
    }

    h3.centeralign{
        font-size: 15px;
    }
}


@media screen and (max-width: 768px){
    .header-section img{
        max-height: 150px;
    }
    .header-section{
        max-height: 250px;
    }
    .container{
        margin-top: 0;
    }
    .cardscontainer{
        flex-direction: column;
        gap: 30px;
    }
    .topparagraph{
        font-size: 15px;
        
    }
    .h1{
        font-size: 20px;
    }
    .twocolumns{
        gap: 20px;
        flex-direction: column;
    }

    p{
        line-height: 1.5em;
    }

    .twocolumns p{
        font-size: 13px;
        
    }

    .footer{
        font-size: 12px;
        padding: 0;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
    .columnline{
        border-left: 1px solid var(--grey);
    }

    .card{
        width: auto;
        
    }
    .card img{
        max-width: 300px;
        width: 80%;
        
    }

    .centeralign h3{
        font-size: 13px;
    }

    .footer p{
        line-height: 1.2em;
        text-align: center;
    }

    ul{
        padding: 0;
    }

}

