
@font-face {
  font-family: "manrope"; /* Name you'll use in font-family */
  src: url("Assets/Manrope_Font_Family_(Fontmirror)/Manrope3 Bold 700.otf");
  font-weight: bold; /* Optional: define weight */
}
@font-face {
  font-family: "manrope"; /* Name you'll use in font-family */
  src: url("Assets/Manrope_Font_Family_(Fontmirror)/Manrope3 Medium 500.otf");
  font-weight: 500; /* Optional: define weight */
}

@font-face {
  font-family: "manrope"; /* Name you'll use in font-family */
  src: url("Assets/Manrope_Font_Family_(Fontmirror)/Manrope3 Regular 400.otf");
  font-weight: normal; /* Optional: define weight */
}

@font-face {
  font-family: "manrope"; /* Name you'll use in font-family */
  src: url("Assets/Manrope_Font_Family_(Fontmirror)/Manrope3 Light 300.otf");
  font-weight: lighter; /* Optional: define weight */
}

body{
  background-image: radial-gradient(circle at center, rgb(255, 255, 255), rgb(255, 255, 255),rgb(255, 255, 255),rgb(255, 255, 255),rgb(255, 255, 255),rgba(213, 213, 213, 0.535));
}

button{
  cursor: pointer;
}

button:hover{
  opacity:100%;
  box-shadow: 0.1rem 0.1rem 15px rgba(0, 0, 0, 0.5);
}

button:active{
  box-shadow: 0.1rem 0.1rem 15px rgba(0, 0, 0, 0.5);
  background-color: rgba(0, 0, 0, 0.599);
  background: rgba(0, 0, 0, 0.599); 
}

a:link:hover{
    opacity:100%;
    color: red;
    text-shadow: 0.05rem 0.05rem 5px rgba(255, 0, 0, 0.336);  
}

a:visited:hover{
    opacity:100%;
    color: red;
}

a:link:active{
  color:rgb(97, 97, 97);
}

* {
  font-family:"manrope";
}

html, body {
  margin: 0;
  padding: 0;
}

canvas {
  display: flex;
}

h1 {
  font-family:"manrope";
  font-weight: normal;
  font-size:7rem;
}

h3 {
  font-family:"manrope";
  font-weight: normal;
  font-size:2rem;
}

p{
  font-family:"manrope";
  font-weight: normal;
  font-size:1.5rem;
}

a{
  color:black;
}

.red{
  color:red;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.menuButton{
  display: flex;
  flex-direction: column;
  position: fixed;
  width: 6%;
  text-decoration: none;
  color: none;
}

#menuName{
  display: block;
  margin-left: 15rem;
  white-space: nowrap;
  border: none;
  transform: rotate(90deg) translate(0rem, 7rem);
  font-size: 3rem;
  font-weight: bold;
  background-color: rgb(0, 0, 0);
  cursor: pointer;
}

.menuIcon{
  margin-left: 7rem;
  margin-top: 150%;
  border: none;
  border-top: 0.4rem solid black;
  border-bottom: 0.4rem solid black; 
  height: 0.8rem;
  color: rgba(255, 255, 255, 0);
  width:2rem;
  cursor: pointer;
}

.menuIcon:hover + #menuName, #menuName:hover{
  color:red;
  text-shadow: 0.05rem 0.05rem 5px rgba(255, 0, 0, 0.336);  
}

.menuIcon:has(~ #menuName:hover), .menuIcon:hover{
  border-color: red;
}

.menuIcon:active + #menuName, #menuName:active{
  color:black;
}

.menuIcon:has(~ #menuName:active), .menuIcon:active{
  border-color: black;
}


#menuBar{
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.811), rgba(255, 255, 255, 0.811),rgba(255, 0, 68, 0.038));
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  background-clip: padding-box;
  display: none;
  flex-direction: column;
  height: 100%;
  position: fixed;
  justify-content: end;
  align-items: end;
}

.menuItems{
  display: flex;
  flex-direction: column;
  height: 75%;
  width: 80%;
}

.menuItem{
  border-radius: none;
  color: black;
  font-size: 3rem;
  background-color: rgba(255, 255, 255, 0);
  height: 12%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menuItem a{
  color:black;
  font-weight: lighter;
  text-decoration: none;
}

.circle {
  margin-right: 30%;
  width: 1.4rem; 
  height: 1.4rem; 
  background: radial-gradient(circle, red, rgb(255, 0, 150));
  border-radius: 50%;
  opacity: 70%;
}

@media screen and (max-width: 1380px) {
  #menuBar{
    height: 10%;
    position: absolute;
    width:100%;
    justify-content: start;
    align-items: start;
  }
  .menuItems{
    flex-direction: row;
    margin-top: 6rem;
    margin-left: 15rem;
    width: 100%;
  }
  .menuItem{
    margin-left: 0;
    margin-right: 4rem;
  }
  #menuIcon{
    margin-top: 5rem;
  }
}

#AIAssistantDiv {
  position: static;
  width: 0;
  height: 0;
  pointer-events: none;
}

#AIAssistantDiv > * {
  pointer-events: auto;
}

#AIContainer {
  position: fixed;
  top: 50px;
  right: 50px;
  border: 1px solid #ccc;
  padding: 1%;
  width: 34%;
  height: 60%;
  background-image: linear-gradient(to bottom right, rgba(237, 59, 74, 0.6), rgba(76, 59, 146, 0.602));
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  background-clip: padding-box;
  color: white;
  border-radius: 35px;
  font-size: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: width 0.3s, height 0.3s, border-radius 0.3s, scale 0.3s;
  scale: 1;
}

#AIContainer.minimized {
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0.2rem 0.2rem 40px rgb(138, 34, 72);
 
}

/* Title wrapper shown only when minimized */
#aiTitleWrap {
  position: absolute;
  inset: 0; /* fill the container */
  display: none;
  pointer-events: none;
}

#AIContainer.minimized #aiTitleWrap {
  display: block;
}

#aiTitleWrap svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

#aiTitleWrap text {
  font-family: inherit;
  fill: white;
  font-size: 10px;
  letter-spacing: 1.5px;
}

#AIContainer.minimized #aiTitleWrap svg {
  transform-origin: 50% 50%;
  transform-box: fill-box;
  animation: aiTitleRotate 30s linear infinite;
}

@keyframes aiTitleRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

#AIContainer:hover{
  scale: 1.04;
}

#AIContainer.minimized:hover{
  scale: 1.1;
  background-image: linear-gradient(to bottom right, rgba(248, 60, 75, 0.6), rgba(106, 80, 210, 0.602));
}

#AIContainerBody {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

#AIChatBox {
  flex: 1;
  overflow-y: auto;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-wrap: break-word;
  margin-bottom: 15px;
}

.AIMessage {
  text-align: left;
  margin: 5px;
}

.userMessage {
  text-align: right;
  margin: 5px;
  color: lightblue;
}

.AIMessage, .userMessage, .messageContent{
  white-space: normal;          
  overflow-wrap: anywhere;   
  word-wrap: break-word;       
  max-width: 100%;            
  display: block;              
  width: 100%;                 
  hyphens: auto;               
}

#aiInputContainer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 95%;
  align-items: center;
  border-radius: 15px;
  padding: 7px;
  background-color: rgba(255, 255, 255, 0.7);
  opacity: 0.7;
}

#aiInputBox {
  background-color: transparent;
  width: 90%;
  font-size: 2rem;
  border: none;
  outline: none;
  font-family: inherit;
  padding-left: 10px;
}

#minimizeButton {
  font-size: 4rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  width: 0%;
  height: 5%;
  margin-left: -30px;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: none;
  color: white;
  opacity: 0.7;
  transform: rotate(315deg);
}

#minimizeButton:hover {
  opacity: 1;
}

#sendButton {
  font-size: 1.5rem;
  border-radius: 10px;
  width: 10%;
  border: none;
  background-color: transparent;
  cursor: pointer;
  box-shadow: none;
  color: rgb(73, 16, 32);
  opacity: 0.7;
}

#sendButton:hover {
  opacity: 1;
  text-shadow: 0.05rem 0.05rem 10px rgba(0, 0, 0, 0.226);
}

#AIFaceModelDisplay {
  width: 210%;
  height: 210%;
  margin-left: -80%;
  margin-top: -30%;
  object-fit: cover;
  border: none;
  outline: none;
  opacity: 100%;
  z-index: 1005;
  pointer-events: none
}

#recommendationContainer{
  position: fixed;
  top: 75px;
  right:24rem;
  width: 20%;
  z-index: 1999;
  display: flex;
  justify-content: flex-end;
  padding-top: 2rem;
  display:none;
}

#recommendationContainer p{
  font-size: 2rem;
  text-align: end;
  background-image: linear-gradient(to bottom right, rgba(84, 21, 26, 0.129), rgba(22, 17, 42, 0.144));
  text-shadow: 1px 1px 2px rgba(96, 31, 54, 0.165);
  background-clip: text;
  -webkit-text-fill-color: transparent; 
}





