OKSOFTWARES / styles.css
angeloqq's picture
Upload 53 files
be4bed5 verified
/* Resetting default margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
root::-webkit-scrollbar{
display:none;
}
body {
font-family: Arial, sans-serif;
margin: 0;
}
body::-webkit-scrollbar{
display: none;
}
.container {
position: relative;
}
.navbar {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
backdrop-filter: blur(10px); /* Adding blur effect */
z-index: 1000;
padding: 20px;
}
.nav-links {
display: flex;
justify-content: center;
list-style: none;
padding: 0;
}
.nav-links li {
margin: 0 15px;
}
.nav-links li a {
color: #fff;
text-decoration: none;
padding: 10px 15px;
display: block;
transition: all 0.6s ease-in-out;
}
.nav-links li a:hover {
color: #ffc107;
transform: translateY(4px) scale(1.225) rotateX(360deg);
background-color: #007bff;
border-radius: 10px 30px 10px 30px;
}
.burger {
display: none;
cursor: pointer;
}
.main-content {
padding-top: 80px; /* Adjust according to navbar height */
}
.intro-section {
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
padding: 20px;
margin-top: -100px;
}
.intro-section #search{
padding: 14px;
background: rgba(0, 0, 0, 0.3);
border-radius: 4px;
color: whitesmoke;
font-size: 12pt;
transition: all 0.3s ease;
}
#search:focus{
background-color: lavender;
color: black;
}
#btn-search{
border: none;
background: none;
font-size: 20pt;
margin-left: 10px;
}
.searchie{
display: flex;
flex-direction: row;
margin-top: -70px;
margin-bottom: 50px;
}
#search::placeholder{
font-size:13pt;
}
.intro-section h1{
font-size: 32pt;
}
.intro-section h1:first-child{
color: red;
}
.intro-section h1, .intro-section h2, .intro-section h3 {
margin: 10px 0;
}
.intro-section p {
margin: 20px 0;
}
.learn-more-btn {
display: inline-block;
padding: 10px 20px;
background-color: #007bff;
color: #fff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.learn-more-btn:hover {
background-color: #0056b3;
}
.services-section {
display: none;
padding: 20px;
}
.services-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.card {
width: 250px;
background: #fff;
padding: 20px;
margin: 10px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
}
.card:hover {
transform: translateY(-5px);
}
.card h4 {
margin: 0 0 10px;
color: #333;
}
.card p {
margin: 0;
color: #666;
}
.footer {
position: fixed;
bottom: 0px;
max-width: 4000px;
width: 100%;
text-align: center;
padding: 20px;
background-color: #333;
color: #fff;
}
.chatbot-bubble {
position: fixed;
bottom: 30px;
right: 40px;
background: transparent;
color: #fff;
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
z-index: 1000;
transition: background-color 0.3s;
}
.pup{
position: fixed;
bottom: 88px;
right: 20px;
animation: pupe 1s infinite alternate;
text-shadow: 0px 0px 12px rgba(0, 0, 0, 0.8);
font-size: 13pt;
font-weight: 400;
}
@keyframes pupe {
from{
transform: translateY(0px);
} to {
transform: translateY(-20px);
}
}
.chatbot-bubble img {
width: 60px;
height: 60px;
border-radius: 50%;
background-blend-mode:screen;
}
.chatbot-window iframe::-webkit-scrollbar{
display: none;
}
.chatbot-window {
position: fixed;
bottom: 30px;
right: 40px;
width: 30dvw;
height: 80dvh;
border: none;
background-color: #fff;
z-index: 999;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
display: none;
}
.chatbot-window iframe {
width: 30dvw;
height: 100%;
border: none;
}
@keyframes sasa {
from{
width: 0px;
height: 0px;
}
to {
width: 400px;
height: 600px;
}
}
@keyframes asas {
from{
width: 400px;
height: 600px;
}
to {
width: 0px;
height: 0px;
}
}
@media (max-width: 768px) {
.burger {
display: block;
position: absolute;
top: 20px;
right: 20px;
color: #fff;
font-size: 24px;
}
.nav-links {
display: none;
flex-direction: column;
position: absolute;
top: 60px;
left: 0;
width: 100%;
background-color: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(10px);
padding: 20px;
}
.nav-links.active {
display: flex;
}
.nav-links li {
margin: 10px 0;
}
.main-content {
padding-top: 140px; /* Adjust according to navbar height */
}
.chatbot-bubble {
bottom: 80px;
right: 20px;
}
.chatbot-window {
width: calc(100% - 40px);
height: calc(100% - 100px);
bottom: 80px;
}
}
.spinny{
border-top-color: cyan;
width:70px;
height:70px;
border-radius:50%;
border: double 6px black;
animation: spinny linear infinite 2s;
}
@keyframes spinny {
from{
transform: rotate(0deg);border-top-color: cyan;
} to {
transform: rotate(360deg);border-top-color: cyan;
}
}
.chatbot-close{
display: block;
right: 50px;
top: 165px;
position: fixed;
font-size: 14pt;
font-weight: 100;
color: red;
background: none;
border:none;
font-family: 'Trebuchet MS';
transition: 0.4s all ease;
}
.chatbot-close:hover{
scale: 1.195;
color: rgb(197, 32, 32);
transform: translateX( -10px);
background: wheat;
border-radius: 10px;
padding: 4px;
}