@font-face {
  font-family: 'Aptos';
  src: url('../Aptos-Display.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --FLIblue: rgb(24,62,109);
  --FLIgrey: rgb(216,225,232);
  --background-select: linear-gradient(to left, #34495e 3rem, #2c3e50 3rem);
}

/* Container for the whole page */
.container {
  font-family: 'Aptos';
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

video {
    display: block;
    margin: 0 auto;
    opacity: 0.8;
    padding: 1px;
    background-color: white;
}

/* Header Styling */
.inputHeader {
  font-size: 32px;
  font-weight: 600;
  color: var(--FLIblue);
  margin-bottom: 50px;
}

/* Row that holds the two sections */
.button-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Shared viewer box style */
.monopoleViewer,
.towerViewer {
  flex: 1 1 400px;
  background-color: whitesmoke;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.monopoleViewer:hover,
.towerViewer:hover {
  transform: translateY(-4px);
}

/* Model viewer component itself */
model-viewer {
  pointer-events: none;
  width: 100%;
  height: 400px;
  background: white;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Button under each viewer */
.big-button {
  display: inline-block;
  padding: 16px 30px;
  background-color: var(--FLIblue);
  color: white;
  font-size: 1.1em;
  font-weight: 500;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.big-button:hover {
  background-color: var(--FLIblue);
  transform: scale(1.05);
}



/*monopole input*/
/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body Styling */
body {
  background-color: whitesmoke;
  color: #333;
  padding: 0;
}

/* Main Container */
main {
  max-width: 500px;
  margin: 0 auto;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

/* Header */
main h1 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--FLIblue);
}

/* Form Labels */
form label {
  display: block;
  margin-bottom: 20px;
  font-weight: 500;
}

/* Input Fields */
form input[type="number"] {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f4faff;
  transition: border-color 0.3s ease;
}

form input[type="number"]:focus {
  border-color: var(--FLIblue);
  outline: none;
  background-color: #e9f7ff;
}

/* Submit Button */
form button {
  width: 100%;
  padding: 14px;
  background-color: var(--FLIblue);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #005f8c;
}

/* Back Button */
.back-button {
  display: inline-block;
  margin-top: 25px;
  text-decoration: none;
  color: var(--FLIblue);
  font-weight: bold;
  transition: color 0.3s ease;
}

.back-button:hover {
  color: #004e70;
}
