:root {
  --bg-color: #070513;
  --text-color: rgb(255, 232, 188);
  --main-color: rgb(255, 94, 0);
}
.section{
    min-height: 100vh;
    padding: 10rem 15%;
}.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15rem;
}
.home-content{
    margin-top: 2rem;
    display: center;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}
.home-content h1{
    font-size: 5.5rem;
    font-weight: 700;
    margin-top:1.5rem;
    line-height: 1; 
}
.home-content h2{
    font-size: 3rem;
    font-weight: 700;
    margin-top:1.5rem;
    line-height: 1; 
}
.home-content p{
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
}
.home-img img{
    width: 30vw;
    aspect-ratio: 1 / 1;
    display: center;
    
  
    border-radius: 50%;
    box-shadow: 0 0 20px var(--main-color);
    transition: 0.3s ease-in-out;
}
.home-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color);
}
.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    padding: 1rem;
    background: transparent;
    border-radius: 50%;
    color: var(--main-color);
    margin:3rem 0.5rem;
    transition: 0.3s ease-in-out;
}
.social-icons a:hover{
    color: var(--text-color);
    background: var(--main-color);
    transform: scale(1.2)translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
}

/* Button styles for home */
.btn-group{
    margin-top: -2rem;
    display: center;
    gap: 1rem;
}
.btn{
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--bg-color);
    background: var(--main-color);
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {

    .home {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        padding: 2rem 5%;
    }

    /* Makes the children behave as if they are direct children of .home */
    .home-content {
        display: contents;
    }

    /* Text first */
    .home-content h1 {
        order: 1;
        font-size: 4rem;
    }

    .home-content h2 {
        order: 2;
        font-size: 2.5rem;
    }

    .home-content p {
        order: 3;
        font-size: 1.5rem;
        text-align: center;
        line-height: 1.8;
    }

    /* Image in the middle */
    .home-img {
        order: 4;
        display: flex;
        justify-content: center;
    }

    .home-img img {
        width: 60vw;
        max-width: 280px;
    }

    /* Icons below image */
    .social-icons {
        order: 5;
        display: flex;
        justify-content: center;
    }

    /* Buttons last */
    .btn-group {
        order: 6;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1rem;
    }
    .home-content br {
        display: none;
    }
}