/* 
 * Perfect Memories - Consolidated CSS
 * This single file contains all styles for the application
 * Organized in sections: variables, base styles, components, and page-specific styles
 */

/***************************************
 * SECTION 1: CSS VARIABLES
 ***************************************/
:root {
  /* Color System */
  --primary-color: #007bff;
  --primary-hover: #0056b3;
  --secondary-color: #6c757d;
  --secondary-hover: #5a6268;

  /* Background Colors */
  --bg-light: #f8f9fa;
  --bg-medium: #f0f0f0;
  --bg-dark: #333333;
  
  /* Text Colors */
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  
  /* Button Colors */
  --btn-primary: #141618;
  --btn-primary-hover: #000000;
  --btn-danger: #dc3545;
  --btn-danger-hover: #c82333;
  --btn-success: #28a745;
  --btn-success-hover: #218838;
  
  /* Border & Shadow */
  --border-color: #dddddd;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  
  /* Typography */
  --font-family-main: 'Inter', sans-serif;
  --font-family-logo: 'Lobster Two', cursive;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-round: 50%;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
}

/***************************************
 * SECTION 2: BASE STYLES
 ***************************************/
html {
  font-size: 16px;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-family-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
}

/* Typography Scale */
h1 {
  font-size: var(--font-size-xxl);
  margin-bottom: var(--spacing-lg);
}

h2 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-sm);
}

/* Button Base Styles */
button {
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius-sm);
  background-color: var(--btn-primary);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-medium);
  width: 100%;
  margin-bottom: 10px;
}

button:disabled {
  background-color: #cccccc;
  color: #666666;
  cursor: not-allowed;
  opacity: 0.6;
}

button:hover {
  background-color: var(--btn-primary-hover);
}

/* Form Base Styles */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

label {
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
  text-align: left;
  width: 100%;
}

input[type="email"],
input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="file"],
textarea,
select {
  padding: var(--spacing-md);
  width: calc(100% - 20px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--spacing-lg);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/***************************************
 * SECTION 3: LAYOUT UTILITIES
 ***************************************/
.container, #container {
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  width: 90%;
  margin: var(--spacing-lg) auto;
  position: relative;
  max-width: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container-bis {
  position: relative;
  width: 100%;
  margin: 0 auto;
  bottom: 100px;
}

.flex {
  display: flex;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: flex-start;
}

.align-end {
  align-items: flex-end;
}

.container > .flex-column.align-center {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}

/* Button Utilities */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.btn-primary {
  background-color: var(--btn-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--btn-primary-hover);
}

.btn-danger {
  background-color: var(--btn-danger);
  color: white;
}

.btn-danger:hover {
  background-color: var(--btn-danger-hover);
}

.btn-success {
  background-color: var(--btn-success);
  color: white;
}

.btn-success:hover {
  background-color: var(--btn-success-hover);
}

.btn-full {
  width: 100%;
}

.btn-auto {
  width: auto;
}

/* Spacing Utilities */
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.mx-auto { 
  margin-left: auto;
  margin-right: auto;
}

.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color); }
.text-danger { color: var(--btn-danger); }
.text-success { color: var(--btn-success); }

/* Visibility */
.hidden {
  display: none;
}

/***************************************
 * SECTION 4: COMPONENT STYLES
 ***************************************/

/* Navbar Components */
.navbar {
  display: flex;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--bg-light);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 100px;
  position: relative;
}
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-family-logo);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* Allows clicks to pass through to elements behind */
}

.logo-container {
  display: flex;
  align-items: center;
  height: 40px;
  overflow: hidden;
  position: absolute;
  left: calc(var(--spacing-lg) + 10px); /* Slight adjustment for visual centering */
  top: 50%;
  transform: translateY(-50%);
}

.logo-link {
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-medium);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-round);
  transition: background-color var(--transition-fast);
  text-decoration: none;
}

.logo-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.logo-link i {
  pointer-events: none;
  /* Fine-tune home icon positioning for visual centering */
  margin-left: 1px;
}

.logo h1 {
  margin: 0;
  font-size: var(--font-size-xl);
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* Menu Components */
.menu {
  position: absolute;
  right: calc(var(--spacing-lg) - 2px);
  top: 50%;
  transform: translateY(-50%);
}

.menu-icon {
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-medium);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-round);
  transition: background-color var(--transition-fast);
}

.menu-icon i {
  pointer-events: none;
  /* Fine-tune burger menu icon positioning for visual centering */
  margin-right: 1px;
}

.menu-icon:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.menu-content {
  display: none;
  position: absolute;
  right: 0;
  top: 2.8125rem;
  background-color: white;
  min-width: 13.75rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  overflow: hidden;
  animation: fadeIn var(--transition-fast) ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-link {
  display: block;
  color: var(--text-dark);
  padding: 0.875rem 1.25rem;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: background-color var(--transition-fast);
  border-bottom: 1px solid var(--bg-medium);
  position: relative;
}

.menu-link:last-child {
  border-bottom: none;
}

.menu-link:hover {
  background-color: var(--bg-medium);
  color: var(--primary-color);
}

.menu-link i {
  margin-right: 0.625rem;
  width: 1.25rem;
  text-align: center;
}

/* Notification Badge */
.notification-badge {
  background-color: #dc3545;
  color: white;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  font-size: 12px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 2px 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  animation: pulse 2s infinite;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* Guide Button Components */
.guide-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #666;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s ease;
  font-weight: 400;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.guide-button:hover {
  color: #333;
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.guide-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Card Components */
.card {
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.card-header {
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--bg-medium);
}

/* Form Components */
.form-group {
  margin-bottom: var(--spacing-md);
  width: 100%;
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: var(--spacing-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-family-main);
  font-size: var(--font-size-base);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

textarea.form-control {
  min-height: 6.25rem;
  resize: vertical;
}

/* Alert Components */
.alert {
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  border: 1px solid transparent;
  border-radius: var(--border-radius-sm);
}

.alert-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

/* Profile Components */
.profile-banner {
  width: 100%;
  max-width: 600px;
  height: 200px;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
  position: relative;
}

.profile-picture {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 10px solid white;
  position: relative;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  background-size: cover;
  background-position: center;
}

.profile-banner .edit-icon,
.profile-picture .edit-icon {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-banner .edit-icon {
  top: 50%;
  left: 50%;
}

.profile-picture .edit-icon {
  top: 60%;
  left: 60%;
}

.profile-header {
  text-align: center;
  position: relative;
  left: 0;
  margin: 0 auto;
  bottom: 140px;
  width: 100%;
}

.profile-header h1 {
  margin: 0;
  font-size: 36px;
}

.profile-header p {
  margin: 5px 0;
  color: var(--text-medium);
}

/* Tab Components */
.section-tabs {
  display: flex;
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.tab {
  width: 50%;
  padding: var(--spacing-sm) var(--spacing-md);
  cursor: pointer;
  text-align: center;
  border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
  margin-right: 5px;
}

.tab.active {
  background-color: var(--bg-medium);
  border: 1px solid var(--border-color);
  border-bottom: none;
}

.tab-content {
  display: none;
  padding: var(--spacing-lg);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
  width: 100%;
}

.tab-content.active {
  display: block;
}

/* Media Gallery Components */
.media-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
}

.no-media-container {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  width: 100%;
}

.no-media {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-light);
  font-size: var(--font-size-lg);
  padding: var(--spacing-lg);
  height: 6.25rem;
  width: 100%;
}

.media-post,
.add-media-btn {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  background-color: var(--bg-medium);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.media-post img.media-thumbnail,
.media-post video.media-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.add-media-btn {
  border: 1px dashed #ccc;
  cursor: pointer;
  font-size: 36px;
  color: var(--primary-color);
}

.add-media-btn span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.add-media-btn:hover {
  background-color: #e0e0e0;
}

/* Modal Components */
.modal, .media-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  width: 80%;
  max-width: 37.5rem;
  box-shadow: var(--shadow-lg);
}

.close, .close-modal {
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-medium);
}

.close:hover,
.close-modal:hover,
.close:focus,
.close-modal:focus {
  color: var(--text-dark);
  text-decoration: none;
}

/* Message Components */
.error-message {
  background-color: var(--btn-danger);
  color: white;
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-lg);
  text-align: center;
  position: fixed;
  top: 3.125rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 90%;
  max-width: 25rem;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn var(--transition-fast) ease-in-out;
}

#success-message {
  position: fixed;
  padding: var(--spacing-md) 0;
  background-color: var(--btn-success);
  width: 90%;
  max-width: 25rem;
  color: white;
  font-size: var(--font-size-base);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-md);
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  top: 3.125rem;
  opacity: 0;
  transition: opacity var(--transition-medium);
  z-index: 1000;
}

#success-message.show {
  opacity: 1;
}

/***************************************
 * SECTION 5: TRIBUTES & SPECIAL FEATURES
 ***************************************/
/* Tributes Section */
.tributes-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.tribute-message, .tribute-login-message {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  width: 100%;
  text-align: center;
  border: 1px solid #e9ecef;
}

.add-tribute-form {
  width: 100%;
  max-width: 500px;
  margin: var(--spacing-lg) auto;
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  border: 1px solid #e9ecef;
}

.add-tribute-form h3 {
  text-align: center;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

.tribute {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  width: 100%;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tribute-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid #e9ecef;
}

.tribute-author {
  font-weight: 600;
  color: var(--primary-color);
  font-size: var(--font-size-sm);
}

.tribute-date {
  color: var(--text-medium);
  font-size: var(--font-size-xs);
}

.tribute-content {
  color: var(--text-dark);
  line-height: 1.6;
  font-size: var(--font-size-sm);
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--spacing-md);
  text-align: center;
}

/* Miscellaneous */
.anecdote-excerpt {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  padding: 0 5%;
  background-color: var(--bg-medium);
  border-radius: var(--border-radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-style: italic;
  font-size: var(--font-size-sm);
  color: var(--text-dark);
  overflow: hidden;
  flex-direction: column;
}

.delete-icon {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
  color: var(--btn-danger);
  font-size: 18px;
  z-index: 5;
  pointer-events: all;
  transition: color var(--transition-medium);
}

.delete-icon:hover {
  color: var(--btn-danger-hover);
}

.edit-icon-biographie {
  cursor: pointer;
  float: right;
  font-size: 16px;
  color: var(--text-medium);
  margin-left: 10px;
}

/* Containers */
#name-container, #birthdate-container, #deathdate-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

#name-container h1, #birthdate-container p, #deathdate-container p {
  margin: 0;
  font-size: 20px;
}

/* Icon Styles */
.edit_icon {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  vertical-align: middle;
  cursor: pointer;
}

/* Modal options */
.modal-options {
  justify-content: center;
}

.modal-options button {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  margin: 10px;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  width: 25%;
}

/* Whitelist section */
#whitelist-section {
  margin-top: var(--spacing-lg);
}

.whitelist-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.whitelist-input {
  flex: 1;
  padding: var(--spacing-md);
  margin-right: var(--spacing-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
}

.remove-whitelist-btn {
  padding: 5px 10px;
  background-color: var(--btn-danger);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  width: 85px;
}

#add-whitelist-btn {
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--btn-success);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
}

/***************************************
 * SECTION 6: RESPONSIVE STYLES
 ***************************************/
/* Mobile Styles */
@media (max-width: 600px) {
  body {
    padding: var(--spacing-md);
  }

  .container, #container {
    width: 100%;
    box-shadow: none;
    padding: var(--spacing-md);
  }

  h1 {
    font-size: var(--font-size-xl);
  }

  input[type="email"],
  input[type="text"],
  input[type="password"],
  input[type="number"],
  input[type="date"],
  input[type="file"],
  textarea,
  select {
    width: calc(100% - 10px);
  }

  button {
    width: 100%;
  }

  .logo-link {
    font-size: 1.5rem; /* Slightly smaller on mobile to match proportion */
    width: 2.25rem;
    height: 2.25rem;
  }

  .logo-container {
    height: 30px; /* Smaller container on mobile */
  }

  .media-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) and (min-width: 431px) {
  .profile-banner {
    height: 180px; /* Slightly smaller banner for medium screens */
  }
}

@media screen and (max-width: 430px) {
  .profile-header {
    bottom: 70px;
  }
  .container-bis {
    bottom: 60px; /* Adjusted to maintain proper spacing on mobile */
    width: 100%;
  }
  .profile-banner {
    height: 150px; /* Reduce height on very small screens */
  }
  .profile-picture {
    width: 120px;
    height: 120px;
    bottom: 60px; /* Adjust positioning for smaller banner */
  }
}

@media screen and (min-width: 768px) {
  .menu {
    right: 50px;
  }

  .container {
    width: 80%;
    max-width: 600px;
  }
}
