#home{
    padding: 50px;
    height: 80vh;
    top: 100px;
    width: 90vw;
    display: flex;
    position: relative;
    justify-content: space-between;
    flex-direction: row;
}

#home h2{
    /* font-weight: 500; */
    color: var(--text-color);
    font-size: var(--brandname-text-size);
}

.dload-btn{
    width: 70%;
}

#home .brand{
    /* border-right: 5px dashed #000; */
    width: 50%;
    padding-right: 5%; 
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center; 
}

.second{
    padding-right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#home .dload-btn {
    padding: 17px 40px;
    border-radius: 10px;
    border: 0;
    background-color: rgb(255, 56, 86);
    letter-spacing: 1.5px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: rgb(201, 46, 70) 0px 10px 0px 0px;
    color: hsl(0, 0%, 100%);
    cursor: pointer;
}
  
#home .dload-btn:hover {
    box-shadow: rgb(201, 46, 70) 0px 7px 0px 0px;
}
  
#home .dload-btn:active {
    background-color: rgb(255, 56, 86);
    /*50, 168, 80*/
    box-shadow: rgb(201, 46, 70) 0px 0px 0px 0px;
    transform: translateY(5px);
    transition: 200ms;
  }
  
#home p{
    padding-bottom: min(5%, 20px);
    color: var(--text-color);
}

#home .carousel-inner {
    width: 100%;
    max-width: 800px;     
    height: 400px;        
    overflow: hidden;
    border-radius: 15px;
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

#home .carousel-inner .item {
    width: 100%;
    height: 100%;
}

#home .carousel-inner .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;     
    display: block;
}



@media (max-width: 1024px) {
    #home {
        flex-direction: column;
        height: auto;
        align-items: center;
        padding: 40px 20px;
    }

    #home .brand {
        width: 100%;
        padding: 0;
        margin-bottom: 30px;
    }

    .second {
        width: 100%;
    }

    #home .carousel-inner {
        width: 80vw;
        height: auto;
        max-height: 360px;
    }
}

@media (max-width: 768px) {
    #home {
        flex-direction: column;
        height: auto;
        align-items: center;
        padding: 40px 15px;
    }

    #home .brand {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }

    .second {
        padding: 10px;
    }

    #home .carousel-inner {
        width: 80vw;
        height: auto;
        max-height: 300px;
    }

    #home .dload-btn {
        width: 90%;
    }
}


@media (max-width: 480px) {
    #home {
        padding: 30px 10px;
    }

    #home h2 {
        font-size: 1.8rem;
    }

}