@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100;200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');
@font-face {
    font-family: 'Urw Din Cond';
    src: url('./fonts/urw-din-condensed-bold.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
}

:root {
    /* ApotheoSys Colors */
    --pri-clr-black: #212121;
    --pri-clr-coral: #f7774b;
    --pri-clr-white: #f4f4f4;
    --sec-clr-gray: #d3d3d3;
    --sec-clr-blue: #4499bb;
    --sec-clr-peach: #f6b29b;
    --msg-clr-green: #a9f453;
    --msg-clr-red: #732c2c;

    /* Numeri Colors */
    --numeri-clr-lime: #a9f453;
    --numeri-clr-teal: #49ba8e;
    --main-clr: #81BCD3;
    --action-clr: #F7774B;
    --chill-clr: #EBF4F9;
    --strong-clr: #81BCD3;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Urw Din Cond', sans-serif;
}

*:not(svg, li span, input) {
    color: var(--pri-clr-black);
}

*::-moz-selection {
    background: var(--pri-clr-coral);
    color: var(--pri-clr-white);
}

*::selection {
    background: var(--pri-clr-coral);
    color: var(--pri-clr-white);
}

body {
    height: 100%;
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(to bottom, var(--pri-clr-coral) 0%, var(--pri-clr-white) 200vh, var(--pri-clr-white) 100%);
}

/* Header */

header {
    position: fixed;
    height: 60px;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 80px;
    background-color: var(--pri-clr-black);
    overflow: hidden;
    z-index: 100;
}

nav {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#home-link {
    height: fit-content;
    width: fit-content;
}

#ap-logo-main {
    height: 150px;
    width: auto;
}

#ap-logo-main2 {
    height: 50px;
    width: auto;
    display: none;
}

.navbar-options {
    height: 100%;
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
    font-family: 'Urw Din Cond', sans-serif;
    font-weight: 500;
}

.navopt {
    padding-top: 5px;
    text-transform: uppercase;
    color: var(--pri-clr-white);
    text-decoration: none;
    font-size: 16px;
}

#login-btn {
    padding-top: 10px;
    padding-bottom: 4px;
    padding-left: 20px;
    padding-right: 20px;
    border: 2px solid var(--pri-clr-white);
    border-radius: 5px;
}

#demo-btn {
    min-width: fit-content;
    padding-top: 10px;
    padding-bottom: 4px;
    padding-left: 15px;
    padding-right: 15px;
    background-color: var(--pri-clr-coral);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.35);
    border-radius: 5px;
}

/* Footer */

footer {
    position: relative;
    height: 280px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 50px;
    padding: 25px 80px;
    background-color: var(--pri-clr-black);
    z-index: 100;
}

footer h6 {
    color: var(--pri-clr-white);
    font-size: 18px;
    padding-bottom: 10px;
}

footer .horz {
    width: 350px;
    margin-top: 15px;
}

footer .vert {
    width: 160px;
}

#ap-logo-foot, #ap-logo-foot2 {
    position: absolute;
    height: 250px;
    width: auto;
    left: 80px;
    top: -65px;
}

#ap-logo-foot2 {
    height: 200px;
    display: none;
    left: 20px;
    top: 0;
}

#contact-foot {
    position: absolute;
    height: 20px;
    width: 100%;
    left: 0;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 80px;
}

#copyright {
    color: var(--pri-clr-white);
    font-size: 14px;
    font-weight: 300;
}

#social-media-icons {
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-right: 10px;
}

#social-media-icons svg path {
    color: var(--pri-clr-white);
}

.sm:hover svg path {
    fill: var(--pri-clr-coral);
}

/* Contact Modal */ 

#contact-modal, .modal {
    position: fixed;
    height: 450px;
    width: 600px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--pri-clr-white);
    background-color: var(--pri-clr-black);
    border: none;
    border-radius: 12px;
    z-index: 100;
}

#contact-modal h2, .modal h2 {
    position: relative;
    width: 100%;
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
    color: var(--pri-clr-white);
    font-size: 30px;
}

#contact-modal h2 span, .modal h2 span {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pri-clr-white);
    cursor: pointer;
}

#contact-modal form, .modal form {
    position: relative;
    height: calc(100% - 50px);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    gap: 8px;
    padding: 0px 100px;
}

#contact-modal form #ap-mark-bg {
    position: absolute;
    height: 350px;
    width: 350px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-top: -35px;
    z-index: -1;
}

#contact-modal form label, .modal form label {
    margin-top: 5px;
    margin-bottom: -5px;
    text-transform: uppercase;
    color: var(--pri-clr-white);
}

.modal p {
    color: var(--sec-clr-gray);
}

.modal textarea {
    min-height: 40%;
    max-width: 100%;
    width: 100%;
    color: var(--sec-clr-gray);
}

/* Body */

#title {
    margin-top: 130px;
}

#content {
    height: 100%;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 75px;
    padding: 20px 0px;
}

/* Form Elements */ 

button[type="submit"]:not(.body button) {
    align-self: center;
    margin: 10px;
    padding: 0px 50px;
    padding-top: 10px;
    padding-bottom: 5px;
    color: var(--pri-clr-white);
    background-color: var(--pri-clr-coral);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

input, textarea {
    width: 100%;
    padding: 0px 10px;
    padding-top: 5px;
    padding-bottom: 2px;
    color: var(--sec-clr-gray);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.17);
    font-size: 16px;
    border: none;
    border-radius: 5px;
    outline: none;
}

select {
    height: 25px;
    width: 100%;
    padding: 2px 10px;
    color: var(--pri-clr-black);
    background-color: var(--sec-clr-gray);
    font-size: 14px;
    border: none;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

/* Flash Messages */

#flash-contain {
    position: absolute;
    height: 100px;
    width: 100%;
    top: 70px;
    left: 0;
    pointer-events: none;
}

.flash {
    font-size: 25px;
    text-align: center;
    padding: 5px 0;
}

.success {
    background: linear-gradient(to right, transparent, #7FB685, transparent);
    color: var(--pri-clr-white);
}

.error {
    background: linear-gradient(to right, transparent, #EF271B, transparent);
    color: var(--pri-clr-white);
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-out {
    animation-name: fade-out;
}

.fade-in {
    animation-name: fade-in;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* Link Animations */ 

.link-trans {
    position: relative;
    display: inline-block;
    padding: 5px 0;
    text-decoration: none;
    color: var(--pri-clr-coral);
    background-image: linear-gradient(to right, var(--pri-clr-coral), var(--pri-clr-coral) 50%, var(--sec-clr-gray) 50%);
    background-size: 200% 100%;
    background-position: -100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out;
}

.link-trans::before {
    content: '';
    position: absolute;
    height: 3px;
    width: 0;
    display: block;
    left: 0;
    bottom: -3px;
    background: var(--pri-clr-coral);
    transition: all 0.3s ease-in-out;
}

.link-trans:hover {
    background-position: 0;
    cursor: pointer;
}

.link-trans:hover::before {
    width: 100%;
}

/* General */

h1:not(.body h1), h2:not(.body h2), h3:not(.body h3), h4:not(.body h4), h5:not(.body h5), h6:not(.body h6) {
    text-transform: uppercase;
}

a {
    text-decoration: none;
}

p:not(.sign-in, .sign-up, .body p, .modal p, .texts p), em:not(.body em), strong:not(.body strong) {
    font-family: 'Roboto Mono';
}

.blue-grad {
    padding: 2px 2px;
    color: transparent;
    background-image: linear-gradient(to right, var(--pri-clr-black), var(--sec-clr-blue));
    background-clip: text;
}

.coral-text {
    color: var(--pri-clr-coral);
}

.one_space {
    height: 14px;
}

.thin-link {
    width: fit-content;
    color: var(--pri-clr-white);
    font-family: 'Roboto Mono';
    font-size: 14px;
    font-weight: 300;
}

.thin-link:hover {
    color: var(--pri-clr-coral);
}

.line:not(.body .line) {
    height: 0px;
    width: 80%;
    border: 1px solid var(--pri-clr-coral);
    border-radius: 5px;
}

.hidden {
    display: none;
}

.vert {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    gap: 5px;
}

.horz {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.pencil {
    clip-path: polygon(
        10% 0%,   /* top left angle start */
        90% 0%,   /* top right angle start */
        100% 50%, /* right point */
        90% 100%, /* bottom right angle end */
        10% 100%, /* bottom left angle end */
        0% 50%    /* left point */
    );
}

/* Animations */

.enter-left, .enter-right{
    transform: translateX(0);
    transition: all 0.6s ease-out;
    opacity: 0;
}

.enter-left {
    left: 0px;
    transform: translateX(100%);
}

.enter-right {
    right: 0px;
    transform: translateX(-100%);
}

.visible {
    opacity: 1;
    transform: translateX(0);
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 200vh;
    pointer-events: none; 
    z-index: -1;
    background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 40px);
    transition: background-position 0.9s ease-out;
}

/* Adjustability */

@media screen and (max-width: 950px) {
    header {
        padding: 10px 20px;
    }
    footer {
        padding: 10px 20px;
    }
    .navbar-options {
        width: 50%;
    }
}

@media screen and (max-width: 850px) {
    header {
        padding: 10px 10px;
    }
    footer {
        padding: 10px 10px;
    }
    .navbar-options {
        width: 70%;
        gap: 30px;
    }
    #ap-logo-main {
        display: none;
    }
    #ap-logo-main2 {
        display: block;
    }
    #ap-logo-foot {
        display: none;
    }
    #ap-logo-foot2 {
        display: block;
    }
}

