/* BROWSER STYLES RESET */

@charset "UTF-8";

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

/*developer style.css */
*, *:before, *:after {box-sizing: inherit;}  


/* General */

html {
    font-size: 1rem;
    box-sizing: border-box; 
    font-family: 'Calibri', sans-serif;
    height: 100%;
}
body {
    display: flex; 
    flex-flow: column nowrap;
    justify-content: space-around;
    gap: 1rem;  
    min-height: 100vh;;
    width: 100%;
    padding: 1rem;
    margin: 0;
    line-height: 1.5rem;
    color: #013;
    background-color: #fff;
    border: solid thick;
    overflow: auto;  
}
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.3rem;
    line-height: 1.7rem;
    border-radius: 0.5rem;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.1);
    background-color: #013;
}
h1 {font-size: 2.5rem;
    color: #fff;
}
main {
    display: flex; 
    flex-flow: column nowrap;
    justify-content: space-around; 
    gap: 1rem; 
    width: 100%;
}
footer {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center; 
    gap: 1rem; 
    /* justify-content: center; */
    align-items: center;
    padding: 1rem;
    line-height: 1.7rem;
    border-radius: 0.5rem;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.1);
    background-color: #013;
    color: #fff;
} 
main, header, footer {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
}
div {
    flex: 1 1 auto;
    background-color: #f5f5f5;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: transform 0.3s ease-in-out;  
}
div:hover {
    transform: scale(1.04);
}
div:active {
    transform: scale(0.9);
}

/* Links */

a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #013;
    font-size: 2rem;
    font-weight: bold;
    margin: auto;
    -webkit-tap-highlight-color: transparent; 
    outline: none;
}
a:hover, a:active {
  color: darkred; 
  text-decoration: none; 
}

 button {
    /* display: none; */
    font-size: 1rem;
    padding: 0.5rem;
    color: #fff;
    background-color: #013;
    border-width: 5px;
 }  





/* Media Quiery */

@media screen and (min-width: 481px) and (max-width: 768px){
    html {font-size: 1.25rem; }   
}

@media screen and (min-width: 769px) {
    html {font-size: 1.5rem; }
}


