/* Copyright © 2022 Yasar Arafat. All Rights Reserved.
 * This project is licensed under the MIT License.
 * Please find the license file in the root directory.
 *
 * style.css
 *
 * Author: Yasar Arafat
 */

 /* == Base Styles | Utitlies */

:root {
    font-size: 14px;
}

* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.clearfix {
    clear: both;
}

.small {
    font-size: 13px;
}

/* == Site-Wide | Layout */

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img.test {
    width: 100%;
    height: auto;
}

img.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 55%;
    height: 25%;
}

/* == Header */

header {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
    padding: 6px;
}

header a {
    color: rgba(0, 0, 0, .87);
}

header #sign-in {
    width: 70px;
    height: 40px;
    text-align: center;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #D9AFD9;
    background-image: linear-gradient(0deg, #D9AFD9 0%, #97D9E1 100%);
    border: 1px solid transparent;
    border-radius: 5px;
    color: rgb(248, 240, 240);
}

header #sign-in:hover {
    text-decoration: none;
    background-image: linear-gradient(#e62d15, #6dd5ed);
    box-shadow: 0 1px 2px 0 rgb(66 133 244 / 30%), 0 1px 3px 1px rgb(66 133 244 / 15%);
}

header #btn-app {
    border-radius: 100%;
    width: 40px;
    height: 40px;
    padding: 8px;
    cursor: pointer;
}

header #btn-app:hover {
    background-color: rgba(60, 64, 67, 0.08);
}

header #btn-app svg {
    fill: #5f6368;
}

/* == Main */

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
    justify-content: center;
}

main #logo-wrapper {
    display: flex;
    align-items: center;
    height: 103px;
}

main #form-wrapper {
    width: 100%;
    padding: 20px;
}

main form #search-wrapper {
    display: flex;
    max-width: 582px;
    margin: auto;
    width: 100%;
    height: 44px;
    border: 1px solid #3a5997;
    border-radius: 24px;
    align-items: center;
}

main form #search-wrapper:hover {
    box-shadow: 0 1px 6px rgb(32 33 36 / 28%);
    border-color: rgba(223, 225, 229, 0);
}

main form #search-wrapper #icon-search {
    padding: 0 14px;
}

main form #search-wrapper svg {
    width: 20px;
    height: 20px;
    fill: #5e748a;
}

main form #search-wrapper input {
    width: 100%;
    margin-right: 10px;
    border: none;
    outline: none;
}

main form #button-wrapper {
    padding-top: 18px;
    text-align: center;
}

main form button {
    background-image: linear-gradient(#FFFFFF, rgb(247, 244, 243));
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    color: #3c4043;
    font-family: arial, sans-serif;
    font-size: 14px;
    margin: 11px 4px;
    padding: 0 16px;
    line-height: 27px;
    height: 36px;
    min-width: 54px;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

main form button:hover {
    box-shadow: 0 1px 1px rgb(0 0 0 / 10%);
    background-image: linear-gradient(#2193b0, #6dd5ed);
    border: 1px solid #dadce0;
    color: #f6f7fa;
}

main #offer-wrapper {
    font-size: 13px;
}

main #offer-wrapper a {
    padding: 0 2px;
}

.copyright {
    padding: 20px;
    color: rgb(112, 112, 112);
    text-align: center;
}

/* == Footer */

footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f2f2f2;
    color: #333333;
}

footer #country {
    padding: 15px 30px;
    font-size: 15px;
    border-bottom: 1px solid #f4f4f5;
}

footer #country a {
    color: #303030;
}

footer #country a:hover {
    color: #05ddfa;
}

footer #links {
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer #links > div {
    display: flex;
    justify-content: center;
}

footer #links > div:first-child {
    flex-wrap: wrap;
}

footer #links > div a {
    padding: 15px;
    color: #333333;
}

/* == Key Frames */

/* == Media Queries */

@media all and (max-width: 419px) {
    header {
        justify-content: center;
    }
}

@media all and (max-width: 664px) {
    footer #links {
        justify-content: center;
    }
}

@media all and (max-width: 1200px) {
    footer #links > div {
        justify-content: space-evenly;
    }
}


nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}
nav .logo {
  display: flex;
  align-items: center;
  margin: 0 24px;
}
.logo .menu-icon {
  color: #333;
  font-size: 24px;
  margin-right: 14px;
  cursor: pointer;
}
.logo .logo-name {
  color: #333;
  font-size: 22px;
  font-weight: 500;
}

.logo .slogo-name {  
  margin: 0 250%;
  max-width: 100%;
  height: 60px;
}

@media only screen and (max-width: 768px) {
  .logo .slogo-name {
    margin: 0 15%; /* Adjust the margin for smaller screens */
	height: 60px;
  }
}

@media only screen and (max-width: 300px) {
  .logo .slogo-name {
    margin: 0 auto;
    width: 150px;   /* Allow the width to adjust based on the screen size */
	height: 40px;
  }
}

nav .sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100%;
  width: 260px;
  padding: 20px 0;
  background-color: #fff;
  box-shadow: 0 5px 1px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}
nav.open .sidebar {
  left: 0;
}
.sidebar .sidebar-content {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 16px;
}
.sidebar-content .list {
  list-style: none;
}
.list .nav-link {
  display: flex;
  align-items: center;
  margin: 8px 0;
  padding: 14px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.lists .nav-link:hover {
  background-color: #4070f4;
}
.nav-link .icon {
  margin-right: 14px;
  font-size: 20px;
  color: #707070;
}
.nav-link .link {
  font-size: 16px;
  color: #707070;
  font-weight: 400;
}
.lists .nav-link:hover .icon,
.lists .nav-link:hover .link {
  color: #fff;
}
.overlay {
  position: fixed;
  top: 0;
  left: -100%;
  height: 1000vh;
  width: 200%;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  background: rgba(0, 0, 0, 0.3);
}
nav.open ~ .overlay {
  opacity: 1;
  left: 260px;
  pointer-events: auto;
}
