File: /home/httpd/html/xdudes.com/templates/default_v3/styles/header.css
.header
{
height:58px;
width:100%;
background:var(--headerBackground);
display:flex;
flex-direction: row;
align-items: center;
justify-content: center;
padding:5px 13px;
position:fixed;
top:0;
z-index:999;
}
.header__logo
{
display:flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-decoration: none;
outline:none;
margin:0 27px 0 0;
}
@media only screen and (max-width: 1080px)
{
.header__logo
{
margin:0 auto 0 0;
}
}
.header__logo img
{
height:31px;
}
@media only screen and (max-width: 500px)
{
.header__logo img
{
height:24px;
}
}
.header__nav
{
margin:0;
display:flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap:24px;
width:100%;
}
@media only screen and (max-width: 1080px)
{
.header__nav
{
margin:0;
flex-direction: column;
height: calc(100vh - 58px);
top: 100%;
width: 100%;
left: 0;
padding: 10px 0;
overflow-y: auto !important;
transform: translateX(100vw);
transition: 0.4s;
position:absolute;
background:var(--headerBackground);
}
.header__nav--open {
-webkit-transform: translateX(0vw);
transform: translateX(0vw);
-webkit-transition: 0.4s;
transition: 0.4s;
overflow-y: auto;
}
}
.header__link
{
color:var(--headerLink);
text-decoration: none;
outline:none;
font-size:15px;
font-weight: 600;
transition:0.4s;
}
.header__link:hover
{
transition:0.4s;
opacity:0.6;
}
.header__button
{
color:var(--headerButtonColor);
background:var(--headerButtonBackground);
text-decoration: none;
outline:none;
font-size:15px;
font-weight: 600;
transition:0.4s;
border:2px solid var(--headerButtonBackground);
height:37px;
width:100px;
display:flex;
flex-direction: row;
align-items: center;
justify-content: center;
border-radius: 3px;
transition:0.4s;
}
.header__button:hover
{
background:transparent;
color:var(--headerButtonBackground);
transition:0.4s;
}
.header__searchWrapper
{
width:276px;
height:37px;
border-radius: 3px;
display:flex;
flex-direction: row;
justify-content: center;
align-items: center;
background:var(--searchHeaderBackground);
margin:0 auto 0 0;
}
@media only screen and (max-width: 1080px)
{
.header__searchWrapper
{
margin:0;
}
}
.header__searchWrapper i
{
font-size:18px;
margin:0 10px 0 auto;
}
.header__searchWrapper input
{
width:100%;
margin:0 10px;
font-size:18px;
color:var(--searchHeaderText);
font-weight: 500;
outline:none;
}
.header__hamburger
{
width: 40px;
height: 40px;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border: none;
background: none;
outline: none;
display: none;
transition: 0.4s;
}
@media only screen and (max-width: 1080px) {
.header__hamburger {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
}
.header__hamburger:hover {
cursor: pointer;
opacity: 0.6;
-webkit-transition: 0.4s;
transition: 0.4s;
}
.header__hamburger span {
width: 24px;
height: 3px;
background:var(--headerLink);
position: absolute;
}
.header__hamburger .first {
-webkit-transition: 0.4s;
transition: 0.4s;
-webkit-transform: translateY(8px);
transform: translateY(8px);
}
.header__hamburger .second {
-webkit-transition: 0.4s;
transition: 0.4s;
opacity: 1;
}
.header__hamburger .third {
-webkit-transition: 0.4s;
transition: 0.4s;
-webkit-transform: translateY(-8px);
transform: translateY(-8px);
}
.header__hamburger .first--open {
-webkit-transition: 0.4s;
transition: 0.4s;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.header__hamburger .second--open {
-webkit-transition: 0.4s;
transition: 0.4s;
opacity: 0;
}
.header__hamburger .third--open {
-webkit-transition: 0.4s;
transition: 0.4s;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}