/* v0.2.1 2026 06 21 */

/* site variables */
:root {
    --bg-color: #3d413f;
    --fg-color: #f5e9c1;
    --bg-hover: #333;
    --fg-hover: #fff;
}

/* site css */

/* page  */
body {
    width: 100%;
    background-color: var(--bg-color);
}

/* Navbar container */
.navbar {
  width: auto;
  overflow: hidden;
  background-color: var(--bg-color);
  font-family: Arial;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0px;
  padding: 0vh 10vw 0vh 5vw;
  border-bottom: solid 2px var(--fg-color);
}

/* Navbar Title */
.title {
    display: flex;
    text-align: center;
    align-items: center;
}

#title {
    font-size: 48px !important;
}

/* Links inside the navbar */
.navbar a {
  float: left;
  font-size: 20px;
  color: var(--fg-color);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
  /* padding: 0vw 4vw; */
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 20px;
  border: none;
  outline: none;
  color: var(--fg-color);
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a background color to navbar links on hover */
.dropdown:hover .dropbtn {
  background-color: var(--bg-hover);
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #000;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: var(--bg-hover);
  color: var(--fg-hover);
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
  margin-top: 46px;
}

/* pages css */

.content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--fg-color);
    color: var(--bg-color);
    padding: 0vh 2vw;
    border-radius: 10px;
    margin: 5% 25% 0% 25%;    
}

.content-title {
    font-size: 36px;
}

.content {
    font-size: 1.25em;
    margin-top: 0%;
}

#cyber-contact-form {
    padding: 0vh 0vw 1.5vh 0vw;
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 20px;
}

.cyber-contact-form-element {
    padding: 5px 0px;
    font-size: 18px;
}

#cyber-submit {
    background-color: var(--bg-color);
    color: var(--fg-color);
    border-radius: 10px;
    border: inset 2px black;
    font-size: large;
}

#cyber-submit:hover {
    font-weight: bolder;
    border: outset 2px black;
}

#phish-form {
    padding: 0vh 0vw 1.5vh 0vw;
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 20px;
}

.phish-form-element {
    padding: 5px 0px;
}

.phish-form-button {
    background-color: var(--bg-color);
    color: var(--fg-color);
    border-radius: 10px;
    border: inset 2px black;
    font-size: large;
    margin-top: 10px !important;
    width: 45%;
}

.phish-form-button:hover {
    font-weight: bolder;
    border: outset 2px black;
    cursor: pointer;
}

.button-container {
    display: flex;
    justify-content: space-evenly;
    padding: 10px 0px 20px 0px;
}

.phish-disclaimer {
    padding: 0px 40px;
    font-size: 20px;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-box {
    background-color: var(--fg-color);
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
}

.close-btn:hover {
    color: #000;
}

#verdict-title {
    background-color: var(--bg-color);
    padding: 3px 0px;
    border-radius: 5px;
}

/* smooth pop-in animation */
@keyframes fadeIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.phish-form-q-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.phish-form-q-header p {
    width: 75%;
}

.clear-q {
    background-color: var(--bg-color);
    color: var(--fg-color);
    border-radius: 10px;
    border: inset 2px black;
    font-size: large;
}

.clear-q:hover {
    font-weight: bolder;
    border: outset 2px black;
    cursor: pointer;
}

/* media queries for smaller screens */
@media (max-width: 600px) {
    body {
        padding: 10px;
        width: auto;
    }

    .content-container {
        padding: 20px 15px;
    }

    .phish-form-q-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .clear-q {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .button-container {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .phish-form-element label {
        flex-direction: column;
        text-align: left;
        padding: 10px 5px;
        font-size: 1rem;
    }

    .phish-form-button {
        width: auto;
    }

    .cyber-contact-form-element label {
        flex-direction: column;
        text-align: left;
        padding: 10px 5px;
        font-size: 1rem;
    }

    #cyber-contact-form {
        width: 90%;
    }

    textarea {
        height: 90px;
        width: 90%;
        padding: 8px;
        font-size: 16px;
    }

    .content-container {
        padding: auto;
        margin: 0.5vh 0.125vw;
    }
}