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;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*separation of reset*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #000;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background: #0b74de;
  color: #fff;
}

.navbar .logo-img {
  height: auto;
}

.navbar .search-box input {
  padding: 6px 10px;
  border-radius: 4px;
  border: none;
  width: 400px;
  min-width: 100px;
}

.navbar .nav-links a {
  margin-left: 16px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.logo-img {
  width: 20vw;
  max-height: 100px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-right: 20px;
}

/* End Navbar */
/* Category Buttons */
.category-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.category-buttons button {
  background-color: rgb(16, 38, 121);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.category-buttons button:hover {
  background-color: #0b74de;
}

/* Product Grid */
.product-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px;
}

.product-card {
  border: 1px solid #000;
  border-radius: 20px;
  padding: 12px;
  text-align: center;
  background-color: #fff;
  width: 21vw;
  height: auto;
  display: block;
  margin: 0 auto;
  min-width: 200px;
}

.product-card h3 {
  margin-bottom: 10px;
}

.product-img {
  max-width: 19vw;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 10px;
}


/* Footer */
.footer {
  margin-top: auto;
  border-top: 1px solid #000;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
}

.footer p {
  margin: 0;
}

.footer a {
  background-color: rgb(16, 38, 121);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s;
}

.footer a:hover {
  background-color:#0b74de;
}

.media-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.media-buttons button {
  width: 20vw;             /* flexible width */
  min-width: 50px;        /* smallest allowed */
  max-width: 100px;        /* largest allowed */
  aspect-ratio: 1 / 1;     /* keeps height proportional */
  border: none;
  border-radius: 15px;
  background-color: rgb(16, 38, 121);
  color: white;
  font-size: 32px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-buttons button:hover {
  background-color: #0b74de;
  transform: scale(1.05);
}

.media-buttons i {
  pointer-events: none;
}

iframe {
  display: block;
  width: 80vw;
  height: 50vw;
  max-width: 100%;
  margin: 20px auto; /* centers horizontally and adds spacing */
  border: none;
  border-radius: 12px;
}
