/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styling */
body {
  background-color: #0484d1; /* Background color for the body */
  color: #cccccc; /* Text color */
  margin: 0;
  padding: 0;
}

/* TitleDiv styling */
.titleDiv {
  width: 100%;
  max-width: 100%;
  border: 1px solid #cccccc; /* Border color */
  font-family: Arial; /* Font family */
  background-color: #0099CC; /* Background color */
  color: #c0c0c0; /* Text color */
  padding: 20px; /* Padding */
  font-weight: bold; /* Bold text */
  margin: 0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* Box shadow */
  box-sizing: border-box;
  display: flex;
  justify-content: space-between; /* Space between items */
  align-items: center; /* Align items center */
}

.titleDiv:hover {
  box-shadow: 0 0 15px 15px #0484d1; /* Box shadow on hover */
}

.titleDiv:active {
  box-shadow: 0 0 15px 15px #0484d1; /* Box shadow on active */
}

/* Titlefoot styling */
.titlefoot {
  width: 100%;
  max-width: 100%;
  border: 1px solid #c0c0c0; /* Border color */
  padding: 10px; /* Padding */
  font-family: arial; /* Font family */
  background-color: #0099CC; /* Background color */
  color: #bfbfbf; /* Text color */
  font-weight: normal; /* Normal weight text */
  margin: 0;
  box-sizing: border-box;
}

/* Polaroid div styling */
div.polaroid {
  width: 100%;
  max-width: 962px; /* Max width */
  background-color: #c0c0c0; /* Background color */
  /* margin-bottom: 5px; */
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* Box shadow */
  border-radius: 12px; /* Border radius */
  text-align: center; /* Center text */
  display: block; /* Display block */
}

div.polaroid:hover {
  box-shadow: 0 0 15px 15px #ffffff; /* Box shadow on hover */
}

div.polaroid:active {
  box-shadow: 0 0 15px 15px #39ac39; /* Box shadow on active */
}

/* Container div styling */
div.container {
  text-align: center; /* Center text */
  padding: 0px 1px 15px 1px; /* Padding */
  font-family: verdana; /* Font family */
  color: #1d89e0; /* Text color */
}

/* Screenshot image styling */
.screenshot {
  width: 100%;
  max-width: 960px; /* Max width */
  border-top-right-radius: 12px; /* Top right border radius */
  border-top-left-radius: 12px; /* Top left border radius */
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #c0c0c0; /* Border color */
}

/* Like button styling */
.auto-style3 .like-button {
  border-radius: 12px; /* Rounded corners */
  width: 36px; /* Width */
  height: 36px; /* Height */
}

/* Resizable iframe styling */
.resizable-iframe-a {
  width: 100%;
  max-width: 800px; /* Max width */
  height: auto;
  min-height: 640px; /* Min height */
  border-radius: 12px; /* Border radius */
  border: 1px solid #c0c0c0; /* Border color */
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* Box shadow */
}

/* Resizable iframe styling */
.resizable-iframe-b {
  width: 100%;
  max-width: 890px; /* Max width */
  height: auto;
  min-height: 1024px; /* Min height */
  border-radius: 12px; /* Border radius */
  border: 1px solid #c0c0c0; /* Border color */
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* Box shadow */
}

.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 62.5%; /* 16:10 ratio */
  height: 0;
  border-radius: 12px; /* Rounded corners */
  overflow: hidden;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Header table styling */
.header-table {
  width: 100%; /* Width */
}

.header-table td {
  width: 95%; /* Width of table cells */
}

/* Like button container styling */
.like-button-container {
  text-align: center; /* Center text */
  width: 5%; /* Width */
}

/* Link styling */
a:link, a:visited {
  color: inherit; /* Inherit color */
  text-decoration: none; /* No underline */
}

a:hover, a:active {
  text-decoration: none; /* No underline on hover or active */
}

/* Floating like button styling */
.floating {
  position: fixed;
  top: 10px;
  right: 10px; /* Fixed position */
}

/* Media Queries for different screen orientations */
@media (orientation: portrait) {
  .titleDiv, .titlefoot {
    width: 100%; /* Full width in portrait mode */
  }
}

@media (orientation: landscape) {
  .titleDiv, .titlefoot {
    width: 100vw; /* Full viewport width in landscape mode */
  }
}
