* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  padding: 0;
  margin: 0;
}

header {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  gap: 8px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.nav_second button{
  width: 45%;
  height: 45px;
  background: #f3f3f3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.first{
  display: flex;
  padding: 0;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav_first{
  display: flex;
  gap: 15px;
}

.nav_first a{
  display: block;
  padding: 5px;
  cursor: pointer;
  border-radius: 6px;
  color: black;
  text-decoration: none;
}

.nav_first a:hover, .nav_second a:hover {
  background: #eaeaea;
  transform: translateY(-3px);
}

.nav_second{
  display: flex;
  gap: 15px;
}

.nav_second a{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  border-radius: 6px;
  color: black;
  text-decoration: none;
  width: 65px;
  height: 40px;
  background: #00d8c8;
}

.actions a{
  width: 45%;
  height: 45px;
}

.logo {
  font-weight: 700;
  font-size: 18px;
}

.start-btn {
  background: #f3f3f3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

/* Drawer hidden by default */
.drawer {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  padding: 16px;
  display: none;
  z-index: 1000;
}

/* Drawer visible */
.drawer.active {
  display: block;
}

.drawer-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.drawer-card h3 {
  margin: 0 0 6px;
}

.drawer-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
}

.drawer-btn {
  display: block;
  text-align: center;
  padding: 12px;
  margin-bottom: 10px;
  background: #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

.arrow{
  font-size: 20px; 
  line-height: 1;
  display: inline-block;
}

.layout{
  display: flex;
  flex-direction: column;
}

#rightDrawer{
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100%;
  background: #f8f8f8;
  padding: 15px;
  transition: 0.3s;
  z-index: 1100;
}

#rightDrawer a {
  display: block;
  margin-bottom: 5px;
  padding: 10px;
  cursor: pointer;
  border-radius: 6px;
  color: black;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 4px;
}

#rightDrawer span{
  cursor: pointer;
}

#hivered{
  background: #eaeaea;
}

.hivered{
  background: #eaeaea;
  transform: translateY(-3px);
}

#rightDrawer a:hover {
  background: #eaeaea;
  transform: translateY(-3px);
}

#rightBtn{
  display: none;
  cursor: pointer;
}

#rightDrawer div{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

@media (max-width: 768px){
  #rightBtn{
    display: block;
  }
  
  .nav_first{
    display: none;
  }
  
  .nav_second{
    display: none;
  }
}

.main_last{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  width: 100%;
  margin: 4px auto;
  padding: 40px; 
  border-top: 1px solid grey;
}

.main_last div{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.main_last a{
  color: grey;
  text-decoration: none;
}

.main_last a:hover{
  transform: translateY(-3px);
}

.footer{
  justify-content: center;
  align-items: center;
  height: 80px;
  width: 100%;
  display: flex;
}

.footer a:hover{
  transform: translateY(-3px);
}