
:root{
    --dark-gray: #2C2F33;
    --font-size-default: 12px;
    --font-primary: 'Poppins', sans-serif;
    --block-width: 12.5%;
    --footer-social-link-width: 32px;
}

@font-face {
  font-family: 'Poppins';
  src: url('/static/fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('/static/fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'swiper-icons';
  src: url('/static/fonts/swiper-icons.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html{
    font-size: var(--font-size-default);
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 1.1em;
    background-color: transparent;
    color: #333;
    margin: 0;
    padding: 0;
    max-width: 100%;
    line-height: 1.8;
}

.content {
    flex: 1;
    overflow-y: auto;
}

.container {
    background-color: white;
    padding: 2rem;
    margin: 0 var(--block-width); 
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 12px; 
    text-align: center;
    margin-top: 30px;
}

/* Tabs */
@media (max-width: 768px) {
    .container {
        margin: 0 8%;
    }
}

/* Smartphones */
@media (max-width: 480px) {
    .container {
        margin: 0 4%;
        padding: 1rem; 
    }
}

.left-align {
    text-align: left;
}

h3 {
    text-align: left;
}


body::before {
    left: 0; 
}

body::after {
    right: 0; 
}

main {
    flex: 1;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.col-md-4 {
    flex: 0 0 30%;
    max-width: 300px;
    margin-bottom: 20px; /* space between lines */
}

.howto-section .row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px; 
}

.howto-img {
    width: 100%;
    height: 200px; 
    object-fit: cover;
    border-radius: 8px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    color: black;
}

/* for intro --------------------------------------------- */
.intro-container {
    display: flex;
    justify-content: space-between; 
    align-items: stretch;           
    gap: 2rem;                      
    padding: 2rem;
    flex-wrap: wrap;                
}

.intro-text {
    flex: 1 1 80%;  
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    max-width: 75ch;
    min-width: 200px;
}

.intro-image {
    flex: 1 1 20%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 150px;
}

.intro-image img {
    max-width: 80%;
    height: auto;
    margin-bottom: 10px;
}

.app-icon,
.playstore-logo {
    width: clamp(120px, 10%, 200px); /* min 150px, max 200px, proportional if possible */
    height: auto;
}


/* -------------------------------------------------------- */

.section {
    text-align: left;
    margin-bottom: 20px;
    border-left: 4px solid #3498db;
    padding-left: 15px;
}

.section li {
    margin-bottom: 1rem;;
}

.stag {
    font-style: italic;
    background-color: #ecf0f1;
    padding: 2px 5px;
    border-radius: 4px;
}

.t-keyword {
    font-style: italic;
    background-color: #ecf0f1;
    padding: 2px 5px;
    border-radius: 4px;
}

.important{
    color: red;
    background-color: yellow;
    font-weight: bold;
}

.blue-text {
  color: #07a;
}
