@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');

* {
    font-family: Karla;
}

html, body {
    margin: 0;
    min-height: 100vh;
}

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

.page {
    flex: 1;
}

.header {
    text-align: center;
    height: 11rem;         
    background-color: #292929;
    display: flex;         
    justify-content: center; 
    align-items: center;    
    letter-spacing: 0.2rem;
}

.header h1 {
    color: #ffffff;
    font-size: 1.9rem;
    margin-left: 1rem; 
    font-weight: 400;
}

.header img {
    max-height: 5rem; 
    height: auto;   
    width: auto;      
}

.content1 {
    margin: auto;
    display: flex;
    justify-content: center;  
    align-items: center;
    text-align: center;       
    gap: 0.7rem;        
    flex-wrap: wrap; 
    position: relative;
    z-index: 1;
    max-height: 30rem;
    margin-top: 2rem;
}

.column {
    flex: 1;
    display: flex;
    align-items: start;
    justify-content: center;
}

.txt-container {
    width: 80%
}

.txt-container h1 {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1rem;
}   

.txt-container h2 {
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
}   

.txt-container p {
    font-size: 1.2rem;
    line-height: 1.7;
}

.txt-container ul {
    list-style-position: inside;
    padding: 0;
    text-align: center;
}

.txt-container ul li {
    margin-bottom: 0.5rem; 
}

.content2 {
    margin: auto;
    display: flex;
    justify-content: center ;  
    align-items: start;
    text-align: center;       
    gap: 0.7rem;        
    flex-wrap: wrap; 
    position: relative;
    z-index: 1;
    height: auto;
    margin-bottom: 5rem;
}

.content3 {
    margin: auto;
    display: grid;
    grid-template-columns: 1fr; 
    justify-content: center ;  
    align-items: start;
    text-align: center;       
    gap: 0.7rem;        
    position: relative;
    z-index: 1;
    height: auto;
    margin-bottom: 5rem;
}

.content3 .column {
    width: 100%;
    display: flex;
    justify-content: center;
}

.content2 .img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content2 .img-container img {
    width: 100%;
    max-width: 680px;
    height: auto;
}

.clic-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
}

.clic-img-container img {
    flex: 0 0 45%;     
    max-width: 45%;
    height: auto;
}

.mobile-img {
    display: none;
}

.desktop-img {
    display: block;
    width: 100%;
    height: auto;
}

.pdf {
  background-color: #7d6e66;
  padding: 0.6rem;
  border-radius: 0.3rem;
  display: inline-block;
}

.pdf:hover {
  background-color:#cec1b0;
}

.pdf a {
  text-decoration: none;
  color: white;
}

.separator {
    border: none;              
    height: 2px;               
    background-color: #ccc;    
    margin: 2rem 0;            
    width: 85%;                
    margin-left: auto;         
    margin-right: auto;
}

#toTop {
    display: none; 
    position: fixed; 
    bottom: 30px;
    right: 30px;
    z-index: 99;
    
    width: 50px;
    height: 50px;
    border-radius: 50%; 
    
    display: flex; 
    justify-content: center;
    align-items: center;
    
    border: none;
    outline: none;
    background-color: #301304; 
    color: white;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    padding: 0;
}

#toTop:hover {
    background-color: #555;
    transform: translateY(-3px); 
}

.secondary-nav {
    position: sticky;
    margin-top: 2rem;
    top: 60px; 
    background-color: #ffffff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    z-index: 800;
    padding: 15px 0;
    width: 100%;
}

.sec-nav-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
    width: 90%;
}

.sec-nav-link {
    text-decoration: none;
    color: #000000; 
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.sec-nav-link:hover {
    color: #000000;
    border-bottom: 2px solid #000000;
}

@media (max-width: 1024px) {
    .column {
        flex: 1 1 100%; 
    }

    .txt-container{
        width: 90%;
    }

    .header h1 {
        font-size: 1.6rem;
    }

    .txt-container h1 {
        font-size: 1.5rem;
    }

    .txt-container h2 {
        font-size: 1.3rem;
    }

    .txt-container p {
        font-size: 1.1rem;
    }

    .content2 .column {
        flex: 1 1 100%;  
        align-items: center;
    }

    .pdf {
        display: inline-block;
        margin: 0.3rem; 
    }

    .footer {
        flex-shrink: 0;
    }

    .img-container,
    .clic-img-container {
        display: flex;
        flex-direction: column; 
        align-items: center;    
        gap: 1rem;             
        width: 100%;           
    }
    .img-container img,
    .clic-img-container img {
        width: 100%;           
        max-width: 500px;       
        height: auto;          
    }
}

@media (max-width: 768px) {

    .header {
        flex-direction: column;
        height: auto;
        padding: 2rem 1rem;
        gap: 1rem;
    }

    .header h1 {
        font-size: 1.4rem;
        margin-left: 0;
        text-align: center;
    }

    .header img {
        max-height: 4rem;
    }

    .column {
        width: 95%;
    }

    .content1 {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        max-height: none;   
        margin-top: 2rem;
    }

    .content1 .column {
        flex: 1 1 100%;
        align-items: center;
        justify-content: center;
    }

    .txt-container {
        width: 100%;
        text-align: center;
    }

    .txt-container h1 {
        font-size: 1.3rem;
    }

   .desktop-img {
        display: none;
    }

    .mobile-img {
        display: block;
        width: 100%;       
        max-width: 500px; 
        margin: 0 auto;   
        height: auto;
    }

    .img-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 1rem 0;
    }
    .content2 {
        flex-direction: column;
        gap: 2rem;
        max-height: none;    
        margin-bottom: 5rem;
        width: 100%;          
        padding: 0 1rem;     
        box-sizing: border-box;
    }

    .content2 .column {
        flex: 1 1 100%;
        align-items: center;
        justify-content: center;
        width: 95%;
    }

    .content2 .txt-container {
        width: 100%;
        text-align: center;
    }

    .content2 .img-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .content2 .img-container img {
        width: 100%;       
        max-width: 400px;  
        height: auto;      
    }

    .content2 .txt-container .pdf {
        margin: 0.5rem auto;
        max-width: 5rem;
    }

     .clic-img-container {
        flex-direction: column;
    }

    .secondary-nav {
        display: none;
    }
}

@media screen and (min-width: 1800px) {

    .content1, 
    .content2, 
    .content3, 
    .sec-nav-container, 
    .separator {
        max-width: 1600px;
        margin-left: auto;
        margin-right: auto;
    }

    .header h1 {
        font-size: 2.5rem;
    }

    .txt-container h1 {
        font-size: 2.2rem;
    }

    .txt-container h2 {
        font-size: 1.8rem;
    }

    .txt-container p, 
    .txt-container ul li {
        font-size: 1.5rem;
        line-height: 1.8; 
    }

    .txt-container {
        max-width: 1100px;
    }

    .content2 .img-container img {
        max-width: 1000px; 
    }

    .clic-img-container {
        gap: 3rem;
    }

    .clic-img-container img {
        max-width: 800px;
    }

    #toTop {
        width: 65px;
        height: 65px;
        font-size: 25px;
    }

    .sec-nav-link {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
}
