@font-face {
    font-family: "vazir";
    src: url('./assets/fonts/Vazir.ttf') format('truetype'); 
}

* {
    font-family: vazir;
    direction: ltr;
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;

    #navbar {
        display: flex;
        position: fixed;
        align-items: center;
        background-color: #174a91;
        padding: 0px 60px;
        top: 0px;
        width: 100%;
        height: 85px;
        gap: 20px;
        z-index: 10;

        img {
            height: 60%;
        }

        h3 {
            color: white;
        }
    }
    
    #firstSection {
        display: flex;
        width: 100%;
        min-height: 100vh;
        background-color: #f5f5f5;
        padding: 150px 8vw 40px 8vw;
        justify-content: space-between;
        gap: 5%;
        
        h1 {
            margin-bottom: 30px;
        }

        #sectionImage{
            width: 40vw;
            margin-top: 90px;

            img {
                width: 100%;
                object-fit: cover;
            }
        }

        #sectionText{
            display: flex;
            flex-direction: column;gap: 30px;
            font-size: 18px;
            width: 100%;
            text-align: justify;

            h4 {
                font-size: 20px;
                font-weight: 500;
            }
        }
    }
    
    #teamSection {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 100px 0px;
        background-color: white;
        justify-content: center;
        align-items: center;
        gap: 20px;

        #titleContainer {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        #people {
            display: flex;
            gap: 3vw;

            #person {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                width: 100%;
                padding: 10px;
                gap: 15px;
                transition: transform .5s;
    
                #avatar {
                    box-shadow: 0px 2px 4px 0px #00000033;
                    width: 20vw;
                    height: 20vw;
                    object-fit: cover;
                    border-radius: 50%;
                }
    
                #textContainer {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 3px;
    
                    h3 {
                        color: #681511;
                    }
                    p{
                        color: #705250;
                    }
                }
    
                #linkedinContainer {
                    text-decoration: none;
                    color: #174a91;
                }
            }
    
            #person:hover {
                transform: scale(1.03);
            }
        }
    }

    #divider {
        height: 1px;
        width: 100%;
        background-color: rgb(211, 211, 211);
    }

    #presentation {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin: 80px 0px;

        #presentationVideo {
            width: 640px;
            height: 360px;
            margin-bottom: 50px;
        }
    }

    
    #conferenceInfo {
        display: flex;
        width: 100%;
        padding: 20px 10%;
        background-color: #174a91;
        color: white;
        gap: 20px;

        #infoContainer {
            display: flex;
            width: 100%;
            justify-content: space-between;

            #textSection {
                margin-top: 20px;
                display: flex;
                flex-direction: column;

                #title {
                    margin-bottom: 40px;
                }
            }

            #logos {
                display: flex;
                width: 300px;
                flex-wrap: wrap;
                column-gap: 50px;
                row-gap: 25px;

                #logoContainer {
                    display: flex;
                    flex-direction: column;
                    width: 90px;
                    height: 90px;
                    justify-content: center;
                    align-items: center;

                    #logo {
                        width: 100px;
                        height: auto;
                        object-fit: cover;
                    }
                    #text {
                        width: 50px;
                        height: auto;
                        object-fit: cover;
                    }
                }
            }
        }
    }
}


@media only screen and (max-width: 1100px) {
body {
        
    display: flex;
    flex-direction: column;
    align-items: center;

    #navbar {
        height: 120px;

        img {
            height: 60%;
        }

        h3 {
            font-size: 30px;
        }
    }
    
    #firstSection {
        flex-direction: column-reverse;
        padding: 120px 10% 80px 10%;
        min-height: 100vh;
        height: fit-content;

        #sectionImage{
            width: 100%;
        }

        #sectionText{
            width: 100%;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-size: 40px;
            margin-top: 40px;

            h1 {
                text-align: center;
                font-size: 4.5rem;
            }

            #mobileSection{
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            h3 {
                font-size: 35;
                text-align: justify;
                text-align-last: center;
            }
        }
    }
    
    #abstract {
        display: flex;
        flex-direction: column;
        padding: 80px 0px;
        height: fit-content;
        width: 80%;
        gap: 40px;

        h1 {
            width: 90%;
            font-size: 60px;
        }

        #border {
            width: 100%;
            background-color: #681511;
            height: 60px;
            margin-bottom: 50px;
        }
    }
    
    #topics {
        padding: 80px 10%;
        
        #title {
            font-size: 40px;
            color: #3A0300;
        }
    }
    
    #teamSection {
        padding: 50px 10%;

        #titleContainer {
            #title {
                font-size: 5rem;
                text-align: center;
            }
    
            #titleDescription {
                font-size: 2.5rem;
                text-align: center;
            }
        }

        #people {
            flex-direction: column;
            margin-top: 50px;
            gap: 100px;

            #person {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                width: 100%;
                padding: 10px;
                gap: 15px;
                transition: transform .5s;
    
                #avatar {
                    box-shadow: 0px 2px 4px 0px #00000033;
                    width: 50vw;
                    height: 50vw;
                    object-fit: cover;
                    border-radius: 50%;
                }
    
                #textContainer {
                    margin-top: 30px;
                    font-size: 3rem;
                }
    
                #linkedinContainer {
                    font-size: 3rem;
                }
            }
    
            #person:hover {
                transform: none;
            }
        }
    }

    #presentation {
        font-size: 3rem;
    }
    
    #conferenceInfo {
        padding: 30px 50px;
        
        #infoContainer {
            div {
                h4 {
                    font-size: 13px;
                }
            }

            h4 {
                font-size: 13px;
            }
            
            #logos {
                justify-content: end;
            }
        }
        h4 {
            font-size: 13px;
        }
    }
}
}