*,
html {
margin:0;
padding:0;
}
body {
font-family: 'Montserrat';
background-color: var(--pri);
}
.container-navbar {
background-color: var(--scn);
height: 60px;
}
.logo {
height: 50px;
width: 50px;
position: absolute;
left:10px;
top:10px;
}
.logotxt {
font-family: "Anta", sans-serif;
line-height:1;
font-weight:500;
color:var(--qua);
position: absolute;
left:60px;
top:18px;
}
.ul-navbar {
display: flex;
justify-content: center;
align-items:center;
}
.li-navbar {
list-style-type: none;
padding: 5px;
font-size: 1 rem;
margin: 20px;
}
.li-navbar:hover {
background-color: var(--pri);
transition: .2s ease-in-out;
transition-delay: .25s;
border-radius: 8px;
}
.a-navbar {
color: var(--qua);
font-weight:600;
text-decoration: none;
}
.box {
width:105px;
height:15px;
display:flex;
justify-content:center;
align-items:center;
border-radius:100px;
position:absolute;
right:10px;
top:5px;
}
.clock {
color:var(--qua);
font-size:10px;
font-weight:1000;
width:100px;
height:10px;
display:flex;
justify-content:space-evenly;
align-items:center;
border-radius:100px;
}
.container-content {
height:80vh;
display: flex;
justify-content: center;
align-items:center;
padding:20px;
}
.line {
height:.25vh;
background-color: var(--ter);
}
//darkmode button
:root {
--pri: #EEEEEE;
--scn: #00ADB5;
--ter: #393E46;
--qua: #222831;
--lqd2: rgba(238,238,238,.5);
}
.dark-theme {
--pri: #222831;
--scn: #393E46;
--ter: #00ADB5;
--qua: #EEEEEE;
--lqd2: rgba(34,40,49,.5);
}
/*slider switch css */
.theme-switch-wrapper {
display: flex;
align-items: center;
}
.theme-switch {
display: flex;
justify-content:flex-end;
flex-wrap:wrap;
height: 34px;
width: 60px;
right:20px;
top:20px;
position: absolute;
}
.theme-switch input {
display:none;
}
.slider {
background-color: #393E46;
bottom: 0;
cursor: pointer;
left: 0;
position: absolute;
right: 0;
top: 0;
transition: .4s;
}
.slider:before {
background-color: #eeeeee;
content: "";
height: 24px;
width: 24px;
left: 3px;
bottom: 5px;
position: absolute;
transition: .4s;
}
input:checked + .slider {
background-color: #00ADB5;
}
input:checked + .slider:before {
transform: translateX(29px);
}
.slider.round {
border-radius: 34px;
}
.slider.round:before {
border-radius: 50%;
}
.sn {
position: absolute;
left:5px;
top:7px;
color:var(--qua);
transition:1s color;
}
.mn {
position: absolute;
right:5px;
top:5px;
color:var(--pri);
transition:1s color;
rotate:255deg;
}
@media (max-width:480px) {
.container-bio, .container-navbar {
/* background:blue; */
display:grid;
}
.a-navbar {
font-size:.8rem;
}
.logotxt {
display:none;
}
.logo {
position: absolute;
left:10px;
top:15px;
height: 44px;
width: 44px;
}
}