body{
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}
html{
    overflow-x: hidden;
}
:root{
    --background-color: #ff6246;
    --text-color: #fbece3;
    --font-family: 'Poppins', sans-serif;
    --secondary-background-color: #f74f3c;
    --secondary-text-color: #ffd33f;
    --border-color: #f14b37;
}
.bar{
    width: 100%;
    display: flex;
    justify-content: center;
    
}
nav{
    background-color: var(--background-color);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    width: 80%;
    border: solid 3px var(--secondary-background-color);
    border-radius: 20px;
}
.nav{
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: center;
    width: 70%
}

nav .logo{
    font-family: var(--font-family);
    font-weight: bolder;
    font-size: 1.2em;
    
    padding: 10px;
    width: 30%;
    

}
nav div a{
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    padding: 10px;
    font-family: var(--font-family);
    transition: all 0.3s ease;
}
.nav a:hover{
    transform: translateY(-3px);
}
main{
    display: flex;
    justify-content: center;
    height: 80vh;
    overflow: hidden;
    flex-direction: row;
}
main img{
    width: 50%;
    border-radius: 10px;
    scroll-behavior: none;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
}
main div{
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
main div h1{
    font-family: var(--font-family);
    color: var(--text-color);
    font-weight: bolder;
    font-size: 10em;
    margin: 0;
    text-align: right;
    padding: 0;
    line-height: 90%;
}
main div p{
    font-family: var(--font-family);
    color: var(--text-color);
    font-weight: bold;
    margin-top: 10px;
    font-size: 1.1em;
    text-align: right;
}
main div button{
    background-color: var(--text-color);
    color: var(--background-color);
    border: none;
    padding: 10px 20px;
    border-radius: 9px;
    font-family: var(--font-family);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-size: 1.2em;
    width: fit-content;
    
}
main div button:hover{
    transform: translateY(-3px);
}
.lang{
    margin-top: 40px;
    height: 6vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}
.lang div{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    height: 100%;
    font-family: var(--font-family);
    font-weight: bold;
    border: var(--text-color) 2px solid;
    color: var(--text-color);
    border-left: none;
    border-right: none;
    width: 80%;
    overflow-x: hidden;
}
.projects{
    margin-top: 10vh;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border: none;
}
.projects div{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    height: 100%;
    font-family: var(--font-family);
    font-weight: bold;
    color: var(--text-color);
    width: 80%;
    overflow-x: hidden;

}
.projects div div{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    gap: 10px;
    flex-direction: column;
    background-color: var(--secondary-background-color);
    border: var(--secondary-background-color) 2px solid;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    width: 30%;
    padding-left: 30px;
    box-sizing: border-box;
}
.prjects div div h3{
    margin: 0;
    padding: 0;
    font-size: 3em;
    text-align: left;
    font-weight: bolder;
    font-family: var(--font-family);
}
.projects div div p{
    margin: 0;
    padding: 0;
    font-size: 1em;
    text-align: left;
    font-weight: bold;
    color: var(--secondary-text-color);
    font-family: var(--font-family);
}
.projects div img{
    width: 80%;
    aspect-ratio: 1/1;
    cursor: pointer;
    object-fit: contain;
    border: var(--text-color) 10px solid;
    border-radius: 10px;
}
.box h2{
    padding: 0;
    margin: 5px;       
    
}

.box button{
    background-color: var(--text-color);
    color: var(--background-color);
    border: solid 6px var(--background-color);
    padding: 10px 20px;
    border-radius: 14px;
    font-family: var(--font-family);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-size: 1.2em;
    width: fit-content;
    margin: 0;
    
    
}
footer{
    width: 100%;
    height: 7%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--secondary-background-color);
    border: solid 3px var(--border-color);
    margin-top: 60px;   
}
footer a{
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    padding: 10px;
    font-family: var(--font-family);
    transition: all 0.3s ease;
}
footer h3{
    font-family: var(--font-family);
    font-weight: bolder;
    font-size: 1.2em;   
    color: var(--text-color); 
    padding: 10px;  
    margin: 0; 
}
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        width: 98%;
        padding: 5px;
        border-radius: 10px;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .nav {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    nav .logo {
        width: 100%;
        text-align: center;
        font-size: 1.5em;
        padding: 5px 0;
    }
    main {
        flex-direction: column;
        height: auto;
    }
    main img {
        width: 98%;
        height: auto;
        margin-bottom: 10px;
    }
    main div {
        width: 100%;
        padding: 0 10px;
    }
    main div h1 {
        font-size: 5em;
        text-align: center;
    }
    main div p {
        font-size: 1em;
        text-align: center;
    }
    .lang {
        margin-top: 20px;
        height: auto;
        scale: 0.8;
    }
    .lang div {
        width: 100%;
        font-size: 1em;
        gap: 4px;
        font-size: 1em;
    }
    .projects{
        margin-top: 20px;
        height: auto;
        width: 100%;
        flex-shrink: 0;
    }       
    .projects div{
        flex-direction: column;
        gap: 20px;
        width: 100%;
        flex-shrink: 0;
    }
    .projects .box{
        width: 90%;
        align-items: center;
        box-sizing: border-box;
        flex-shrink: 0;
    }
}