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

* {
    font-family: vazir;
    direction: rtl;
    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;
        /* justify-content: center; */
        background-color: #681511;
        padding: 0px 30px;
        top: 0px;
        width: 100%;
        height: 85px;
        gap: 20px;

        img {
            height: 60%;
        }

        h3 {
            color: #D7C6AE;
        }
    }
    
    #firstSection {
        display: flex;
        width: 100%;
        height: 100vh;
        background-color: #ede5d8;
        padding-top: 100px;
        justify-content: center;
        align-items: center;
        gap: 5%;

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

        #sectionText{
            display: flex;
            flex-direction: column;gap: 30px;
            font-size: 18px;
            width: 50%;
            text-align: justify;
            margin-bottom: 170px;
            h3 {
                font-size: 20px;
                font-weight: 500;
            }
        }
    }
    
    #abstract {
        display: flex;
        width: 90%;
        height: calc(100vh - 85px);
        background-color: white;
        justify-content: center;
        align-items: center;
        gap: 3%;
        

        h1 {
            color: #3A0300;
            width: 90px;
            text-align: center;
        }

        #border {
            width: 200px;
            background-color: #681511;
            height: 380px;
            border-radius: 40px;
        }

        #abstractText {
            display: flex;
            flex-direction: column;
            gap: 10px;
            p {
                text-align: justify;
            }
        }

        
    }
    
    #topics {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: #ede5d8;
        justify-content: center;
        align-items: start;
        padding: 30px 10% 100px 10%;
        gap: 20px;
        
        #title {
            margin-bottom: 30px;
            color: #3A0300;
        }

        #topic {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 80px;
            gap: 50px;
            color: #3A0300;

            #bullet {
                width: 15px;
                height: 15px;
                border-radius: 50%;
                background-color: #3A0300;
            }

        }
    }
    
    #people {
        display: flex;
        flex-direction: column;
        width: 80%;
        padding: 30px 0px;
        background-color: white;
        justify-content: center;
        align-items: center;
        gap: 20px;

        #title {
            align-self: flex-start;
            margin-bottom: 30px;
        }

        #person {
            display: flex;
            align-items: center;
            width: 100%;
            height: 100px;
            padding: 10px;
            border: 1px solid #E8E8E8;
            box-shadow: 0px 2px 4px 0px #00000033;
            gap: 30px;
            transition: transform .5s;
            background-color: white;

            #avatar {
                width: 80px;
                height: 80px;
                object-fit: cover;
                border-radius: 50%;
            }

            #textContainer {
                display: flex;
                flex-direction: column;
                gap: 3px;

                h3 {
                    color: #681511;
                }
                p{
                    color: #705250;
                }
            }

            #linkedinContainer {
                margin-right: auto;
                margin-left: 50px;

                #linkedinIcon {
                    width: 30px;
                    height: 30px;
                    cursor: pointer;
                }
            }
        }

        #person:hover {
            transform: scale(1.03);
        }
    }
    
    #conferenceInfo {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 30px 10%;
        background-color: #681511;
        color: #D7C6AE;
        gap: 20px;
        
        #title {
            align-self: flex-start;
            margin-bottom: 30px;
        }

        #infoContainer {
            display: flex;
            justify-content: space-between;
        }

        #logos {
            display: flex;
            gap: 50px;

            #logoContainer {
                display: flex;
                flex-direction: column;
                height: 90px;
                justify-content: space-between;

                #logo {
                    width: 50px;
                    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%;
        min-height: 100vh;
        height: fit-content;

        #sectionImage{
            width: 80%;
        }

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

            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;
        }
    }
    
    
    #people {

        #title {
            align-self: flex-start;
            font-size: 40px;
        }

        #person {
            height: 180px;

            #avatar {
                width: 120px;
                height: 120px;
            }

            #textContainer {
                font-size: 27px;
            }

            #linkedinContainer {
                #linkedinIcon {
                    width: 7vw;
                    height: 7vw;
                }
            }
        }
        #person:hover {
            transform: none;
        }
    }
    
    #conferenceInfo {
        #infoContainer {
            div {
                h4 {
                    font-size: 13px;
                }
            }
            h4 {
                font-size: 13px;
            }
        }
        h4 {
            font-size: 13px;
        }

        #logos {
            display: flex;
            gap: 50px;

            #logoContainer {
                display: flex;
                flex-direction: column;
                height: 90px;
                justify-content: space-between;

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

    }
}
}