html {
scroll-behavior: smooth;
}
@font-face {
font-family: 'POUMOSA-font';
src: url('res/POUMOSA_FONT.ttf') format('truetype')
}
body {
margin: 0;
font-family: Poppins, Helvetica, Arial, sans-serif, serif
}
#main-page-body {
background-image: url("res/poumosa/Village.jpg");
background-attachment: fixed;
background-size: cover;
}
#main-page-hslogo {
height: 5em;
margin: 3em;
margin-left: 20%;
}
#main-page-header {
background-color: #0000008f;
height: 10%;
}
#hslogo {
height: 5em;
margin: 1em;
margin-left: 20%;
}
#header {
background-color: black;
display: flex;
align-items: center;
justify-content: space-between;
}
#home-btn {
color: white;
margin-right: 20%;
}
h1 {
text-align: center;
}
#main-info {
display: flex;
flex-direction: column;
align-items: center;
height: 90%;
color: white;
background-color: #0000008f;
position: relative;
}
#main-info > div {
display: flex;
margin: auto;
}
@media (orientation: portrait) {
#main-info > div {
flex-direction: column;
align-items: center;
}
}
#main-info > div > div {
display: flex;
flex-direction: column;
align-items: center;
margin-left: 1rem;
}
#main-info h1 {
text-align: center;
font-size: 300%;
font-family: 'POUMOSA-font';
max-width: 60%;
}
@media (orientation: portrait) {
#hslogo {
margin: 1em;
}
#main-info h1 {
font-size: 100%;
}
#poumosa-logo {
scale: 60%;
}
}
#main-info > div > div a {
color: white;
text-decoration: none; /* no underline */
background-color: #2a7c27;
padding: 1em 1.5em;
font-size: 20px;
margin-top: 2em;
border-radius: 3px;
}
#main-info span {
font-size: 20px;
}
#games {
display: flex;
flex-direction: column;
align-items: center;
padding: 2em;
background-color: rgb(235, 235, 235);
}
#down-arrow {
width: 2em;
fill: white;
position: absolute;
bottom: 3rem;
}
h2 {
font-size: 54px;
}
#games-list {
display: flex;
justify-content: space-around;
margin: 0 12em;
width: 100%;
}
@media (orientation: portrait) {
#games-list {
flex-direction: column;
}
}
.tile {
background-color: white;
display: flex;
flex-direction: column;
align-items: center;
color: black;
text-decoration: none; /* no underline */
}
.tile img {
width: 325px;
}
.tile span {
font-weight: 700;
margin: 2em 0;
}
#contact {
display: flex;
background-color: white;
}
@media (orientation: portrait) {
#contact {
flex-direction: column;
align-items: center;
}
}
#contact > img {
width: 32%;
}
@media (orientation: portrait) {
#contact > img {
width: 100%;
}
}
#contact > div {
display: flex;
flex-direction: column;
}
#contact h2 {
margin-left: 3rem;
}
#mail {
margin-left: 3rem;
display: flex;
align-items: center;
}
#mail > svg {
fill: rgb(27, 27, 27);
width: 1.5em;
margin-right: 0.5em;
}
#contact-links {
display: flex;
flex-direction: row;
color: white;
background-color: rgb(27, 27, 27);
padding: 2em;
width: 25em;
justify-content: space-between;
}
@media (orientation: portrait) {
#contact-links {
width: 100%;
}
}
#contact-links a {
cursor: pointer;
width: 2em;
}
#contact-links svg {
fill: white;
}
#game-desc {
text-align: center;
}
#img-galery {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
#img-galery img {
max-width: 30%;
min-width: 25rem;
margin: 1em;
}