@media (min-width: 1200px){
    /* BackToTop button css */
    #scroll {
        display: none; /* Hidden by default */
        position: fixed; /* Fixed/sticky position */
        bottom: 8%; /* Place the button at the bottom of the page */
        right: 30px; /* Place the button 30px from the right */
        z-index: 99; /* Make sure it does not overlap */
        border: none; /* Remove borders */
        outline: none; /* Remove outline */
        background-color: grey; /* Set a background color */
        color: white; /* Text color */
        cursor: pointer; /* Add a mouse pointer on hover */
        padding: 15px; /* Some padding */
        border-radius: 10px; /* Rounded corners */
        font-size: 18px; /* Increase font size */
    }
}

@media (max-width: 1200px) and (min-width: 996px){
    /* BackToTop button css */
    #scroll {
        display: none; /* Hidden by default */
        position: fixed; /* Fixed/sticky position */
        bottom: 8%; /* Place the button at the bottom of the page */
        right: 30px; /* Place the button 30px from the right */
        z-index: 99; /* Make sure it does not overlap */
        border: none; /* Remove borders */
        outline: none; /* Remove outline */
        background-color: grey; /* Set a background color */
        color: white; /* Text color */
        cursor: pointer; /* Add a mouse pointer on hover */
        padding: 15px; /* Some padding */
        border-radius: 10px; /* Rounded corners */
        font-size: 18px; /* Increase font size */
    }
}

@media (max-width: 995px) and (min-width: 771px) {
    /* BackToTop button css */
    #scroll {
        display: none; /* Hidden by default */
        position: fixed; /* Fixed/sticky position */
        bottom: 13%; /* Place the button at the bottom of the page */
        right: 30px; /* Place the button 30px from the right */
        z-index: 99; /* Make sure it does not overlap */
        border: none; /* Remove borders */
        outline: none; /* Remove outline */
        background-color: grey; /* Set a background color */
        color: white; /* Text color */
        cursor: pointer; /* Add a mouse pointer on hover */
        padding: 15px; /* Some padding */
        border-radius: 10px; /* Rounded corners */
        font-size: 18px; /* Increase font size */
    }
}

@media (max-width: 770px) and (min-width: 636px) {
    /* BackToTop button css */
    #scroll {
        display: none; /* Hidden by default */
        position: fixed; /* Fixed/sticky position */
        bottom: 13%; /* Place the button at the bottom of the page */
        right: 30px; /* Place the button 30px from the right */
        z-index: 99; /* Make sure it does not overlap */
        border: none; /* Remove borders */
        outline: none; /* Remove outline */
        background-color: grey; /* Set a background color */
        color: white; /* Text color */
        cursor: pointer; /* Add a mouse pointer on hover */
        padding: 15px; /* Some padding */
        border-radius: 10px; /* Rounded corners */
        font-size: 18px; /* Increase font size */
    }
}

@media (max-width: 635px) and (min-width: 521px) {
    /* BackToTop button css */
    #scroll {
        display: none; /* Hidden by default */
        position: fixed; /* Fixed/sticky position */
        bottom: 13%; /* Place the button at the bottom of the page */
        right: 30px; /* Place the button 30px from the right */
        z-index: 99; /* Make sure it does not overlap */
        border: none; /* Remove borders */
        outline: none; /* Remove outline */
        background-color: grey; /* Set a background color */
        color: white; /* Text color */
        cursor: pointer; /* Add a mouse pointer on hover */
        padding: 15px; /* Some padding */
        border-radius: 10px; /* Rounded corners */
        font-size: 18px; /* Increase font size */
    }
}

@media (max-width: 520px) and (min-width: 433px) {
    /* BackToTop button css */
    #scroll {
        display: none; /* Hidden by default */
        position: fixed; /* Fixed/sticky position */
        bottom: 13%; /* Place the button at the bottom of the page */
        right: 30px; /* Place the button 30px from the right */
        z-index: 99; /* Make sure it does not overlap */
        border: none; /* Remove borders */
        outline: none; /* Remove outline */
        background-color: grey; /* Set a background color */
        color: white; /* Text color */
        cursor: pointer; /* Add a mouse pointer on hover */
        padding: 15px; /* Some padding */
        border-radius: 10px; /* Rounded corners */
        font-size: 18px; /* Increase font size */
    }
}

@media (max-width: 433px) {
    /* BackToTop button css */
    #scroll {
        display: none; /* Hidden by default */
        position: fixed; /* Fixed/sticky position */
        bottom: 10%; /* Place the button at the bottom of the page */
        right: 30px; /* Place the button 30px from the right */
        z-index: 99; /* Make sure it does not overlap */
        border: none; /* Remove borders */
        outline: none; /* Remove outline */
        background-color: grey; /* Set a background color */
        color: white; /* Text color */
        cursor: pointer; /* Add a mouse pointer on hover */
        padding: 15px; /* Some padding */
        border-radius: 10px; /* Rounded corners */
        font-size: 18px; /* Increase font size */
    }
}

#scroll:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}

#photo {
    margin-top: 60px;
    border-radius: 50%;
}

#education_style {
    padding-top: 50px;
    direction: rtl;
}

#about {
    margin-top: 30px;
}

#skills_style {
    margin-top: 30px;
    max-width: 850px;
    overflow: auto !important;
}

#courses {
    direction: rtl;
}

canvas {
    border: 1px solid #000;
}

.divider {
    border: 1.5px solid black;
}

#projects {
    margin-top: 30px;
    padding-bottom: 100px;
}